[ipxe-devel] make giving segfault

brent s. bts at square-r00t.net
Sun Oct 1 15:36:08 UTC 2017

when attempting a make all, i'm getting various segfaults on gcc 7.x.

i've tried from both current HEAD and from a known-good commit i've
built from in the past (8b104d881abbeb8f9592708a490c16916b0b1ecc) and a
bisect failed on every commit (even

ar: creating bin/blib.a
  [HOSTCC] util/zbin
  [VERSION] bin/version.ipxe.dsk.o
  [LD] bin/ipxe.dsk.tmp
  [BIN] bin/ipxe.dsk.bin
  [ZINFO] bin/ipxe.dsk.zinfo
  [ZBIN] bin/ipxe.dsk.zbin
  [FINISH] bin/ipxe.dsk
  [VERSION] bin/version.ipxe.lkrn.o
  [LD] bin/ipxe.lkrn.tmp
  [BIN] bin/ipxe.lkrn.bin
  [ZINFO] bin/ipxe.lkrn.zinfo
  [ZBIN] bin/ipxe.lkrn.zbin
  [FINISH] bin/ipxe.lkrn
  [GENISO] bin/ipxe.iso
  [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

[bts at cylon src]$ gcc --version | head -n1 && make --version | head -n1
&& pacman -Qi linux-headers | egrep '^Version' | cut -f2 -d":"
gcc (GCC) 7.2.0
GNU Make 4.2.1

this also occurs on gcc 7.1.1 as well (with linux-headers 4.12.8), it seems.

any ideas?

brent saner
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/20171001/b0a14641/attachment.sig>

More information about the ipxe-devel mailing list