Fails to build
mateodif opened this issue · 0 comments
mateodif commented
There are several issues while building, here's the complete build log:
mateo@navi~/Fomos $ ./build.sh
Compiling compiler_builtins v0.1.109
Compiling core v0.0.0 (/home/mateo/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core)
Compiling autocfg v1.1.0
Compiling libm v0.2.6
Compiling semver v1.0.17
Compiling rustversion v1.0.12
Compiling num-traits v0.2.15
Compiling num-integer v0.1.45
Compiling rustc_version v0.4.0
Compiling vek v0.15.10
Compiling rustc-std-workspace-core v1.99.0 (/home/mateo/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/rustc-std-workspace-core)
error: data-layout for target `x86_64-17056841530144259043`, `e-m:e-i64:64-f80:128-n8:16:32:64-S128`, differs from LLVM target's `x86_64-unknown-none` default layout, `e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128`
error: could not compile `rustc-std-workspace-core` (lib) due to 1 previous error
warning: build failed, waiting for other jobs to finish...
error: could not compile `core` (lib) due to 1 previous error
error: could not compile `compiler_builtins` (lib) due to 1 previous error
Compiling compiler_builtins v0.1.109
Compiling core v0.0.0 (/home/mateo/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core)
Compiling autocfg v1.1.0
Compiling semver v1.0.17
Compiling libm v0.2.6
Compiling rustversion v1.0.12
Compiling num-traits v0.2.15
Compiling num-integer v0.1.45
Compiling rustc_version v0.4.0
Compiling vek v0.15.10
Compiling rustc-std-workspace-core v1.99.0 (/home/mateo/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/rustc-std-workspace-core)
error: data-layout for target `x86_64-17056841530144259043`, `e-m:e-i64:64-f80:128-n8:16:32:64-S128`, differs from LLVM target's `x86_64-unknown-none` default layout, `e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128`
error: could not compile `rustc-std-workspace-core` (lib) due to 1 previous error
warning: build failed, waiting for other jobs to finish...
error: could not compile `core` (lib) due to 1 previous error
error: could not compile `compiler_builtins` (lib) due to 1 previous error
Compiling compiler_builtins v0.1.109
Compiling core v0.0.0 (/home/mateo/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core)
Compiling autocfg v1.1.0
Compiling libm v0.2.6
Compiling semver v1.0.17
Compiling version_check v0.9.4
Compiling slotmap v1.0.6
Compiling num-traits v0.2.15
Compiling num-integer v0.1.45
Compiling rustc_version v0.4.0
Compiling vek v0.15.10
Compiling rustc-std-workspace-core v1.99.0 (/home/mateo/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/rustc-std-workspace-core)
error: data-layout for target `x86_64-17056841530144259043`, `e-m:e-i64:64-f80:128-n8:16:32:64-S128`, differs from LLVM target's `x86_64-unknown-none` default layout, `e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128`
error: could not compile `rustc-std-workspace-core` (lib) due to 1 previous error
warning: build failed, waiting for other jobs to finish...
error: could not compile `core` (lib) due to 1 previous error
error: could not compile `compiler_builtins` (lib) due to 1 previous error
Compiling compiler_builtins v0.1.109
Compiling core v0.0.0 (/home/mateo/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core)
Compiling rustc-std-workspace-core v1.99.0 (/home/mateo/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/rustc-std-workspace-core)
error: data-layout for target `x86_64-11715869612130984305`, `e-m:e-i64:64-f80:128-n8:16:32:64-S128`, differs from LLVM target's `x86_64-unknown-none` default layout, `e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128`
error: could not compile `rustc-std-workspace-core` (lib) due to 1 previous error
warning: build failed, waiting for other jobs to finish...
error: could not compile `core` (lib) due to 1 previous error
error: could not compile `compiler_builtins` (lib) due to 1 previous error
/usr/bin/ld: /tmp/ccT1VkSJ.o: in function `_start':
main.c:(.text+0x7e): undefined reference to `__stack_chk_fail'
collect2: error: ld returned 1 exit status
Compiling autocfg v1.1.0
Compiling proc-macro2 v1.0.66
Compiling unicode-ident v1.0.11
Compiling libc v0.2.147
Compiling crossbeam-utils v0.8.16
Compiling futures-core v0.3.28
Compiling cfg-if v1.0.0
Compiling memchr v2.5.0
Compiling futures-io v0.3.28
Compiling pin-project-lite v0.2.12
Compiling log v0.4.20
Compiling io-lifetimes v1.0.11
Compiling futures-channel v0.3.28
Compiling futures-task v0.3.28
Compiling serde v1.0.185
Compiling radium v0.7.0
Compiling futures-util v0.3.28
Compiling futures-sink v0.3.28
Compiling bitflags v1.3.2
Compiling tap v1.0.1
Compiling rustix v0.37.23
Compiling linux-raw-sys v0.3.8
Compiling waker-fn v1.1.0
Compiling funty v2.0.0
Compiling event-listener v2.5.3
Compiling fastrand v1.9.0
Compiling wyz v0.5.1
Compiling signal-hook v0.3.17
Compiling pin-utils v0.1.0
Compiling slab v0.4.8
Compiling polling v2.8.0
Compiling async-io v1.13.0
Compiling parking v2.1.0
Compiling async-process v1.7.0
Compiling async-lock v2.8.0
Compiling scopeguard v1.2.0
Compiling memoffset v0.9.0
Compiling concurrent-queue v2.2.0
Compiling lock_api v0.4.10
Compiling smallvec v1.11.0
Compiling thiserror v1.0.47
Compiling rustix v0.38.8
Compiling bitflags v2.4.0
Compiling version_check v0.9.4
Compiling rustversion v1.0.14
Compiling bitvec v1.0.1
Compiling quote v1.0.33
Compiling crossbeam-epoch v0.9.15
Compiling llvm-tools v0.1.1
Compiling futures-lite v1.13.0
Compiling ahash v0.8.3
Compiling serde_json v1.0.105
Compiling linux-raw-sys v0.4.5
Compiling bit_field v0.10.2
Compiling crossbeam-queue v0.3.8
Compiling anyhow v1.0.75
Compiling crc-catalog v2.2.0
Compiling syn v2.0.29
Compiling crc v3.0.1
Compiling fastrand v2.0.0
Compiling itoa v1.0.9
Compiling once_cell v1.18.0
Compiling spin v0.5.2
Compiling signal-hook-registry v1.4.1
Compiling socket2 v0.4.9
Compiling getrandom v0.2.10
Compiling volatile v0.4.6
Compiling rand_core v0.6.4
Compiling byteorder v1.4.3
Compiling bootloader_api v0.11.4
Compiling ryu v1.0.15
Compiling uuid v1.4.1
Compiling rsdp v2.0.0
Compiling spinning_top v0.2.5
Compiling lazy_static v1.4.0
Compiling fatfs v0.3.6
Compiling zero v0.1.3
Compiling conquer-util v0.3.0
Compiling x86_64 v0.14.10
Compiling xmas-elf v0.8.0
error[E0635]: unknown feature `stdsimd`
--> /home/mateo/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ahash-0.8.3/src/lib.rs:99:42
|
99 | #![cfg_attr(feature = "stdsimd", feature(stdsimd))]
| ^^^^^^^
Compiling conquer-once v0.3.2
For more information about this error, try `rustc --explain E0635`.
error: could not compile `ahash` (lib) due to 1 previous error
warning: build failed, waiting for other jobs to finish...
I've followed BUILD.MD and made sure to install and default to nightly.