Hi,

Workaround: relinking junk2.so with '-lc' magically cures the bug:

$ ld -shared -o junk2.so junk2.o -lc
And this is the correct invocation AFAIK. i.e. people willing to create a DSO with "ld" directly are supposed to explicitly add the C library (-lc). gcc -shared -o junk2.so junk2.o, will add -lc for you. If not, this is a bug and tell me so.

Bye,
Gwenole.


Reply via email to