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.
Please add a build log and emerge --info
(In reply to Agostino Sarubbo from comment #1) > Please add a build log and emerge --info