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

libunwind: fails to bootstrap with musl #207830

Closed
kampka opened this issue Dec 26, 2022 · 0 comments
Closed

libunwind: fails to bootstrap with musl #207830

kampka opened this issue Dec 26, 2022 · 0 comments
Labels
0.kind: build failure 6.topic: llvm/clang Issues related to llvmPackages, clangStdenv and related 6.topic: musl Running or building packages with musl libc

Comments

@kampka
Copy link
Contributor

kampka commented Dec 26, 2022

I am probably phrasing this poorly, but when trying to bootstrap an LLVM package set with musl, libunwind fails to build (see below for details).

This used to work with older versions of nixpkgs, eg. rev 942da65 builds fine.
Sadly, the build is broken in typisal nixpkgs ways like infinite recursion errors and the like that are (probably) unrelated but make this issue hard and time-consuming to bisect with brute force, so my hope is that someone more knowledgeable will be able to pinpoint this quicket.

Steps To Reproduce

Steps to reproduce the behavior:

nix-build -E 'with import ./. {overlays = [(final: prev: { llvmPackages = prev.llvmPackages_14; })]; }; pkgs.pkgsMusl.pkgsLLVM.libunwind'

Build log

Make Error at src/CMakeLists.txt:99 (message):
  Compiler doesn't support generation of unwind tables if exception support
  is disabled.  Building libunwind DSO with runtime dependency on C++ ABI
  library is not supported.

For the full build log, see https://gist.github.com/kampka/e4c0e1e3797647ed0061d4f392197e15

Notify maintainers

@primeos @lovek323 @7c6f434c @dtzWill @Ericson2314 @sternenseemann

( picked the list from #171047 , hope thats OK)

@alyssais alyssais added the 6.topic: musl Running or building packages with musl libc label Feb 1, 2023
@kampka kampka closed this as completed Apr 24, 2024
@rrbutani rrbutani added the 6.topic: llvm/clang Issues related to llvmPackages, clangStdenv and related label May 27, 2024
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 6.topic: musl Running or building packages with musl libc
Projects
None yet
Development

No branches or pull requests

3 participants