From owner-freebsd-amd64@FreeBSD.ORG Sat Dec 4 17:04:00 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 E9BB116A4CF; Sat, 4 Dec 2004 17:04:00 +0000 (GMT) Received: from smtp-vbr6.xs4all.nl (smtp-vbr6.xs4all.nl [194.109.24.26]) by mx1.FreeBSD.org (Postfix) with ESMTP id F018643D60; Sat, 4 Dec 2004 17:03:59 +0000 (GMT) (envelope-from rsmith@xs4all.nl) Received: from slackbox.xs4all.nl (slackbox.xs4all.nl [213.84.242.160]) by smtp-vbr6.xs4all.nl (8.12.11/8.12.11) with ESMTP id iB4H3s5p009893; Sat, 4 Dec 2004 18:03:54 +0100 (CET) (envelope-from rsmith@xs4all.nl) Received: by slackbox.xs4all.nl (Postfix, from userid 1001) id DF38D63D3; Sat, 4 Dec 2004 18:04:10 +0100 (CET) Date: Sat, 4 Dec 2004 18:04:10 +0100 From: Roland Smith To: "Conrad J. Sabatier" Message-ID: <20041204170410.GA57662@slackbox.xs4all.nl> Mail-Followup-To: "Conrad J. Sabatier" , FreeBSD-gnats-submit@freebsd.org, freebsd-amd64@freebsd.org References: <20041204135423.75EC1635E@slackbox.xs4all.nl> <1102170448.36385.8.camel@dolphin.local.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="TRYliJ5NKNqkz5bu" Content-Disposition: inline In-Reply-To: <1102170448.36385.8.camel@dolphin.local.net> User-Agent: Mutt/1.4.2.1i X-GPG-Fingerprint: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 Organization: Me, organized? X-Virus-Scanned: by XS4ALL Virus Scanner cc: FreeBSD-gnats-submit@freebsd.org cc: freebsd-amd64@freebsd.org Subject: Re: amd64/74669: The port math/octave is marked BROKEN on amd64 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: Sat, 04 Dec 2004 17:04:01 -0000 --TRYliJ5NKNqkz5bu Content-Type: multipart/mixed; boundary="+QahgC5+KEYLbs62" Content-Disposition: inline --+QahgC5+KEYLbs62 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Dec 04, 2004 at 08:27:28AM -0600, Conrad J. Sabatier wrote: > > A better fix would be to determine exactly where -fPIC is needed and > apply patches where appropriate, but this is fine for a "quick fix". Ok, I've looked into it, and the problem seems to be in the libglob that is included in octave. When libglob.a is linked into liboctave.so, the linking fails because libglob isn't compiled with -fPIC. Included is a new patch for blob's Makefile.in, which should go in files. Also included is a new patch for the ports Makefile, removing the BROKEN state for octave. Unfortunately I can only test this myself on amd64. Could someone confirm that this doesn't hurt on other platforms, especially i386? Roland --=20 R.F. Smith /"\ ASCII Ribbon Campaign r s m i t h @ x s 4 a l l . n l \ / No HTML/RTF in email http://www.xs4all.nl/~rsmith/ X No Word docs in email / \ Respect for open standards --+QahgC5+KEYLbs62 Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="patch-glob:makefile.in" Content-Transfer-Encoding: quoted-printable --- glob/Makefile.in.orig Sat Dec 4 16:59:54 2004 +++ glob/Makefile.in Sat Dec 4 17:00:04 2004 @@ -25,7 +25,7 @@ =20 CC =3D @CC@ CPPFLAGS =3D @CPPFLAGS@ -CFLAGS =3D @CFLAGS@ +CFLAGS =3D @CFLAGS@ -fPIC =20 # Information determined by configure. DEFS =3D @DEFS@ --+QahgC5+KEYLbs62 Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="octave-makefile.patch" Content-Transfer-Encoding: quoted-printable --- Makefile.orig Fri Dec 3 20:36:40 2004 +++ Makefile Sat Dec 4 16:57:35 2004 @@ -23,10 +23,6 @@ =20 .include =20 -.if ${ARCH} =3D=3D "amd64" -BROKEN=3D "Does not build on amd64 (Shared libraries must be compiled wit= h -fPIC)" -.endif - .if ${PORTOBJFORMAT} =3D=3D "elf" GNU_HOST=3D ${ARCH}-portbld-freebsd${OSREL} .else --+QahgC5+KEYLbs62-- --TRYliJ5NKNqkz5bu Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (FreeBSD) iD8DBQFBse4KEnfvsMMhpyURAuMtAJ0akVnVxG8a/6xngzKy37Z/+wPTVACgnHhW MhTpQR5cIWKl6mUY+ejaSk4= =qk/E -----END PGP SIGNATURE----- --TRYliJ5NKNqkz5bu--