[syslinux] syslinux-6.04-pre2

Joakim Tjernlund Joakim.Tjernlund at infinera.com
Wed Feb 6 13:32:49 PST 2019


On Wed, 2019-02-06 at 11:56 -0800, H. Peter Anvin wrote:
> CAUTION: This email originated from outside of the organization. Do not click links or open attachments unless you recognize the sender and know the content is safe.
> 
> 
> On 2/6/19 11:44 AM, Joakim Tjernlund wrote:
> > On Wed, 2019-02-06 at 11:34 -0800, H. Peter Anvin wrote:
> > 
> > Great, that tree now against a somewhat old gnu-efi though.
> > 
> > To build against >= 3.0.8 I need to do:
> >         #gnu-efi >= 3.0.8 has memset/memcpy defined causing multiple syms errors
> >       sed -i 's/LDFLAGS =/LDFLAGS = -z muldefs /' mk/efi.mk || die "sed muldefs failed"
> > 
> 
> Should be a trivial fix by simply omitting those from the
> syslinux-provided library functions on EFI.

Something like this seems to do it:

F_CORELIBOBJS = $(filter-out %memset.o %memcpy.o, $(CORELIBOBJS))
LIB_OBJS = $(addprefix $(objdir)/com32/lib/,$(F_CORELIBOBJS)) \
	$(LIBEFI)



More information about the Syslinux mailing list