[ipxe-devel] make giving segfault

brent s. bts at square-r00t.net
Sun Oct 1 16:02:56 UTC 2017


On 10/01/2017 11:36 AM, brent s. wrote:
> 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
> 8b104d881abbeb8f9592708a490c16916b0b1ecc):
> 
> ...
> 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
>  4.13.3-1
> 
> this also occurs on gcc 7.1.1 as well (with linux-headers 4.12.8), it seems.
> 
> any ideas?
> 


upon further testing, it appears the segfault does *not* occur with gcc
7.1.1, only with 7.2.0. i regret and apologize for the inaccuracy.

-- 
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/20171001/283f2fe6/attachment.sig>


More information about the ipxe-devel mailing list