[llvm-bugs] [Bug 43749] New: Definition __ZTSPKDu in itanium-base.exp is used for -export_symbol but is really undefined

via llvm-bugs llvm-bugs at lists.llvm.org
Mon Oct 21 10:50:47 PDT 2019


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

            Bug ID: 43749
           Summary: Definition __ZTSPKDu in itanium-base.exp is used for
                    -export_symbol but is really undefined
           Product: libc++abi
           Version: 9.0
          Hardware: PC
                OS: MacOS X
            Status: NEW
          Severity: normal
          Priority: P
         Component: All Bugs
          Assignee: unassignedbugs at nondot.org
          Reporter: nat-llvmbugs at mulle-kybernetik.com
                CC: llvm-bugs at lists.llvm.org, mclow.lists at gmail.com

This happens when building on MacOS 10.13. I suppose some parts of the code
gets #ifdef-ed out, but the symbollist isn't, that is passed to the linker.
This list is in `lib/itanium-base.exp` and used as input for
`-exported_symbols_list`. 

Now Apple's linker decided in its wisdom, that missing actual symbols are an
error (and not a warning, what would be sane) and the build aborts.

All affected symbols are of the form _Z.*du. If I remove them before building
things work out OK.

-- 
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/20191021/be60bdbb/attachment.html>


More information about the llvm-bugs mailing list