-
-
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
Update to ndk-r23 #7339
Commits on Oct 22, 2021
-
Configuration menu - View commit details
-
Copy full SHA for b582444 - Browse repository at this point
Copy the full SHA b582444View commit details -
ndk-patches: remove TCAFLUSH case from bits/termios_inlines.h
To fix error: In file included from /termux-build/_cache/android-r23-api-24-v0/bin/../sysroot/usr/include/termios.h:154: In file included from /termux-build/_cache/android-r23-api-24-v0/bin/../sysroot/usr/include/android/legacy_termios_inlines.h:43: /termux-build/_cache/android-r23-api-24-v0/bin/../sysroot/usr/include/bits/termios_inlines.h:120:10: error: duplicate case value '0' case TCSAFLUSH: cmd = TCSETSF; break; ^ /termux-build/_cache/android-r23-api-24-v0/bin/../sysroot/usr/include/asm-generic/termbits.h:194:19: note: expanded from macro 'TCSAFLUSH' ^ /termux-build/_cache/android-r23-api-24-v0/bin/../sysroot/usr/include/bits/termios_inlines.h:118:10: note: previous case defined here case TCSANOW: cmd = TCSETS; break; ^ /termux-build/_cache/android-r23-api-24-v0/bin/../sysroot/usr/include/asm-generic/termbits.h:191:17: note: expanded from macro 'TCSANOW' ^
Configuration menu - View commit details
-
Copy full SHA for cae6eaf - Browse repository at this point
Copy the full SHA cae6eafView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9e1e7d9 - Browse repository at this point
Copy the full SHA 9e1e7d9View commit details -
Configuration menu - View commit details
-
Copy full SHA for d9fe2c0 - Browse repository at this point
Copy the full SHA d9fe2c0View commit details -
Configuration menu - View commit details
-
Copy full SHA for c2a309e - Browse repository at this point
Copy the full SHA c2a309eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 38eebcb - Browse repository at this point
Copy the full SHA 38eebcbView commit details -
busybox: fix build with ndk r23
Compiler and tool names need to be updated in Makefile. Also fix some patch offsets while we are at it
Configuration menu - View commit details
-
Copy full SHA for 340bc1d - Browse repository at this point
Copy the full SHA 340bc1dView commit details -
dns2tcp: fix duplicate symbol debug
Error: ld: error: duplicate symbol: debug >>> defined at rr.c >>> rr.o:(debug) >>> defined at main.c >>> main.o:(.bss+0x0) happen when trying to build with android-ndk r22 or r23. More info: https://go-review.googlesource.com/c/go/+/280312
Configuration menu - View commit details
-
Copy full SHA for e811e1d - Browse repository at this point
Copy the full SHA e811e1dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0466545 - Browse repository at this point
Copy the full SHA 0466545View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0671628 - Browse repository at this point
Copy the full SHA 0671628View commit details -
Configuration menu - View commit details
-
Copy full SHA for dba55c6 - Browse repository at this point
Copy the full SHA dba55c6View commit details -
termux_step_setup_toolchain: do not add prefix to pkg-config
And create the pkg-config wrapper inside termux_setup_toolchain.
Configuration menu - View commit details
-
Copy full SHA for f11a4ef - Browse repository at this point
Copy the full SHA f11a4efView commit details -
Configuration menu - View commit details
-
Copy full SHA for f8a22b9 - Browse repository at this point
Copy the full SHA f8a22b9View commit details -
Configuration menu - View commit details
-
Copy full SHA for a54238e - Browse repository at this point
Copy the full SHA a54238eView commit details -
heyu: fix errors about duplicate symbols with ndk >=r22
Errors looks like: aarch64-linux-android-clang -fstack-protector-strong -Oz -Drindex=strrchr -L/data/data/com.termux/files/usr/lib -Wl,-rpath=/data/data/com.termux/files/usr/lib -fopenmp -static-openmp -Wl,--enable-new-dtags -Wl,--as-needed -Wl,-z,relro,-z,now -o heyu date.o erase.o info.o message.o relay.o monitor.o reset.o setclock.o stop.o tty.o x10.o xread.o xwrite.o status.o cm11a.o eeprom.o process.o sun.o cmd.o config.o x10state.o poll.o modules.o cm17a.o xsync.o timing.o cm10a.o tty_aux.o relay_aux.o x10aux.o rfxcom.o digimax.o oregon.o -lm ld: error: duplicate symbol: newsb >>> defined at tty.c >>> tty.o:(newsb) >>> defined at tty_aux.c >>> tty_aux.o:(.bss+0x30) ld: error: duplicate symbol: oldsb >>> defined at tty.c >>> tty.o:(oldsb) >>> defined at tty_aux.c >>> tty_aux.o:(.bss+0x0) ld: error: duplicate symbol: spoolfile >>> defined at relay.c >>> relay.o:(spoolfile) >>> defined at relay_aux.c >>> relay_aux.o:(.bss+0x1C4) clang-12: error: linker command failed with exit code 1 (use -v to see invocation) make[1]: *** [Makefile:467: heyu] Error 1
Configuration menu - View commit details
-
Copy full SHA for d6dd9c6 - Browse repository at this point
Copy the full SHA d6dd9c6View commit details -
Configuration menu - View commit details
-
Copy full SHA for af09dec - Browse repository at this point
Copy the full SHA af09decView commit details -
Configuration menu - View commit details
-
Copy full SHA for e740107 - Browse repository at this point
Copy the full SHA e740107View commit details -
openal-soft: fix build error when qt5 is found on host
If ALSOFT_NO_CONFIG_UTIL it looks for qt5widgets.
Configuration menu - View commit details
-
Copy full SHA for fb198e0 - Browse repository at this point
Copy the full SHA fb198e0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 203f95e - Browse repository at this point
Copy the full SHA 203f95eView commit details -
Configuration menu - View commit details
-
Copy full SHA for d3f5e3c - Browse repository at this point
Copy the full SHA d3f5e3cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 226a219 - Browse repository at this point
Copy the full SHA 226a219View commit details -
Configuration menu - View commit details
-
Copy full SHA for af894cf - Browse repository at this point
Copy the full SHA af894cfView commit details -
lua-language-server: fix hostbuild step
Package still fails to build though: FAILED: build/obj/source_bee/subprocess_posix.obj aarch64-linux-android-clang -MMD -MT build/obj/source_bee/subprocess_posix.obj -MF build/obj/source_bee/subprocess_posix.obj.d -std=c++17 -O2 -Wall -Werror -fvisibility=hidden -I3rd/bee.lua/bee/nonstd -I3rd/bee.lua -DBEE_INLINE -DNDEBUG -fstack-protector-strong -Oz -I/data/data/com.termux/files/usr/include -o build/obj/source_bee/subprocess_posix.obj -c 3rd/bee.lua/bee/subprocess/subprocess_posix.cpp 3rd/bee.lua/bee/subprocess/subprocess_posix.cpp:152:17: error: 'posix_spawnattr_init' is unavailable: introduced in Android 28 int r = posix_spawnattr_init(&spawnattr_); ^ /data/data/com.termux/files/usr/include/spawn.h:56:5: note: 'posix_spawnattr_init' has been explicitly marked unavailable here int posix_spawnattr_init(posix_spawnattr_t* __attr) __INTRODUCED_IN(28); ^
Configuration menu - View commit details
-
Copy full SHA for 058c3b4 - Browse repository at this point
Copy the full SHA 058c3b4View commit details -
libandroid-spawn: NDK 23 actually checks the INTRODUCED_IN() macros, …
…so indicate that this library has been backported to API 24
Configuration menu - View commit details
-
Copy full SHA for 40af3c4 - Browse repository at this point
Copy the full SHA 40af3c4View commit details -
As we have seen [1], i686 seem to explicitly need -fPIC. Pass CPPFLAGS in more places when building aapt, to avoid an error like: ld: error: relocation R_386_PC32 cannot be used against symbol config_free; recompile with -fPIC >>> defined in /tmp/config_utils-70060d.o >>> referenced by config_utils.c >>> /tmp/config_utils-70060d.o:(config_free) [1] #7215 (comment)
Configuration menu - View commit details
-
Copy full SHA for 279897e - Browse repository at this point
Copy the full SHA 279897eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 525161c - Browse repository at this point
Copy the full SHA 525161cView commit details -
Configuration menu - View commit details
-
Copy full SHA for f16993e - Browse repository at this point
Copy the full SHA f16993eView commit details -
libvpx: fix build with ndk-r23
Seems we need to explicitly pass -fPIC for all arches.
Configuration menu - View commit details
-
Copy full SHA for ad86a34 - Browse repository at this point
Copy the full SHA ad86a34View commit details -
Includes fix for -fno-integrated-as flag, which is needed by libx265 build.
Configuration menu - View commit details
-
Copy full SHA for 20d8e40 - Browse repository at this point
Copy the full SHA 20d8e40View commit details