Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 5 Aug 1995 20:37:05 +0200
From:      nils@amadeus.ims.uni-stuttgart.de
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   gnu/655: ld -r on shared objects
Message-ID:  <199508051837.UAA14845@amadeus.ims.uni-stuttgart.de>
Resent-Message-ID: <199508051850.LAA25358@freefall.cdrom.com>

next in thread | raw e-mail | index | archive | help

>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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199508051837.UAA14845>