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

bugzilla at busybox.net bugzilla at busybox.net
Fri May 7 14:32:29 UTC 2021


Chris Renshaw <osm0sis at outlook.com> changed:

           What    |Removed                     |Added
             Status|RESOLVED                    |REOPENED
         Resolution|FIXED                       |---

--- Comment #7 from Chris Renshaw <osm0sis at outlook.com> ---
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/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
fatal error: LLVM gold plugin: inline assembly requires more registers than
available at line 2148562311
clang++: error: linker command failed with exit code 1

Avoiding the problematic ASM code as I had previously done still does
successfully allow it to compile, so despite the vague linker error I have
confirmed it's the same issue.

Any way to reduce register pressure further so clang-built busybox can have
this corrected as well?

Thanks again for your time looking into this and everything!

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

More information about the busybox-cvs mailing list