[ipxe-devel] iPXE build failure on Fedora 19 (rawhide)

Daniel P. Berrange berrange at redhat.com
Thu May 16 14:45:13 UTC 2013


On Tue, Mar 05, 2013 at 02:58:13PM +0000, Michael Brown wrote:
> On 05/03/13 14:04, Daniel P. Berrange wrote:
> >>I've applied for access to the GCC Compile Farm, to make it easier
> >>to try out various fixes across multiple gcc versions.  In the
> >>meantime, if anyone has a gcc 4.8.0 box already set up and wants to
> >>report on whether or not the unused-output approach works, please do
> >>so!
> >
> >If you can provide the possible patch, I'll happily give it a spin on
> >a Fedora rawhide gcc 4.8.
> 
> Actually, it doesn't look as though there's any way to even ask gcc
> to do this.  According to
> 
>   http://gcc.gnu.org/onlinedocs/gcc/Machine-Constraints.html
> 
> it's possible to use the "=R" constraint to specify any
> general-purpose register (including bp), but there's no way to
> explicitly specify bp itself.
> 
> I'll wait for compile farm access and then try out some options.

I was wondering if you had any success in resolving this problem
with builds under gcc 4.8.0 ?

I just checked latest ipxe GIT master and see the same problem
still

gcc  -DARCH=i386 -DPLATFORM=pcbios -march=i386 -fomit-frame-pointer -fstrength-reduce -falign-jumps=1 -falign-loops=1 -falign-functions=1 -mpreferred-stack-boundary=2 -mregparm=3 -mrtd -freg-struct-return -m32 -fshort-wchar -Ui386 -Ulinux -DNVALGRIND -Iinclude -I. -Iarch/x86/include -Iarch/i386/include -Iarch/i386/include/pcbios -Os -g -ffreestanding -Wall -W -Wformat-nonliteral   -fno-stack-protector  -fno-dwarf2-cfi-asm -fno-exceptions  -fno-unwind-tables -fno-asynchronous-unwind-tables -Wno-address  -ffunction-sections -fdata-sections -include include/compiler.h   -DOBJECT=pxe_call -c arch/i386/interface/pxe/pxe_call.c -o bin/pxe_call.o 
arch/i386/interface/pxe/pxe_call.c: In function ‘pxe_start_nbp’:
arch/i386/interface/pxe/pxe_call.c:292:1: error: bp cannot be used in asm here
 }
 ^
make: *** [bin/pxe_call.o] Error 1


Regards,
Daniel
-- 
|: http://berrange.com      -o-    http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org              -o-             http://virt-manager.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org       -o-       http://live.gnome.org/gtk-vnc :|



More information about the ipxe-devel mailing list