Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 509080 - =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
Summary: =dev-java/icedtea-7.2.4.7 does not build with ld.gold: file java does not hav...
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Java (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Andrew John Hughes
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-04-29 15:23 UTC by Andreas Grois
Modified: 2014-05-08 13:53 UTC (History)
3 users (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 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