Summary: | "unrecognized spec option" while compiling libstdc++-v3 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Charly <gentoo> |
Component: | [OLD] Core system | Assignee: | Gentoo Toolchain Maintainers <toolchain> |
Status: | RESOLVED WORKSFORME | ||
Severity: | normal | CC: | gentoo |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | emerge-output while compiling libstdc++-v3 |
Description
Charly
2006-10-25 10:19:25 UTC
Created attachment 100473 [details]
emerge-output while compiling libstdc++-v3
emerge --oneshot sys-libs/libstdc++-v3
According to http://bugs.gentoo.org/show_bug.cgi?id=109266 I will try to get gcc-3.3.4 (like the libstdc++ version) and compile the libstdc++-gcc with this "old" gcc :-) I already used my primary specs (gcc-config 1) and had the same errors. Also gcc version 3.4.4 (v3.3.4 is not available in the tree) brings no enhancement: gcc -O2 -march=x86-64 -pipe -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long -DHAVE_CONFIG_H -I. -I. -I/var/tmp/portage/libstdc++-v3-3.3.4/work/gcc-3.3.4/gcc -I/var/tmp/portage/libstdc++-v3-3.3.4/work/gcc-3.3.4/gcc/. -I/var/tmp/portage/libstdc++-v3-3.3.4/work/gcc-3.3.4/gcc/config -I/var/tmp/portage/libstdc++-v3-3.3.4/work/gcc-3.3.4/gcc/../include -c insn-attrtab.c \ -o insn-attrtab.o gcc: spec failure: unrecognized spec option 'v' gcc: spec failure: unrecognized spec option 'v' gcc: spec failure: unrecognized spec option 'v' gcc: spec failure: unrecognized spec option 'p' gcc: spec failure: unrecognized spec option 'P' Charly Using the __hardened__ gcc configuration, the libstdc++ compiles without any problem: charly@bluespirit ~ $ gcc-config -l [1] x86_64-pc-linux-gnu-3.4.6 [2] x86_64-pc-linux-gnu-3.4.6-hardened * [3] x86_64-pc-linux-gnu-3.4.6-hardenednopie [4] x86_64-pc-linux-gnu-3.4.6-hardenednopiessp [5] x86_64-pc-linux-gnu-3.4.6-hardenednossp [6] x86_64-pc-linux-gnu-4.1.1 charly@bluespirit ~ $ Question to you: Do I have any disadvantages, using the hardened config only for this lib? And there is still the question - why is it not possible to compile with the default options? Thanks in advance, Charly Is this still a problem? I can't reproduce it. |