darlinghq / darling

Darwin/macOS emulation layer for Linux
http://www.darlinghq.org
GNU General Public License v3.0
11.56k stars 447 forks source link

`cctools-port` Fails To Build On Newer Version Of Clang #1551

Open mxTeamCEO opened 1 month ago

mxTeamCEO commented 1 month ago

Build Log

In file included from /home/GentUwU/darling/src/external/cctools-port/cctools/ld64/src/ld/code-sign-blobs/blob.cpp:29:
/home/GentUwU/darling/src/external/cctools-port/cctools/ld64/src/ld/code-sign-blobs/blob.h:185:60: error: no member named 'clone' in 'Security::BlobCore'
  185 |         { assert(validateBlob()); return specific(this->BlobCore::clone());     }
      |                                                         ~~~~~~~~~~^

System Information Gentoo Linux 16GB RAM

Software Version
Clang 19.1.1
CMake 3.30.5
Linux Kernel 6.11.3
Darling d976210e72b10675c730711caa2a96b992fbb65f
CuriousTommy commented 3 weeks ago

Looks like this issue has been fixed upstream: https://github.com/tpoechtrager/cctools-port/commit/e3e2385bc0273b983fb153633c16d85c743a0590

I'll take this issue as an opportunity to update our cctools-port fork.

CuriousTommy commented 3 weeks ago

@mxTeamCEO Try now, I pushed some changes to fix the build errors.