Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 241604 - sys-devel/gcc-4.3.2 fails to compile with unrecognized command line option "-Wno-overlength-strings"
Summary: sys-devel/gcc-4.3.2 fails to compile with unrecognized command line option "-...
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-10-12 14:29 UTC by Daniel Klaffenbach
Modified: 2012-05-20 14:14 UTC (History)
6 users (show)

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


Attachments
Build log from gcc 4.3.2 (gcc-build.log.bz2,117.86 KB, application/octet-stream)
2008-10-14 09:03 UTC, Daniel Klaffenbach
Details
gcc-4.3.3 build log (gcc-4.2.3-build.log.bz2,88.96 KB, application/octet-stream)
2008-11-22 18:45 UTC, Vladimir Rusinov
Details
/tmp/emerge.info (emerge.info,27.59 KB, text/plain)
2009-01-11 00:03 UTC, K. Posern
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Klaffenbach 2008-10-12 14:29:07 UTC
emerge gcc 4.3.2 gives me the following error:

i686-pc-linux-gnu-gcc -c   -march=athlon-xp -O2 -pipe -DIN_GCC   -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic-macros    -Wno-overlength-strings    -DHAVE_CONFIG_H -I. -I. -I/var/tmp/portage/sys-devel/gcc-4.3.2/work/gcc-4.3.2/gcc -I/var/tmp/portage/sys-devel/gcc-4.3.2/work/gcc-4.3.2/gcc/. -I/var/tmp/portage/sys-devel/gcc-4.3.2/work/gcc-4.3.2/gcc/../include -I/var/tmp/portage/sys-devel/gcc-4.3.2/work/gcc-4.3.2/gcc/../libcpp/include  -I/var/tmp/portage/sys-devel/gcc-4.3.2/work/gcc-4.3.2/gcc/../libdecnumber -I/var/tmp/portage/sys-devel/gcc-4.3.2/work/gcc-4.3.2/gcc/../libdecnumber/bid -I../libdecnumber    cc1-checksum.c -o cc1-checksum.o
cc1: error: unrecognized command line option "-Wno-overlength-strings"
make[2]: *** [cc1-checksum.o] Error 1
make[2]: Leaving directory `/var/tmp/portage/sys-devel/gcc-4.3.2/work/build/gcc'
make[1]: *** [install-gcc] Error 2
make[1]: Leaving directory `/var/tmp/portage/sys-devel/gcc-4.3.2/work/build'
make: *** [install] Error 2

Reproducible: Always

Steps to Reproduce:
1. echo =sys-devel/gcc-4.3.2 >> /etc/portage/package.keywords
2. emerge gcc




Portage 2.1.4.5 (default/linux/x86/2008.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.26.6 i686)
=================================================================
System uname: 2.6.26.6 i686 Mobile AMD Sempron(tm) 3100+
Timestamp of tree: Sat, 11 Oct 2008 11:04:01 +0000
app-shells/bash:     3.2_p33
dev-lang/python:     2.4.4-r13
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.3.0-r1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.61-r2
sys-devel/automake:  1.9.6-r2, 1.10.1
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon-xp -msse3 -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=athlon-xp -msse3 -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X a52 aac aalib acl acpi alsa bash-completion berkdb bzip2 cairo cdr cli cracklib crypt cups daap dbus dga divx dri dvd dvdr dvdread encode esd flac fortran gdbm gif gimp glitz gtk2 hal htmlhandbook iconv ieee1394 imagemagick ipod isdnlog java jpeg jpg kde kdeprefix laptop ldap lm_sensors mad midi mmx mmxext mng mp3 mp4 mpeg mudflap ncurses new-login nfs nls nptl nptlonly nsplugin ogg opengl openldap openmp pam pcre pda pdf perl png pppd python qt4 quicktime readline reflection samba scanner session skins spell spl sse sse2 ssl ssse3 svg sysfs tcpd tiff unicode usb vcd vorbis webdav wifi win32codecs x86 xcomposite xorg xscreensaver xv xvid zlib" ALSA_CARDS="atiixp" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="ati radeon"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Daniel Klaffenbach 2008-10-12 17:57:15 UTC
I've just tried sys-devel/gcc-4.3.1-r1 and I am getting the same error about "-Wno-overlength-strings".
What's up with this? I am on a _fresh_ install of 2008.0 with a i686 stage3.
Comment 2 Daniel Klaffenbach 2008-10-13 12:46:41 UTC
Today I've tried sys-devel/gcc-4.2.4 and guess what:
cc1: error: unrecognized command line option "-Wno-overlength-strings"
make[2]: *** [cc1-checksum.o] Error 1
make[2]: Leaving directory
Comment 3 Daniel Klaffenbach 2008-10-13 15:34:04 UTC
Remerging gcc-4.1.2 works, but compiling any version > 4.1.* does not work.
Comment 4 Daniel Klaffenbach 2008-10-14 09:03:07 UTC
Created attachment 168380 [details]
Build log from gcc 4.3.2
Comment 5 Vladimir Rusinov 2008-11-22 18:45:32 UTC
Created attachment 172881 [details]
gcc-4.3.3 build log

I'm getting same errors with gcc 4.2.3:

make[2]: Entering directory `/tmp/portage/sys-devel/gcc-4.2.3/work/build/gcc'
gcc   -march=i686 -mtune=i686 -pipe -O2 -DIN_GCC   -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -Wold-style-definition -Wmissing-format-attribute    -DHAVE_CONFIG_H  -o cc1plus-dummy \
              cp/cp-lang.o stub-objc.o cp/call.o cp/decl.o cp/expr.o cp/pt.o cp/typeck2.o cp/class.o cp/decl2.o cp/error.o cp/lex.o cp/parser.o cp/ptree.o cp/rtti.o cp/typeck.o cp/cvt.o cp/except.o cp/friend.o cp/init.o cp/method.o cp/search.o cp/semantics.o cp/tree.o cp/repo.o cp/dump.o cp/optimize.o cp/mangle.o cp/cp-objcp-common.o cp/name-lookup.o cp/cxx-pretty-print.o cp/cp-gimplify.o tree-mudflap.o attribs.o c-common.o c-format.o c-pragma.o c-semantics.o c-lex.o c-dump.o  c-pretty-print.o c-opts.o c-pch.o c-incpath.o cppdefault.o c-ppoutput.o c-cppbuiltin.o prefix.o c-gimplify.o c-omp.o tree-inline.o dummy-checksum.o main.o  libbackend.a ../libcpp/libcpp.a ../libdecnumber/libdecnumber.a ../libcpp/libcpp.a   ../libiberty/libiberty.a ../libdecnumber/libdecnumber.a
build/genchecksum cc1plus-dummy > cc1plus-checksum.c
gcc -c   -march=i686 -mtune=i686 -pipe -O2 -DIN_GCC   -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -Wold-style-definition -Wmissing-format-attribute    -DHAVE_CONFIG_H -I. -I. -I/tmp/portage/sys-devel/gcc-4.2.3/work/gcc-4.2.3/gcc -I/tmp/portage/sys-devel/gcc-4.2.3/work/gcc-4.2.3/gcc/. -I/tmp/portage/sys-devel/gcc-4.2.3/work/gcc-4.2.3/gcc/../include -I/tmp/portage/sys-devel/gcc-4.2.3/work/gcc-4.2.3/gcc/../libcpp/include  -I/tmp/portage/sys-devel/gcc-4.2.3/work/gcc-4.2.3/gcc/../libdecnumber -I../libdecnumber    cc1plus-checksum.c -o cc1plus-checksum.o
cc1: error: unrecognized command line option "-Wno-overlength-strings"
make[2]: *** [cc1plus-checksum.o] Error 1
make[2]: Leaving directory `/tmp/portage/sys-devel/gcc-4.2.3/work/build/gcc'
make[1]: *** [install-gcc] Error 2
make[1]: Leaving directory `/tmp/portage/sys-devel/gcc-4.2.3/work/build'
make: *** [install] Error 2
Comment 6 SpanKY gentoo-dev 2008-12-07 19:02:54 UTC
looks like it occurs only when doing a profile build ... the logic is a bit messy when it comes to "target" and "host" in the profile building

guess this is just another reason to drop the profile stuff ...
Comment 7 SpanKY gentoo-dev 2008-12-07 19:33:07 UTC
can someone here with the build failure try doing:
GCC_MAKE_TARGET=bootstrap-lean emerge gcc

and see if that works around the issue ...
Comment 8 SpanKY gentoo-dev 2008-12-29 22:46:42 UTC
the issue should "go away" now

http://sources.gentoo.org/eclass/toolchain.eclass?r1=1.370&r2=1.371
Comment 9 K. Posern 2009-01-11 00:03:46 UTC
Created attachment 178008 [details]
/tmp/emerge.info

Unfortunately I STILL have the same problem! :-(\nAttached you will find one file with: emerge --info and afterwards the output of the install step. The source was successfully compiled but the install fails with the same error message. I have the /actual/ version of toolchain.eclass (without the elif). The 4.6GB compiled gcc code are still available if someone has an idea how I can get them installed. Thnx a lot for any help/hint in advance! \ntormen.
Comment 10 Dan Coats 2009-01-12 22:23:03 UTC
same here   
       /var/tmp/portage/sys-devel/gcc-4.3.2-r2/image//usr/libexec/gcc/i686-pc-linux-gnu/4.3.2/install-tools/fixincl                      
/usr/bin/install -c mkheaders /var/tmp/portage/sys-devel/gcc-4.3.2-r2/image//usr/libexec/gcc/i686-pc-linux-gnu/4.3.2/install-tools/mkheaders
make[2]: Leaving directory `/var/tmp/portage/sys-devel/gcc-4.3.2-r2/work/build/fixincludes'                                                 
make[2]: Entering directory `/var/tmp/portage/sys-devel/gcc-4.3.2-r2/work/build/gcc'                                                        
i686-pc-linux-gnu-gcc -c   -march=pentium4 -O2 -pipe -DIN_GCC   -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic-macros                                -Wno-overlength-strings    -DHAVE_CONFIG_H -I. -I. -I/var/tmp/portage/sys-devel/gcc-4.3.2-r2/work/gcc-4.3.2/gcc -I/var/tmp/portage/sys-devel/gcc-4.3.2-r2/work/gcc-4.3.2/gcc/. -I/var/tmp/portage/sys-devel/gcc-4.3.2-r2/work/gcc-4.3.2/gcc/../include -I/var/tmp/portage/sys-devel/gcc-4.3.2-r2/work/gcc-4.3.2/gcc/../libcpp/include  -I/var/tmp/portage/sys-devel/gcc-4.3.2-r2/work/gcc-4.3.2/gcc/../libdecnumber -I/var/tmp/portage/sys-devel/gcc-4.3.2-r2/work/gcc-4.3.2/gcc/../libdecnumber/bid -I../libdecnumber    /var/tmp/portage/sys-devel/gcc-4.3.2-r2/work/gcc-4.3.2/gcc/c-lang.c -o c-lang.o                                                                                                                                          
cc1: error: unrecognized command line option "-Wno-overlength-strings"                                                                      
make[2]: *** [c-lang.o] Error 1                                                                                                             
make[2]: Leaving directory `/var/tmp/portage/sys-devel/gcc-4.3.2-r2/work/build/gcc'                                                         
make[1]: *** [install-gcc] Error 2                                                                                                          
make[1]: Leaving directory `/var/tmp/portage/sys-devel/gcc-4.3.2-r2/work/build'                                                             
make: *** [install] Error 2                                                                                                                 
 *                                                                                                                                          
 * ERROR: sys-devel/gcc-4.3.2-r2 failed.                                                                                                    
 * Call stack:                                                                                                                              
 *               ebuild.sh, line   49:  Called src_install                                                                                  
 *             environment, line 4642:  Called toolchain_src_install                                                                        
 *             environment, line 5158:  Called gcc-compiler_src_install                                                                     
 *             environment, line 2397:  Called die                                                                                          
 * The specific snippet of code:                                                                                                            
 *       S=${WORKDIR}/build make DESTDIR="${D}" install || die;                                                                             
 *  The die message:                                                                                                                        
 *   (no error message) 
Comment 11 darklegion 2009-02-10 06:00:55 UTC
Me too, and it occurs with both gcc-4.2.4 and gcc-4.3.3.
Comment 12 Dusanc 2009-03-30 16:13:33 UTC
I get the same error on 4.3.2 which is stable now:
build/genchecksum cc1-dummy > cc1-checksum.c
x86_64-pc-linux-gnu-gcc -c   -march=nocona -O2 -pipe -DIN_GCC   -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic-macros 		     -Wno-overlength-strings    -DHAVE_CONFIG_H -I. -I. -I/var/tmp/portage/sys-devel/gcc-4.3.2-r3/work/gcc-4.3.2/gcc -I/var/tmp/portage/sys-devel/gcc-4.3.2-r3/work/gcc-4.3.2/gcc/. -I/var/tmp/portage/sys-devel/gcc-4.3.2-r3/work/gcc-4.3.2/gcc/../include -I/var/tmp/portage/sys-devel/gcc-4.3.2-r3/work/gcc-4.3.2/gcc/../libcpp/include  -I/var/tmp/portage/sys-devel/gcc-4.3.2-r3/work/gcc-4.3.2/gcc/../libdecnumber -I/var/tmp/portage/sys-devel/gcc-4.3.2-r3/work/gcc-4.3.2/gcc/../libdecnumber/bid -I../libdecnumber    cc1-checksum.c -o cc1-checksum.o
cc1: error: unrecognized command line option "-Wno-overlength-strings"
make[2]: *** [cc1-checksum.o] Error 1
make[2]: Leaving directory `/var/tmp/portage/sys-devel/gcc-4.3.2-r3/work/build/gcc'
make[1]: *** [install-gcc] Error 2
make[1]: Leaving directory `/var/tmp/portage/sys-devel/gcc-4.3.2-r3/work/build'
make: *** [install] Error 2

What is a resolution to this bug as it is marked FIXED?
Comment 13 Walther 2009-04-06 14:23:39 UTC
Apparently the 'fix' is the update to the eclass/toolchain.eclass file, which actually did not fix this issue for some people.

I found this mailing list thread of someone with a similar problem, http://gcc.gnu.org/ml/gcc-help/2009-03/msg00250.html

So what I tried was "ebuild /usr/portage/sys-devel/gcc/gcc-4.3.2-r3 compile", and then changed into the "/var/tmp/portage/sys-devel/gcc-4.3.2-r3/work/build" directory, from where I run manually the "make install" command (copied from the emerge output and edited for debugging): 

make -s DESTDIR=/var/tmp/portage/sys-devel/gcc-4.3.2-r3/image/ install -d > make.log 2>&1

Since this is the "make install" stage, there shouldn't be any recompilation necessary, but in my log file, it shows that "Must remake target `cc1-checksum.o'", which caused the compile error mentioned in the opening. The interesting bit is that inside the work/build/gcc dir there is a "cc1-checksum.c" file, but no .o nor executable was created for it (but cc1plus-checksum.o does exist).

