Hello Richard, 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. 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? Best regards, Alex Bork
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/>
On 27.04.21 00:08, Richard B. Kreckel wrote:
Aha! If that patch fixes it, then CLang 12 must be broken - or Apple has broken the version it ships.
In light of this post, I may have been wrong: https://stackoverflow.com/a/10458581/5587567 -richy. -- Richard B. Kreckel <https://in.terlu.de/~kreckel/>
Hi Richy, Exporting CPPFLAGS=-DNO_ASM before configuration fixed compilation, no more errors occurred in that step. I tried running „make check“, where one of the tests failed. I have attached the „tests/test-suite.log“. Best, Alex Am 27.04.2021 um 13:24 schrieb Richard B. Kreckel <kreckel@in.terlu.de<mailto:kreckel@in.terlu.de>>: On 27.04.21 00:08, Richard B. Kreckel wrote: Aha! If that patch fixes it, then CLang 12 must be broken - or Apple has broken the version it ships. In light of this post, I may have been wrong: https://stackoverflow.com/a/10458581/5587567 -richy. -- Richard B. Kreckel <https://in.terlu.de/~kreckel/> _______________________________________________ CLN-list mailing list CLN-list@ginac.de https://www.ginac.de/mailman/listinfo/cln-list
participants (2)
-
Bork, Alexander
-
Richard B. Kreckel