-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
Update to ndk-r23 #7339
Merged
Update to ndk-r23 #7339
Changes from all commits
Commits
Show all changes
29 commits
Select commit
Hold shift + click to select a range
b582444
Update to use android-ndk r23
Grimler91 cae6eaf
ndk-patches: remove TCAFLUSH case from bits/termios_inlines.h
Grimler91 9e1e7d9
termux_step_setup_toolchain: print info about applied ndk-patch
Grimler91 d9fe2c0
ndk-{multilib,sysroot}: update for ndk r23
Grimler91 c2a309e
rust: update from 1.53.0 to 1.54.0
finagolfin 38eebcb
busybox: regenerate config
Grimler91 340bc1d
busybox: fix build with ndk r23
Grimler91 e811e1d
dns2tcp: fix duplicate symbol debug
Grimler91 0466545
rust: update to 1.55.0
Grimler91 0671628
freeimage: remove swab patch
Grimler91 dba55c6
termux_setup_standalone_toolchain: remove one indentation level
Grimler91 f11a4ef
termux_step_setup_toolchain: do not add prefix to pkg-config
Grimler91 f8a22b9
libcap-ng: disable python2 as well
Grimler91 a54238e
libowfat: fix build with ndk-r23
Grimler91 d6dd9c6
heyu: fix errors about duplicate symbols with ndk >=r22
Grimler91 af09dec
libtirpc: fix build with ndk-r23
Grimler91 e740107
libwren: fix build with ndk-r23
Grimler91 fb198e0
openal-soft: fix build error when qt5 is found on host
Grimler91 203f95e
Fix lubicu package
thunder-coding d3f5e3c
libnl: fix build with ndk-r23
Grimler91 226a219
perl: specify AR to fix build with ndk-r23
Grimler91 af894cf
quickjs: fix build with ndk-r23
Grimler91 058c3b4
lua-language-server: fix hostbuild step
Grimler91 40af3c4
libandroid-spawn: NDK 23 actually checks the INTRODUCED_IN() macros, …
finagolfin 279897e
aapt: fix build with ndk-r23
Grimler91 525161c
binutils: fix build with ndk-r23
Grimler91 f16993e
Bump all packages depending on libc++
Grimler91 ad86a34
libvpx: fix build with ndk-r23
Grimler91 20d8e40
ndk: update to r23b
Grimler91 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
--- ./gold/ffsll.c.orig 2020-12-25 18:14:59.949086305 +0000 | ||
+++ ./gold/ffsll.c 2020-12-25 19:16:32.733522188 +0000 | ||
@@ -29,20 +29,3 @@ | ||
/* This file implements ffsll for systems which don't have it. We use | ||
ffsll if possible because gcc supports it as a builtin which will | ||
use a machine instruction if there is one. */ | ||
- | ||
-int | ||
-ffsll (long long arg) | ||
-{ | ||
- unsigned long long i; | ||
- int ret; | ||
- | ||
- if (arg == 0) | ||
- ret = 0; | ||
- else | ||
- { | ||
- ret = 1; | ||
- for (i = (unsigned long long) arg; (i & 1) == 0; i >>= 1) | ||
- ++ret; | ||
- } | ||
- return ret; | ||
-} |
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,23 @@ | ||
diff -uNr busybox-1.31.1/Makefile busybox-1.31.1.mod/Makefile | ||
--- busybox-1.31.1/Makefile 2019-10-25 11:44:52.000000000 +0300 | ||
+++ busybox-1.31.1.mod/Makefile 2019-11-11 22:19:06.004778909 +0200 | ||
@@ -289,7 +289,7 @@ | ||
--- ./Makefile.orig 2021-08-19 16:48:15.223628163 +0200 | ||
+++ ./Makefile 2021-08-19 16:47:29.456942514 +0200 | ||
@@ -289,14 +289,14 @@ | ||
# Make variables (CC, etc...) | ||
|
||
AS = $(CROSS_COMPILE)as | ||
-CC = $(CROSS_COMPILE)gcc | ||
+CC = $(CROSS_COMPILE)clang | ||
LD = $(CC) -nostdlib | ||
CPP = $(CC) -E | ||
AR = $(CROSS_COMPILE)ar | ||
-AR = $(CROSS_COMPILE)ar | ||
-NM = $(CROSS_COMPILE)nm | ||
-STRIP = $(CROSS_COMPILE)strip | ||
-OBJCOPY = $(CROSS_COMPILE)objcopy | ||
-OBJDUMP = $(CROSS_COMPILE)objdump | ||
+AR = llvm-ar | ||
+NM = llvm-nm | ||
+STRIP = llvm-strip | ||
+OBJCOPY = llvm-objcopy | ||
+OBJDUMP = llvm-objdump | ||
PKG_CONFIG ?= $(CROSS_COMPILE)pkg-config | ||
AWK = awk | ||
GENKSYMS = scripts/genksyms/genksyms |
This file contains 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
File renamed without changes.
File renamed without changes.
7 changes: 3 additions & 4 deletions
7
...ybox/0009-networking-ftpd-no-chroot.patch → ...ybox/0008-networking-ftpd-no-chroot.patch
This file contains 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
This file contains 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
File renamed without changes.
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
--- ./networking/tftp.c.orig 2021-01-01 11:52:27.000000000 +0100 | ||
+++ ./networking/tftp.c 2021-08-19 16:49:06.763647575 +0200 | ||
@@ -917,7 +917,12 @@ | ||
G.pw = xgetpwnam(user_opt); | ||
} | ||
if (argv[0]) { | ||
+#ifdef __ANDROID__ | ||
+ // chroot may trigger seccomp and is allowed only for root anyway. | ||
+ xchdir(argv[0]); | ||
+#else | ||
xchroot(argv[0]); | ||
+#endif | ||
} | ||
|
||
result = recv_from_to(STDIN_FILENO, |
This file was deleted.
Oops, something went wrong.
This file contains 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
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This header defines
FILE
, rather than keeping it an opaque struct, but we're not including this header anymore, following the NDK. This causes problems if some package tries to takesizeof(FILE)
, as I ran into with lldb:You can work around it by including
<bits/struct_file.h>
in any files that needFILE
to be defined.