Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 79957 - libstdc++-v3-3.3.4 fails to filter -fweb CFLAGS
Summary: libstdc++-v3-3.3.4 fails to filter -fweb CFLAGS
Status: RESOLVED FIXED
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: 2005-01-29 07:54 UTC by Martin Diers
Modified: 2005-12-11 18:19 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 Martin Diers 2005-01-29 07:54:56 UTC
When building libstdc++-v3-3.3.4 on a system with gcc-3.4.x, the build will fail if -fweb is included in one's CFLAGS, since this flag is not supported on gcc-3.3.4.

Reproducible: Always
Steps to Reproduce:
1. emerge gcc-3.4.x
2. Add -fweb to your CFLAGS
3. emerge libstdc++-v3-3.3.4

Actual Results:  
checking whether the C compiler (
/var/tmp/portage/libstdc++-v3-3.3.4/work/build/gcc/xgcc
-B/var/tmp/portage/libstdc++-v3-3.3.4/work/build/gcc/
-B/usr/i686-pc-linux-gnu/bin/ -B/usr/i686-pc-linux-gnu/lib/ -isystem
/usr/i686-pc-linux-gnu/include -O2 -O2 -march=pentium4 -pipe ) works... no
configure: error: installation or configuration problem: C compiler cannot
create executables.
make: *** [configure-target-libiberty] Error 1

!!! ERROR: sys-libs/libstdc++-v3-3.3.4 failed.
!!! Function src_compile, Line 230, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.



This is essentially the same bug as 64252. The fix is to add -fweb to the list
of filtered flags.

Manually removing this flag allows build to complete.

Emerge Info:
Portage 2.0.51-r15 (default-linux/x86/2004.3, gcc-3.4.3,
glibc-2.3.4.20040808-r1, 2.6.10-nitro4 i686)
=================================================================
System uname: 2.6.10-nitro4 i686 Intel(R) Pentium(R) 4 Mobile CPU 1.60GHz
Gentoo Base System version 1.6.7
Python:              dev-lang/python-2.3.4 [2.3.4 (#1, Jan 28 2005, 15:08:35)]
distcc 2.17 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [enabled]
dev-lang/python:     2.3.4
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.8.5-r2, 1.5, 1.4_p6, 1.6.3, 1.7.9, 1.9.4
sys-devel/binutils:  2.15.92.0.2-r1
sys-devel/libtool:   1.5.10-r4
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=pentium4 -pipe -fomit-frame-pointer -frename-registers
-ftracer -fweb"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env
/usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/share/config /usr/share/texmf/tex/generic/config/
/usr/share/texmf/tex/platex/config/ /var/lib/jboss /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=pentium4 -pipe -fomit-frame-pointer -frename-registers
-ftracer -fweb"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig candy ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="ftp:///ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/
http://gentoo.llarian.net/ http://gentoo.binarycompass.org"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/local/overlays/bmg-gnome-current
/usr/local/overlays/bmg-main"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X aalib acpi alsa apache2 arts avi berkdb bitmap-fonts bonobo bzlib
cdparanoia cdr crypt cscope cups curl dga directfb dnd dv dvd dvdr encode esd
ethereal f77 fam fastcgi fbcon flac flash font-server foomaticdb fortran gd gdbm
gif gimp gimpprint gnome gphoto2 gpm gstreamer gtk gtk2 guile imagemagick imap
imlib innodb ipv6 jabber jack java javascript jikes joystick jpeg junit kde ldap
libg++ libwww mad maildir memlimit mikmod motif mpeg mysql ncurses nls nptl odbc
oggvorbis opengl oss pcmcia pda pdflib perl png pnp python qt quicktime readline
ruby samba sasl sdl slang slp speedo speex spell ssl svga tcltk tcpd tetex tiff
truetype truetype-fonts trusted type1 type1-fonts usb wmf xinerama xml xml2 xmms
xv zeo zlib video_cards_radeon"
Unset:  ASFLAGS, CBUILD, CTARGET, LDFLAGS
Comment 1 Mark Loeser (RETIRED) gentoo-dev 2005-12-11 18:19:33 UTC
Been fixed for awhile now