llvmPackages: use libcxxrt on FreeBSD#211230
Merged
alyssais merged 3 commits intoNixOS:masterfrom Jan 24, 2023
Merged
Conversation
Member
Author
|
Eval is failing because of LLVMs 5 and 6 again. >:( |
33b3365 to
2c85dbe
Compare
Ericson2314
reviewed
Jan 19, 2023
Member
Author
|
Huh, I guess this doesn't really need to target staging. |
99edc9e to
4b83d46
Compare
alyssais
added a commit
to alyssais/nixpkgs
that referenced
this pull request
Jan 22, 2023
Builds fine for NetBSD, will build for FreeBSD once NixOS#211230 is merged, and the README mentions some amount of Windows support.
13 tasks
The exception for FreeBSD was added in 0afe9d1 ("freebsd packages: Init at 13.1"), but it seems to have been erroneous, as e.g. ncurses fails to build: x86_64-unknown-freebsd13-clang++ -o demo ../obj_s/demo.o -L../lib -lncurses++w -L../lib -lformw -lmenuw -lpanelw -lncursesw -lutil -DHAVE_CONFIG_H -DBUILDING_NCURSES_CXX -I../c++ -I. -I../include -DNDEBUG -O2 -fPIC -DPIC x86_64-unknown-freebsd13-ld: error: undefined symbol: _Unwind_Resume >>> referenced by demo.cc >>> ../obj_s/demo.o:(TestApplication::run()) >>> referenced by demo.cc >>> ../obj_s/demo.o:(_GLOBAL__sub_I_demo.cc) >>> referenced by demo.cc >>> ../obj_s/demo.o:(NCursesUserItem<UserData>::NCursesUserItem(char const*, char const*, UserData const*)) >>> referenced 46 more times clang-12: error: linker command failed with exit code 1 (use -v to see invocation) This is fixed by undoing the change, adding -lunwind on FreeBSD.
Member
Author
|
I've split the |
Ericson2314
reviewed
Jan 24, 2023
FreeBSD doesn't use LLVM's cxxabi implementation, for backwards compatibility reasons. Software expects the libcxxrt API when building on FreeBSD. This fixes the build of pkgsCross.x86_64-freebsd.boost.
Member
Author
|
Updated to be less stringy based on a suggestion from @Ericson2314 on Matrix. We now pass |
Ericson2314
approved these changes
Jan 24, 2023
92 tasks
rrbutani
added a commit
to rrbutani/nixpkgs
that referenced
this pull request
Jan 27, 2023
See the comments here for context: NixOS#194634 (comment) Co-authored-by: Weijia Wang <[email protected]>
github-actions bot
pushed a commit
that referenced
this pull request
Jan 28, 2023
See the comments here for context: #194634 (comment) Co-authored-by: Weijia Wang <[email protected]> (cherry picked from commit 4fabcf4)
K900
pushed a commit
that referenced
this pull request
Jan 28, 2023
See the comments here for context: #194634 (comment) Co-authored-by: Weijia Wang <[email protected]>
xanderio
pushed a commit
to xanderio/nixpkgs
that referenced
this pull request
Feb 13, 2023
See the comments here for context: NixOS#194634 (comment) Co-authored-by: Weijia Wang <[email protected]>
RaitoBezarius
pushed a commit
that referenced
this pull request
Mar 26, 2023
See the comments here for context: #194634 (comment) Co-authored-by: Weijia Wang <[email protected]>
RaitoBezarius
pushed a commit
that referenced
this pull request
Apr 5, 2023
Port of 4fabcf4 ("llvmPackages_15: apply #211230 to llvmPackages_15"). See the comments here for context: #194634 (comment) Co-authored-by: Weijia Wang <[email protected]>
rrbutani
added a commit
to rrbutani/nixpkgs
that referenced
this pull request
Apr 5, 2023
Port of 4fabcf4 ("llvmPackages_15: apply NixOS#211230 to llvmPackages_15"). See the comments here for context: NixOS#194634 (comment) Co-authored-by: Weijia Wang <[email protected]>
14 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description of changes
FreeBSD doesn't use LLVM's cxxabi implementation, for backwards compatibility reasons. Software expects the libcxxrt API when building on FreeBSD. This fixes the build of
pkgsCross.x86_64-freebsd.boost.Things done
sandbox = trueset innix.conf? (See Nix manual)nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/)nixos/doc/manual/md-to-db.shto update generated release notes