On 04/10/17 08:41, Christian Hesse wrote:
"brent s." <[email protected]> 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
_______________________________________________
ipxe-devel mailing list
[email protected]
https://lists.ipxe.org/mailman/listinfo.cgi/ipxe-devel

Reply via email to