Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 52352 - GCC-3.3.3-r5 fails to compile
Summary: GCC-3.3.3-r5 fails to compile
Status: RESOLVED DUPLICATE of bug 49363
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All All
: High major (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-05-29 07:08 UTC by Ben Anderson
Modified: 2005-07-17 13:06 UTC (History)
0 users

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 Ben Anderson 2004-05-29 07:08:57 UTC
The compile fails on what appears to be typographical errors... in a Makefile? It's hard to tell.

here's the end of the log:
 * CFLAGS=" -O2 -mcpu=athlon"
 * CXXFLAGS=" -O2 -mcpu=athlon"
 * GCJFLAGS=""
 * Configuring GCC...
*** This configuration is not supported in the following subdirectories:
     target-libf2c target-libffi target-boehm-gc target-zlib target-libjava zlib fastjar target-libobjc
    (Any other directories should still work fine.)
Created "Makefile" in /var/tmp/portage/gcc-3.3.3-r5/work/build using "mt-frag"
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.3/../../../../i686-pc-linux-gnu/bin/ld: unrecognized option '--as-needed'
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.3/../../../../i686-pc-linux-gnu/bin/ld: use the --help option for usage information
collect2: ld returned 1 exit status
*** The command 'gcc -o conftest  -O2 -mcpu=athlon   conftest.c' failed.
*** You must set the environment variable CC to a working compiler.

!!! ERROR: sys-devel/gcc-3.3.3-r5 failed.
!!! Function src_compile, Line 522, Exitcode 1
!!! (no error message)

emerge info:
Portage 2.0.50-r7 (default-x86-2004.0, gcc-3.3.3, glibc-2.3.3_pre20040420-r0, 2.6.5-gentoo)
=================================================================
System uname: 2.6.5-gentoo i686 AMD Athlon(tm) processor
Gentoo Base System version 1.4.10
Autoconf: sys-devel/autoconf-2.59-r3
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -mcpu=athlon -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -mcpu=athlon -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
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="3dnow X aalib acpi alsa audiofile avi berkdb cdr cjk crypt dga dvd encode flac gdbm gif gmp gphoto2 gtk imagemagick imlib java jpeg libg++ libwww mad mikmod mmx motif mozilla mpeg ncurses nls offensive oggvorbis opengl pam pdflib perl png python quicktime readline sdl slang spell ssl tcpd tetex tiff truetype unicode usb x86 xml2 xmms xv zlib"
Comment 1 solar (RETIRED) gentoo-dev 2004-08-25 17:27:32 UTC
Please use 3.3.3-r6 or later.
Comment 2 SpanKY gentoo-dev 2004-08-29 21:21:58 UTC
this is a dupe
Comment 3 SpanKY gentoo-dev 2004-08-29 21:22:50 UTC

*** This bug has been marked as a duplicate of 49363 ***