[llvm-bugs] [Bug 47226] New: llvm-config --system-libs prints .tbd files instead of .dylib

via llvm-bugs llvm-bugs at lists.llvm.org
Tue Aug 18 15:26:57 PDT 2020


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

            Bug ID: 47226
           Summary: llvm-config --system-libs prints .tbd files instead of
                    .dylib
           Product: tools
           Version: 10.0
          Hardware: Macintosh
                OS: MacOS X
            Status: NEW
          Severity: normal
          Priority: P
         Component: llvm-config
          Assignee: unassignedbugs at nondot.org
          Reporter: kubkon at jakubkonka.com
                CC: llvm-bugs at lists.llvm.org

Running `llvm-config --system-libs` with current LLVM 10.0.1 on macOS Catalina
reports the following libraries:

```
-lz -lcurses -lm -llibxml2.tbd
```

instead of the expected:

```
-lz -lcurses -lm --lxml2
```

Out of curiosity, I checked what the output is in the current LLVM trunk, and
it's even worse, reporting:

```
/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/lib/libcurses.tbd
-lm -llibz.tbd -llibxml2.tbd
```

For more discussion about this issue, please see the downstream issue at
https://github.com/ziglang/zig/issues/6087

-- 
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/20200818/ab38ce93/attachment.html>


More information about the llvm-bugs mailing list