View previous topic :: View next topic |
Author |
Message |
fedeliallalinea Administrator
Joined: 08 Mar 2003 Posts: 30904 Location: here
|
Posted: Wed Nov 02, 2016 1:00 pm Post subject: |
|
|
legacy wrote: | lo stage4 a 32 bit girera' in una macchina virtuale che supporta i 32bit
nulla importa se l'OS sotto (windows o linux) e' a 64bit |
Ah ok avevo capito male... pensavo lo usassi per installarlo sulla macchina i7... _________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
|
legacy Tux's lil' helper
Joined: 10 Sep 2012 Posts: 144
|
Posted: Thu Dec 08, 2016 11:03 pm Post subject: |
|
|
porca paletta, ci risiamo, altra macchina x86 a 32bit
nuovo portage, tutto fresco fresco di --sync
dallo stage3 in poi compilano n mila ebuild
tutti tranne gnat X_______X
da quanto ho capito, e' il Makefile che non termina correttamente
pero' non ne capisco il motivo
ora, sto provando nuovamente a compilare roba sperimentale
Code: |
=app-eselect/eselect-gnat-1.5-r1 ~x86
=dev-lang/gnat-gcc-4.9.3 ~x86
|
|
|
Back to top |
|
|
legacy Tux's lil' helper
Joined: 10 Sep 2012 Posts: 144
|
Posted: Thu Dec 08, 2016 11:05 pm Post subject: |
|
|
la macchina ha su 1Gbyte di ram
e 2Gbyte di swap, non penso sia un problema
ha compilato correttamente roba C++
(tipo le QT libs) |
|
Back to top |
|
|
legacy Tux's lil' helper
Joined: 10 Sep 2012 Posts: 144
|
Posted: Thu Dec 08, 2016 11:10 pm Post subject: |
|
|
sto usando
Code: |
sys-devel/make-4.1-r1
|
|
|
Back to top |
|
|
legacy Tux's lil' helper
Joined: 10 Sep 2012 Posts: 144
|
Posted: Fri Dec 09, 2016 6:53 am Post subject: |
|
|
ora si schianta del tutto
Code: |
exp emerge # myemerge-log dev-lang/gnat-gcc
* IMPORTANT: 13 news items need reading for repository 'gentoo'.
* Use eselect news read to view new items.
Calculating dependencies... done!
>>> Verifying ebuild manifests
>>> Emerging (1 of 1) dev-lang/gnat-gcc-4.9.3::gentoo
* gcc-4.9.3.tar.bz2 SHA256 SHA512 WHIRLPOOL size ;-) ... [ ok ]
* gcc-4.9.3-patches-1.5.tar.bz2 SHA256 SHA512 WHIRLPOOL size ;-) ... [ ok ]
* gcc-4.9.3-piepatches-v0.6.4.tar.bz2 SHA256 SHA512 WHIRLPOOL size ;-) ... [ ok ]
* gnatboot-4.9-i686.tar.xz SHA256 SHA512 WHIRLPOOL size ;-) ... [ ok ]
>>> Unpacking source...
>>> Unpacking gcc-4.9.3.tar.bz2 to /var/tmp/portage/dev-lang/gnat-gcc-4.9.3/work
>>> Unpacking gcc-4.9.3-patches-1.5.tar.bz2 to /var/tmp/portage/dev-lang/gnat-gcc-4.9.3/work
>>> Unpacking gcc-4.9.3-piepatches-v0.6.4.tar.bz2 to /var/tmp/portage/dev-lang/gnat-gcc-4.9.3/work
>>> Unpacking gnatboot-4.9-i686.tar.xz to /var/tmp/portage/dev-lang/gnat-gcc-4.9.3/work
* PT_PAX marking -E /var/tmp/portage/dev-lang/gnat-gcc-4.9.3/work/usr/libexec/gcc/i686-pc-linux-gnu/4.9.3/gnat1 with scanelf
* XATTR_PAX marking -E /var/tmp/portage/dev-lang/gnat-gcc-4.9.3/work/usr/libexec/gcc/i686-pc-linux-gnu/4.9.3/gnat1 with setfattr
* Applying common Gentoo patches ...
* 09_all_default-ssp.patch ... [ ok ]
* 10_all_default-fortify-source.patch ... [ ok ]
* 11_all_default-warn-format-security.patch ... [ ok ]
* 12_all_default-warn-trampolines.patch ... [ ok ]
* 13_all_default-color.patch ... [ ok ]
* 15_all_libgfortran-Werror.patch ... [ ok ]
* 16_all_libgomp-Werror.patch ... [ ok ]
* 17_all_libitm-Werror.patch ... [ ok ]
* 18_all_libatomic-Werror.patch ... [ ok ]
* 19_all_libbacktrace-Werror.patch ... [ ok ]
* 20_all_msgfmt-libstdc++-link.patch ... [ ok ]
* 25_all_alpha-mieee-default.patch ... [ ok ]
* 26_all_alpha-asm-mcpu.patch ... [ ok ]
* 29_all_arm_armv4t-default.patch ... [ ok ]
* 30_all_freebsd-pie.patch ... [ ok ]
* 34_all_ia64_note.GNU-stack.patch ... [ ok ]
* 34_all_libjava-classpath-locale-sort.patch ... [ ok ]
* 38_all_sh_pr24836_all-archs.patch ... [ ok ]
* 42_all_superh_default-multilib.patch ... [ ok ]
* 50_all_libiberty-asprintf.patch ... [ ok ]
* 51_all_libiberty-pic.patch ... [ ok ]
* 52_all_netbsd-Bsymbolic.patch ... [ ok ]
* 53_all_libitm-no-fortify-source.patch ... [ ok ]
* 67_all_gcc-poison-system-directories.patch ... [ ok ]
* 74_all_gcc49_cloog-dl.patch ... [ ok ]
* 75_all_gcc-4.9-isl-0.15.patch ... [ ok ]
* 90_all_pr55930-dependency-tracking.patch ... [ ok ]
* 91_all_pr61538-atomic-compare-exchange.patch ... [ ok ]
* 92_all_gcc-4.9-hwloops-ICE-pr63681.patch ... [ ok ]
* 93_all_gcc-4.9-config.h-bconfig.h-parallel-PR57125-PR61899.patch ... [ ok ]
* Done with patching
* Applying Gentoo PIE patches ...
* 01_all_gcc49_configure.patch ... [ ok ]
* 02_all_gcc48_config.in.patch ... [ ok ]
* 03_all_gcc49_Makefile.in.patch ... [ ok ]
* 05_all_gcc48_gcc.c.patch ... [ ok ]
* 16_all_gcc47_nopie_option.patch ... [ ok ]
* 20_all_gcc49_config_crtbeginp.patch ... [ ok ]
* 24_all_gcc49_invoke.texi.patch ... [ ok ]
* 33_all_gcc48_config_rs6000.patch ... [ ok ]
* 34_all_gcc48_config_i386.patch ... [ ok ]
* 35_all_gcc48_config_arm.patch ... [ ok ]
* 36_all_gcc48_config_mips.patch ... [ ok ]
* 37_all_gcc48_config_ia64.patch ... [ ok ]
* 40_all_gcc49_config_esp.patch ... [ ok ]
* Done with patching
* Replacing obsolete head/tail with POSIX compliant ones
* - fixed boehm-gc/configure
* - fixed fixincludes/configure
* - fixed gcc/configure
* - fixed gnattools/configure
* - fixed intl/configure
* - fixed libada/configure
* - fixed libatomic/configure
* - fixed libbacktrace/configure
* - fixed libcilkrts/configure
* - fixed libcpp/configure
* - fixed libdecnumber/configure
* - fixed libffi/configure
* - fixed libgcc/configure
* - fixed libgfortran/configure
* - fixed libgo/configure
* - fixed libgomp/configure
* - fixed libiberty/configure
* - fixed libitm/configure
* - fixed libjava/configure
* - fixed libobjc/configure
* - fixed libquadmath/configure
* - fixed libsanitizer/configure
* - fixed libssp/configure
* - fixed libstdc++-v3/configure
* - fixed libvtv/configure
* - fixed lto-plugin/configure
* - fixed zlib/configure
* Running elibtoolize in: gcc-4.9.3/
* Applying portage/2.2 patch ...
* Applying sed/1.5.6 patch ...
* Applying as-needed/2.2.6 patch ...
* Using GNU config files from /usr/share/gnuconfig
* Updating config.sub [ ok ]
* Updating libjava/classpath/config.sub [ ok ]
* Updating libjava/libltdl/config.sub [ ok ]
* Updating config.guess [ ok ]
* Updating libjava/classpath/config.guess [ ok ]
* Updating libjava/libltdl/config.guess [ ok ]
* Fixing misc issues in configure files
* Cannot find $EPATCH_SOURCE! Value for $EPATCH_SOURCE is:
*
* /usr/portage/dev-lang/gnat-gcc/files/gnat-gcc-4.9.3-make-default-paths-match-slot.patch
* ( gnat-gcc-4.9.3-make-default-paths-match-slot.patch )
* ERROR: dev-lang/gnat-gcc-4.9.3::gentoo failed (unpack phase):
* Cannot find $EPATCH_SOURCE!
*
* Call stack:
* ebuild.sh, line 115: Called src_unpack
* environment, line 3613: Called gnatbuild-r1_src_unpack
* environment, line 2480: Called gnatbuild-r1_src_unpack 'all'
* environment, line 2533: Called gnatbuild-r1_src_unpack 'base_unpack' 'common_prep'
* environment, line 2509: Called epatch '/usr/portage/dev-lang/gnat-gcc/files/gnat-gcc-4.9.3-make-default-paths-match-slot.patch'
* environment, line 1216: Called die
* The specific snippet of code:
* die "Cannot find \$EPATCH_SOURCE!";
*
* If you need support, post the output of `emerge --info '=dev-lang/gnat-gcc-4.9.3::gentoo'`,
* the complete build log and the output of `emerge -pqv '=dev-lang/gnat-gcc-4.9.3::gentoo'`.
* The complete build log is located at '/var/tmp/portage/dev-lang/gnat-gcc-4.9.3/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/dev-lang/gnat-gcc-4.9.3/temp/environment'.
* Working directory: '/var/tmp/portage/dev-lang/gnat-gcc-4.9.3/work/gcc-4.9.3'
* S: '/var/tmp/portage/dev-lang/gnat-gcc-4.9.3/work/gcc-4.9.3'
>>> Failed to emerge dev-lang/gnat-gcc-4.9.3, Log file:
>>> '/var/tmp/portage/dev-lang/gnat-gcc-4.9.3/temp/build.log'
* Messages for package dev-lang/gnat-gcc-4.9.3:
* Cannot find $EPATCH_SOURCE! Value for $EPATCH_SOURCE is:
*
* /usr/portage/dev-lang/gnat-gcc/files/gnat-gcc-4.9.3-make-default-paths-match-slot.patch
* ( gnat-gcc-4.9.3-make-default-paths-match-slot.patch )
* ERROR: dev-lang/gnat-gcc-4.9.3::gentoo failed (unpack phase):
* Cannot find $EPATCH_SOURCE!
*
* Call stack:
* ebuild.sh, line 115: Called src_unpack
* environment, line 3613: Called gnatbuild-r1_src_unpack
* environment, line 2480: Called gnatbuild-r1_src_unpack 'all'
* environment, line 2533: Called gnatbuild-r1_src_unpack 'base_unpack' 'common_prep'
* environment, line 2509: Called epatch '/usr/portage/dev-lang/gnat-gcc/files/gnat-gcc-4.9.3-make-default-paths-match-slot.patch'
* environment, line 1216: Called die
* The specific snippet of code:
* die "Cannot find \$EPATCH_SOURCE!";
*
* If you need support, post the output of `emerge --info '=dev-lang/gnat-gcc-4.9.3::gentoo'`,
* the complete build log and the output of `emerge -pqv '=dev-lang/gnat-gcc-4.9.3::gentoo'`.
* The complete build log is located at '/var/tmp/portage/dev-lang/gnat-gcc-4.9.3/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/dev-lang/gnat-gcc-4.9.3/temp/environment'.
* Working directory: '/var/tmp/portage/dev-lang/gnat-gcc-4.9.3/work/gcc-4.9.3'
* S: '/var/tmp/portage/dev-lang/gnat-gcc-4.9.3/work/gcc-4.9.3'
done,logged!
exp emerge #
|
|
|
Back to top |
|
|
legacy Tux's lil' helper
Joined: 10 Sep 2012 Posts: 144
|
Posted: Fri Dec 09, 2016 7:04 am Post subject: |
|
|
cerca /usr/portage/dev-lang/gnat-gcc/files/gnat-gcc-4.9.3-make-default-paths-match-slot.patch
ma io nel portage non ho quel file
/usr/portage/dev-lang/gnat-gcc/
Code: |
files/ gnat-gcc-4.3.5.ebuild gnat-gcc-4.4.7-r1.ebuild gnat-gcc-4.6.4-r1.ebuild
gnat-gcc-3.4.6.ebuild gnat-gcc-4.3.6.ebuild gnat-gcc-4.5.4.ebuild gnat-gcc-4.9.3.ebuild
gnat-gcc-4.1.2.ebuild gnat-gcc-4.3.6-r1.ebuild gnat-gcc-4.5.4-r1.ebuild Manifest
gnat-gcc-4.2.3.ebuild gnat-gcc-4.4.7.ebuild gnat-gcc-4.6.4.ebuild metadata.xml
|
/usr/portage/dev-lang/gnat-gcc/files/
Code: |
gnat-gcc-4.5.4-tex-version-workaround.patch patches/
|
Code: |
/usr/portage/dev-lang/gnat-gcc/files/patches/4.3/01-siginfo.patch
|
|
|
Back to top |
|
|
fedeliallalinea Administrator
Joined: 08 Mar 2003 Posts: 30904 Location: here
|
Posted: Fri Dec 09, 2016 9:00 am Post subject: |
|
|
Molto strano anche da me c'e' la stessa situazione, ma se guardo il portage tree git i files esistono.
Io fossi in te creerei un overlay locale scaricherei l'ebuild 4.9.3 di gnat-gcc con relativi patches files (dal git) e proverei a compilare cosi'.
Magari potresti aprire anche un bug su bugs.gentoo.org _________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
|
legacy Tux's lil' helper
Joined: 10 Sep 2012 Posts: 144
|
Posted: Sun Dec 11, 2016 1:07 pm Post subject: |
|
|
ho preso gli ebuild di un portage di qualche mese fa
le patch c'erano tutte ed ho compilato con successo la =dev-lang/gnat-gcc-4.9.3
ora pero' sci-electronics/ghdl vuole =dev-lang/gnat-gcc-4.3.6
che si schianta nell'ultimo giro, perche'
Code: |
/bin/sh: line 3: cd: host-i686-pc-linux-gnu/fixincludes: No such file or directory
Makefile:4750: recipe for target 'install-fixincludes' failed
make[1]: *** [install-fixincludes] Error 1
make[1]: Leaving directory '/var/tmp/portage/dev-lang/gnat-gcc-4.6.4/work/gcc-4.6.4'
Makefile:2689: recipe for target 'install' failed
make: *** [install] Error 2
* ERROR: dev-lang/gnat-gcc-4.6.4::gentoo failed (install phase):
* emake failed
|
sembra che siano GROSSI problemi |
|
Back to top |
|
|
fedeliallalinea Administrator
Joined: 08 Mar 2003 Posts: 30904 Location: here
|
Posted: Sun Dec 11, 2016 4:57 pm Post subject: |
|
|
Puoi postare per favore tutto il build.log con wgetpaste? _________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
|
legacy Tux's lil' helper
Joined: 10 Sep 2012 Posts: 144
|
Posted: Tue Dec 13, 2016 10:05 pm Post subject: |
|
|
build.log
ho provato con
Code: |
[2] i686-pc-linux-gnu-4.3.6 *
[3] i686-pc-linux-gnu-4.4.7
[4] i686-pc-linux-gnu-4.9.3
|
da 2 a 4 fallisce SEMPRE con lo stesso errore |
|
Back to top |
|
|
legacy Tux's lil' helper
Joined: 10 Sep 2012 Posts: 144
|
Posted: Tue Dec 13, 2016 10:21 pm Post subject: |
|
|
devo migliore il ticket del bug report
pero' ho veramente poco tempo e sta rogna non si risolve X_X |
|
Back to top |
|
|
legacy Tux's lil' helper
Joined: 10 Sep 2012 Posts: 144
|
Posted: Wed Dec 14, 2016 11:02 am Post subject: |
|
|
Code: |
2016-12-10--16-12-50---2016-12-10--19-32-20 - emerge =dev-lang/gnat-gcc-4.9.3 - succss - root
2016-12-10--20-15-36---2016-12-10--23-06-03 - emerge =dev-lang/gnat-gcc-4.3.6 - failure - root
2016-12-12--01-53-38---2016-12-12--07-36-37 - emerge sci-electronics/ghdl - failure - root
2016-12-12--19-51-26---2016-12-12--19-58-59 - emerge sys-apps/portage - success - root
2016-12-13--01-42-28---2016-12-13--06-58-53 - emerge =dev-lang/gnat-gcc-4.3.6-r1 - failure - root
2016-12-13--12-04-03---2016-12-13--12-05-42 - emerge -K =dev-lang/gnat-gcc-4.3.5 - success - root
2016-12-13--12-09-01---2016-12-13--12-10-17 - emerge -K =sci-electronics/ghdl-0.29 - success - root
2016-12-13--12-22-11---2016-12-13--17-37-57 - emerge =dev-lang/gnat-gcc-4.3.5 - failure - root
2016-12-13--18-14-14---2016-12-14--00-14-05 - emerge =sys-devel/gcc-4.4.7 - success - root
2016-12-14--00-16-41---2016-12-14--05-35-28 - emerge =dev-lang/gnat-gcc-4.3.5 - failure - root
2016-12-14--08-09-57---2016-12-14--08-32-50 - emerge dev-libs/gmp - success - root
2016-12-14--09-40-13---2016-12-14--09-42-49 - emerge app-text/wgetpaste - success - root
2016-12-14--08-56-09---2016-12-14--14-12-19 - emerge =sys-devel/gcc-4.3.6-r1 - success - root
2016-12-14--14-22-25---2016-12-14--14-37-05 - emerge sci-electronics/gtkwave - success - root
2016-12-14--14-37-05---2016-12-14--14-47-25 - emerge sci-visualization/gnuplot - success - root
2016-12-14--15-34-12---2016-12-14--15-58-38 - emerge dev-libs/mpfr - success - root
2016-12-14--15-58-38---2016-12-14--16-26-59 - emerge dev-libs/gmp - success - root
2016-12-14--16-27-00---2016-12-14--16-34-01 - emerge dev-libs/mpc - success - root
2016-12-14--16-34-02---2016-12-14--16-37-12 - emerge sys-libs/zlib - success - root
2016-12-14--16-37-12---2016-12-14--17-15-04 - emerge sys-libs/ncurses - success - root
2016-12-14--17-34-25---2016-12-14--22-44-48 - emerge =dev-lang/gnat-gcc-4.3.5 - failure - root
2016-12-14--23-05-18---2016-12-15--03-24-47 - emerge sci-electronics/ghdl - success - root
|
quindi morale, funziona tutto tranne sto cacchio di gnat
di cui, il 4.9.3 compila, tutti gli altri (che servono a ghdl) no
che due noci, due settimane che mi tiro scemo con gentoo |
|
Back to top |
|
|
fedeliallalinea Administrator
Joined: 08 Mar 2003 Posts: 30904 Location: here
|
Posted: Fri Dec 16, 2016 6:45 am Post subject: |
|
|
@legacy: ho messo a posto l'ebuild per compilare la versione 0.33 di ghdl che si compila con gnat-gcc e gcc 4.9.3.
Per utilizzarlo ci vuole la solita procedure dell'overlay locale e lo metti in /usr/local/portage/sci-electronics/ghdl/ghdl-0.33.ebuild
Code: | # Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI="3"
inherit eutils multilib
GCC_VERSION="4.9.3"
GNATGCC_SLOT="4.9"
ISL_VERSION="0.12.2"
CLOOG_VERSION="0.18.1"
DESCRIPTION="Complete VHDL simulator using the GCC technology"
HOMEPAGE="http://ghdl.free.fr"
SRC_URI="https://github.com/tgingold/ghdl/archive/v${PV}.tar.gz
ftp://gcc.gnu.org/pub/gcc/releases/gcc-${GCC_VERSION}/gcc-${GCC_VERSION}.tar.bz2
ftp://gcc.gnu.org/pub/gcc/infrastructure/isl-${ISL_VERSION}.tar.bz2
http://www.bastoul.net/cloog/pages/download/cloog-${CLOOG_VERSION}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86"
IUSE=""
DEPEND="sys-apps/texinfo
dev-lang/gnat-gcc:${GNATGCC_SLOT}"
RDEPEND=""
S="${WORKDIR}/gcc-${GCC_VERSION}"
ADA_INCLUDE_PATH="${ROOT}/usr/lib/gnat-gcc/${CHOST}/${GNATGCC_SLOT}/adainclude"
ADA_OBJECTS_PATH="${ROOT}/usr/lib/gnat-gcc/${CHOST}/${GNATGCC_SLOT}/adalib"
GNATGCC_PATH="${ROOT}/usr/${CHOST}/gnat-gcc-bin/${GNATGCC_SLOT}:${ROOT}/usr/libexec/gnat-gcc/${CHOST}/${GNATGCC_SLOT}"
src_prepare() {
src_copy_vhdl_sources
sed -i -e 's/ADAC = \$(CC)/ADAC = gnatgcc/' gcc/vhdl/Makefile.in || die "sed failed"
sed -i "/ac_cpp=/s/\$CPPFLAGS/\$CPPFLAGS -O2/" {libiberty,gcc}/configure
ln -s ../isl-${ISL_VERSION} isl
ln -s ../cloog-${CLOOG_VERSION} cloog
}
src_copy_vhdl_sources() {
cd "${WORKDIR}/${P}"
PATH="${GNATGCC_PATH}:${PATH}" ./configure \
--prefix=/usr \
--with-gcc="${WORKDIR}/gcc-${GCC_VERSION}"
make copy-sources
cd "${S}"
}
src_configure() {
PATH="${GNATGCC_PATH}:${PATH}" econf \
--enable-languages=vhdl \
--enable-cloog-backend=isl \
--disable-libstdcxx-pch \
--disable-libssp \
--enable-checking=release \
--disable-bootstrap
}
src_compile() {
PATH="${GNATGCC_PATH}:${PATH}" emake -j1 || die "Compilation failed"
}
src_install() {
# bug #277644
PATH="${GNATGCC_PATH}:${PATH}" emake -j1 DESTDIR="${D}" install || die "Installation failed"
cd "${D}"/usr/bin ; rm `ls --ignore=ghdl`
rm -rf "${D}"/usr/include
for libdir in $(get_all_libdirs); do
rm "${D}"/usr/${libdir}/lib*
if [ -d "${D}/usr/${libdir}/gcc/${CHOST}/${GCC_VERSION}" ]; then
cd "${D}"/usr/${libdir}/gcc/${CHOST}/${GCC_VERSION} ;rm -rf `ls --ignore=vhdl*`
fi
done
cd "${D}"/usr/libexec/gcc/${CHOST}/${GCC_VERSION} ; rm -rf `ls --ignore=ghdl*`
cd "${D}"/usr/share/info ; rm `ls --ignore=ghdl*`
cd "${D}"/usr/share/man/man1 ; rm `ls --ignore=ghdl*`
rm -Rf "${D}"/usr/share/locale
rm -Rf "${D}"/usr/share/man/man7
} |
Non so se sia tutto ok ho preso un po di cose dal vecchio ebuild e un po da PKGBUILD di arch.
EDIT: l'ebuild si puo' trovare anche qua _________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
|
|