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

Bug 509080

Summary: =dev-java/icedtea-7.2.4.7 does not build with ld.gold: file java does not have a PT_PAX_FLAGS program header, try conversion
Product: Gentoo Linux Reporter: Andreas Grois <andi>
Component: [OLD] JavaAssignee: Andrew John Hughes <gnu_andrew>
Status: RESOLVED NEEDINFO    
Severity: normal CC: caster, java, proxy-maint
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Andreas Grois 2014-04-29 15:23:58 UTC
In order to build icedtea, one has to switch back to ld.bfd. If the linker is set to ld.gold, the build fails with an error message:

file java does not have a PT_PAX_FLAGS program header, try conversion

I'm not using hardened, and my kernel does not even have PAX support, so I don't really see why having no pax header should be an issue. 

The build error can be easily reproduced by emerging icedtea with the linker set to ld.gold.
Comment 1 Agostino Sarubbo gentoo-dev 2014-04-29 15:39:38 UTC
Please add a build log and emerge --info
Comment 2 Tom Wijsman (TomWij) (RETIRED) gentoo-dev 2014-05-08 13:53:43 UTC
(In reply to Agostino Sarubbo from comment #1)
> Please add a build log and emerge --info