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: pkgsLLVM.libunwind #313287

Open
RossComputerGuy opened this issue May 21, 2024 · 1 comment
Open

Build failure: pkgsLLVM.libunwind #313287

RossComputerGuy opened this issue May 21, 2024 · 1 comment
Labels
0.kind: build failure 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.libunwind

Build log

make[2]: Entering directory '/build/source/src'
  CC       os-linux.lo
  CC       dl-iterate-phdr.lo
  CC       mi/init.lo
  CC       mi/flush_cache.lo
  CC       mi/mempool.lo
  CC       mi/strerror.lo
  CC       aarch64/is_fpreg.lo
  CC       aarch64/regname.lo
  CC       mi/backtrace.lo
  CC       mi/dyn-cancel.lo
  CC       mi/dyn-info-list.lo
  CC       mi/dyn-register.lo
  CC       mi/Laddress_validator.lo
  CC       mi/Ldestroy_addr_space.lo
  CC       mi/Ldyn-extract.lo
  CC       mi/Lfind_dynamic_proc_info.lo
  CC       mi/Lget_accessors.lo
  CC       mi/Lget_fpreg.lo
  CC       mi/Lset_fpreg.lo
  CC       mi/Lget_proc_info_by_ip.lo
  CC       mi/Lget_proc_name.lo
  CC       mi/Lget_reg.lo
  CC       mi/Lput_dynamic_unwind_info.lo
  CC       mi/Lset_cache_size.lo
  CC       mi/Lset_caching_policy.lo
  CC       mi/Lset_iterate_phdr_function.lo
  CC       mi/Lset_reg.lo
  CC       mi/Lget_elf_filename.lo
  CC       aarch64/Los-linux.lo
In file included from aarch64/Los-linux.c:4:
aarch64/Gos-linux.c:42:9: error: inline assembly requires more registers than available
   42 |         "ldr x0,  %[x0]\n\t"
      |         ^
aarch64/Gos-linux.c:42:9: error: inline assembly requires more registers than available
aarch64/Gos-linux.c:42:9: error: inline assembly requires more registers than available
aarch64/Gos-linux.c:42:9: error: inline assembly requires more registers than available
aarch64/Gos-linux.c:42:9: error: inline assembly requires more registers than available
aarch64/Gos-linux.c:42:9: error: inline assembly requires more registers than available
aarch64/Gos-linux.c:42:9: error: inline assembly requires more registers than available
aarch64/Gos-linux.c:42:9: error: inline assembly requires more registers than available
aarch64/Gos-linux.c:42:9: error: inline assembly requires more registers than available
aarch64/Gos-linux.c:42:9: error: inline assembly requires more registers than available
10 errors generated.
make[2]: *** [Makefile:4801: aarch64/Los-linux.lo] Error 1
make[2]: Leaving directory '/build/source/src'
make[1]: *** [Makefile:2914: all] Error 2
make[1]: Leaving directory '/build/source/src'
make: *** [Makefile:619: all-recursive] Error 1

Additional context

On aarch64-linux, nixpkgs master cherry-picked 6234b3e

Notify maintainers

@orivej

Metadata

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

 - system: `"aarch64-linux"`
 - host os: `Linux 5.15.156, NixOS, 24.05 (Uakari), 24.05.20240418.bc279bb`
 - 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.

@rrbutani rrbutani added the 6.topic: llvm/clang Issues related to llvmPackages, clangStdenv and related label May 28, 2024
@pwaller
Copy link
Contributor

pwaller commented Jun 16, 2024

Looks like libunwind addressed this on main Jun 11th:

libunwind/libunwind@55448f6

And there is a backport PR to the 1.8 series: libunwind/libunwind#770

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0.kind: build failure 6.topic: llvm/clang Issues related to llvmPackages, clangStdenv and related
Projects
None yet
Development

No branches or pull requests

3 participants