Skip to content
New issue

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

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

Already on GitHub? # to your account

Build failure: pkgsLLVM.liburing #320177

Closed
RossComputerGuy opened this issue Jun 16, 2024 · 1 comment
Closed

Build failure: pkgsLLVM.liburing #320177

RossComputerGuy opened this issue Jun 16, 2024 · 1 comment
Labels
0.kind: build failure A package fails to build 6.topic: llvm/clang Issues related to llvmPackages, clangStdenv and related

Comments

@RossComputerGuy
Copy link
Member

Steps To Reproduce

Steps to reproduce the behavior:

  1. build pkgsLLVM.liburing

Build log

build flags: -j80 SHELL=/nix/store/gwqh47kdw6y1gv7mfwy0y00s692bs90f-bash-5.2p26/bin/bash
make[1]: Entering directory '/build/liburing/src'
     CC setup.ol
     CC queue.ol
     CC register.ol
     CC syscall.ol
     CC version.ol
     CC nolibc.ol
     CC ffi.ol
     CC setup.os
     CC queue.os
     CC register.os
     CC syscall.os
     CC version.os
     CC nolibc.os
     CC ffi.os
     AR liburing.a
aarch64-unknown-linux-gnu-ar: warning: creating liburing.a
 RANLIB liburing.a
     CC liburing.so.2.5
     AR liburing-ffi.a
     CC liburing-ffi.so.2.5
aarch64-unknown-linux-gnu-ar: warning: creating liburing-ffi.a
 RANLIB liburing-ffi.a
aarch64-unknown-linux-gnu-ld: error: unable to find library -lgcc
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[1]: *** [Makefile:82: liburing.so.2.5] Error 1
make[1]: *** Waiting for unfinished jobs....
aarch64-unknown-linux-gnu-ld: error: unable to find library -lgcc
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[1]: *** [Makefile:85: liburing-ffi.so.2.5] Error 1
make[1]: Leaving directory '/build/liburing/src'
make: *** [Makefile:10: all] Error 2

Additional context

Discovered via nix build github:RossComputerGuy/nixpkgs-llvm-ws#nixosConfigurations.aarch64-linux.config.system.build.toplevel on the NixOS community aarch64 box.

Notify maintainers

@NickCao @thoughtpolice

Metadata

Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.

 - system: `"aarch64-linux"`
 - host os: `Linux 5.15.158, NixOS, 24.05 (Uakari), 24.05.20240506.6ff120a`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.18.2`
 - nixpkgs: `/run/current-system/nixpkgs`

Add a 👍 reaction to issues you find important.

@RossComputerGuy RossComputerGuy added the 0.kind: build failure A package fails to build label Jun 16, 2024
@NickCao
Copy link
Member

NickCao commented Jun 16, 2024

Should be fixed by #308139 thanks to axboe/liburing#1016

@RossComputerGuy RossComputerGuy added the 6.topic: llvm/clang Issues related to llvmPackages, clangStdenv and related label Jun 16, 2024
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
0.kind: build failure A package fails to build 6.topic: llvm/clang Issues related to llvmPackages, clangStdenv and related
Projects
None yet
Development

No branches or pull requests

2 participants