From owner-cvs-all Sun Mar 16 14:44: 4 2003 Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1316537B401; Sun, 16 Mar 2003 14:44:02 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id B875D43F85; Sun, 16 Mar 2003 14:44:01 -0800 (PST) (envelope-from marcel@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.6/8.12.6) with ESMTP id h2GMi10U061975; Sun, 16 Mar 2003 14:44:01 -0800 (PST) (envelope-from marcel@repoman.freebsd.org) Received: (from marcel@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id h2GMi1b0061974; Sun, 16 Mar 2003 14:44:01 -0800 (PST) Message-Id: <200303162244.h2GMi1b0061974@repoman.freebsd.org> From: Marcel Moolenaar Date: Sun, 16 Mar 2003 14:44:01 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/gnu/lib/libobjc Makefile X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG marcel 2003/03/16 14:44:01 PST FreeBSD src repository Modified files: gnu/lib/libobjc Makefile Log: libobjc is linked against shared objects and since we don't have a shared object of libobjc, we end up linking in from the archive version. This is wrong, because we don't compile the archive version suitable for inclusion in shared objects. On ia64 this causes actual breakages. Compile the archive version with PIC on ia64 to avoid the breakage there and also to avoid changing the status quo on other architectures. If other architectures have the same problem, we probably should start building a shared library. There's no indication however that other architectures actually need it. Building the archive version with PIC on ia64 does pessimize linking complete binaries (ie fully archive), but we don't use Objective-C ourselves and so far I haven't seen non-shared executables written in Objective-C, so I'm sure this will be nothing but academic. Trigger case: ports/lang/gnustep-base Revision Changes Path 1.16 +4 -0 src/gnu/lib/libobjc/Makefile To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message