egcs-1.1b/Solaris 2.5.1: problems with dynamic libraries

Dimitri PAPADOPOULOS-ORFANOS papadopo@shfj.cea.fr
Tue Sep 8 09:29:00 GMT 1998


Using egcs-1.1b under Solaris 2.5.1:

* I build a dynamic library, but keep getting a warning that
  I didn't get on the very same sources when buliding with
  previous versions of GNU CC up to egcs-1.0.3a:

  	ld: warning: file /appli/aims/graph-1.1/src/io/obj.debug/SunOS/rule.o: relocation against external symbol `<unknown>'
  	        from a non-allocatable section `.stab'
  	        cannot be processed at runtime: relocation ignored

  Please note that the name of the dynamic library is "libgraphdebug.so.1.1"
  and that a symbolic link "libgraphdebug.so" points to it.

* Then I try to link against this dynamic library. I get an
  undefined symbol with no name:

  	Undefined                       first referenced
  	 symbol                             in file
  	                                    /appli/aims/graph-1.1/lib/SunOS/libgraphdebug.so

I cannot reproduce this bug on a small project. But I can reproduce
another bug that I will expose in my next e-mail.



More information about the Gcc-bugs mailing list