You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The text was updated successfully, but these errors were encountered:
willswire
changed the title
clang-17 failed: error executing CppLink command
🐛 Bug Report: Fails to build on WolfiOS with clang-17 (failed: error executing CppLink command)
Dec 15, 2024
Can you provide the full error output for this? The actual error message from the linker/clang driver should be listed below the ERROR line you included here.
In terms of dependencies, I'm not familiar with your package manager but for Debian/Ubuntu installing a libc++abi-<version>-dev package is required, I'm not sure if that will be installed as a dependency of the packages you have listed. Looking at the CI build scripts, there's also libc++abi1-16 and libc++1-16 packages being installed. If the link error message is libc++-related, that or something similar should be responsible here.
Note that the workerd build tries to statically link its binaries with libc++ and libgcc by passing --linkopt='-l:libc++.a' --linkopt='-lm' --linkopt='-static-libgcc' in .bazelrc. With that passing -lm manually should not be needed. I assume with your changes libc++ is being linked dynamically instead, which might work around static libc++ not being installed? Either way, glad it's working for you now.
I am trying to contribute
workerd
as a package to WolfiOS here. I've included the necessary build dependencies:However I am getting the following error:
Potentially related issues:
The text was updated successfully, but these errors were encountered: