Created attachment 299263 [details] build log foomatic-combo-xml.c: In Funktion »loadfile«: foomatic-combo-xml.c:106:44: Warnung: attempt to free a non-heap object [standardmäßig aktiviert] /var/tmp/portage/net-print/foomatic-db-engine-3.0.20060720/temp/ccJMLDrH.o: In function `parseXMLFromStdin': /var/tmp/portage/net-print/foomatic-db-engine-3.0.20060720/work/foomatic-db-engine-3.0-20060720/foomatic-perl-data.c:2260: undefined reference to `xmlCreatePushParserCtxt' /var/tmp/portage/net-print/foomatic-db-engine-3.0.20060720/work/foomatic-db-engine-3.0-20060720/foomatic-perl-data.c:2263: undefined reference to `xmlParseChunk' /var/tmp/portage/net-print/foomatic-db-engine-3.0.20060720/work/foomatic-db-engine-3.0-20060720/foomatic-perl-data.c:2265: undefined reference to `xmlParseChunk' /var/tmp/portage/net-print/foomatic-db-engine-3.0.20060720/work/foomatic-db-engine-3.0-20060720/foomatic-perl-data.c:2267: undefined reference to `xmlFreeParserCtxt' ... ... ...
x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe -ggdb -I/usr/include/libxml2 -lxml2 -lz -lm -o foomatic-perl-data foomatic-perl-data.c First of all, is that with forced --as-needed or is that a quirk of the build system ? Or is that perhaps gold ? Other than that, the order does seem consistent with common --as-needed failures.
sorry, it's with gcc-4.6.2 using forced --as-needed and forced --no-add-needed did not expect anyone else to look at this bug so soon :)
Removed from the tree