[llvm-bugs] [Bug 39744] New: libcxxabi incompatible with libsupc++

via llvm-bugs llvm-bugs at lists.llvm.org
Wed Nov 21 11:30:44 PST 2018


            Bug ID: 39744
           Summary: libcxxabi incompatible with libsupc++
           Product: libc++abi
           Version: 6.0
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: All Bugs
          Assignee: unassignedbugs at nondot.org
          Reporter: stsp at list.ru
                CC: llvm-bugs at lists.llvm.org, mclow.lists at gmail.com

Created attachment 21139
  --> https://bugs.llvm.org/attachment.cgi?id=21139&action=edit
test case

When you dlopen the lib that depends on libstdc++/libsupc++
and use RTLD_GLOBAL, libc++abi will crash.
I already filled the mesa bug to stop using RTLD_GLOBAL for that:
But I think libc++abi should be binary compatible with
libsupc++, so I suppose there should be no crash even in that case.

Attached is a test-case.
Run "make" then "./main".
Will crash.

You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20181121/c93b201d/attachment.html>

More information about the llvm-bugs mailing list