Date: Wed, 27 Apr 2005 21:18:45 -0700 From: Peter Wemm <peter@wemm.org> To: freebsd-amd64@freebsd.org Cc: Kris Kennaway <kris@obsecurity.org> Subject: Re: Shared library relocation R_X86_64_32 solution on amd64? Message-ID: <200504272118.47153.peter@wemm.org> In-Reply-To: <20050427202900.GA52508@xor.obsecurity.org> References: <20050427192112.GA30646@xor.obsecurity.org> <BE95A8E3.38FDB%michael.hopkins@hopkins-research.com> <20050427202900.GA52508@xor.obsecurity.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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 libobjc.so). Whether or not gnustep will use it, or if > there are further problems, I can't say. For what its worth, we do build libobjc.so now. peter@overcee[9:15pm]~-101> file /usr/lib/libobjc.so.1 /usr/lib/libobjc.so.1: 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 1.20.2.2 @@ -7,6 +7,11 @@ LIB= objc -NOMAN= sorry -NOPIC= works but method lookup slowdown is significant +NOMAN= +.if ${MACHINE_ARCH} == "amd64" +SHLIB_MAJOR= 1 +.else +# XXX is this still correct? +NOPIC= # works but method lookup slowdown is significant +.endif SRCS= archive.c class.c encoding.c gc.c hash.c init.c misc.c \ I think we should be building shared libobjc.so.1 everywhere. -Peter
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200504272118.47153.peter>