yes, this seems to be the problem, sbcl 2.1.2 crashes with Sonoma.
Recommendation in the internet to upgrade to 2.3.8 or higher before
moving to Sonoma.
Found a binary for sbcl 2.4.0 for macOS (Darwin), which I installed and
which works
Then I started to recompile FriCAS 1.3.10.
setting proberly (as in January, when I succeeded to compile FriCAS on
arm64 OS Ventura
export CC="gcc -march=armv8.5-a"
Then check, whether the correct C-compiler is active:
~/fricas-1.3.10$
gcc -v
Apple clang version 13.1.6 (clang-1316.0.21.2.5)
Target: arm64-apple-darwin23.3.0
Thread model: posix
InstalledDir:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
all seems ok
Then
configure --enable-case-insensitive-file-system-check=no
seems to work ok, no mentioning of x86
but then
gmake fails, which refers somehow to the x86 architecture:
~/fricas-1.3.10$ gmake
cd ./src && gmake BUILD_DATE="`date`" all-src
gmake[1]: Verzeichnis „/Users/jgrabmeier/fricas-1.3.10/src“ wird betreten
cd doc && gmake copy-helpfiles
gmake[2]: Verzeichnis „/Users/jgrabmeier/fricas-1.3.10/src/doc“ wird
betreten
mkdir -p
/Users/jgrabmeier/fricas-1.3.10/target/arm-apple-darwin23.3.0/share/spadhelp
cp *.help
/Users/jgrabmeier/fricas-1.3.10/target/arm-apple-darwin23.3.0/share/spadhelp
gmake[2]: Verzeichnis „/Users/jgrabmeier/fricas-1.3.10/src/doc“ wird
verlassen
gmake[2]: Verzeichnis „/Users/jgrabmeier/fricas-1.3.10/src/lib“ wird
betreten
gcc -march=armv8.5-a -g -dynamiclib -single_module bsdsignal.o cfuns-c.o
sockio-c.o -o
/Users/jgrabmeier/fricas-1.3.10/target/arm-apple-darwin23.3.0/lib/libspad.so
ld: warning: ignoring file bsdsignal.o, building for macOS-x86_64 but
attempting to link with file built for unknown-arm64
ld: warning: ignoring file cfuns-c.o, building for macOS-x86_64 but
attempting to link with file built for unknown-arm64
ld: warning: ignoring file sockio-c.o, building for macOS-x86_64 but
attempting to link with file built for unknown-arm64
ld: can't open output file for writing:
/Users/jgrabmeier/fricas-1.3.10/target/arm-apple-darwin23.3.0/lib/libspad.so,
errno=2 for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see
invocation)
gmake[2]: *** [Makefile:262:
/Users/jgrabmeier/fricas-1.3.10/target/arm-apple-darwin23.3.0/lib/libspad.so]
Fehler 1
gmake[2]: Verzeichnis „/Users/jgrabmeier/fricas-1.3.10/src/lib“ wird
verlassen
gmake[1]: *** [Makefile:228: all-lib] Fehler 2
gmake[1]: Verzeichnis „/Users/jgrabmeier/fricas-1.3.10/src“ wird verlassen
gmake: *** [Makefile:250: all-src] Fehler 2
Any idea or hint, what else I have to set to avoid relation to x86_64 ??
Am 08.03.24 um 18:33 schrieb Dima Pasechnik: