Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 462286 - media-gfx/fotoxx fails to link with gold linker
Summary: media-gfx/fotoxx fails to link with gold linker
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Andrey Grozin
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks: underlinking
  Show dependency tree
 
Reported: 2013-03-19 09:56 UTC by Adrian Bassett
Modified: 2013-03-22 06:38 UTC (History)
0 users

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


Attachments
Patch to allow fotoxx to link with gold (fotoxx-gold.patch,498 bytes, patch)
2013-03-19 09:57 UTC, Adrian Bassett
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Adrian Bassett 2013-03-19 09:56:14 UTC
Linking failed when upgrading to media-gfx/fotoxx to 13.03.  This was because the -lpthread library was not being passed to the linker. The accompanying patch (modifies Makefile by appending -lpthread to the LIBS line) remedies the problem for gold without breaking for default ld.bfd linker.

Reproducible: Always
Comment 1 Adrian Bassett 2013-03-19 09:57:34 UTC
Created attachment 342618 [details, diff]
Patch to allow fotoxx to link with gold
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2013-03-20 18:33:16 UTC
This is an underlinking bug, not a gold bug as such.
Comment 3 Andrey Grozin gentoo-dev 2013-03-22 06:38:52 UTC
  22 Mar 2013; Andrey Grozin <grozin@gentoo.org> files/fotoxx-13.03.patch:
  Fix linking with gold (bug #462286), thanks to Adrian.Bassett@hotmail.co.uk