This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Objective-C code is not relocatable


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]