[llvm-bugs] [Bug 28357] New: support extern (e.g. "C++") in version script handling

via llvm-bugs llvm-bugs at lists.llvm.org
Wed Jun 29 05:49:09 PDT 2016


https://llvm.org/bugs/show_bug.cgi?id=28357

            Bug ID: 28357
           Summary: support extern (e.g. "C++") in version script handling
           Product: lld
           Version: unspecified
          Hardware: PC
                OS: FreeBSD
            Status: NEW
          Severity: normal
          Priority: P
         Component: ELF
          Assignee: unassignedbugs at nondot.org
          Reporter: emaste at freebsd.org
                CC: llvm-bugs at lists.llvm.org
            Blocks: 23214
    Classification: Unclassified

See review http://reviews.llvm.org/D21607 and the thread at
http://lists.llvm.org/pipermail/llvm-commits/Week-of-Mon-20160620/366812.html
for previous discussion.

The FreeBSD base system relies on `extern "C++"` in at least the libcxxrt
version script. In FreeBSD we have the ability to replace all of these with the
mangled names if necessary as a workaround, but I suspect this will be a
problem for other third-party software so opening this bug to track.


e.g. from FreeBSD libcxxrt's Version.map:

CXXABI_1.3 {
  global:
  ...
  extern "C++" {
        # Type info classes and their destructors
        "__cxxabiv1::__array_type_info";
        "__cxxabiv1::__array_type_info::~__array_type_info()";
  ...
  };
  ...
};

-- 
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/20160629/2b8e5829/attachment.html>


More information about the llvm-bugs mailing list