From owner-freebsd-questions@FreeBSD.ORG Thu Apr 2 04:39:11 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1BF891065673 for ; Thu, 2 Apr 2009 04:39:11 +0000 (UTC) (envelope-from mel.flynn+fbsd.questions@mailing.thruhere.net) Received: from mailhub.rachie.is-a-geek.net (rachie.is-a-geek.net [66.230.99.27]) by mx1.freebsd.org (Postfix) with ESMTP id DB23E8FC1A for ; Thu, 2 Apr 2009 04:39:10 +0000 (UTC) (envelope-from mel.flynn+fbsd.questions@mailing.thruhere.net) Received: from sarevok.dnr.servegame.org (gate.lan.rachie.is-a-geek.net [192.168.2.10]) by mailhub.rachie.is-a-geek.net (Postfix) with ESMTP id 76F7A7E818; Wed, 1 Apr 2009 20:39:09 -0800 (AKDT) From: Mel Flynn To: freebsd-questions@freebsd.org Date: Thu, 2 Apr 2009 06:39:07 +0200 User-Agent: KMail/1.11.0 (FreeBSD/8.0-CURRENT; KDE/4.2.0; i386; ; ) References: <49D1B51C.6090404@gmail.com> <200903311959.18747.mel.flynn+fbsd.questions@mailing.thruhere.net> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200904020639.07556.mel.flynn+fbsd.questions@mailing.thruhere.net> Cc: manish jain Subject: Re: guile-1.8.6 build core dumps (autoconf issue ?) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Apr 2009 04:39:11 -0000 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