Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 462286

Summary: media-gfx/fotoxx fails to link with gold linker
Product: Gentoo Linux Reporter: Adrian Bassett <Adrian.Bassett>
Component: Current packagesAssignee: Andrey Grozin <grozin>
Status: RESOLVED FIXED    
Severity: normal Keywords: PATCH
Priority: Normal    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 372079    
Attachments: Patch to allow fotoxx to link with gold

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