mudflap: main objects are inited too late for a shared library constructor
Eyal Lebedinsky
eyal@eyal.emu.id.au
Sat Jul 30 07:10:00 GMT 2005
I have a system that uses some shared libraries. I find that
when a library constructor runs the __wrap_main() did not
yet execute and as a results I get many violations on the
objects that it registers.
The attached program demonstrates 'stderr' (simple to do)
but my main problem is 'environ' which I interrogate at
that time.
What is the correct way of handling this?
--
Eyal Lebedinsky (eyal@eyal.emu.id.au) <http://samba.org/eyal/>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: zz40.sh
Type: application/x-shellscript
Size: 1386 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/gcc/attachments/20050730/4957f4f2/attachment.bin>
More information about the Gcc
mailing list