[SOLVED] Build fails on FreeBSD 13/arm64: sqlite3.c:109722:1: internal compiler error: Illegal instruction
Posted: Mon Jan 18, 2021 12:28 am
I am trying to build Zandronum Server on FreeBSD 13-CURRENT on arm64. I am following the instructions in the wiki at https://wiki.zandronum.com/Zandronum_Server_on_FreeBSD as best I can (GCC 5 is no longer in the ports tree so I'm using GCC 9). I can generate the makefiles, but when I try to build the server using gmake -j$(nproc), I get the following error:
The following ports are installed:
I didn't install OpenSSL as it is part of the base OS. However openssl version reports: OpenSSL 1.1.1i-freebsd 8 Dec 2020
Does anyone know what might be wrong? Any help would be greatly appreciated.
Code: Select all
[ 35%] Built target re2c
/home/puisor/zabuild/zandronum-stable/sqlite/sqlite3.c: In function 'sqlite3DeleteColumnNames.isra.0':
/home/puisor/zabuild/zandronum-stable/sqlite/sqlite3.c:109722:1: internal compiler error: Illegal instruction
109722 | }
| ^
libbacktrace could not find executable to open
Please submit a full bug report,
with preprocessed source if appropriate.
See <https://gcc.gnu.org/bugs/> for instructions.
gmake[2]: *** [sqlite/CMakeFiles/sqlite3.dir/build.make:82: sqlite/CMakeFiles/sqlite3.dir/sqlite3.o] Error 1
gmake[1]: *** [CMakeFiles/Makefile2:580: sqlite/CMakeFiles/sqlite3.dir/all] Error 2
gmake: *** [Makefile:103: all] Error 2
puisor@gouki:~/zabuild/build $
Code: Select all
sdl-1.2.15_15,2 Cross-platform multimedia development API
gcc9-9.3.0_1 GNU Compiler Collection 9
sqlite3-3.34.0,1 SQL database engine in a C library
Does anyone know what might be wrong? Any help would be greatly appreciated.