Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 108665 - glibc-2.3.5-r2 fails to emerge: unrecognized option `-fno-stack-protector'
Summary: glibc-2.3.5-r2 fails to emerge: unrecognized option `-fno-stack-protector'
Status: RESOLVED DUPLICATE of bug 101471
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-10-09 14:53 UTC by *
Modified: 2005-10-09 20:23 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 * 2005-10-09 14:53:58 UTC
When I run emerge world it tries to update glibc:

[ebuild     U ] sys-libs/glibc-2.3.5-r2 [2.3.5-r1]

Which fails with the following error:

cc1: error: unrecognized option `-fno-stack-protector'
make[2]: ***
[/var/tmp/portage/glibc-2.3.5-r2/work/build-default-i686-pc-linux-gnu-linuxthreads/csu/ssp.o]
Error 1
make[2]: Leaving directory `/var/tmp/portage/glibc-2.3.5-r2/work/glibc-2.3.5/csu'
make[1]: *** [csu/subdir_lib] Error 2
make[1]: Leaving directory `/var/tmp/portage/glibc-2.3.5-r2/work/glibc-2.3.5'
make: *** [all] Error 2

!!! ERROR: sys-libs/glibc-2.3.5-r2 failed.
!!! Function toolchain-glibc_src_compile, Line 230, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.

I'm using the latest marked-stable linux-headers binutils-config binutils
gcc-config gcc:

[ebuild   R   ] sys-kernel/linux-headers-2.6.11-r2
[ebuild   R   ] sys-devel/binutils-config-1.8-r5
[ebuild   R   ] sys-devel/binutils-2.15.92.0.2-r10
[ebuild   R   ] sys-devel/gcc-config-1.3.12-r2
[ebuild   R   ] sys-devel/gcc-3.3.6


Reproducible: Always
Steps to Reproduce:
1. emerge glibc


Actual Results:  
Emerge fails with the error described above.

Expected Results:  
Emerge glibc.

emerge info

Linux knock 2.6.12.5 #5 Sat Sep 17 10:21:56 PDT 2005 i686 AMD Athlon(tm) XP
2500+ AuthenticAMD GNU/Linux
~ # emerge info
Portage 2.0.51.22-r2 (default-linux/x86/2005.0, gcc-3.3.6, glibc-2.3.5-r1,
2.6.12.5 i686)
=================================================================
System uname: 2.6.12.5 i686 AMD Athlon(tm) XP 2500+
Gentoo Base System version 1.6.13
dev-lang/python:     2.3.5-r2
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.6-r1
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="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env
/usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /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="-march=athlon-xp -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 3dnow 3dnowext X a52 aac aalib acpi apache2 apm atk audiofile avi
bash-completion bitmap-fonts browserplugin bzip2 cdparanoia cdr cjk crypt cscope
cups curl custom-cflags dga doc dts dv dvd dvdread eds emboss encode fam ffmpeg
flac foomaticdb fortran gcj gd gdbm gif gnokii gnutls gphoto2 gpm gstreamer gtk
gtk2 hal ieee1394 imagemagick imap imlib innodb ipv6 java jpeg jpeg2k kde
kdeenablefinal latex lcms libg++ libwww lm_sensors logitech-mouse lzo mad mbox
mikmod mjpeg mmap mmx mmx2 mmxext motif mozilla mp3 mpeg mysql mythtv ncurses
network nls ogg oggvorbis openexr opengl oss pam pam_console pango pcre pda
pdflib perl png ppds print python qt quicktime readline real rtc sasl scanner
sdl slang sox speex spell sqlite sse ssl subp tcltk tetex tga theora tidy tiff
timidity transcode truetype truetype-fonts type1-fonts unicode usb uudeview vcd
visualization vorbis wifi win32codecs xine xml xml2 xv xvid zlib userland_GNU
kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2005-10-09 20:23:34 UTC

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