[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.

-- 
           Summary: shared libraries built with -fvisibility=hidden
                    segfaults
           Product: gcc
           Version: 4.0.2
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: libstdc++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: debian-gcc at lists dot debian dot org
                CC: debian-gcc at lists dot debian dot org,drow at false dot
                    org,gcc-bugs at gcc dot gnu dot org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22587

Reply via email to