From owner-freebsd-amd64@FreeBSD.ORG Wed Mar 24 08:14:48 2004 Return-Path: Delivered-To: freebsd-amd64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1453216A4CE for ; Wed, 24 Mar 2004 08:14:48 -0800 (PST) Received: from pandora.cs.kun.nl (pandora.cs.kun.nl [131.174.33.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id BF15443D5C for ; Wed, 24 Mar 2004 08:14:46 -0800 (PST) (envelope-from adridg@cs.kun.nl) Received: from odin.cs.kun.nl [131.174.33.33] (helo=localhost) by pandora.cs.kun.nl (8.12.10/3.67) with ESMTP id i2OGEjSi020765 for ; Wed, 24 Mar 2004 17:14:45 +0100 (MET) From: Adriaan de Groot To: freebsd-amd64@freebsd.org Date: Wed, 24 Mar 2004 17:14:45 +0100 User-Agent: KMail/1.6.51 References: <200403240751.06524.peter@wemm.org> <200403240755.25406.peter@wemm.org> In-Reply-To: <200403240755.25406.peter@wemm.org> MIME-Version: 1.0 Content-Disposition: inline Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Message-Id: <200403241714.45254.adridg@cs.kun.nl> Subject: Re: A different buildworld failure X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Mar 2004 16:14:48 -0000 =2D----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Wednesday 24 March 2004 16:55, Peter Wemm wrote: > On Wednesday 24 March 2004 07:51 am, Peter Wemm wrote: > > You should be linking against libperl.so or embedding libperl_pic.a. > > Except I've just looked and its missing. Argh! I wonder when that > > happened? I'm sure it was working at one point... Hmm. perl5.8 has > > a libperl.so and its now the default for 5.x ports.. is that > > something you can use? Yes, I can. That's not an issue ( I was blindly following the POD docs for= =20 embedding stuff, from the perl site, and it uses=20 perl -MExtUtils::Embed -e ldopts to determine the linker flags to use. For me, that's=20 =2D -Wl,-E =20 =2D -L/usr/local/lib /usr/local/lib/perl5/5.6.1/mach/auto/DynaLoader/DynaLo= ader.a=20 =2D -L/usr/local/lib/perl5/5.6.1/mach/CORE -lperl -lm -lc -lcrypt -lutil and now you can see where the problem is coming from. It's no biggie -- I w= as=20 just showing _why_ I should be so brain dead as to try to compile lots of=20 stuff with -fPIC. > I just reran 'make configure' on the perl5 port, and noticed from its > configure output: > Build a shared libperl.so (y/n) [n] That would be it. Does it make sense to tweak the port to build shared by=20 default on amd64?=20 =2D --=20 pub 1024D/FEA2A3FE 2002-06-18 Adriaan de Groot Would you like a freem? =2D----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFAYbP1dqzuAf6io/4RAo2kAJ0d8rjtnwEPiGMPRBxJth1rV9Ne3gCeNlck 6Zle7orzUHwy+IxNtXWSbzY=3D =3DwaSr =2D----END PGP SIGNATURE-----