Summary: | sys-libs/libstdc++-v3-3.3.6 fails on ~amd64 (compiler does not work) | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Togge <togge.gentoo> |
Component: | [OLD] Core system | Assignee: | Gentoo Toolchain Maintainers <toolchain> |
Status: | RESOLVED INVALID | ||
Severity: | normal | CC: | amd64, ferret-bgo |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
config.log from the gcc subdir
config.log from the libiberty subdir config.log from the x86.../libstdc++-v3 subdir |
Description
Togge
2006-07-08 07:30:46 UTC
please add the config.log in ~portage/libstdc++-v3-3.3.6/work/libstdc*/ Created attachment 92331 [details]
config.log from the gcc subdir
Created attachment 92332 [details]
config.log from the libiberty subdir
Created attachment 92333 [details]
config.log from the x86.../libstdc++-v3 subdir
Those were the config.log files I could find under portage/libstdc++/, hope they help :) from: config.log from the x86.../libstdc++-v3 subdir configure:786: /var/tmp/portage/libstdc++-v3-3.3.6/work/build/gcc/xgcc -B/var/tmp/portage/libstdc++-v3-3.3.6/work/build/gcc/ -B/usr/x86_64-pc-linux-gnu/bin/ -B/usr/x86_64-pc-linux-gnu/lib/ -isystem /usr/x86_64-pc-linux-gnu/include -c -O2 -O2 -pipe -march=x86-64 -ggdb -O2 -pipe -march=k8 -ggdb conftest.c 1>&5 cc1: error: bad value (k8) for -march= switch cc1: error: bad value (k8) for -mcpu= switch Seems like the build uses ${CFLAGS} as well as the filtered CFLAGS in later stages of the build. I got it to compile! :) The error was that I had ${CPPFLAGS} set as a workaround for another (don't remember the name) package. Thanks for the hint (didn't know about the config.log files). I ran into this problem today aswell. I have CPPFLAGS set in my make.conf for some other package (sadly I too cannot remember which one), and by searching for bugs here I have found a few about "xxx package does not respect CPPFLAGS" and those bugs have resulted in cvs changes and are now marked fixed. So if it's valid for me to set CPPFLAGS in make.conf, the ebuild for sys-libs/libstdc++-v3 needs to filter it to. |