Summary: | sys-boot/syslinux-6.03 built with ld.gold fails | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | quilosaq |
Component: | Current packages | Assignee: | Chí-Thanh Christopher Nguyễn <chithanh> |
Status: | UNCONFIRMED --- | ||
Severity: | normal | CC: | ab4bd, base-system, esigra, gentoo, gentoo |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 269315 | ||
Attachments: | syslinux-6.03-ebuild.patch |
Description
quilosaq
2015-10-18 00:19:39 UTC
Created attachment 418096 [details, diff]
syslinux-6.03-ebuild.patch
Confirmed. Extlinux 6.03, built using the Gold linker from sys-devel/binutils-2.25.1-r1 on ~amd64, hangs on boot immediately after the "EXTLINUX" version line. No error message is displayed. After rebuilding sys-boot/syslinux-6.03 using the BFD linker and reinstalling Extlinux on the boot file system, boot proceeds correctly.
This bug should have CRITICAL priority because it could cause a remotely administrated server to fail to boot after an upgrade. (I'm lucky that I have physical access to the machine that I broke by upgrading to this version of Extlinux.)
At the very least, the ebuild should be made to error out if the default linker is Gold. A better solution would be for the ebuild to call tc-ld-disable-gold. The attached ebuild patch makes this change and solves the problem.
syslinux-6.03 and 6.04_pre1 now include a ld.gold check (can be overridden with I_KNOW_WHAT_I_AM_DOING=1). Leaving this bug open until the underlying issue is fixed. Please also report this upstream. (In reply to Chí-Thanh Christopher Nguyễn from comment #2) > syslinux-6.03 and 6.04_pre1 now include a ld.gold check (can be overridden > with I_KNOW_WHAT_I_AM_DOING=1). > Leaving this bug open until the underlying issue is fixed. As the syslinux ebuilds in tree now don't have that check any more, was this fixed later somewhere else? (In reply to jospezial from comment #3) > As the syslinux ebuilds in tree now don't have that check any more, was this > fixed later somewhere else? The "default-gold" USE flag was dropped from sys-devel/binutils, so the only way Gold could be your default linker would be if you had replaced the "ld" symlink yourself, and that's not a supported configuration on Gentoo. |