Open LakeIshikawa opened 9 months ago
Just replicated locally, it seems that at least on Sonoma, sdcc 4.2 fails to build autoconf tests. sdcc 4.4 is known to work [1], so I'll bump this dependency in ngdevkit. [1] https://formulae.brew.sh/formula/sdcc
ive the same problem on my new mac with proc M3
how i fix it this problem please ?
Hmmm, there was a failed run in the azure CI, and https://github.com/dciabrin/ngdevkit-toolchain/commit/24799d9ef211f723f5a4de69d3831693d2208aca doesn't seem to have landed as expected in homebrew-ngdevkit. I'm looking into it and will let you know
i work on the dev of ghost goblins with your framework : https://www.facebook.com/15kbesancon/videos/979982286879466/
OK I relaunched the previously failing CI run, and a new homebrew version for ngdevkit-toolchain has just been pushed.
Same limitation as before, there is no bottle for M1*, but when installing it locally on a Mac M1, the build done by brew is now passing:
==> Summary
🍺 /opt/homebrew/Cellar/ngdevkit-toolchain/0.1+202403032129-1: 987 files, 225.9MB, built in 17 minutes 2 seconds
@jeromeEzDATASolutions can you maybe check on your env and confirm that the latest version now builds correctly?
I test
Thanks @jeromeEzDATASolutions OK that is a new error, at least the original error reported by @LakeIshikawa seems to be fixed. I realized that I was building with Xcode 15.0, which was probably why it was passing. I upgraded to the latest Xcode 15.2, and now I can see that the latest clang complains when building gdb.
/private/tmp/ngdevkit-toolchain-20240313-91525-mindov/ngdevkit-toolchain-nightly-202403032129/toolchain/gdb-9.2/gdb/gdbsupport/enum-flags.h:85:52: error: integer value -1 is outside the valid range of values [0, 15] for this enumeration type [-Wenum-constexpr-conversion]
integer_for_size<sizeof (T), static_cast<bool>(T (-1) < T (0))>::type
I'll do another round of fixes and update the issue shortly...
It turns out the compilation of gdb and gcc is also broken with Xcode 15.2. I have prepared a patch for both so it should be ready soon. While testing the patch I realized that upgrasding to SDC 4.4 might have impacted the example ROMs as well, so I'll look into it right after.
Just following the instructions step by step gives me this on a Mac Studio (M2) after issuing brew install ngdevkit ngdevkit-gngeo: