Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 265135 - Emerging gcc-4.3.2-r3 with gcc-4.1.2 fails with cc1: error: unrecognized command line option "-Wno-overlength-strings"
Summary: Emerging gcc-4.3.2-r3 with gcc-4.1.2 fails with cc1: error: unrecognized comm...
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: AMD64 Linux
: High major (vote)
Assignee: Gentoo Toolchain Maintainers
Depends on:
Reported: 2009-04-06 18:26 UTC by Dusanc
Modified: 2013-12-25 08:37 UTC (History)
2 users (show)

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

output of emerge --info (,3.35 KB, text/plain)
2009-04-06 18:28 UTC, Dusanc
build.log from failed emerge (build.log.tar.gz,206.48 KB, application/octet-stream)
2009-04-06 18:31 UTC, Dusanc

Note You need to log in before you can comment on or make changes to this bug.
Description Dusanc 2009-04-06 18:26:26 UTC
When trying to emerge gcc 4.3.2-r3 which became stable, emerge fails with message:
cc1: error: unrecognized command line option "-Wno-overlength-strings"

Reproducible: Always

Steps to Reproduce:
1. emerge gcc

Actual Results:  
x86_64-pc-linux-gnu-gcc   -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 -DGENERATOR_FILE -Wl,-O1 -o build/genchecksum \
	    build/genchecksum.o .././libiberty/libiberty.a
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"

Expected Results:  
To finish emerging package.

Similar bug that is marked fixed can be found at:
Comment 1 Dusanc 2009-04-06 18:28:04 UTC
Created attachment 187471 [details]
output of emerge --info
Comment 2 Dusanc 2009-04-06 18:31:00 UTC
Created attachment 187473 [details]
build.log from failed emerge
Comment 3 Jeremy Olexa (darkside) (RETIRED) archtester Gentoo Infrastructure gentoo-dev Security 2009-04-06 22:23:59 UTC
Please don't add random people to CC if you cannot assign bugs yourself. In this case I did the arch testing to bring 4.3.2-r3 stable on amd64 and so did others on the team without issues. thx.
Comment 4 Toralf Förster gentoo-dev 2009-04-07 11:21:59 UTC
FWIW some people think that it could be related to reiser4 :
Comment 5 Dusanc 2009-04-07 18:45:10 UTC
The resolution is to use different filesystem than reiser4 for portage tmp directory.
I used ext2 and gcc emerged nicely.