[Bug 13716] Broken Android NDK x86 builds with TLS due to triggered ASM code

bugzilla at busybox.net bugzilla at busybox.net
Tue May 11 10:15:14 UTC 2021


https://bugs.busybox.net/show_bug.cgi?id=13716

--- Comment #8 from Denys Vlasenko <vda.linux at googlemail.com> ---
(In reply to Chris Renshaw from comment #7)
> While your fix worked great on NDK gcc to compile for Android x86, I've just discovered it unfortunately still breaks compiles with NDK clang which has completely replaced gcc (i.e. gcc is removed) since NDK r18b (Sept 2018).

> [...] ./obj/local/x86/objs/busybox/util-linux/volume_id/volume_id.o ./obj/local/x86/objs/busybox/util-linux/volume_id/xfs.o ./obj/local/x86/libselinux.a ./obj/local/x86/libpcre2.a --build-id --no-undefined -z noexecstack --warn-shared-textrel --fatal-warnings -lc -lm -lstdc++ -lm --start-group -lgcc -lc --end-group "G:/android/android-ndk-r20b/build//../toolchains/llvm/prebuilt/windows/bin/../sysroot/usr/lib/i686-linux-android/21\\crtend_android.o"
G:/android/android-ndk-r20b/build//../toolchains/llvm/prebuilt/windows/bin/../lib/gcc/i686-linux-android/4.9.x/../../../../i686-linux-android/bin\ld:
fatal error: LLVM gold plugin: inline assembly requires more registers than
available at line 2148562311

Which exactly asm statement fails to compile?

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the busybox-cvs mailing list