This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Objective-C code is not relocatable
- To: egcs-bugs at egcs dot cygnus dot com, drk at sgi dot com
- Subject: Objective-C code is not relocatable
- From: David Kaelbling <drk at sgi dot com>
- Date: Tue, 27 Apr 1999 15:43:42 -0400
- Organization: Silicon Graphics, Inc.
Compiling objective-c code with egcs-1.1.2 on SGI IRIX 6.x, the
resulting objects are not relocatable (and so cannot be put into shared
libraries). The error messages look like this:
ld32: ERROR 103: Direct reference to preemptible symbol
"__objc_class_name_Object".
ld32: ERROR 103: Direct reference to preemptible symbol
"_GLOBAL_$I$obgtkAccelGroup.m6Mqexc".
ld32: ERROR 103: Direct reference to preemptible symbol
"__objc_class_name_Gtk_Label".
...
It only seems to be the special __objc_class_name_... and _GLOBAL_$I$...
symbols that have this problem.
David
--
David KAELBLING <drk@sgi.com> Silicon Graphics Computer Systems
1 Cabot Rd; Hudson, MA 01749 978.567.2157 Fax: 978.562.4755