On Mon, Dec 02, 2013 at 04:46:58PM +0000, Stuart Henderson wrote:
> On 2013/12/02 09:59, Jiri B wrote:
> > On Sun, Dec 01, 2013 at 06:35:24AM -0500, Jiri B wrote:
> > > [...complains about 3 yrs old source...]
> 
> This 06:35 mail didn't make it through, and the 09:59 mail doesn't make a lot
> of sense without it.
> 
> 
> > I was using old source (v1.0.0). With todays git version it fails here:
> > 
> > -%-
> > # gmake bin/undionly.kpxe               
> >   [BIN] bin/undionly.kpxe.bin
> >   [ZINFO] bin/undionly.kpxe.zinfo
> >   [ZBIN] bin/undionly.kpxe.zbin
> > Add at 0x787 outside output buffer
> > Makefile.housekeeping:1052: recipe for target 'bin/undionly.kpxe.zbin' 
> > failed
> > gmake: *** [bin/undionly.kpxe.zbin] Error 1
> > gmake: *** Deleting file 'bin/undionly.kpxe.zbin'
> > rm bin/undionly.kpxe.zinfo bin/undionly.kpxe.bin
> > 
> > # cat -n Makefile.housekeeping | sed -n '1049,1054p'
> >   1049  # Compress raw binary file
> >   1050  #
> >   1051  $(BIN)/%.zbin : $(BIN)/%.bin $(BIN)/%.zinfo $(ZBIN)
> >   1052          $(QM)$(ECHO) "  [ZBIN] $@"
> >   1053          $(Q)$(ZBIN) $(BIN)/$*.bin $(BIN)/$*.zinfo > $@
> >   1054  
> > -%-
> > 
> > Any idea? Old GNU ld on OpenBSD, any workaround?

Base gcc could not compile iPXE code, segmentation fault.
But gcc 4.6 is OK. Also upstream changed Makefile as OpenBSD
needed explicitly '-static'.

Till now OK, in attachment there's my WIP port. I tried to make
it easier with "our" dhcpd, thus I added one netboot image
with embedded iPXE script would would then fetch next part via
HTTP.

I tested with qemu as PXE boot and from qemu harddisk.

Although for booting OpenBSD from iPXE we need syslinux, IIUC.

I was using syslinux binaries from Ubuntu and it worked.

jirib

Reply via email to