Shared library relocation R_X86_64_32 solution on amd64?

Peter Wemm peter at
Wed Apr 27 21:20:02 PDT 2005

On Wednesday 27 April 2005 01:29 pm, Kris Kennaway wrote:

> For the error above, it looks like at least 3) (i.e. FreeBSD should
> provide a  Whether or not gnustep will use it, or if
> there are further problems, I can't say.

For what its worth, we do build now.

peter at overcee[9:15pm]~-101> file /usr/lib/
/usr/lib/ ELF 64-bit LSB shared object, AMD x86-64, version 1 
(FreeBSD), stripped

src/gnu/lib/libobjc/Makefile rev 1.21:
date: 2004/09/29 23:42:44;  author: peter;  state: Exp;  lines: +5 -0
We *need* the pic libobjc library for amd64.  It is needed for ia64 as
well, but I'll let Marcel decide whether he wants to build a .so or not.

Without this, building certain ports that use objc have fatal errors.

This has been in RELENG_5 for a while and will be included in 5.4-RELEASE.  It 
was not shipped in 5.3-REL.

-- Makefile    28 Jul 2004 05:27:18 -0000      1.20
+++ Makefile    13 Feb 2005 07:23:06 -0000
@@ -7,6 +7,11 @@

 LIB=    objc
-NOMAN= sorry
-NOPIC= works but method lookup slowdown is significant
+.if ${MACHINE_ARCH} == "amd64"
+# XXX is this still correct?
+NOPIC= # works but method lookup slowdown is significant

 SRCS=   archive.c class.c encoding.c gc.c hash.c init.c misc.c \

I think we should be building shared everywhere.


More information about the freebsd-amd64 mailing list