poma
2016-Feb-09 01:11 UTC
[syslinux] binutils (objcopy?) >= 2.26 breaks syslinux (bios) build
On 08.02.2016 19:04, H. Peter Anvin wrote:> On 02/03/16 10:30, H. Peter Anvin via Syslinux wrote: >> On February 3, 2016 7:17:37 AM PST, Celelibi <celelibi at gmail.com> wrote: >>> 2016-02-02 18:50 UTC+01:00, poma via Syslinux <syslinux at zytor.com>: >>>> On 30.01.2016 16:59, poma wrote: >>>>> ... >>>>> >>>>> https://sourceware.org/bugzilla/show_bug.cgi?id=19538 >>>>> >>>>> >>>> >>>> Mister Anvin, >>>> care to share what's the status of the "ld?" problemo, >>>> is anyone working on it? >>>> >>>> It would be maravilloso if syslinux can continue to build and test >>> with >>>> latest and greatest. >>> >>> There have been a discussion about the -fPIC option a few month ago >>> (november or december 2015). I don't remember what exactly it was >>> about. I think I said I would submit a patch that add -fPIC for 32 >>> bits even thought it wouldn't have an actual effect regarding current >>> compilers. >>> >>> This option is definitely required for 64 bits, and it is >>> theoretically required for 32 bits. But I haven't investigated the >>> current issue. >>> >>> Celelibi >> >> It isn't just 32 vs 64 bits, it is also 32 bit BIOS vs 32 bit EFI, and their requirements differ. >> > > So here is the deal... syslinux.elf in the BIOS case is really an odd > duck. It has parts that are relocatable (and needs to export its > symbols) and parts that aren't (and also needs to export at least some > of its symbols.) > > It might be that we need -Bdynamic rather than -pie, and perhaps some > modification to the relocation code, but it could also be that ld needs > a whack to the head. > > -hpa >s/LD_PIE = -pie/LD_PIE = -Bdynamic/ Failed to load ldlinux.c32 Boot failed: press a key to retry... _
poma
2016-Feb-12 07:30 UTC
[syslinux] binutils (objcopy?) >= 2.26 breaks syslinux (bios) build
... http://repo.or.cz/syslinux.git/commit/8750016 Booting from DVD/CD... ISOLINUX 6.04 ETCD and then hangs ttyS0 debug shows single line: _malloc(24, 0, 2) @ 0x00104bab $ ld --version GNU ld version 2.26.20160125 ... $ gcc --version gcc (GCC) 6.0.0 20160205 ... ...
H. Peter Anvin
2016-Feb-12 07:38 UTC
[syslinux] binutils (objcopy?) >= 2.26 breaks syslinux (bios) build
On February 11, 2016 11:30:02 PM PST, poma <pomidorabelisima at gmail.com> wrote:>... >http://repo.or.cz/syslinux.git/commit/8750016 > >Booting from DVD/CD... > >ISOLINUX 6.04 ETCD >and then hangs > >ttyS0 debug shows single line: >_malloc(24, 0, 2) @ 0x00104bab > > >$ ld --version >GNU ld version 2.26.20160125 >... >$ gcc --version >gcc (GCC) 6.0.0 20160205 ... >...Yes, it is a bug in ld. I have been working with H.J. and we have just tracked it down. -- Sent from my Android device with K-9 Mail. Please excuse brevity and formatting.
Possibly Parallel Threads
- binutils (objcopy?) >= 2.26 breaks syslinux (bios) build
- binutils (objcopy?) >= 2.26 breaks syslinux (bios) build
- binutils (objcopy?) >= 2.26 breaks syslinux (bios) build
- binutils (objcopy?) >= 2.26 breaks syslinux (bios) build
- binutils (objcopy?) >= 2.26 breaks syslinux (bios) build