Re: mudflap: main objects are inited too late for a shared library constructor [patch]

2005-07-30 Thread Eyal Lebedinsky
Eyal Lebedinsky wrote: > 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 patch seems to work for me, is it proper? It regi

mudflap: main objects are inited too late for a shared library constructor

2005-07-30 Thread Eyal Lebedinsky
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' whi