You are not logged in.
I installed MongoDB from the AUR and ran makepkg with no special configuration or flags. The compilation outputted a lot of warnings, but no errors, and I was able to install the resulting zst; however, attempting to start the systemd service, or run the mongo command result in:
Illegal instruction (core dumped)with no other output. Has anyone seen this with MongoDB and managed to fix the issue? Are there compiler flags I need to add? How might I debug the issue?
Offline
https://wiki.archlinux.org/title/Core_d … _core_dump
compilation outputted
Offline
coredumpctl listNo coredumps found.The process doesn't run, so there is nothing to which gdb would attach.
Last edited by eom.dev (2023-08-24 15:34:57)
Offline
MongoDB 5+ requires AVX. If you're on a CPU that doesn't have that, you need to use MongoDB 4.4.
Offline
What if you disable sandybridge optimization?
diff --git a/PKGBUILD b/PKGBUILD
index 42208d8..4daad95 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -64,6 +64,7 @@ _scons_args=(
   --use-system-boost
   --use-system-zstd
   --runtime-hardening=off
+  --experimental-optimization=-sandybridge
 )
 
 all-flag-vars() {Offline