Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 342383 - dev-lang/swi-prolog-5.10.0 - pl-trace.c:1283: error: '__PL_ld' undeclared (first use in this function)
Summary: dev-lang/swi-prolog-5.10.0 - pl-trace.c:1283: error: '__PL_ld' undeclared (fi...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Prolog project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-23 20:06 UTC by Pascal Bourguignon
Modified: 2010-10-27 07:22 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
bug report documents. (dev-lang--swi-prolog-5.10.0-r1--20101023T220438.tar.bz2,40.33 KB, text/plain)
2010-10-23 20:06 UTC, Pascal Bourguignon
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Pascal Bourguignon 2010-10-23 20:06:31 UTC
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.
Comment 1 Pascal Bourguignon 2010-10-23 20:06:58 UTC
Created attachment 251737 [details]
bug report documents.
Comment 2 Pascal Bourguignon 2010-10-24 13:14:43 UTC
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.
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2010-10-24 23:08:24 UTC
(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.
Comment 4 Keri Harris gentoo-dev 2010-10-27 07:22:10 UTC
Thanks for taking the time to report this bug. It's now fixed in CVS.

Keri