[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: macosx linking fails: _freea referenced from: _rpl_realpath
From: |
Bruno Haible |
Subject: |
Re: macosx linking fails: _freea referenced from: _rpl_realpath |
Date: |
Tue, 25 Jun 2019 19:11:03 +0200 |
User-agent: |
KMail/5.1.3 (Linux/4.4.0-151-generic; KDE/5.18.0; x86_64; ; ) |
Sam Steingold wrote:
> > If you don't remember: Does the issue persist after a "make distclean"
> > followed by a reconfiguration?
>
> yes, I just did "make distclean; ../configure ...; make bootstrap" and
> got the above error.
OK.
> > 2) Which symbols does
> > nm lib/malloca.o
> > show?
>
> --8<---------------cut here---------------start------------->8---
> $ find . -name \*alloc\*.o
> ./lib/allocator.o
> ./src/alloc.o
Oh, this is surprising.
The compilation of malloca.c should be enabled here:
ifeq (,$(OMIT_GNULIB_MODULE_malloca))
ifneq (,$(gl_GNULIB_ENABLED_malloca))
libgnu_a_SOURCES += malloca.c
endif
EXTRA_DIST += malloca.h
endif
1) Can you please verify that nothing defines the Makefile macro
OMIT_GNULIB_MODULE_malloca in your build?
2) What are the values of HAVE_CANONICALIZE_FILE_NAME and
REPLACE_CANONICALIZE_FILE_NAME in config.status?
3) I'd need to see why gl_GNULIB_ENABLED_malloca is not getting set.
Can you please run "make distclean", rerun configure with shell tracing:
sh -x ./configure ... 2>&1 |tee config.shlog
and attach the generated config.shlog file as well as config.log,
config.status,
and the configure script (in compressed form)?
I hope I can understand the cause by looking at this log.
4) Also, it would help to know why the linker is not complaining about
a missing '_mmalloca' symbol.
$ nm lib/canonicalize-lgpl.o | grep malloca
$ for f in `find . -name '*.o'`; do echo $f ; nm $f | grep malloca ; done
Bruno