You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Can someone please help me? I have tried everything and I keep getting a segfault. I've tried doing it
with 1 jobs but it doesnt matter.
I dont get any problems while installing older versions of the compiler like 4.08.1, but this one always give me this error.
NOTE: I'm running this command on my virtual machine. The host is an M3 mac. And the guest being EMULATED is: Linux pablo-xubuntu 5.15.0-122-generic #132~20.04.1-Ubuntu SMP Fri Aug 30 15:50:07 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
pablo@pablo-xubuntu:~$ opam switch create compilation 5.2.0
<><> Installing new switch packages <><><><><><><><><><><><><><><><><><><><><><>
Switch invariant: ["ocaml-base-compiler" {= "5.2.0"} | "ocaml-system" {= "5.2.0"}]
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
∗ installed base-bigarray.base
∗ installed base-threads.base
∗ installed base-unix.base
∗ installed host-arch-x86_64.1
∗ installed host-system-other.1
∗ installed ocaml-options-vanilla.1
⬇ retrieved ocaml-config.3 (2 extra sources)
⬇ retrieved ocaml-config.3 (2 extra sources)
⬇ retrieved ocaml-base-compiler.5.2.0 (https://opam.ocaml.org/cache)
[ERROR] The compilation of ocaml-base-compiler.5.2.0 failed at "make -j3".
=== ERROR while compiling ocaml-base-compiler.5.2.0 ==========================#
context 2.2.1 | linux/x86_64 | | https://opam.ocaml.org#dd37f1d559c82b89cdd72eb43adb6fe2c1bc86ca
path ~/.opam/compilation/.opam-switch/build/ocaml-base-compiler.5.2.0
command ~/.opam/opam-init/hooks/sandbox.sh build make -j3
exit-code 2
env-file ~/.opam/log/ocaml-base-compiler-12671-b3048a.env
output-file ~/.opam/log/ocaml-base-compiler-12671-b3048a.out
output
cd stdlib; ln -sf ../runtime/libcomprmarsh.a .
[...]
OCAMLOPT lambda/matching.cmx
OCAMLOPT bytecomp/printinstr.cmx
OCAMLOPT typing/includemod_errorprinter.cmx
OCAMLOPT typing/typecore.cmx
OCAMLOPT lambda/translprim.cmx
OCAMLOPT bytecomp/bytegen.cmx
make[2]: *** [Makefile:2397: typing/typecore.cmx] Segmentation fault (core dumped)
make[2]: Leaving directory '/home/pablo/.opam/compilation/.opam-switch/build/ocaml-base-compiler.5.2.0'
make[1]: *** [Makefile:753: opt.opt] Error 2
make[1]: Leaving directory '/home/pablo/.opam/compilation/.opam-switch/build/ocaml-base-compiler.5.2.0'
make: *** [Makefile:831: world.opt] Error 2
<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
┌─ The following actions failed
│ λ build ocaml-base-compiler 5.2.0
└─
┌─ The following changes have been performed (the rest was aborted)
│ ∗ install base-bigarray base
│ ∗ install base-threads base
│ ∗ install base-unix base
│ ∗ install host-arch-x86_64 1
│ ∗ install host-system-other 1
│ ∗ install ocaml-options-vanilla 1
└─
Run eval $(opam env --switch=compilation) to update the current shell environment
Switch initialisation failed: clean up? ('n' will leave the switch partially installed) [y/n] y
MY MACHINE:
Linux pablo-xubuntu 5.15.0-122-generic #132~20.04.1-Ubuntu SMP Fri Aug 30 15:50:07 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
ldd (Ubuntu GLIBC 2.31-0ubuntu9.16) 2.31
Copyright (C) 2020 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Written by Roland McGrath and Ulrich Drepper.
Architecture: x86_64
CPU op-mode(s): 32-bit, 64-bit
Byte Order: Little Endian
Address sizes: 40 bits physical, 48 bits virtual
CPU(s): 4
On-line CPU(s) list: 0-3
Thread(s) per core: 1
Core(s) per socket: 4
Socket(s): 1
NUMA node(s): 1
Vendor ID: AuthenticAMD
CPU family: 15
Model: 107
Model name: QEMU Virtual CPU version 2.5+
Stepping: 1
CPU MHz: 999.999
BogoMIPS: 1999.99
Virtualization: AMD-V
L1d cache: 256 KiB
L1i cache: 256 KiB
L2 cache: 2 MiB
L3 cache: 16 MiB
NUMA node0 CPU(s): 0-3
Vulnerability Gather data sampling: Not affected
Vulnerability Itlb multihit: Not affected
Vulnerability L1tf: Not affected
Vulnerability Mds: Not affected
Vulnerability Meltdown: Not affected
Vulnerability Mmio stale data: Not affected
Vulnerability Reg file data sampling: Not affected
Vulnerability Retbleed: Not affected
Vulnerability Spec rstack overflow: Not affected
Vulnerability Spec store bypass: Not affected
Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization
Vulnerability Spectre v2: Mitigation; Retpolines; STIBP disabled; RSB filling; PBRSB-eIBRS Not affected; BHI Not affect
ed
Vulnerability Srbds: Not affected
Vulnerability Tsx async abort: Not affected
Flags: fpu de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2
ht syscall nx lm rep_good nopl cpuid extd_apicid pni cx16 hypervisor lahf_lm cmp_legacy svm
3dnowprefetch vmmcall
The text was updated successfully, but these errors were encountered:
Can someone please help me? I have tried everything and I keep getting a segfault. I've tried doing it
with 1 jobs but it doesnt matter.
I dont get any problems while installing older versions of the compiler like 4.08.1, but this one always give me this error.
NOTE: I'm running this command on my virtual machine. The host is an M3 mac. And the guest being EMULATED is:
Linux pablo-xubuntu 5.15.0-122-generic #132~20.04.1-Ubuntu SMP Fri Aug 30 15:50:07 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
MY MACHINE:
The text was updated successfully, but these errors were encountered: