Skip to content

Conversation

@tobil4sk
Copy link
Member

@tobil4sk tobil4sk commented Apr 8, 2025

The mac static build was failing with errors like this:

CMake Error at CMakeLists.txt:1 (cmake_minimum_required):
  Compatibility with CMake < 3.5 has been removed from CMake.

  Update the VERSION argument <min> value.  Or, use the <min>...<max> syntax
  to tell CMake that the project requires at least <min> but has been updated
  to work with policies introduced by <max> or earlier.

  Or, add -DCMAKE_POLICY_VERSION_MINIMUM=3.5 to try configuring anyway.


-- Configuring incomplete, errors occurred!

There are still these errors with the mac arm64 build:


/Users/runner/work/neko/neko/libs/src/MariaDBConnector/libmariadb/ma_context.c:676:6: error: inline asm clobber list contains reserved registers: X18 [-Werror,-Winline-asm]
     "mov x10, sp\n\t"
     ^
/Users/runner/work/neko/neko/libs/src/MariaDBConnector/libmariadb/ma_context.c:676:6: note: Reserved registers on the clobber list may not be preserved across the asm statement, and clobbering them may lead to undefined behaviour.
/Users/runner/work/neko/neko/libs/src/MariaDBConnector/libmariadb/ma_context.c:746:6: error: inline asm clobber list contains reserved registers: X18 [-Werror,-Winline-asm]
     "ldp x13, x11, [%[save], #0]\n\t"
     ^
/Users/runner/work/neko/neko/libs/src/MariaDBConnector/libmariadb/ma_context.c:746:6: note: Reserved registers on the clobber list may not be preserved across the asm statement, and clobbering them may lead to undefined behaviour.
/Users/runner/work/neko/neko/libs/src/MariaDBConnector/libmariadb/ma_context.c:846:6: error: inline asm clobber list contains reserved registers: X18 [-Werror,-Winline-asm]
     "ldp x13, x11, [%[save], #0]\n\t"
     ^
/Users/runner/work/neko/neko/libs/src/MariaDBConnector/libmariadb/ma_context.c:846:6: note: Reserved registers on the clobber list may not be preserved across the asm statement, and clobbering them may lead to undefined behaviour.
3 errors generated.

These errors are mentioned here: mariadb-corporation/mariadb-connector-c#273

@Simn Simn merged commit 4bb5153 into HaxeFoundation:master Apr 15, 2025
16 checks passed
@tobil4sk tobil4sk deleted the update-deps branch April 15, 2025 11:23
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