[ipxe-devel] compile fails with gcc 4.8.0

Christian Hesse list at eworm.de
Wed Apr 3 08:37:07 UTC 2013


Christian Hesse <list at eworm.de> on Tue, 2013/04/02 10:35:
> Hello everybody,
> 
> with gcc 4.8.0 compilation fails:
> 
> With   [BUILD] bin/pxe_call.o
> arch/i386/interface/pxe/pxe_call.c: In function ‘pxe_start_nbp’:
> arch/i386/interface/pxe/pxe_call.c:284:1: error: bp cannot be used in asm
> here }
>  ^
> 
> No idea how to fix this, though.

Oh, this has been reported before... Sorry.

But I have a patch. Compiles and works for me [tm], hope it is correct.
-- 
main(a){char*c=/*    Schoene Gruesse                         */"B?IJj;MEH"
"CX:;",b;for(a/*    Chris           get my mail address:    */=0;b=c[a++];)
putchar(b-1/(/*               gcc -o sig sig.c && ./sig    */b/42*2-3)*42);}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ipxe-asm.patch
Type: text/x-patch
Size: 1040 bytes
Desc: not available
URL: <http://lists.ipxe.org/pipermail/ipxe-devel/attachments/20130403/bf9cbd1b/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 490 bytes
Desc: not available
URL: <http://lists.ipxe.org/pipermail/ipxe-devel/attachments/20130403/bf9cbd1b/attachment.sig>


More information about the ipxe-devel mailing list