Hi Alexander, On 26.04.21 15:56, Bork, Alexander wrote:
I was running into the same error during compilation on a MacBook Pro 13'' with the M1 chip using Apple clang version 12.0.0. Applying the patch does indeed help with the build error described earlier.
Aha! If that patch fixes it, then CLang 12 must be broken - or Apple has broken the version it ships. (I haven't tried this new version, released two weeks ago, yet. But on my Linux machines, earlier versions of CLang all work fine.)
However, there are problems with compilation of cl_asm_arm_.cc (see attached file). My assumption is that it’s due to the architecture of the Apple Silicon chip. Is this a known problem?
I haven't got around fixing CLN's ARM assembler yet. Linux distros which support that platform all export CPPFLAGS=-DNO_ASM before configure. Can you, please, try if this works for you and report it, so we can at least fix compilation? Thanks in advance. All my best, -richy. -- Richard B. Kreckel <https://in.terlu.de/~kreckel/>