From owner-freebsd-bugs Sat Aug 5 11:50:01 1995 Return-Path: bugs-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.11/8.6.6) id LAA25365 for bugs-outgoing; Sat, 5 Aug 1995 11:50:01 -0700 Received: (from gnats@localhost) by freefall.cdrom.com (8.6.11/8.6.6) id LAA25358 ; Sat, 5 Aug 1995 11:50:01 -0700 Resent-Date: Sat, 5 Aug 1995 11:50:01 -0700 Resent-Message-Id: <199508051850.LAA25358@freefall.cdrom.com> Resent-From: gnats (GNATS Management) Resent-To: freebsd-bugs Resent-Reply-To: FreeBSD-gnats@freefall.cdrom.com, nils@guru.ims.uni-stuttgart.de Received: from mail.barrnet.net (mail.barrnet.net [131.119.246.7]) by freefall.cdrom.com (8.6.11/8.6.6) with ESMTP id LAA25288 for ; Sat, 5 Aug 1995 11:42:51 -0700 Received: from amadeus.ims.uni-stuttgart.de (amadeus.ims.uni-stuttgart.de [141.58.127.253]) by mail.barrnet.net (8.6.10/MAIL-RELAY-LEN) with ESMTP id LAA01491 for ; Sat, 5 Aug 1995 11:42:26 -0700 Received: (from nils@localhost) by amadeus.ims.uni-stuttgart.de (8.6.11/8.6.9) id UAA14845; Sat, 5 Aug 1995 20:37:05 +0200 Message-Id: <199508051837.UAA14845@amadeus.ims.uni-stuttgart.de> Date: Sat, 5 Aug 1995 20:37:05 +0200 From: nils@amadeus.ims.uni-stuttgart.de Reply-To: nils@guru.ims.uni-stuttgart.de To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: gnu/655: ld -r on shared objects Sender: bugs-owner@freebsd.org Precedence: bulk >Number: 655 >Category: gnu >Synopsis: ld -r of shared objects worked in 1.1.5, not in 2.0.5 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sat Aug 5 11:50:00 PDT 1995 >Last-Modified: >Originator: Cornelis van der Laan >Organization: IMS, University of Stuttgart >Release: FreeBSD 2.0-BUILT-19950603 i386 >Environment: Standard cc (2.6.3), standard system linker from 2.0.5 CD >Description: On FreeBSD 1.1.5 a command like ld -r -o common.so */*.so produced a shared object file that could be used in another command like ld -Bshareable -o libsm_client.so.1.0 ../common/common.so */*.so thereby producing a valid shared libray. Now on 2.0.5 I receive the following message for the second command: ld -Bshareable -o libsm_client.so.1.0 ../common/common.so */*.so ld: ../common/common.so: unsupported _DYNAMIC version: 0 >How-To-Repeat: Try ld -r on some shared objects and ld -Bshareable like above. >Fix: Ld should insert the version number (2? 3?) for any shared object it creates. >Audit-Trail: >Unformatted: