Summary: | net-firewall/iptables: QA Notice: Files built without respecting CFLAGS have been detected: /lib64/libiptc.so.0.0.0 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Coacher <itumaykin+gentoo> |
Component: | Current packages | Assignee: | Gentoo's Team for Core System packages <base-system> |
Status: | RESOLVED FIXED | ||
Severity: | QA | CC: | conikost |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
emerge --info
build.log |
Description
Coacher
2016-05-16 21:35:13 UTC
Created attachment 434480 [details]
emerge --info
you must attach full build logs in every report. i'm not seeing this in my builds. Created attachment 434482 [details] build.log (In reply to SpanKY from comment #2) > you must attach full build logs in every report. i'm not seeing this in my > builds. Done. Whatever happened with assignee was a mistake. This isn't a bug for net-firewall/iptables but a gcc bug: The detection for the QA warning uses gcc's '-frecord-gcc-switches' option, which records the flags into the ELF section .GCC.command.line. Minimal example for the bug: $ echo 'int f(void) { return 0; }' > a.c $ gcc -frecord-gcc-switches -fPIC -shared a.c -o a.so $ readelf -a a.so | grep GCC [20] .GCC.command.line PROGBITS 00000000 00105e 000070 01 MS 0 0 1 $ echo 'int g(void) { return 0; }' > b.c $ gcc -frecord-gcc-switches -fPIC -shared b.c -o b.so $ readelf -a b.so | grep GCC [20] .GCC.command.line PROGBITS 00000000 00105e 000070 01 MS 0 0 1 $ gcc -frecord-gcc-switches -fPIC -shared a.so b.so -o c.so $ readelf -a c.so | grep GCC *** Bug 669896 has been marked as a duplicate of this bug. *** I can confirm the message but I cannot confirm the problem yet. Maybe a false positive. libiptc.so was an empty library, which was only supposed to be linked against libip4tc.so and libip6tc.so, exposing their symbols. libiptc.so has been removed: https://git.netfilter.org/iptables/commit/?id=a84b12c69dcd57eb7df19e59b85af0fb5d98a81b "build: remove -Wl,--no-as-needed and libiptc.so" This change is included in recently released net-firewall/iptables-1.8.4. |