Summary: | emerge binutils crashed - | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Christian Häßler <christian> |
Component: | [OLD] GCC Porting | Assignee: | Please assign to toolchain <gcc-porting> |
Status: | RESOLVED DUPLICATE | ||
Severity: | major | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Christian Häßler
2005-03-10 06:27:07 UTC
remove -fstack-protector from CFLAGS, you should USE="hardened" post the config.log from the build directory ------- Additional Comment #1 From Peter S. Mazinger 2005-03-10 06:32 PST ------- remove -fstack-protector from CFLAGS, you should USE="hardened" i hade done it, but it don't works ------ Additional Comment #2 From SpanKY 2005-03-10 07:26 PST ------- post the config.log from the build directory Sorry, but i don't know where the build directory is. That binutils had the broken GCC4 patch in it I believe. `as' is probably segfaulting. Christian, the build directory would be /var/tmp/portage/binutils-2.15.92.0.2-r5/work/build Look in the config log there to see if `as' is segfaulting. If it is, you'll need to emerge a binary package of binutils before you have a working build environment. i hade installed a binary now and then i emerged the binutils again. But i can't emerge gcc anyway (get the following error:) pcjunior / # USE="hardened" emerge gcc Calculating dependencies ...done! >>> emerge (1 of 1) sys-devel/gcc-3.4.3.20050110 to / >>> md5 src_uri ;-) gcc-3.4.3.tar.bz2 >>> md5 src_uri ;-) gcc-3.4.3-branch-update-20050110.patch.bz2 >>> md5 src_uri ;-) protector-3.4.3.20050110-0.tar.gz >>> md5 src_uri ;-) gcc-3.4.3-manpages.tar.bz2 >>> md5 src_uri ;-) gcc-3.4.3-patches-1.1.tar.bz2 >>> md5 src_uri ;-) gcc-3.4.3-piepatches-v8.7.7.tar.bz2 >>> Unpacking source... >>> Unpacking gcc-3.4.3.tar.bz2 to /var/tmp/portage/gcc-3.4.3.20050110/work * Applying gcc-3.4.3-branch-update-20050110.patch.bz2 ... [ ok ]>>> Unpacking gcc-3.4.3-patches-1.1.tar.bz2 to /var/tmp/portage/gcc-3.4.3.20050110/work >>> Unpacking protector-3.4.3.20050110-0.tar.gz to /var/tmp/portage/gcc-3.4.3.20050110/work/gcc-3.4.3 >>> Unpacking gcc-3.4.3-piepatches-v8.7.7.tar.bz2 to /var/tmp/portage/gcc-3.4.3.20050110/work * Applying various patches (bugfixes/updates) ... * 02_all_gcc34-ice-hack.patch.bz2 ... [ ok ] * 03_all_gcc34-ppc64-m32-m64-multilib-only.patch.bz2 ... [ ok ] * 04_all_gcc34-java-nomulti.patch.bz2 ... [ ok ] * 05_all_gcc34-ia64-libunwind.patch.bz2 ... [ ok ] * 06_all_gcc34-ppc64-pr17751.patch.bz2 ... [ ok ] * 07_all_gcc34-gnuc-rh-release.patch.bz2 ... [ ok ] * 08_all_gcc34-chk.patch.bz2 ... [ ok ] * 09_all_gcc34-pr18282.patch.bz2 ... [ ok ] * 10_all_gcc34-cc1-non-existent-ice.patch.bz2 ... [ ok ] * 11_all_gcc34-ia64-sibcall-unw.patch.bz2 ... [ ok ] * 12_all_gcc34-strict_low_part.patch.bz2 ... [ ok ] * 20_all_gcc34-visibility1.patch.bz2 ... [ ok ] * 21_all_gcc34-visibility2-20041025.patch.bz2 ... [ ok ] * 22_all_gcc34-visibility3.patch.bz2 ... [ ok ] * 30_all_gcc34-arm-ldm-peephole.patch.bz2 ... [ ok ] * 31_all_gcc34-arm-ldm.patch.bz2 ... [ ok ] * 32_all_sdk-libstdc++-includes.patch.bz2 ... [ ok ] * 33_all_pr15068-fix.patch.bz2 ... [ ok ] * 34_all_arm-bigendian.patch.bz2 ... [ ok ] * 50_all_gcc-3.4.0-posix-1.patch.bz2 ... [ ok ] * 51_all_gcc-3.4-libiberty-pic.patch.bz2 ... [ ok ] * 53_all_c-decl-rename-builtin.patch.bz2 ... [ ok ] * 90_all_uclibc-conf.patch.bz2 ... [ ok ] * 91_all_uclibc-locale.patch.bz2 ... [ ok ] * Done with patching * Applying gcc_3.4.3.20050110.dif ... [ ok ]gcc: installation problem, cannot exec `as': No such file or directory /usr/portage/eclass/toolchain.eclass: line 429: readelf: command not found * Applying various patches (bugfixes/updates) ... * 00_all_gcc-4.0-cvs-incompat.patch.bz2 ... [ ok ] * 00_all_gcc-4.0-cvs-mips-pic-for-3.4.3.patch.bz2 ... [ ok ] * 00_all_gcc-4.0-cvs-pic.patch.bz2 ... [ ok ] * 00_all_gcc-4.0-cvs-start_endfile-for-3.4.3.patch.bz2 ... [ ok ] * 03_all_gcc-3.4.0-v8.7.6.1-pie-arm.patch.bz2 ... [ ok ] * 04_all_gcc-3.4.0-v8.7.6.1-pie-arm-uclibc.patch.bz2 ... [ ok ] * Done with patching * Applying various patches (bugfixes/updates) ... * 02_all_gcc-3.4.3-v8.7.1-pie-rs6000-nondefault.patch.bz2 ... [ ok ] * 02_all_gcc-3.4.3-v8.7.6.7-pie-sparc-nondefault.patch.bz2 ... [ ok ] * Done with patching * Applying various patches (bugfixes/updates) ... * 00_all_gcc-3.4.3-v8.7.6.7-incompat-default.patch.bz2 ... [ ok ] * 01_all_gcc-3.4.3-v8.7.7-pie-generic-default.patch.bz2 ... [ ok ] * 02_all_gcc-3.4.3-v8.7.6.7-pie-alpha-default.patch.bz2 ... [ ok ] * 02_all_gcc-3.4.3-v8.7.6.7-pie-arm-default.patch.bz2 ... [ ok ] * 02_all_gcc-3.4.3-v8.7.6.7-pie-ia64-default.patch.bz2 ... [ ok ] * 02_all_gcc-3.4.3-v8.7.6.7-pie-rs6000-default.patch.bz2 ... [ ok ] * 02_all_gcc-3.4.3-v8.7.6.7-pie-sparc-default.patch.bz2 ... [ ok ] * Done with patching * updating configuration to build hardened GCC * Updating gcc to use automatic PIE + SSP building ... * patching gcc version: 3.4.3-20050110 (Gentoo Hardened Linux 3.4.3.20050110, ssp-3.4.3.20050110-0, pie-8.7.7) * Patching ${S}/ltmain.sh ... * Applying portage-1.4.1.patch ... * Applying relink-1.4.0a-GCC3.0-2.patch ... * Applying sed-1.4.3.patch ... * Applying tmp-1.3.5.patch ... * Using GNU config files from /usr/share/gnuconfig * Updating config.sub [ ok ] * Updating boehm-gc/config.sub [ ok ] * Updating libjava/libltdl/config.sub [ ok ] * Updating config.guess [ ok ] * Updating boehm-gc/config.guess [ ok ] * Updating libjava/libltdl/config.guess [ ok ] * Applying gcc34-reiser4-fix.patch ... [ ok ] * Applying gcc-spec-env.patch ... [ ok ] * Applying 810-arm-bigendian-uclibc.patch ... [ ok ] * Applying gcc34-m32-no-sse2.patch ... [ ok ] * Applying gcc34-fix-sse2_pinsrw.patch ... [ ok ] * Applying gcc-3.4.3-cross-compile.patch ... [ ok ]>>> Source unpacked. * CFLAGS="-march=athlon-xp -O2 -pipe" * CXXFLAGS="-march=athlon-xp -O2 -pipe" * Configuring gcc ... QA Notice: USE Flag 'altivec' not in IUSE for sys-devel/gcc-3.4.3.20050110 * running gcc-compiler-configure * The f95 language is not supported by this release of gcc * configuring for GCC_LANG: c,c++,f77 * PREFIX: /usr * BINPATH: /usr/i686-pc-linux-gnu/gcc-bin/3.4.3-20050110 * LIBPATH: /usr/lib/gcc/i686-pc-linux-gnu/3.4.3-20050110 * DATAPATH: /usr/share/gcc-data/i686-pc-linux-gnu/3.4.3-20050110 * STDCXX_INCDIR: /usr/lib/gcc/i686-pc-linux-gnu/3.4.3-20050110/include/g++-v3 * Configuring GCC with: --enable-version-specific-runtime-libs --prefix=/usr --bindir=/usr/i686-pc-linux-gnu/gcc-bin/3.4.3-20050110 --includedir=/usr/lib/gcc/i686-pc-linux-gnu/3.4.3-20050110/include --datadir=/usr/share/gcc-data/i686-pc-linux-gnu/3.4.3-20050110 --mandir=/usr/share/gcc-data/i686-pc-linux-gnu/3.4.3-20050110/man --infodir=/usr/share/gcc-data/i686-pc-linux-gnu/3.4.3-20050110/info --with-gxx-include-dir=/usr/lib/gcc/i686-pc-linux-gnu/3.4.3-20050110/include/g++-v3 --host=i686-pc-linux-gnu --disable-altivec --enable-nls --without-included-gettext --enable-__cxa_atexit --enable-clocale=gnu --with-system-zlib --disable-checking --disable-werror --disable-libunwind-exceptions --disable-multilib --disable-libgcj --enable-languages=c,c++,f77 --enable-shared --enable-threads=posix creating cache ./config.cache checking host system type... i686-pc-linux-gnu checking target system type... i686-pc-linux-gnu checking build system type... i686-pc-linux-gnu checking for a BSD compatible install... /bin/install -c *** This configuration is not supported in the following subdirectories: target-libffi target-boehm-gc target-zlib target-libjava zlib fastjar target-libobjc (Any other directories should still work fine.) gcc: installation problem, cannot exec `as': No such file or directory conftest.c:1: fatal error: error closing -: Broken pipe compilation terminated. The bug is not reproducible, so it is likely a hardware or OS problem. *** The command 'gcc -o conftest -march=athlon-xp -O2 -pipe conftest.c' failed. *** You must set the environment variable CC to a working compiler. !!! ERROR: sys-devel/gcc-3.4.3.20050110 failed. !!! Function gcc_do_configure, Line 1046, Exitcode 1 !!! failed to run configure !!! If you need support, post the topmost build error, NOT this status message. |