clang++ and libc++

Paul Floyd pjfloyd at wanadoo.fr
Tue Mar 16 10:53:07 UTC 2021


On 3/3/21 4:05 PM, Ken Cunningham wrote:
> As of clang-11, the most current libc++ is installed tucked away in 
> the llvm-11 libs dir.
>
> There is both a dylib (rpathed) and a static libc++ there.
>
> I set this up for now for people like you to use for exactly this. You 
> will have to force it (DYLD_LIBRARY_PATH, possibly static link it, or 
> some other way).
>
> It's new. Please feel free to let me know how it works for you.


Hi

I don't often get my old MacBook out, so it's been a while since you 
replied.

I didn't get as far as linking the C++ testcases,


dsymutil memcheck-amd64-darwin
Assertion failed: (!"Unknown operand"), function LinkLocation, file 
/SourceCache/dwarf_utilities/dwarf_utilities-102/source/DWARFdSYM.cpp, 
line 1691.
/bin/sh: line 1: 28510 Abort trap: 6           dsymutil $f
dsymutil memcheck-x86-darwin
Assertion failed: (!"Unknown operand"), function LinkLocation, file 
/SourceCache/dwarf_utilities/dwarf_utilities-102/source/DWARFdSYM.cpp, 
line 1691.
/bin/sh: line 1: 28511 Abort trap: 6           dsymutil $f
dsymutil vgpreload_memcheck-amd64-darwin.so
Assertion failed: (!"Unknown operand"), function LinkLocation, file 
/SourceCache/dwarf_utilities/dwarf_utilities-102/source/DWARFdSYM.cpp, 
line 1691.
/bin/sh: line 1: 28512 Abort trap: 6           dsymutil $f
dsymutil vgpreload_memcheck-x86-darwin.so
Assertion failed: (!"Unknown operand"), function LinkLocation, file 
/SourceCache/dwarf_utilities/dwarf_utilities-102/source/DWARFdSYM.cpp, 
line 1691.
/bin/sh: line 1: 28513 Abort trap: 6           dsymutil $f
make[3]: *** [build-noinst_DSYMS] Error 134
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2


Google didn't help much. I'll look into it a bit more.

A+

Paul




More information about the macports-users mailing list