Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 29 Jan 2004 12:56:32 -0400
From:      David Bremner <bremner@unb.ca>
To:        freebsd-amd64@freebsd.org
Subject:   Forward: perl 5 extensions on AMD64
Message-ID:  <0tvfmu3d8f.wl@nohost.unb.ca>
References:  <0twu7e8w51.wl@nohost.unb.ca>

next in thread | previous in thread | raw e-mail | index | archive | help
Envelope-to: bremner@convex.cs.unb.ca
Delivery-date: Mon, 26 Jan 2004 13:20:52 -0400
Delivered-To: freebsd-ports@freebsd.org
Date: Mon, 26 Jan 2004 13:20:10 -0400
Message-ID: <0twu7e8w51.wl@nohost.unb.ca>
To: freebsd-ports@freebsd.org
User-Agent: SEMI/1.14.5 (Awara-Onsen) FLIM/1.14.5 (Demachiyanagi) APEL/10.6
	MULE XEmacs/21.4 (patch 14) (Reasonable Discussion) (i386--freebsd)
MIME-Version: 1.0 (generated by SEMI 1.14.5 - "Awara-Onsen")
Content-Type: text/plain; charset=US-ASCII
From: David Bremner <bremner@unb.ca>
X-Delivery-Agent: TMDA/0.87 (Carry Back)
X-TMDA-Fingerprint: Xnv+dsPt6mXLgQFuZixBYBMxIGk
X-Primary-Address: bremner@unb.ca
Subject: perl 5 extensions on AMD64
X-BeenThere: freebsd-ports@freebsd.org
X-Mailman-Version: 2.1.1
Precedence: list
Reply-To: David Bremner <bremner-dated-1076347211.2328d7@convex.cs.unb.ca>
List-Id: Porting software to FreeBSD <freebsd-ports.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-ports>,
	<mailto:freebsd-ports-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-ports>;
List-Post: <mailto:freebsd-ports@freebsd.org>
List-Help: <mailto:freebsd-ports-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-ports>,
	<mailto:freebsd-ports-request@freebsd.org?subject=subscribe>
Sender: owner-freebsd-ports@freebsd.org
Errors-To: owner-freebsd-ports@freebsd.org
X-UNB-MailScanner-Information: Please contact the ISP for more information
X-UNB-VirusScanner: Found to be clean
X-UNB-SpamDetails: not spam, SpamAssassin (score=0, required 5)


I have just discovered (Hi Kris!) that a port I made does not work 
on AMD64

A quick look at the bento error logs reveals several p5-* ports with the same 
fatal error

c -O -pipe -fpic -DPIC -shared -Wl,-x,-soname,libplperl.so.0 plperl.o eloglvl.o SPI.o -L../../../src/port -Wl,-E  -L/usr/local/lib /usr/local/lib/perl5/5.6.1/mach/auto/DynaLoader/DynaLoader.a -L/usr/local/lib/perl5/5.6.1/mach/CORE -lperl -lm -lc -lcrypt -lutil  -R/usr/local/lib -o libplperl.so.0
/usr/bin/ld: /usr/local/lib/perl5/5.6.1/mach/CORE/libperl.a(perl.o): relocation R_X86_64_32S can not be used when making a shared object; recompile with -fPIC
/usr/local/lib/perl5/5.6.1/mach/CORE/libperl.a: could not read symbols: Bad value
gmake: *** [libplperl.so.0] Error 1
gmake: Leaving directory `/tmp/a/ports/databases/p5-postgresql-plperl/work/postgresql-7.4.1/src/pl/plperl'
*** Error code 2


To this non-expert observer, that suggest that the perl 5 extension
mechanism is not working write on AMD64.  Can anyone point to a 
p5-* port, that 

	1) works on AMD64
	2) makes a shared library for an extension.


(oh, same question for IA64 I guess, although I have not trawled the
logs).

_______________________________________________
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?0tvfmu3d8f.wl>