Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build failure: c3c #377921

Open
3 tasks done
sdillen opened this issue Jan 30, 2025 · 1 comment
Open
3 tasks done

Build failure: c3c #377921

sdillen opened this issue Jan 30, 2025 · 1 comment
Labels
0.kind: build failure A package fails to build

Comments

@sdillen
Copy link

sdillen commented Jan 30, 2025

Nixpkgs version

  • Unstable

Steps to reproduce

nix-shell -p c3c

Can Hydra reproduce this build failure?

No, Hydra cannot reproduce this build failure.

Link to Hydra build job

https://hydra.nixos.org/job/nixos/pr-193600-aarch64-support/nixpkgs.c3c.aarch64-linux

Relevant log output

[ 85%] �[32mBuilding C object CMakeFiles/c3c.dir/src/build/common_build.c.o�[0m
[ 86%] �[32mBuilding C object CMakeFiles/c3c.dir/src/compiler/llvm_codegen.c.o�[0m
[ 88%] �[32mBuilding C object CMakeFiles/c3c.dir/src/compiler/sema_const.c.o�[0m
[ 89%] �[32mBuilding C object CMakeFiles/c3c.dir/src/compiler/llvm_codegen_debug_info.c.o�[0m
[ 90%] �[32mBuilding C object CMakeFiles/c3c.dir/src/compiler/llvm_codegen_expr.c.o�[0m
[ 91%] �[32mBuilding C object CMakeFiles/c3c.dir/src/compiler/llvm_codegen_function.c.o�[0m
[ 92%] �[32mBuilding C object CMakeFiles/c3c.dir/src/compiler/llvm_codegen_instr.c.o�[0m
[ 93%] �[32mBuilding C object CMakeFiles/c3c.dir/src/compiler/llvm_codegen_module.c.o�[0m
[ 95%] �[32mBuilding C object CMakeFiles/c3c.dir/src/compiler/llvm_codegen_type.c.o�[0m
[ 95%] �[32mBuilding C object CMakeFiles/c3c.dir/src/compiler/llvm_codegen_stmt.c.o�[0m
[ 96%] �[32mBuilding C object CMakeFiles/c3c.dir/src/compiler/llvm_codegen_value.c.o�[0m
[ 97%] �[32mBuilding C object CMakeFiles/c3c.dir/src/compiler/llvm_codegen_storeload.c.o�[0m
[ 98%] �[32mBuilding C object CMakeFiles/c3c.dir/src/compiler/llvm_codegen_builtins.c.o�[0m
[100%] �[32m�[1mLinking CXX executable c3c�[0m
ld: warning: direct access in function 'llvm::libDriverMain(llvm::ArrayRef<char const*>)' from file '/nix/store/xln1n349s5idq6ilwvcpabwpyw0mw0ps-llvm-19.1.5-lib/lib/libLLVMLibDriver.a(LibDriver.cpp.o)' to global weak symbol 'void llvm::function_ref<void (llvm::Error)>::callback_fn<void (llvm::Error)>(long, llvm::Error)' from file 'libc3c_wrappers.a(wrapper.cpp.o)' means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings.
ld: warning: direct access in function 'llvm::libDriverMain(llvm::ArrayRef<char const*>)' from file '/nix/store/xln1n349s5idq6ilwvcpabwpyw0mw0ps-llvm-19.1.5-lib/lib/libLLVMLibDriver.a(LibDriver.cpp.o)' to global weak symbol 'void llvm::function_ref<void (llvm::Error)>::callback_fn<void (llvm::Error)>(long, llvm::Error)' from file 'libc3c_wrappers.a(wrapper.cpp.o)' means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings.
ld: warning: direct access in function 'llvm::object::writeImportLibrary(llvm::StringRef, llvm::StringRef, llvm::ArrayRef<llvm::object::COFFShortExport>, llvm::COFF::MachineTypes, bool, llvm::ArrayRef<llvm::object::COFFShortExport>)' from file '/nix/store/xln1n349s5idq6ilwvcpabwpyw0mw0ps-llvm-19.1.5-lib/lib/libLLVMObject.a(COFFImportFile.cpp.o)' to global weak symbol 'void llvm::function_ref<void (llvm::Error)>::callback_fn<void (llvm::Error)>(long, llvm::Error)' from file 'libc3c_wrappers.a(wrapper.cpp.o)' means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings.
ld: warning: direct access in function 'llvm::object::writeImportLibrary(llvm::StringRef, llvm::StringRef, llvm::ArrayRef<llvm::object::COFFShortExport>, llvm::COFF::MachineTypes, bool, llvm::ArrayRef<llvm::object::COFFShortExport>)' from file '/nix/store/xln1n349s5idq6ilwvcpabwpyw0mw0ps-llvm-19.1.5-lib/lib/libLLVMObject.a(COFFImportFile.cpp.o)' to global weak symbol 'void llvm::function_ref<void (llvm::Error)>::callback_fn<void (llvm::Error)>(long, llvm::Error)' from file 'libc3c_wrappers.a(wrapper.cpp.o)' means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings.
�[34m�[1mCopying sanitizer runtime libraries to output directory�[0m
Error copying file "RT_ASAN_DYNAMIC-NOTFOUND" to "/tmp/nix-build-c3c-0.6.6.drv-0/source/build/c3c_rt".
Error copying file "RT_TSAN_DYNAMIC-NOTFOUND" to "/tmp/nix-build-c3c-0.6.6.drv-0/source/build/c3c_rt".
make[2]: *** [CMakeFiles/c3c.dir/build.make:1748: c3c] Error 1
make[2]: *** Deleting file 'c3c'
make[1]: *** [CMakeFiles/Makefile2:276: CMakeFiles/c3c.dir/all] Error 2
make: *** [Makefile:136: all] Error 2

Additional context

No response

System metadata

  • system: "aarch64-darwin"
  • host os: Darwin 24.2.0, macOS 15.2
  • multi-user?: yes
  • sandbox: no
  • version: nix-env (Nix) 2.25.3
  • nixpkgs: /nix/store/53znqsskx13d1080rc625sps9fhkqckj-source

Notify maintainers


Note for maintainers: Please tag this issue in your pull request description. (i.e. Resolves #ISSUE.)

I assert that this issue is relevant for Nixpkgs

Is this issue important to you?

Add a 👍 reaction to issues you find important.

@sdillen sdillen added the 0.kind: build failure A package fails to build label Jan 30, 2025
@sdillen
Copy link
Author

sdillen commented Jan 30, 2025

On 24.05 I was able to build it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0.kind: build failure A package fails to build
Projects
None yet
Development

No branches or pull requests

1 participant