Skip to content

llvm@19 links against wrong libc++ library version #5849

Closed Answered by carlocab
ibis-hdl asked this question in Getting started
Discussion options

You must be logged in to vote

Yes, as stated in the caveats, ~/.config/clang is the configured CLANG_CONFIG_FILE_USER_DIR, which is analogous to /opt/homebrew/etc/clang which is configured as CLANG_CONFIG_FILE_SYSTEM_DIR.

The configuration is equivalent to passing --config-user-dir="$HOME/.config/clang" directly in the command-line. In particular, ~/.config/clang is a directory that contains your configuration files. You probably want to create a ~/.config/clang/$TARGET_TRIPLE-clang++.cfg or ~/.config/clang/clang++.cfg instead. See also the contents of /opt/homebrew/etc/clang.

Replies: 6 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@gromgit
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by ibis-hdl
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants