linking of inline static methods

H . J . Lu hjl@lucon.org
Wed Jun 28 09:14:00 GMT 2000


On Wed, Jun 28, 2000 at 08:32:37AM +0200, Martin v. Loewis wrote:
> > I'm new to GNU C++ and to Linux.  (I'm coming from IRIX).  This may
> > fall under the category of "Interoperation trouble" with the Linux
> > linker, rather than a strictly GNU C++ compiler bug; I'm not sure.
> 
> Thanks for your bug report. This problem is caused by -Bsymbolic; just
> remove that option, and it will work. I believe this is a known
> problem - please contact the binutils people for further information.
> 

I don't think there is any bug in ld. In general, you don't use
-Bsymbolic unless you know what you are doing. -Bsymbolic turns the
global symbol references into local ones if there is a definition in
the shared library. That is your problem. I have no idea why you want
to use -Bsymbolic.



H.J.


More information about the Gcc mailing list