merge --sync ; emerge portage ; emerge --update world >>> No outdated packages were found on your system. Then: emerge swi-prolog fails with: x86_64-pc-linux-gnu-gcc -c -I. -I/var/tmp/portage/dev-lang/swi-prolog-5.10.0-r1/work/pl-5.10.0/src -I/var/tmp/portage/dev-lang/swi-prolog-5.10.0-r1/work/pl-5.10.0/src/rc -Wall -O2 -pipe -march=native -mno-tls-direct-seg-refs -fno-strict-aliasing -DO_DEBUG -O2 -pipe -march=native -mno-tls-direct-seg-refs -fno-strict-aliasing -DO_DEBUG -pthread -fPIC pl-trace.c -o pl-trace.o pl-trace.c: In function 'loffset': pl-trace.c:1283: error: '__PL_ld' undeclared (first use in this function) pl-trace.c:1283: error: (Each undeclared identifier is reported only once pl-trace.c:1283: error: for each function it appears in.) make: *** [pl-trace.o] Error 1 make: *** Waiting for unfinished jobs.... * ERROR: dev-lang/swi-prolog-5.10.0-r1 failed: * emake failed * See attached files.
Created attachment 251737 [details] bug report documents.
I had the same problem with samba #342377, and the solution was to remove the debug use flag: > Do you really need "debug" in your global USE flags? It's quite unusual to have > that enabled for everything. Indeed, I don't remember why it's on myu USE list. I will remove it and rebuild. This solves this problem, and also #342383. Thank you.
(In reply to comment #1) > Created an attachment (id=251737) [details] > bug report documents. Please attach separate files next time, not one big blob. Compression wasn't needed anyway. And post your `emerge --info' in a comment.
Thanks for taking the time to report this bug. It's now fixed in CVS. Keri