From owner-freebsd-bugs Wed Sep 2 09:20:13 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id JAA17009 for freebsd-bugs-outgoing; Wed, 2 Sep 1998 09:20:13 -0700 (PDT) (envelope-from owner-freebsd-bugs@FreeBSD.ORG) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id JAA16927 for ; Wed, 2 Sep 1998 09:20:08 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id JAA06981; Wed, 2 Sep 1998 09:20:02 -0700 (PDT) Received: from coleridge.kublai.com (coleridge.kublai.com [207.96.1.116]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id JAA16572 for ; Wed, 2 Sep 1998 09:18:40 -0700 (PDT) (envelope-from shmit@natasya.kublai.com) Received: from natasya.kublai.com (natasya.kublai.com [207.172.25.236]) by coleridge.kublai.com (8.8.8/8.8.8) with ESMTP id MAA00306 for ; Wed, 2 Sep 1998 12:17:38 -0400 (EDT) (envelope-from shmit@natasya.kublai.com) Received: (from shmit@localhost) by natasya.kublai.com (8.9.1/8.8.8) id MAA14165; Wed, 2 Sep 1998 12:17:38 -0400 (EDT) Message-Id: <199809021617.MAA14165@natasya.kublai.com> Date: Wed, 2 Sep 1998 12:17:38 -0400 (EDT) From: shmit@kublai.com Reply-To: shmit@kublai.com To: FreeBSD-gnats-submit@FreeBSD.ORG X-Send-Pr-Version: 3.2 Subject: gnu/7811: Patch to build Objective C library shared Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 7811 >Category: gnu >Synopsis: Build Objective C library shared for ELF >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Wed Sep 2 09:20:01 PDT 1998 >Last-Modified: >Originator: Brian Cully >Organization: >Release: FreeBSD 3.0-CURRENT i386 >Environment: FreeBSD 3.0 Current w/ ELF. >Description: It was not possible to build the Objective C library shared with a.out, because the linker would generate symbol relocation warnings that Bruce didn't like. With ELF, I get no such warnings, so I've put a conditional in to building that will generate a shared lib for ELF, but not for a.out. >How-To-Repeat: 1) Apply patches 2) cd /usr/src/gnu/lib/libobjc 3) make OBJFORMAT=elf >Fix: =================================================================== RCS file: /usr/local/cvsroot/FreeBSD/src/gnu/lib/libobjc/Makefile,v retrieving revision 1.3 diff -c -r1.3 Makefile *** Makefile 1997/02/22 15:43:02 1.3 --- Makefile 1998/09/02 16:13:22 *************** *** 7,13 **** --- 7,15 ---- LIB= objc NOMAN= sorry + .if ${OBJFORMAT} != "elf" NOPIC= does not work + .endif SRCS= archive.c class.c encoding.c hash.c init.c misc.c \ my_objects.c sarray.c selector.c my_sendmsg.c \ >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message