NixOS / nixpkgs

Nix Packages collection & NixOS
MIT License
17.31k stars 13.54k forks source link

Build failure: pkgsLLVM.jemalloc #315247

Closed RossComputerGuy closed 3 months ago

RossComputerGuy commented 3 months ago

Steps To Reproduce

Steps to reproduce the behavior:

  1. build pkgsLLVM.jemalloc

Build log

>>> referenced by lib/libjemalloc.so
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [Makefile:534: test/integration/xallocx] Error 1
make: *** [Makefile:534: test/integration/slab_sizes] Error 1
aarch64-unknown-linux-gnu-ld: error: undefined reference due to --no-allow-shlib-undefined: std::__1::mutex::lock()
>>> referenced by lib/libjemalloc.so

aarch64-unknown-linux-gnu-ld: error: undefined reference due to --no-allow-shlib-undefined: std::set_new_handler(void (*)())
>>> referenced by lib/libjemalloc.so

aarch64-unknown-linux-gnu-ld: error: undefined reference due to --no-allow-shlib-undefined: std::__1::mutex::unlock()
>>> referenced by lib/libjemalloc.so

aarch64-unknown-linux-gnu-ld: error: undefined reference due to --no-allow-shlib-undefined: __cxa_begin_catch
>>> referenced by lib/libjemalloc.so

aarch64-unknown-linux-gnu-ld: error: undefined reference due to --no-allow-shlib-undefined: __cxa_end_catch
>>> referenced by lib/libjemalloc.so

aarch64-unknown-linux-gnu-ld: error: undefined reference due to --no-allow-shlib-undefined: std::__throw_bad_alloc()
>>> referenced by lib/libjemalloc.so

aarch64-unknown-linux-gnu-ld: error: undefined reference due to --no-allow-shlib-undefined: std::terminate()
>>> referenced by lib/libjemalloc.so

aarch64-unknown-linux-gnu-ld: error: undefined reference due to --no-allow-shlib-undefined: typeinfo for std::bad_alloc
>>> referenced by lib/libjemalloc.so

aarch64-unknown-linux-gnu-ld: error: undefined reference due to --no-allow-shlib-undefined: __gxx_personality_v0
>>> referenced by lib/libjemalloc.so
make: *** [Makefile:534: test/integration/sdallocx] Error 1
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [Makefile:534: test/integration/thread_arena] Error 1
make: *** [Makefile:534: test/integration/thread_tcache_enabled] Error 1
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [Makefile:534: test/integration/overflow] Error 1
make: *** [Makefile:534: test/integration/rallocx] Error 1

Additional context

Add any other context about the problem here.

Notify maintainers

@yu-re-ka

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 :+1: reaction to issues you find important.

yu-re-ka commented 3 months ago

Hi, I am not a maintainer of this package. Thank you.

28 May 2024 06:43:16 Tristan Ross @.***>:

Steps To Reproduce

Steps to reproduce the behavior:

  1. build pkgsLLVM.jemalloc

Build log

*>>> referenced by lib/libjemalloc.so clang: error: linker command failed with exit code 1 (use -v to see invocation) make: [Makefile:534: test/integration/xallocx] Error 1 make: [Makefile:534: test/integration/slab_sizes] Error 1 aarch64-unknown-linux-gnu-ld: error: undefined reference due to --no-allow-shlib-undefined: std::__1::mutex::lock()

referenced by lib/libjemalloc.so

aarch64-unknown-linux-gnu-ld: error: undefined reference due to --no-allow-shlib-undefined: std::set_new_handler(void (*)())

referenced by lib/libjemalloc.so

aarch64-unknown-linux-gnu-ld: error: undefined reference due to --no-allow-shlib-undefined: std::__1::mutex::unlock()

referenced by lib/libjemalloc.so

aarch64-unknown-linux-gnu-ld: error: undefined reference due to --no-allow-shlib-undefined: __cxa_begin_catch

referenced by lib/libjemalloc.so

aarch64-unknown-linux-gnu-ld: error: undefined reference due to --no-allow-shlib-undefined: __cxa_end_catch

referenced by lib/libjemalloc.so

aarch64-unknown-linux-gnu-ld: error: undefined reference due to --no-allow-shlib-undefined: std::__throw_bad_alloc()

referenced by lib/libjemalloc.so

aarch64-unknown-linux-gnu-ld: error: undefined reference due to --no-allow-shlib-undefined: std::terminate()

referenced by lib/libjemalloc.so

aarch64-unknown-linux-gnu-ld: error: undefined reference due to --no-allow-shlib-undefined: typeinfo for std::bad_alloc

referenced by lib/libjemalloc.so

aarch64-unknown-linux-gnu-ld: error: undefined reference due to --no-allow-shlib-undefined: __gxx_personality_v0

referenced by lib/libjemalloc.so make: [Makefile:534: test/integration/sdallocx] Error 1 clang: error: linker command failed with exit code 1 (use -v to see invocation) make: [Makefile:534: test/integration/thread_arena] Error 1 make: [Makefile:534: test/integration/thread_tcache_enabled] Error 1 clang: error: linker command failed with exit code 1 (use -v to see invocation) make: [Makefile:534: test/integration/overflow] Error 1 make: ** [Makefile:534: test/integration/rallocx] Error 1 Additional context

Add any other context about the problem here.

Notify maintainers

@yu-re-ka[https://github.com/yu-re-ka]

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[https://github.blog/2016-03-10-add-reactions-to-pull-requests-issues-and-comments/] to issues you find important[https://github.com/NixOS/nixpkgs/issues?q=is%3Aissue+is%3Aopen+sort%3Areactions-%2B1-desc].

— Reply to this email directly, view it on GitHub[https://github.com/NixOS/nixpkgs/issues/315247], or unsubscribe[https://github.com/notifications/unsubscribe-auth/AURNSZJRBNWX4ZX54YE4WHDZEQDOFAVCNFSM6AAAAABIMEIMKWVHI2DSMVQWIX3LMV43ASLTON2WKOZSGMZDAMJQHEZDCOA]. You are receiving this because you were mentioned. [Tracking image][https://github.com/notifications/beacon/AURNSZONT7KWOJTJRNPW6HTZEQDOFA5CNFSM6AAAAABIMEIMKWWGG33NNVSW45C7OR4XAZNFJFZXG5LFVJRW63LNMVXHIX3JMTHIUSQOUI.gif]

RossComputerGuy commented 3 months ago

Hi, I am not a maintainer of this package. Thank you.

Template says to check blame if no maintainers are mentioned in the package. @a-n-n-a-l-e-e is the last one to do it but not pingable (left GitHub?) so that leaves you.