Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 57072 - emerging gcc-3.3.3-r6 fails on "Configuring GCC..."
Summary: emerging gcc-3.3.3-r6 fails on "Configuring GCC..."
Status: RESOLVED DUPLICATE of bug 49363
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-07-14 14:49 UTC by Holly
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 Holly 2004-07-14 14:49:49 UTC
I didn't update my epia box for some weeks. now it doesn't like to emerge gcc.

the error message is the following:

===============================================
>>> Source unpacked.
~x86
java
nls
java
 * CFLAGS=" -O2 -pipe -mcpu=i686"
 * CXXFLAGS=" -O2 -pipe -mcpu=i686"
 * 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-r6/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 -pipe -mcpu=i686   conftest.c' failed.
*** You must set the environment variable CC to a working compiler.

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

actually i'm a little confused, that ccache is in the "FEATURES" in "emerge info", because i have not  activated it in my make.conf (i triple checked it).

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




prometheus root # emerge info
Portage 2.0.50-r9 (default-x86-2004.0, gcc-3.3.3, glibc-2.3.3_pre20040420-r0,
2.6.4-gentoo-r1)
=================================================================
System uname: 2.6.4-gentoo-r1 i686 VIA Nehemiah
Gentoo Base System version 1.4.10
distcc 2.13 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5-r1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-Os -pipe -mcpu=i686 -funroll-loops -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.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/alias
/var/qmail/control /var/www/localhost/htdocs//mythweb/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-Os -pipe -mcpu=i686 -funroll-loops -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://212.219.247.21/sites/www.ibiblio.org/gentoo/
ftp://ftp.tu-clausthal.de/pub/linux/gentoo/
http://194.83.57.11/sites/www.ibiblio.org/gentoo/
http://194.83.57.15/sites/www.ibiblio.org/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://heartofgold.phren.net/gentoo-portage"
USE="X Xaw3d aac aalib acpi acpi4linux adns alsa apache2 apm arts audiofile avi
bidi cddb cdr clamav cle266 crypt cups curl dedicated dga directfb doc dv dvd
dvdr encode ethereal evo faad fam fastcgi fbcon ffmpeg fftw flac flash
foomaticdb freetype gb gd gd-external gdbm gif gnome gnomedb gphoto2 gpm gps
gstreamer gtk gtk2 gtkhtml icq ieee1394 imagemagick imap imlib ipv6 irda jack
java javascript jikes joystick jpeg kde ladcca lcd lcms libgda libwww lirc mad
maildir matroska mcal mmx mozilla moznocompose moznoirc moznomail mozp3p mozsvg
mpeg mpeg4 mpi msn music mysql nas ncurses net netcdf nls nntp nocd nptl oav
oggvorbis openal opengl oss pam pcap pcmcia pcre pda pdflib pear-db perl php
plotutils png pnp portaudio ppds pthreads python qt quicktime readline regexp
samba sasl sdl slp snmp socks5 spell sqlite src sse ssl svg svga t1lib tcpd
tetex theora tiff transcode truetype type1 unicode usb utf8 v4l
video_cards_cle266 videos vim-with-x virus-scan wmf wxwin wxwindows x86 xface
xine xinerama xml xml2 xmms xosd xv xvid yaz zlib zvbi"
Comment 1 Michael Crawford (ali3nx) 2004-07-14 15:20:21 UTC
could you post the output of cgg-config -l and export to a txt file attachment?
Comment 2 Holly 2004-07-14 16:53:22 UTC
there is no cgg-config, so i think you meant gcc-config. but the output of 'gcc-config -l' is just "[1] i686-pc-linux-gnu-3.3.3", so I'm not sure if you really want that exported to a file. ;)
Comment 3 Travis Tilley (RETIRED) gentoo-dev 2004-07-15 01:31:10 UTC

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