"brent s." <b...@square-r00t.net> on Mon, 2017/10/02 13:23: > On 10/02/2017 11:06 AM, Michael Brown wrote: > > On 01/10/17 17:02, brent s. wrote: > >>> [LD] bin/usbdisk.bin > >>> make: *** [arch/x86/Makefile.pcbios:116: bin/usbdisk.bin] Segmentation > >>> fault (core dumped) > >>> make: *** Deleting file 'bin/usbdisk.bin' > >>> rm bin/version.ipxe.dsk.o bin/ipxe.dsk.bin bin/ipxe.lkrn.zbin > >>> bin/ipxe.dsk.zinfo bin/ipxe.lkrn.zinfo bin/ipxe.dsk.zbin > >>> bin/version.ipxe.lkrn.o bin/ipxe.lkrn.bin > > > > If you add V=1 to the make command line then you'll see the actual > > command that is being executed. You can then try variations on this > > command (or on its input files) to see if you can find the root cause of > > the gcc segfault. > > > > Michael > > 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. -- main(a){char*c=/* Schoene Gruesse */"B?IJj;MEH" "CX:;",b;for(a/* Best regards my address: */=0;b=c[a++];) putchar(b-1/(/* Chris cc -ox -xc - && ./x */b/42*2-3)*42);}
pgpTxGZcjy9lm.pgp
Description: OpenPGP digital signature
_______________________________________________ ipxe-devel mailing list ipxe-devel@lists.ipxe.org https://lists.ipxe.org/mailman/listinfo.cgi/ipxe-devel