Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 32284 - Several applications fail compiling with LD: Not a valid object file output with Gcc 3.3.2
Summary: Several applications fail compiling with LD: Not a valid object file output w...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GCC Porting (show other bugs)
Hardware: x86 Linux
: High critical (vote)
Assignee: Please assign to toolchain
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-10-29 10:52 UTC by Haldir
Modified: 2004-04-18 22:49 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Haldir 2003-10-29 10:52:31 UTC
After emerging gcc 3.3.2 i encountered several crashes and noticed after trying 
to emerge several apps (like bind), that most emerges fail with LD: Not a valid 
object file output. I first thought the crashes are due to some inproper 
kernel, recompiling with 3.3.2 produced only more crashes (the old was compiled 
with 3.3.1), after reemerging 3.3.1 everything worked fine again. the only 
components emerged together with gcc 3.3.2 were the latest bindutils ebuild and 
the latest glibc ebuild, both were reemerged again with gcc 3.3.1


Reproducible: Always
Steps to Reproduce:
1.
2.
3.




It's a smp system for the case that matters...

output from emerge info:
System uname: 2.4.21 i686 Pentium III (Coppermine)
Gentoo Base System version 1.4.3.11
ccache version 2.3 [enabled]
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium3 -O3 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config /usr/kde/2/share/confi
g /usr/kde/3/share/config /var/bind"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-march=pentium3 -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="sandbox ccache autoaddcvs"
GENTOO_MIRRORS="ftp://gentoo.inode.at/source/ 
ftp://ftp.easynet.nl/mirror/gentoo/ http://ftp.easynet.nl/mirror/gentoo/ 
http://gentoo.inode.at/ ftp://gentoo.linux.no/pub/gentoo/"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 oss apm arts avi crypt encode foomaticdb gif gpm imlib libg++ mad 
mikmod motif mpeg ncurses nls oggvorbis opengl quicktime sdl spell svga 
truetype xml2 xmms xv zlib gdbm berkdb slang readline java tcpd pam libwww ssl 
perl python -X -gtk -cups -tiff -jpeg -png -gnome -kde -qt -pdflib -alsa 
apache2 -mysql"
Comment 1 Haldir 2003-10-29 10:54:33 UTC
Actually i mean binutils-2.14.90.0.6-r7
, not bindutils, sorry for the typo
Comment 2 Waldemar 2003-11-03 08:37:11 UTC
Since updating to gcc 3.3.2 I cannot compile even simple main(){return(0);}:
gcc: Internal error: Bus error (program cc1)
Please submit a full bug report.
gcc --version
gcc (GCC) 3.3.2 20031022 (Gentoo Linux 3.3.2-r2, propolice)

g++ works right

Portage 2.0.49-r15 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r8, 2.4.22)
=================================================================
System uname: 2.4.22 i686 Mobile Intel(R) Pentium(R) 4 - M CPU 1.80GHz
Gentoo Base System version 1.4.3.11
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-mcpu=pentium3 -O2 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config
/usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/share/texmf/tex/generic/config/
/usr/share/texmf/tex/platex/config/ /usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-mcpu=pentium3 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="sandbox ccache autoaddcvs"
GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 foomaticdb mikmod ncurses nls gdbm berkdb slang tetex svga gpm tcpd
pam ssl esd imlib acpi alsa apm arts avi cdr crypt cups dga doc dvd emacs
encode ethereal flash gif -gnome -gtk imap java jpeg kde kerberos ldap libg++
libwww mad mmx motif mozilla mpeg oci8 odbc oggvorbis opengl oss pcmcia pda
pdflib perl png pnp bindist python qt quicktime readline ruby samba sasl
sdl slp spell sse tcltk tiff truetype usb wavelan wmf X xml2 xmms xv zlib"

Comment 3 Martin Schlemmer (RETIRED) gentoo-dev 2004-02-11 14:17:14 UTC
This should be fixed by -r5 already.  I do not get these anymore ... (did,
but not more rare than you it seems).
Comment 4 Alexander Gabert (RETIRED) gentoo-dev 2004-03-04 06:56:18 UTC
can we close this bug?
Comment 5 SpanKY gentoo-dev 2004-04-18 22:49:10 UTC
please re-open if latest gcc/binutils doesnt work out for you