First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 128605
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Lisa Seelye (RETIRED) <lisa@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Ben Skeggs <darktama@iinet.net.au>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
distcc-2.18.3-as-needed.patch Fix library ordering in Makefile.in patch Ben Skeggs 2006-04-02 23:38 0000 558 bytes Details | Diff
distcc-2.18.3-r7.ebuild.patch Patch to ebuild patch Ben Skeggs 2006-04-02 23:39 0000 514 bytes Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 128605 depends on: Show dependency tree
Show dependency graph
Bug 128605 blocks: 129413
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)







View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2006-04-02 23:36 0000
sys-devel/distcc-2.18.3-r7 fails to build with -Wl,--as-needed in LDFLAGS.

Patches on the way.

------- Comment #1 From Ben Skeggs 2006-04-02 23:38:35 0000 -------
Created an attachment (id=83786) [edit]
Fix library ordering in Makefile.in

------- Comment #2 From Ben Skeggs 2006-04-02 23:39:06 0000 -------
Created an attachment (id=83787) [edit]
Patch to ebuild

------- Comment #3 From Lisa Seelye (RETIRED) 2006-04-03 04:30:22 0000 -------
Can you post emerge info too please and where the build fails.

------- Comment #4 From Lisa Seelye (RETIRED) 2006-04-03 04:38:30 0000 -------
Further(In reply to comment #1)
> Created an attachment (id=83786) [edit]
> Fix library ordering in Makefile.in
> 

What exactly does this patch do? How/In what way does it solve the problem?

------- Comment #5 From Ben Skeggs 2006-04-03 08:11:35 0000 -------
See http://www.gentoo.org/proj/en/qa/asneeded.xml.  In particular, the section
titled "The importance of linking order".

The patch just moves the distcc monitor object files *before* the libraries
they link with.  When --as-needed is used, failure to do so will cause "missing
symbol" errors.  But, the link I posted explains it better than I do.

------- Comment #6 From Steev Klimaszewski 2006-04-04 02:39:00 0000 -------
This patch is only needed when the gnome useflag is in use

------- Comment #7 From Lisa Seelye (RETIRED) 2006-04-15 09:11:23 0000 -------
Sorry it took so long, I was waiting on feedback from another dev. Fixed in
CVS.

First Last Prev Next    No search results available      Search page      Enter new bug