Repository navigation
bash: fix android cross-compile - #192630
Merged
Merged
Conversation
cidkidnix
force-pushed
the
fix-bash-android
branch
from
September 23, 2022 14:54
4a4dfd7 to
2b6bf95
Compare
Ericson2314
reviewed
Sep 23, 2022
Co-authored-by: John Ericson <[email protected]>
|
|
||
| hardeningDisable = [ "format" ]; | ||
| hardeningDisable = [ "format" ] | ||
| # https://android.googlesource.com/platform/bionic/+/1342527b5791a53bf441322ab9adf41c8e060a1e%5E2..1342527b5791a53bf441322ab9adf41c8e060a1e/ |
Member
There was a problem hiding this comment.
What is this link trying to tell me?
Contributor
Author
There was a problem hiding this comment.
Should be fixed in the newer commit
Ericson2314
reviewed
Sep 26, 2022
| hardeningDisable = [ "format" ]; | ||
| hardeningDisable = [ "format" ] | ||
| # bionic libc is super weird and has issues with fortify outside of its own libc, check this comment: | ||
| # https://github.com/NixOS/nixpkgs/pull/192630#discussion_r978985593 |
Member
There was a problem hiding this comment.
I think it would be good to include libc/include/sys/cdefs.h and a line number from the github comment directly here. That allows one to find the underlying comment in bionic without github.
2 of 13 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
Fix bash compilation on android-prebuilt by disabling the "fortify" hardening
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