[forwarded from http://bugs.debian.org/307207] seen with g++ 4.0 current CVS gcc-4.0 branch shared libs which are built with -fvisibility=hidden likes to segfault as the linker don't find the correct symbols for the __gnu_cxx::mt_allocator internal. Attached are two source files which produces such a segfaulting shared lib. The same code without the visibility switch works fine.
Created attachment 9316 [details] testcase
*** This bug has been marked as a duplicate of 19664 ***