| Summary: | sys-libs/glibc-2.6.1 configure fails on hardened due to -shared/-nopie rejection | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Wolfram Schlich (RETIRED) <wschlich> |
| Component: | [OLD] Core system | Assignee: | Gentoo Toolchain Maintainers <toolchain> |
| Status: | RESOLVED INVALID | ||
| Severity: | normal | CC: | hardened |
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: | build-default-i686-pc-linux-gnu-nptl/config.log | ||
|
Description
Wolfram Schlich (RETIRED)
2008-04-11 12:38:42 UTC
you know we need config.log files when filing bugs ... so post it Created attachment 149466 [details] build-default-i686-pc-linux-gnu-nptl/config.log (In reply to comment #1) > you know we need config.log files when filing bugs ... so post it There's only /var/tmp/portage/sys-libs/glibc-2.6.1/work/build-default-i686-pc-linux-gnu-nptl/config.log so here you go. configure:5560: i686-pc-linux-gnu-gcc -march=i686 -pipe -ggdb -O2 -fno-strict-aliasing -fno-stack-protector -DPIC -DPIC -nopie -fPIC -shared -o conftest.so conftest.c -nostartfiles -nostdlib -Wl,--enable-new-dtags,-z,nodelete 1>&5 i686-pc-linux-gnu-gcc: -shared and -static|pie|fPIE|fpie|fno-PIC|fno-pic|nopie are incompatible Oh, I forgot I had this in make.conf:
CFLAGS="${CFLAGS} -ggdb"
LDFLAGS="${LDFLAGS} -nopie"
With USE=-debug and without those flags, it compiles fine.
Thanks!
|