Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 26645 - Distcc+gcc cannot be used for linking
Summary: Distcc+gcc cannot be used for linking
Status: RESOLVED LATER
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Lisa Seelye (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-08-14 15:51 UTC by Nicholas Jones (RETIRED)
Modified: 2006-02-11 02:05 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nicholas Jones (RETIRED) gentoo-dev 2003-08-14 15:51:21 UTC
Distcc is not capable of recognising libraries used for linking.
Compiling BitchX with AIM support resulted in the compile being
passed to localhost (which is sandboxed on its own by distcc)
preventing it from using the library in the ${WORKDIR} for that
package.

Distcc should, preferably, acknowledge gcc calls using -L and/or -l
as being executable only on the lcoal box, NOT via distcc's passing,
or it should enable the passing of the library files.

Use BitchX 1.0.19-r5 to demonstrate the issue. Do not have libtoc.so
available on any machines. (It's part of BitchX, but might be in
other packages too.)

Reproducible: Always
Steps to Reproduce:
Comment 1 Lisa Seelye (RETIRED) gentoo-dev 2003-08-15 14:44:47 UTC
What version of distcc was this with Nicholas ?

I'll pass this on to the distcc mail list since it seems like an upstream problem.
Comment 2 Lisa Seelye (RETIRED) gentoo-dev 2003-08-17 11:32:07 UTC
btw - what's emerge info saying?
Comment 3 Lisa Seelye (RETIRED) gentoo-dev 2003-08-17 12:38:00 UTC
Here's my experimentation:

**With /usr/lib/gaim/libtoc.so
* Compiles with +gtk and distcc
* Compiles with -gtk and distcc

** With /usr/lib/gaim/libtoc.so moved to /usr/lib/gaim/libtoc.so.bak
* Compiles with -gtk and distcc
* Fails to compile with +gtk and distcc
* Compiles with +gtk and no distcc

I haven't looked into what may be causing this just yet.
Comment 4 Martin Pool 2003-09-10 20:17:10 UTC
This is NEEDSINFO until the information from the distcc bug report form is provided.
Comment 5 Martin Pool 2003-09-10 20:27:47 UTC
I tried building BitchX from source (ircii-pana-1.0c19.tar.gz) on Debian under distcc.  When built with -j under distcc, it fails to compile because of errors such as 


status.c:1239:14: pasting "status_user12" and "(" does not give a valid preprocessing token
status.c:1240:14: pasting "status_user13" and "(" does not give a valid preprocessing token
status.c:1241:14: pasting "status_user14" and "(" does not give a valid preprocessing token
status.c:1242:14: pasting "status_user15" and "(" does not give a valid preprocessing token
status.c:1243:14: pasting "status_user16" and "(" does not give a valid preprocessing token

Looking at the source these appear to be genuine bugs in BitchX.   Perhaps they're patched in Gentoo.
Comment 6 Martin Pool 2003-09-10 20:28:02 UTC
Please fix the stupid bug title.
Comment 7 Lisa Seelye (RETIRED) gentoo-dev 2003-09-10 20:47:03 UTC
Nick, do you still have this info handy?
Comment 8 Lisa Seelye (RETIRED) gentoo-dev 2003-09-10 21:04:08 UTC
This apparently is 'fixed' in either bitchx (-r6?) or distcc or something else, cuz its working here now.
Comment 9 Martin Pool 2003-09-10 21:16:55 UTC
Thanks.

Please excuse me being grumpy. :-) 
Comment 10 Lisa Seelye (RETIRED) gentoo-dev 2003-09-26 09:02:54 UTC
zilla reopened this.

*closed*
Comment 11 Lisa Seelye (RETIRED) gentoo-dev 2006-02-11 02:05:48 UTC
Seems this might be cropping up again in bug 122425...