venomlinux / ports

Contain all ports used by scratchpkg
https://venomlinux.org/
77 stars 48 forks source link

Latest Rust will not compile #1676

Closed Pelle-B closed 2 years ago

Pelle-B commented 2 years ago

Version 1.63.0-1 The last of the output in xterm: `CXX_x86_64-unknown-linux-gnu = Some("c++") CXXFLAGS_x86_64-unknown-linux-gnu = Some("-ffunction-sections -fdata-sections -fPIC -m64 -march=x86-64 -pipe -fomit-frame-pointer") CRATE_CC_NO_DEFAULTS = None CARGO_CFG_TARGET_FEATURE = Some("fxsr,llvm14-builtins-abi,sse,sse2") running: "c++" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-march=x86-64" "-pipe" "-fomit-frame-pointer" "-I/usr/include" "-std=c++14" "-fno-exceptions" "-D_GNU_SOURCE" "-DSTDC_CONSTANT_MACROS" "-DSTDC_FORMAT_MACROS" "-D__STDC_LIMIT_MACROS" "-DLLVM_COMPONENT_AMDGPU" "-DLLVM_COMPONENT_ASMPARSER" "-DLLVM_COMPONENT_BITREADER" "-DLLVM_COMPONENT_BITWRITER" "-DLLVM_COMPONENT_BPF" "-DLLVM_COMPONENT_COVERAGE" "-DLLVM_COMPONENT_INSTRUMENTATION" "-DLLVM_COMPONENT_IPO" "-DLLVM_COMPONENT_LINKER" "-DLLVM_COMPONENT_LTO" "-DLLVM_COMPONENT_NVPTX" "-DLLVM_COMPONENT_WEBASSEMBLY" "-DLLVM_COMPONENT_X86" "-DNDEBUG" "-o" "/var/cache/scratchpkg/work/rust/src/rustc-1.63.0-src/build/x86_64-unknown-linux-gnu/stage0-rustc/x86_64-unknown-linux-gnu/release/build/rustc_llvm-5137e0cac6014676/out/llvm-wrapper/PassWrapper.o" "-c" "llvm-wrapper/PassWrapper.cpp" cargo:warning=llvm-wrapper/PassWrapper.cpp: In lambda function: cargo:warning=llvm-wrapper/PassWrapper.cpp:988:43: error: 'ASanGlobalsMetadataAnalysis' was not declared in this scope cargo:warning= 988 | MPM.addPass(RequireAnalysisPass<ASanGlobalsMetadataAnalysis, Module>()); cargo:warning= | ^~~~~~~ cargo:warning=llvm-wrapper/PassWrapper.cpp:988:78: error: template argument 1 is invalid cargo:warning= 988 | MPM.addPass(RequireAnalysisPass<ASanGlobalsMetadataAnalysis, Module>()); cargo:warning= | ^ exit status: 1

--- stderr

error occurred: Command "c++" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-march=x86-64" "-pipe" "-fomit-frame-pointer" "-I/usr/include" "-std=c++14" "-fno-exceptions" "-D_GNU_SOURCE" "-DSTDC_CONSTANT_MACROS" "-DSTDC_FORMAT_MACROS" "-D__STDC_LIMIT_MACROS" "-DLLVM_COMPONENT_AMDGPU" "-DLLVM_COMPONENT_ASMPARSER" "-DLLVM_COMPONENT_BITREADER" "-DLLVM_COMPONENT_BITWRITER" "-DLLVM_COMPONENT_BPF" "-DLLVM_COMPONENT_COVERAGE" "-DLLVM_COMPONENT_INSTRUMENTATION" "-DLLVM_COMPONENT_IPO" "-DLLVM_COMPONENT_LINKER" "-DLLVM_COMPONENT_LTO" "-DLLVM_COMPONENT_NVPTX" "-DLLVM_COMPONENT_WEBASSEMBLY" "-DLLVM_COMPONENT_X86" "-DNDEBUG" "-o" "/var/cache/scratchpkg/work/rust/src/rustc-1.63.0-src/build/x86_64-unknown-linux-gnu/stage0-rustc/x86_64-unknown-linux-gnu/release/build/rustc_llvm-5137e0cac6014676/out/llvm-wrapper/PassWrapper.o" "-c" "llvm-wrapper/PassWrapper.cpp" with args "c++" did not execute successfully (status code exit status: 1).

warning: build failed, waiting for other jobs to finish... Build completed unsuccessfully in 0:04:01 ==> ERROR: Build failed: rust-1.63.0-1 `

Ouaille-Aime-Scier commented 2 years ago

Here is my build.log. build.log

Pelle-B commented 2 years ago

Here is my build.log.

A quick look makes me think it is the same as mine (if I can find it).

heitbaum commented 2 years ago

See

lumarogit commented 2 years ago

Hi, this version build fine on my system. Try again with the updated version 1.64.0.

Pelle-B commented 2 years ago

I close this issue as a new version is out.