Can you provide a full build log so that we can know the compiler
flags when building bsdsignal.o?

BTW, I think that exporting CC is not needed. (It's not needed in
github CI.)

Also in your January post, your build problem mysteriously disappears.

- Qian

On 3/9/24 19:50, Prof. Dr. Johannes Grabmeier wrote:
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:
Probably an OS upgrade requires a rebuild of sbcl.


On 8 March 2024 15:34:02 GMT, "Prof. Dr. Johannes Grabmeier" <[email protected]> wrote:
Hi all,

all of a sudden (I have moved to MacOS version Sonoma 14.3.1) FriCAS does no longer start:

/usr/local/bin$ fricas
mmap: Operation not permitted
fatal error encountered in SBCL pid 1525 pthread 0x1d86b5c40:
load_core_bytes(3,60000,0x300000000,10000) failed

Bad frame pointer 0x1d86b5cec [valid range=0x3000000000000..0x100000000]


Any hints what to do: New version of SBCL required? New compilation od FriCAS, anything else?



--
You received this message because you are subscribed to the Google Groups "FriCAS - 
computer algebra system" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/fricas-devel/09f9d996-b4f2-40aa-a68b-f0681cab0d32%40gmail.com.

Reply via email to