Opened 4 months ago

Last modified 3 months ago

#69150 new defect

macports-libcxx does not install cxxabi.h

Reported by: barracuda156 Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.8.1
Keywords: Cc: catap (Kirill A. Korinsky), kencu (Ken), cjones051073 (Chris Jones), mascguy (Christopher Nielsen)
Port: macports-libcxx

Description

LLVM headers have cxxabi.h: /opt/local/libexec/llvm-11/include/c++/v1/cxxabi.h However, legacysupport uses macports-libcxx headers, which do not contain this one for some reason.

Is this intended?

Change History (7)

comment:1 Changed 4 months ago by barracuda156

In result folly fails to build, for example: #69147

comment:2 Changed 4 months ago by mascguy (Christopher Nielsen)

Cc: mascguy added

comment:3 Changed 3 months ago by kencu (Ken)

well ... isn't that odd.

After depending on clang-11 to be there, the macports-libcxx port simply does this:

copy  ${prefix}/libexec/llvm-${clangversion}/lib/c++/v1 ${destroot}${prefix}/include/libcxx/

could you do a port provides /opt/local/libexec/llvm-11/include/c++/v1/cxxabi.h to see which port is giving us this file? Maybe it is coming from something other than clang-11?

comment:4 Changed 3 months ago by kencu (Ken)

Oh, hold the phone, we have two different directories to look at here, this one:

/opt/local/libexec/llvm-11/include/c++/v1

and this one:

/opt/local/libexec/llvm-11/lib/c++/v1

better see what's up with that exactly.

comment:5 in reply to:  3 Changed 3 months ago by barracuda156

Replying to kencu:

/opt/local/libexec/llvm-11/include/c++/v1/cxxabi.h is provided by: clang-11

comment:6 Changed 3 months ago by barracuda156

BTW, I manually copied two headers of cxxabi into macports-libcxx include folder, and had folly built successfully on 10.8.5.

comment:7 Changed 3 months ago by barracuda156

On a side note, I guess I have to move those headers in libcxx-powerpc port, so that they match expected location of llvm ones.

UPD. Ah, nah, it actually installs those headers. Wonder why macports-libcxx does not.

Last edited 3 months ago by barracuda156 (previous) (diff)
Note: See TracTickets for help on using tickets.