Objective-C code is not relocatable
David Kaelbling
drk@sgi.com
Tue Apr 27 12:43:00 GMT 1999
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
More information about the Gcc-bugs
mailing list