Skip to content
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

Unblock android builds for x86_64 #4384

Merged
merged 1 commit into from
Mar 24, 2024
Merged

Conversation

giridharprasath
Copy link
Contributor

Your checklist for this pull request

  • I've read the guidelines for contributing to this repository
  • I made sure to follow the project's coding style
  • I've documented or updated the documentation of every function and struct this PR changes. If not so I've explained why.
  • I've added tests that prove my fix is effective or that my feature works (if possible)
  • I've updated the rizin book with the relevant information (if needed)

Detailed description

 FAILED: librz/debug/librz_debug.a.p/p_native_linux_linux_debug.c.o 
/usr/local/lib/android/sdk/ndk/25.2.9519653/toolchains/llvm/prebuilt/linux-x86_64/bin/x86_64-linux-android33-clang -Ilibrz/debug/librz_debug.a.p -I. -I.. -Ilibrz -I../librz -Ilibrz/include -I../librz/include -I../librz/bin/format/elf -I../librz/bin/format/dmp -I../librz/bin/format/mdmp -I../librz/bin/format/pe -I../subprojects/rzgdb/include -I../subprojects/rzgdb/include/gdbclient -I../subprojects/rzgdb/include/gdbserver -Isubprojects/rzwinkd -I../subprojects/rzwinkd -Ilibrz/util/sdb/src -I../librz/util/sdb/src -I../librz/bin/format -I../librz/arch/isa -I../librz/arch/isa_gnu -Ilibrz/arch -I../librz/arch -I../librz/type/parser -I../subprojects/rzqnx/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -O3 -DRZ_PLUGIN_INCORE=1 -DSUPPORTS_PCRE2_JIT -D_GNU_SOURCE --std=gnu99 -Werror=sizeof-pointer-memaccess -fPIC -MD -MQ librz/debug/librz_debug.a.p/p_native_linux_linux_debug.c.o -MF librz/debug/librz_debug.a.p/p_native_linux_linux_debug.c.o.d -o librz/debug/librz_debug.a.p/p_native_linux_linux_debug.c.o -c ../librz/debug/p/native/linux/linux_debug.c
../librz/debug/p/native/linux/linux_debug.c:899:15: error: no member named 'gs_base' in 'struct pt_regs'
                        tls = regs.gs_base;
                              ~~~~ ^
../librz/debug/p/native/linux/linux_debug.c:973:17: error: no member named 'gs_base' in 'struct pt_regs'
                                        tls = regs.gs_base;
                                              ~~~~ ^
../librz/debug/p/native/linux/linux_debug.c:1053:9: warning: unused variable 'j' [-Wunused-variable]
        int i, j;
               ^
../librz/debug/p/native/linux/linux_debug.c:1179:2: warning: Android X86 does not support DRX [-W#warnings]
#warning Android X86 does not support DRX
 ^
2 warnings and 2 errors generated.

...

Test plan

...

Closing issues

...

@Rot127
Copy link
Member

Rot127 commented Mar 24, 2024

Todo when merged: Delete dist-tcache-fixes

@XVilka XVilka merged commit 39278ab into rizinorg:dev Mar 24, 2024
47 of 50 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants