| Summary: | static libraries cannot be linked when building shared libraries | ||
|---|---|---|---|
| Product: | Base System | Reporter: | Pete French <pete> |
| Component: | amd64 | Assignee: | freebsd-amd64 (Nobody) <amd64> |
| Status: | Closed FIXED | ||
| Severity: | Affects Only Me | ||
| Priority: | Normal | ||
| Version: | 5.3-BETA4 | ||
| Hardware: | Any | ||
| OS: | Any | ||
|
Description
Pete French
2004-09-12 18:40:28 UTC
This is actually "as designed". You are not supposed to link a .a file into a .so file. i386 lets you get away with it, but on amd64 it is fatal. However.. it looks like we don't have a libobjc.so anymore. This probably explains your problem... -- Peter Wemm - peter@wemm.org; peter@FreeBSD.org; peter@yahoo-inc.com "All of this is for nothing if we don't go to the stars" - JMS/B5 State Changed From-To: open->analyzed The reasoning for the issue has been determined. State Changed From-To: analyzed->closed Committed in 6.x some time ago, and now fixed in RELENG_5 as well. The bogus disabling of libobjc.so was reverted for amd64. The reasons for doing it were probably only relevant to i386 back in 1998. As i am occasionally toying around with GNUstep as well ... and noticed that originally the FreeBSD ports-version of GNUstep essentially required an actual libobjc.so (and hence required to build a gcc-3.3.5 iirc and get its libobjc.so from there) .... i have since noticed that it is indeed possible to build GNUstep on FreeBSD/i386 using just our static libobjc.a I am wondering though if there is any specific reason for Not reverting this "bogus" disabling of libobjc.so for i386 as well ? i recall reading somewhere that certain elements of the Objective-C runtime would require a dynamic libobjc ... though i don't recall where i read this at the moment ... and it seems not to really impact GNUstep's functioning. But if there is no real reason (besides apprently so called performance impact .. which i hope may have been improved on since 1998) ... i would definately appreciate this change reverted on i386 as well ... (if only for consistency's sake concerning the libraries provided by the base system between different FreeBSD architectures) With kind regards, Pascal Hofstee |