Opened 4 years ago

Closed 4 years ago

#60720 closed defect (fixed)

llvm-*: checking for existence of /usr/lib/libc++.dylib

Reported by: jmroot (Joshua Root) Owned by: jeremyhu (Jeremy Huddleston Sequoia)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: larryv (Lawrence Velázquez), kencu (Ken), Schamschula (Marius Schamschula)
Port: llvm-3.5, llvm-3.7, llvm-5.0, llvm-6.0, llvm-7.0, llvm-8.0, llvm-9.0, llvm-10

Description

It's possible for libc++ to exist only in the shared cache and not on disk.

Change History (7)

comment:1 Changed 4 years ago by Schamschula (Marius Schamschula)

Cc: Schamschula added

comment:2 Changed 4 years ago by neverpanic (Clemens Lang)

I guess we need a Tcl wrapper around dlopen_preflight to fix this? Any other suggestions?

comment:3 Changed 4 years ago by jmroot (Joshua Root)

Well, in this particular case the libcxx dependency makes this check redundant, right?

comment:4 in reply to:  2 Changed 4 years ago by jeremyhu (Jeremy Huddleston Sequoia)

Replying to neverpanic:

I guess we need a Tcl wrapper around dlopen_preflight to fix this? Any other suggestions?

No, please don't do that. That is not the right solution. Toby landed that temporarily while we wait for API for a proper solution.

comment:5 Changed 4 years ago by jeremyhu (Jeremy Huddleston Sequoia)

I suggest we just do this check on darwin 11 and earlier.

comment:6 Changed 4 years ago by kencu (Ken)

that was what I was thinking too, but just wanted to see where this was going. I'll take care of that, and in libcxx too.

comment:7 Changed 4 years ago by kencu (Ken)

Resolution: fixed
Status: assignedclosed

In 8ab1ef8c8ab9892b581c13382407709c33a381ba/macports-ports (master):

llvm*: only test for libc++.dylib on older systems

closes: #60720

Note: See TracTickets for help on using tickets.