Solaris 7/x86 shared libgcc?
Ben Taylor
bent@clark.net
Mon Mar 6 13:34:00 GMT 2000
I am trying to build a shared library module, which eventually will
be used with xmms.
When I don't link with libgcc.a, I get the following error on startup:
ld.so.1: xmms: fatal: relocation error: file
/usr/local/lib/xmms/Input/libmodplug.so: symbol __divdi3: referenced
symbol not found
When I link with libgcc.a, the shared library won't build because
libgcc.a is a statically linked library. Unfortunately, this means
that at runtime the module can't be loaded by xmms.
Any ideas on how to either build a shared libgcc, or send flags to
the compiler to prevent it from using the __divdi3 call?
Thanks,
Ben
Solaris 7/x86
gcc-2.95.2
modplugxmms-1.1.1
More information about the Gcc
mailing list