guile-1.8.6 build core dumps (autoconf issue ?)

Mel Flynn mel.flynn+fbsd.questions at mailing.thruhere.net
Wed Apr 1 21:39:11 PDT 2009


On Thursday 02 April 2009 03:01:53 manish jain wrote:
> Hi Mel,
>
> Sorry, I was away for work.
>
> Here is what I think you want :
>
> /usr/ports/lang/guile # make -C /usr/ports/lang/guile -V CONFIGURE_ENV
> -V CONFIGURE_ARGS
> CPPFLAGS="-I/usr/local/include"  LDFLAGS="-L/usr/local/lib"
> SHELL=/bin/sh CONFIG_SHELL=/bin/sh MAKE=gmake
> AUTOCONF=/usr/local/bin/autoconf-2.62
> AUTOHEADER=/usr/local/bin/autoheader-2.62
> AUTOIFNAMES=/usr/local/bin/ifnames-2.62
> AUTOM4TE=/usr/local/bin/autom4te-2.62
> AUTORECONF=/usr/local/bin/autoreconf-2.62
> AUTOSCAN=/usr/local/bin/autoscan-2.62
> AUTOUPDATE=/usr/local/bin/autoupdate-2.62 AUTOCONF_VERSION=262
> lt_cv_sys_max_cmd_len=262144
>  --prefix=/usr/local ${_LATE_CONFIGURE_ARGS}

Hmmm...last straw:
find /usr/local -name '*.la' -exec grep -- '-llthread' {} +

To explain: something guile needs is built with linux-threads yet this is not 
correctly handled and the resulting binaries are flawed, most likely because 
another library that guile needs uses FreeBSD native threads.

On FreeBSD threaded linking is done with -pthread linker flag which pulls in 
the correct threading library (on 7.0 and above libthr, on 6.x and earlier 
libpthread).
-- 
Mel


More information about the freebsd-questions mailing list