If dev-lang/rust-1.79.0 is compiled with "wasm", it fails with the error: failed to run custom build command for `compiler_builtins v0.1.109` (The command itself is a bit long, so look for yourself in the attached build.log)
You have failed to attach the build log. Please also provide emerge --info.
Created attachment 898313 [details] the build.log compressed using xz
Created attachment 898314 [details] Output of `emerge --info =dev-lang/rust-1.79.0`
Created attachment 898315 [details] Output of `emerge -pqv =dev-lang/rust-1.79.0`
(In reply to Mike Gilbert from comment #1) > You have failed to attach the build log. Please also provide emerge --info. Yeah, sorry about that. I guess I am either stupid or it didn't upload because it was larger than the upload limit.
Created attachment 899466 [details] build log Bug happens for me too: [compiler_builtins 0.1.109] CFLAGS_wasm32_unknown_unknown = Some("-ffunction-sections -fdata-sections -fPIC --target=wasm32-unknown-unknown -pipe -mno-pku -mn o-sgx -mrtm --param=l1-cache-line-size=64 --param=l1-cache-size=32 --param=l2-cache-size=19712 -fdebug-prefix-map=/var/tmp/portage/dev-lang/rust-1.79.0/work/r ustc-1.79.0-src=/rustc/129f3b9964af4d4a709d1383930ade12dfe7c081") [compiler_builtins 0.1.109] cargo:warning=clang: error: unsupported option '-mno-pku' for target 'wasm32-unknown-unknown' [compiler_builtins 0.1.109] cargo:warning=clang: error: unsupported option '-mno-sgx' for target 'wasm32-unknown-unknown' [compiler_builtins 0.1.109] cargo:warning=clang: error: unsupported option '-mrtm' for target 'wasm32-unknown-unknown' [compiler_builtins 0.1.109] cargo:warning=clang: warning: argument unused during compilation: '--param=l1-cache-line-size=64' [-Wunused-command-line-argument] [compiler_builtins 0.1.109] cargo:warning=clang: warning: argument unused during compilation: '--param=l1-cache-size=32' [-Wunused-command-line-argument] [compiler_builtins 0.1.109] cargo:warning=clang: warning: argument unused during compilation: '--param=l2-cache-size=19712' [-Wunused-command-line-argument] [compiler_builtins 0.1.109] [compiler_builtins 0.1.109] [compiler_builtins 0.1.109] error occurred: Command "clang" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "--target=wasm32-unknown-unknown" "-ffunctio n-sections" "-fdata-sections" "-fPIC" "--target=wasm32-unknown-unknown" "-pipe" "-mno-pku" "-mno-sgx" "-mrtm" "--param=l1-cache-line-size=64" "--param=l1-cach e-size=32" "--param=l2-cache-size=19712" "-fdebug-prefix-map=/var/tmp/portage/dev-lang/rust-1.79.0/work/rustc-1.79.0-src=/rustc/129f3b9964af4d4a709d1383930ade 12dfe7c081" "-fno-builtin" "-fvisibility=hidden" "-ffreestanding" "-DVISIBILITY_HIDDEN" "-o" "/var/tmp/portage/dev-lang/rust-1.79.0/work/rustc-1.79.0-src/buil d/x86_64-unknown-linux-gnu/stage2-std/wasm32-unknown-unknown/release/build/compiler_builtins-ef2902352451a8ee/out/8926cfe43f081305-absvdi2.o" "-c" "/var/tmp/p ortage/dev-lang/rust-1.79.0/work/rustc-1.79.0-src/src/llvm-project/compiler-rt/lib/builtins/absvdi2.c" with args clang did not execute successfully (status co de exit status: 1). [compiler_builtins 0.1.109] [compiler_builtins 0.1.109] The following warnings were emitted during compilation: warning: compiler_builtins@0.1.109: clang: error: unsupported option '-mno-pku' for target 'wasm32-unknown-unknown' warning: compiler_builtins@0.1.109: clang: error: unsupported option '-mno-sgx' for target 'wasm32-unknown-unknown' warning: compiler_builtins@0.1.109: clang: error: unsupported option '-mrtm' for target 'wasm32-unknown-unknown' warning: compiler_builtins@0.1.109: clang: warning: argument unused during compilation: '--param=l1-cache-line-size=64' [-Wunused-command-line-argument] warning: compiler_builtins@0.1.109: clang: warning: argument unused during compilation: '--param=l1-cache-size=32' [-Wunused-command-line-argument] warning: compiler_builtins@0.1.109: clang: warning: argument unused during compilation: '--param=l2-cache-size=19712' [-Wunused-command-line-argument] error: failed to run custom build command for `compiler_builtins v0.1.109` note: To improve backtraces for build dependencies, set the CARGO_PROFILE_RELEASE_BUILD_OVERRIDE_DEBUG=true environment variable to enable debug information g eneration.