So there must be a bug in the makefiles for my particular configuration which does not requires to create this file which is only caught at the make install stage...?
Comment 14 Alli Quaknaa 2009-05-30 09:33:59 UTC
I still have this problem too (compiling gcc-4.3.3-r2 with gcc-4.1.2 - I wasn't able to update gcc since that version):

x86_64-pc-linux-gnu-gcc -c   -O2 -pipe -DIN_GCC   -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic-macros                               -Wno-overlength-strings    -DHAVE_CONFIG_H -I. -I. -I/var/tmp/portage/sys-devel/gcc-4.3.3-r2/work/gcc-4.3.3/gcc -I/var/tmp/portage/sys-devel/gcc-4.3.3-r2/work/gcc-4.3.3/gcc/. -I/var/tmp/portage/sys-devel/gcc-4.3.3-r2/work/gcc-4.3.3/gcc/../include -I/var/tmp/portage/sys-devel/gcc-4.3.3-r2/work/gcc-4.3.3/gcc/../libcpp/include  -I/var/tmp/portage/sys-devel/gcc-4.3.3-r2/work/gcc-4.3.3/gcc/../libdecnumber -I/var/tmp/portage/sys-devel/gcc-4.3.3-r2/work/gcc-4.3.3/gcc/../libdecnumber/bid -I../libdecnumber    cc1-checksum.c -o cc1-checksum.o                                                                                                                  
cc1: error: unrecognized command line option "-Wno-overlength-strings"

my emerge --info

Portage 2.2_rc33 (default/linux/amd64/2008.0, gcc-4.1.2, glibc-2.10.1-r0, 2.6.30-rc7-zen0-08384-gce1adbc x86_64)
=================================================================                                               
System uname: Linux-2.6.30-rc7-zen0-08384-gce1adbc-x86_64-Intel-R-_Core-TM-2_Duo_CPU_T8100_@_2.10GHz-with-glibc2.2.5
Timestamp of tree: Sat, 30 May 2009 08:00:16 +0000                                                                  
app-shells/bash:     3.2_p39                                                                                        
dev-java/java-config: 2.1.7                                                                                         
dev-lang/python:     2.5.4-r2                                                                                       
dev-python/pycrypto: 2.0.1-r8                                                                                       
dev-util/cmake:      2.6.4                                                                                          
sys-apps/baselayout: 2.0.1                                                                                          
sys-apps/openrc:     0.4.3-r2                                                                                       
sys-apps/sandbox:    1.9                                                                                            
sys-devel/autoconf:  2.13, 2.63                                                                                     
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2                                                      
sys-devel/binutils:  2.19.1-r1                                                                                      
sys-devel/gcc-config: 1.4.1                                                                                         
sys-devel/libtool:   1.5.26                                                                                         
virtual/os-headers:  2.6.27-r2                                                                                      
ACCEPT_KEYWORDS="amd64"                                                                                             
CBUILD="x86_64-pc-linux-gnu"                                                                                        
CFLAGS="-O2 -pipe"                                                                                                  
CHOST="x86_64-pc-linux-gnu"                                                                                         
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/4.2/env /usr/kde/4.2/share/config /usr/kde/4.2/shutdown /usr/share/config /var/lib/hsqldb"                                                                                                                 
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"                                                                     
CXXFLAGS="-O2 -pipe"                                                                                                                                 
DISTDIR="/usr/portage/distfiles"                                                                                                                     
FEATURES="distlocks fixpackages metadata-transfer parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-orphans userfetch"       
GENTOO_MIRRORS="ftp://gentoo.mirror.web4u.cz/"                                                                                                       
LANG="cs_CZ.UTF-8"                                                                                                                                   
LC_ALL="cs_CZ.UTF-8"                                                                                                                                 
LDFLAGS="-Wl,-O1"                                                                                                                                    
LINGUAS="cs"                                                                                                                                         
MAKEOPTS="-j2"                                                                                                                                       
PKGDIR="/usr/portage/packages"                                                                                                                       
PORTAGE_CONFIGROOT="/"                                                                                                                               
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"                                                                                                            
PORTAGE_TMPDIR="/var/tmp"                                                                                                                            
PORTDIR="/usr/portage"                                                                                                                               
PORTDIR_OVERLAY="/usr/portage/local/layman/kde-testing /usr/portage/local/layman/x11 /usr/portage/local/layman/mpd /usr/portage/local/layman/enlightenment /usr/portage/local/layman/sunrise /usr/portage/local/layman/science /usr/local/portage /usr/portage/local/layman/portage-overlay"              
SYNC="rsync://rsync.gentoo.org/gentoo-portage"                                                                                                       
USE="7zip X a52 aac ace acl acpi additions alsa amarok amd64 apache2 archive aspnet2 bash-completion berkdb bittorrent bluetooth bzip2 cdaudio cdda cddb cdio cdparanoia cdr chroot cli compress cpudetection cracklib crypt css cups cupsddk curl curlwrappers dbus device-mapper dirac divx djvu dri dv dvb dvd dvdr dvdread dxr2 encode fastcgi fat ffmpeg firefox3 flac flash flv fortran gdbm gif gimp glsa glut gnutls gpg gpm h323 hal havekernel hdaps hddtemp httpd iconv icq id3 id3tag idn ieee1394 imagemagick inotify iproute2 ipsec ipv6 ipw3945 ipython irc isdnlog jabber jack javascript john jpeg jpeg2k json justify kde kdeprefix kipi kvm ladspa lame laptop libass libnotify lm_sensors lzma lzo mad metalink midi mikmod mmx mng mp3 mp3rtp mp4 mp4live mpd mpeg mpeg2 mplayer mudflap multilib multislot multitarget musepack musicbrainz mysql mysqli nano-syntax ncurses netpbm nfs nls normalize nptl nptlonly nsplugin ntfs ntp openexr opengl openmp openssh openssl openstreetmap openvpn oscar otr pam parted pascal pcmcia pcre pdf perl php plasma plugins png pnm posix pppd prediction pulseaudio python qt3support qt4 rar raster readline reflection reiser4 reiserfs rss rtf rtsp samba screen sdl server session sftp sha1 sha512 smapi smp spf spl sqlite3 srt sse sse2 sse3 ssh ssl ssse3 stats status sub subtitles subversion suexec suhosin svg svgz sysfs tcpd tftp theora threads timidity truetype tse3 tunepimp twolame unicode unzip usb vboxwebsrv vistafree visualization vorbis vst wav wavpack web webinterface webkit webmail wifi wxwindows x264 xcb xfs xhtml xine xiph xorg xosd xrandr xrender xscreensaver xulrunner xv xvid xvmc zip zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" APACHE2_MPMS="worker" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="cs" USERLAND="GNU" VIDEO_CARDS="intel i810"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 15 Ryan Hill (RETIRED) gentoo-dev 2009-05-31 17:28:58 UTC
try building without fortran, then switch to the new compiler and build w/ fortran.
Comment 16 Alli Quaknaa 2009-05-31 18:38:43 UTC
Still the same result.
Comment 17 Ryan Hill (RETIRED) gentoo-dev 2009-05-31 19:17:17 UTC
reopening.
Comment 18 Alli Quaknaa 2009-05-31 19:25:34 UTC
I hope it's not that something else is broken about my system, but I've found this:
http://www.nabble.com/cc1:-error:-unrecognized-command-line-option-%22-Wno-overlength-strings%22-td22614852.html

and it doesn't look like those guys have come to anything final so that's why I'm reporting it. Hope it helps and thank you.
Comment 19 Mark Loeser (RETIRED) gentoo-dev 2012-05-20 14:14:49 UTC
No new information since 2009.  I'm guessing this worked itself out with other system updates over time.