[ipxe-devel] make giving segfault

brent s. bts at square-r00t.net
Tue Jan 2 20:56:00 UTC 2018


On 01/02/2018 03:41 PM, Michael Brown wrote:
> On 04/10/17 08:41, Christian Hesse wrote:
>> "brent s." <bts at square-r00t.net> on Mon, 2017/10/02 13:23:
>>> Thanks, Michael. It seems to be the linking throwing the segfault
>>> (reformatted for readability):
>>>
>>> ld \
>>>    -m elf_i386 \
>>>    -N --no-check-sections \
>>>    --section-start=.prefix=0 \
>>>    --gc-sections \
>>>    -static \
>>>    -o bin/usbdisk.bin \
>>>    --oformat binary \
>>>    -e 0 \
>>>    bin/usbdisk.o
>>>
>>> I've attached an strace, which I hope helps, but unfortunately I don't
>>> know C so I'm not sure how else I can help.
>>
>> This is a binutils issue, I could successfully build iPXE after
>> downgrading
>> binutils to version 2.28.0-4. I did no further investigation, though.
> 
> This should now be fixed:
> 
>   http://git.ipxe.org/ipxe.git/commitdiff/2bb4ec1
> 
> Thanks,
> 
> Michael


Thank you, Christian and Michael!

-- 
brent saner
https://square-r00t.net/
GPG info: https://square-r00t.net/gpg-info

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 898 bytes
Desc: OpenPGP digital signature
URL: <http://lists.ipxe.org/pipermail/ipxe-devel/attachments/20180102/906f0a20/attachment.sig>


More information about the ipxe-devel mailing list