pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: emacs23 looping during bootstrap?



> >> Does anyone else see the same problem?
> >
> > "CFLAGS+= -fno-builtin-malloc" as emacs24 should help.
> > (gcc5 incorrectly optimizes "malloc() + memset(0)" -> calloc())
> 
> So I found out.  But then the next problem is that unexec doesn't
> want to work either.  I hear we've removed emacs23 after the
> branch, so I'll just mark it as BROKEN locally to avoid the build
> stall.

Could you try "CFLAGS+=-fno-builtin-malloc" in Makefile.common?
(i.e. build all sources with the option)

It builds on NetBSD/i386 8.0_BETA + pkgsrc-2017Q3 here.

---
Izumi Tsutsui


Home | Main Index | Thread Index | Old Index