View previous topic :: View next topic |
Author |
Message |
spoofy n00b
Joined: 28 Mar 2005 Posts: 58
|
Posted: Tue Aug 02, 2005 7:04 pm Post subject: gcc doesnt compile when switching to non-multilib profile |
|
|
Quote: |
` if [ -f ./nm ] ; then echo ./nm ; elif [ -f /var/tmp/portage/gcc-3.4.3-r1/work/build/gcc/../binutils/nm-new ] ; then echo /var/tmp/portage/gcc-3.4.3-r1/work/build/gcc/../binutils/nm-new ; else if [ "x86_64-pc-linux-gnu" = "x86_64-pc-linux-gnu" ] ; then echo nm; else t='s,y,y,'; echo nm | sed -e ; fi; fi` -pg libgcc/./_floatdisf.o | gawk 'NF == 3 && $2 !~ /^[UN]$/ { print "\t.hidden", $3 }'; cat libgcc//stacknote.s ) | ./xgcc -B./ -B/usr/x86_64-pc-linux-gnu/bin/ -isystem /usr/x86_64-pc-linux-gnu/include -isystem /usr/x86_64-pc-linux-gnu/sys-include -L/var/tmp/portage/gcc-3.4.3-r1/work/build/gcc/../ld -O2 -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -isystem ./include -fPIC -DHAVE_SYSLOG -g -DHAVE_GTHR_DEFAULT -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -D_LIBC_PROVIDES_SSP_ -r -nostdinc -nostdlib -o libgcc/./_floatdisf.oS libgcc/./_floatdisf.o -xassembler -
xgcc: warning: -pipe ignored because -save-temps specified
/bin/sh: line 1: 29217 Done ` if [ -f ./nm ] ; then echo ./nm ; elif [ -f /var/tmp/portage/gcc-3.4.3-r1/work/build/gcc/../binutils/nm-new ] ; then echo /var/tmp/portage/gcc-3.4.3-r1/work/build/gcc/../binutils/nm-new ; else if [ "x86_64-pc-linux-gnu" = "x86_64-pc-linux-gnu" ] ; then echo nm; else t='s,y,y,'; echo nm | sed -e ; fi; fi` -pg libgcc/./_floatdisf.o
29219 Broken pipe | gawk 'NF == 3 && $2 !~ /^[UN]$/ { print "\t.hidden", $3 }'
/bin/sh: line 1: 29221 Broken pipe cat libgcc//stacknote.s
/bin/sh: line 1: 29216 Done(141) ( ` if [ -f ./nm ] ; then echo ./nm ; elif [ -f /var/tmp/portage/gcc-3.4.3-r1/work/build/gcc/../binutils/nm-new ] ; then echo /var/tmp/portage/gcc-3.4.3-r1/work/build/gcc/../binutils/nm-new ; else if [ "x86_64-pc-linux-gnu" = "x86_64-pc-linux-gnu" ] ; then echo nm; else t='s,y,y,'; echo nm | sed -e ; fi; fi` -pg libgcc/./_floatdisf.o | gawk 'NF == 3 && $2 !~ /^[UN]$/ { print "\t.hidden", $3 }'; cat libgcc//stacknote.s )
29220 Segmentation fault | ./xgcc -B./ -B/usr/x86_64-pc-linux-gnu/bin/ -isystem /usr/x86_64-pc-linux-gnu/include -isystem /usr/x86_64-pc-linux-gnu/sys-include -L/var/tmp/portage/gcc-3.4.3-r1/work/build/gcc/../ld -O2 -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -isystem ./include -fPIC -DHAVE_SYSLOG -g -DHAVE_GTHR_DEFAULT -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -D_LIBC_PROVIDES_SSP_ -r -nostdinc -nostdlib -o libgcc/./_floatdisf.oS libgcc/./_floatdisf.o -xassembler -
make[3]: *** [libgcc/./_floatdisf.oS] Error 139
make[3]: Leaving directory `/var/tmp/portage/gcc-3.4.3-r1/work/build/gcc'
make[2]: *** [stmp-multilib] Error 2
make[2]: Leaving directory `/var/tmp/portage/gcc-3.4.3-r1/work/build/gcc'
make[1]: *** [stage1_build] Error 2
make[1]: Leaving directory `/var/tmp/portage/gcc-3.4.3-r1/work/build/gcc'
make: *** [profiledbootstrap] Error 2
!!! ERROR: sys-devel/gcc-3.4.3-r1 failed.
!!! Function gcc_do_make, Line 1214, Exitcode 2
!!! emake failed with profiledbootstrap
!!! If you need support, post the topmost build error, NOT this status message.
|
info
Quote: |
kidney ~ # emerge --info
Portage 2.0.51.22-r2 (default-linux/amd64/2005.0/no-multilib, gcc-3.4.3, glibc-2.3.5-r0, 2.6.12-gentoo-r6 x86_64)
=================================================================
System uname: 2.6.12-gentoo-r6 x86_64 AMD Opteron(tm) Processor 244
Gentoo Base System version 1.6.13
dev-lang/python: 2.3.5
sys-apps/sandbox: 1.2.11
sys-devel/autoconf: 2.13, 2.59-r6
sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5
sys-devel/binutils: 2.15.92.0.2-r10
sys-devel/libtool: 1.5.18-r1
virtual/os-headers: 2.6.11-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -pipe -O3"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=k8 -pipe -O3"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.us.gentoo.org/gentoo-portage"
USE="amd64 X alsa avi berkdb bitmap-fonts crypt cups eds encode foomaticdb fortran gif gnome gpm gstreamer gtk gtk2 imlib ipv6 jpeg kde ldap lzw lzw-tiff mp3 mpeg ncurses nls opengl pam pdflib perl png python qt quicktime readline sdl spell ssl tcpd threads tiff truetype-fonts type1-fonts usb userlocales xpm xv zlib userland_GNU kernel_linux elibc_glibc"
Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY |
|
|
Back to top |
|
|
crazycat l33t
Joined: 26 Aug 2003 Posts: 838 Location: Hamburg, Germany
|
Posted: Tue Aug 02, 2005 8:08 pm Post subject: |
|
|
29220 Segmentation fault
Try to revert to O2, check the sticky about segfaults on smp systems. There was also a big thread about gcc segfaulting recently, check the 2nd page of this forum , there are at least 3 threads about gcc , maybe your problem is somehow related. Also try -j1 and make sure your memory is ok by running memtest. |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|