Closed JJTech0130 closed 3 years ago
clang too old. I think the doc mentions that clang 10+(?) is required...
I know. But the build instructions specifically install clang-6.0
Debian 10
$ sudo apt install cmake clang-6.0 bison flex xz-utils libfuse-dev libudev-dev pkg-config \ libc6-dev-i386 linux-headers-amd64 libcap2-bin git python2 libglu1-mesa-dev libcairo2-dev \ libgl1-mesa-dev libtiff5-dev libfreetype6-dev libxml2-dev libegl1-mesa-dev libfontconfig1-dev \ libbsd-dev libxrandr-dev libxcursor-dev libgif-dev libpulse-dev libavformat-dev libavcodec-dev \ libavresample-dev libdbus-1-dev libxkbfile-dev libssl-dev `clang-6.0` specifically requests clang 6. ~~Oh, and the CMakeList ignores Clang 11, so you have to use 10~~ They skipped 9 and 10 in the backports. Grr. Will try to build with 11
You can check when that line was written at https://github.com/darlinghq/darling-docs - likely very old... And you can create pull / edit / update to the docs there yourself too, btw. If you are simply complaining about the doc being out of date, filing and fixing it over there may be more appropriate... (yes, you can just click the edit button on the top right to create a pull there..)
Disclaimer: I am just another user (and not a happy one at that...).
Yah, is there any reason Clang 11 wouldn't work? I'm building now but it's going to take awhile. I'm going to create a pull request to change the docs, and edit the CMake list to remove the old, unsupported versions of clang.
There were some problems with Clang 12, but has since been fixed: https://github.com/darlinghq/darling/issues/856
I'm going to close this issue, I've added all of the pull req. necessary to fix it.
Build Log What is the build error? Same as https://github.com/darlinghq/darling/issues/964, https://github.com/darlinghq/darling/issues/939 and possibly others:
System Information What system are you building with?
Your build instructions for Debian 10 include
clang-6.0
as a build dependency, while previously stating that Darling will not build without Clang 9 or higher.clang-11
appears to be available on Debian 10 (at least the WSL version) so it appears to be a documentation issue.