Skip to content

Conversation

kinke
Copy link
Member

@kinke kinke commented Feb 13, 2024

A little test wrt. #3901. But -lm is part of llvm-config --system-libs, with both official LLVM 16 and 17. And this then leads to ld: library 'm' not found unless enforcing /usr/bin/c++ as linker driver.

@JohanEngelen
Copy link
Member

Is there something I can test for you locally?
(perhaps just the linker-gcc.cpp change?)

@kinke
Copy link
Member Author

kinke commented Feb 13, 2024

Hmm, I don't know. I just hate that our CMake build doesn't work out of the box with recent Xcode, requiring that dead-ugly -DLDC_LINK_MANUALLY=OFF -DD_COMPILER_FLAGS=-gcc=/usr/bin/c++ workaround.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants