On 2024/08/15 11:14:25 Daniel Sahlberg wrote:
> Den tors 15 aug. 2024 kl 13:07 skrev Michael Osipov <micha...@apache.org>:
> 
> > Folks,
> >
> > just wanted to make you aware of this issue on the autoconf setup:
> > The following was reported to me:
> > https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=279430
> >
> > It turns out that if '--enable-all-static' is requested '--static' is not
> > passed to pkgconf and library symbols are missing. The following applies to
> > SQLIte on FreeBSD, but I guess other systems and libraries as well:
> > $ pkgconf --libs sqlite3
> > -L/usr/local/lib -lsqlite3
> > $ pkgconf --libs --static sqlite3
> > -L/usr/local/lib -lsqlite3 -lz -lm -lpthread
> >
> > When linking statically svn immediately failed with missing math functions
> > from libm.a via libsqlite3.a. One can circumvent the issue with
> > "-enable-all-static PKG_CONFIG="${LOCALBASE}/bin/pkg-config --static", but
> > still ugly because the maintainer does not know.
> >
> > Maybe you want to take some action on it or reconsider the option
> > altogether.
> >
> 
> Thanks for the report! Without looking closely it seems like something that
> should be adjusted.
> 
> Please note the current work implementing a CMake based build system, which
> might render this moot. But switching to CMake (if we decide to do this) is
> far away in the future so I think it is worth the effort to look at this in
> the autoconf buildsystem. Time is limited (we're all volunteers) so I'm not
> sure when it can be done.

I know the migration to CMake is complex. At least this issue is now documented 
and other affected people will find it.

Reply via email to