Comments (5)
Looks like a problem with android static builds. You can try disabling the lua and xtensa plugins and see what happens
from radare2.
in ~/radare2/dist/plugins-cfg:
move plugins.def.cfg to plugins.def.cfg_
copy plugins.android.cfg to plugins.def.cfg
build move forward a little bit
receive:
CC_AR libr_core.a
LD libr_core.so
aarch64-linux-android-ar: warning: creating libr_core.a
DIR main
[main 328] CC main.c
[main 329] CC ravc2.c
[main 330] CC rax2.c
[main 331] CC r2pm.c
[main 332] CC rasm2.c
[main 333] CC ragg2.c
[main 334] CC rarun2.c
[main 335] CC rabin2.c
[main 336] CC rasign2.c
[main 337] CC rafind2.c
[main 338] CC r2agent.c
[main 339] CC radiff2.c
[main 340] CC radare2.c
[main 341] CC rahash2.c
CC_AR libr_main.a
LD libr_main.so
aarch64-linux-android-ar: warning: creating libr_main.a
aarch64-linux-android-ar: warning: creating libr.a
[r2r 342] CC r2r.c
clang170: warning: argument unused during compilation: '-pie' [-Wunused-command-line-argument]
ld.lld: error: undefined symbol: log2
>>> referenced by entropy.c:24 (hash/entropy.c:24)
>>> libr.o:(r_hash_entropy) in archive ../../libr/libr.a
>>> referenced by entropy.c:31 (hash/entropy.c:31)
>>> libr.o:(r_hash_entropy_fraction) in archive ../../libr/libr.a
>>> referenced by zip_utf-8.c
>>> libr.o:(js_math_funcs) in archive ../../libr/libr.a
ld.lld: error: undefined symbol: feclearexcept
>>> referenced by esil.c:3281
>>> libr.o:(esil_float_add) in archive ../../libr/libr.a
>>> referenced by esil.c:3311
>>> libr.o:(esil_float_sub) in archive ../../libr/libr.a
>>> referenced by esil.c:3341
>>> libr.o:(esil_float_mul) in archive ../../libr/libr.a
>>> referenced 1 more times
ld.lld: error: undefined symbol: fetestexcept
>>> referenced by esil.c:3284
>>> libr.o:(esil_float_add) in archive ../../libr/libr.a
>>> referenced by esil.c:3314
>>> libr.o:(esil_float_sub) in archive ../../libr/libr.a
>>> referenced by esil.c:3344
>>> libr.o:(esil_float_mul) in archive ../../libr/libr.a
>>> referenced 1 more times
ld.lld: error: undefined symbol: pow
>>> referenced by quickjs.c:10271 (/home/docd/radare2/libr/../shlr/qjs/src/quickjs.c:10271)
>>> libr.o:(js_strtod) in archive ../../libr/libr.a
>>> referenced by quickjs.c:12220 (/home/docd/radare2/libr/../shlr/qjs/src/quickjs.c:12220)
>>> libr.o:(js_pow) in archive ../../libr/libr.a
>>> referenced by unum.c:227
>>> libr.o:(r_num_from_ternary) in archive ../../libr/libr.a
ld.lld: error: undefined symbol: fesetround
>>> referenced by quickjs.c:11620 (/home/docd/radare2/libr/../shlr/qjs/src/quickjs.c:11620)
>>> libr.o:(js_fcvt1) in archive ../../libr/libr.a
>>> referenced by quickjs.c:11623 (/home/docd/radare2/libr/../shlr/qjs/src/quickjs.c:11623)
>>> libr.o:(js_fcvt1) in archive ../../libr/libr.a
>>> referenced by quickjs.c:11536 (/home/docd/radare2/libr/../shlr/qjs/src/quickjs.c:11536)
>>> libr.o:(js_ecvt1) in archive ../../libr/libr.a
>>> referenced 1 more times
ld.lld: error: undefined symbol: fmod
>>> referenced by quickjs.c:13649 (/home/docd/radare2/libr/../shlr/qjs/src/quickjs.c:13649)
>>> libr.o:(js_binary_arith_slow) in archive ../../libr/libr.a
>>> referenced by quickjs.c:13705 (/home/docd/radare2/libr/../shlr/qjs/src/quickjs.c:13705)
>>> libr.o:(js_binary_arith_slow) in archive ../../libr/libr.a
>>> referenced by quickjs.c:13709 (/home/docd/radare2/libr/../shlr/qjs/src/quickjs.c:13709)
>>> libr.o:(js_binary_arith_slow) in archive ../../libr/libr.a
>>> referenced 1 more times
ld.lld: error: undefined symbol: hypot
>>> referenced by quickjs.c:42351 (/home/docd/radare2/libr/../shlr/qjs/src/quickjs.c:42351)
>>> libr.o:(js_math_hypot) in archive ../../libr/libr.a
ld.lld: error: undefined symbol: fmaxl
>>> referenced by rvalue.c:155
>>> libr.o:(r_reg_get_value) in archive ../../libr/libr.a
ld.lld: error: undefined symbol: ceill
>>> referenced by unum.c:158
>>> libr.o:(r_num_units) in archive ../../libr/libr.a
ld.lld: error: undefined symbol: cos
>>> referenced by unum.c:867
>>> libr.o:(r_num_cos) in archive ../../libr/libr.a
>>> referenced by donut.c:34
>>> libr.o:(r_str_donut) in archive ../../libr/libr.a
>>> referenced by donut.c:37
>>> libr.o:(r_str_donut) in archive ../../libr/libr.a
>>> referenced 4 more times
ld.lld: error: undefined symbol: sin
>>> referenced by unum.c:871
>>> libr.o:(r_num_sin) in archive ../../libr/libr.a
>>> referenced by donut.c:33
>>> libr.o:(r_str_donut) in archive ../../libr/libr.a
>>> referenced by donut.c:35
>>> libr.o:(r_str_donut) in archive ../../libr/libr.a
>>> referenced 4 more times
ld.lld: error: undefined symbol: log
>>> referenced by base36.c:8
>>> libr.o:(b36_fromnum) in archive ../../libr/libr.a
>>> referenced by base36.c:8
>>> libr.o:(b36_fromnum) in archive ../../libr/libr.a
>>> referenced by zip_utf-8.c
>>> libr.o:(js_math_funcs) in archive ../../libr/libr.a
ld.lld: error: undefined symbol: fabs
>>> referenced by zip_utf-8.c
>>> libr.o:(js_math_funcs) in archive ../../libr/libr.a
ld.lld: error: undefined symbol: acos
>>> referenced by zip_utf-8.c
>>> libr.o:(js_math_funcs) in archive ../../libr/libr.a
ld.lld: error: undefined symbol: asin
>>> referenced by zip_utf-8.c
>>> libr.o:(js_math_funcs) in archive ../../libr/libr.a
ld.lld: error: undefined symbol: atan
>>> referenced by zip_utf-8.c
>>> libr.o:(js_math_funcs) in archive ../../libr/libr.a
ld.lld: error: undefined symbol: atan2
>>> referenced by zip_utf-8.c
>>> libr.o:(js_math_funcs) in archive ../../libr/libr.a
ld.lld: error: undefined symbol: exp
>>> referenced by zip_utf-8.c
>>> libr.o:(js_math_funcs) in archive ../../libr/libr.a
ld.lld: error: undefined symbol: tan
>>> referenced by zip_utf-8.c
>>> libr.o:(js_math_funcs) in archive ../../libr/libr.a
ld.lld: error: undefined symbol: trunc
>>> referenced by zip_utf-8.c
>>> libr.o:(js_math_funcs) in archive ../../libr/libr.a
ld.lld: error: too many errors emitted, stopping now (use --error-limit=0 to see all errors)
clang170: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [../rules.mk:124: r2r] Error 1
make[1]: *** [Makefile:14: all] Error 1
make: *** [Makefile:57: all] Error 2
from radare2.
Debian same result
date
r2 -v
uname -ms
lsb_release -a
Mon Mar 25 04:56:46 PM EET 2024
current master
Linux x86_64
No LSB modules are available.
Distributor ID: Debian
Description: Debian GNU/Linux 12 (bookworm)
Release: 12
Codename: bookworm
CC_AR libr_core.a
LD libr_core.so
aarch64-linux-android-ar: warning: creating libr_core.a
DIR main
[main 335] CC main.c
[main 336] CC ravc2.c
[main 337] CC rax2.c
[main 338] CC r2pm.c
[main 339] CC rasm2.c
[main 340] CC ragg2.c
[main 341] CC rarun2.c
[main 342] CC rabin2.c
[main 343] CC rasign2.c
[main 344] CC rafind2.c
[main 345] CC r2agent.c
[main 346] CC radiff2.c
[main 347] CC radare2.c
[main 348] CC rahash2.c
LD libr_main.so
CC_AR libr_main.a
aarch64-linux-android-ar: warning: creating libr_main.a
aarch64-linux-android-ar: warning: creating libr_shlr.a
aarch64-linux-android-ar: warning: creating libr.a
[r2r 349] CC r2r.c
clang170: warning: argument unused during compilation: '-pie' [-Wunused-command-line-argument]
ld.lld: error: undefined symbol: log2
>>> referenced by entropy.c:24 (hash/entropy.c:24)
>>> libr.o:(r_hash_entropy) in archive ../../libr/libr.a
>>> referenced by entropy.c:31 (hash/entropy.c:31)
>>> libr.o:(r_hash_entropy_fraction) in archive ../../libr/libr.a
>>> referenced by zip_utf-8.c
>>> libr.o:(js_math_funcs) in archive ../../libr/libr.a
ld.lld: error: undefined symbol: feclearexcept
>>> referenced by esil.c:3281
>>> libr.o:(esil_float_add) in archive ../../libr/libr.a
>>> referenced by esil.c:3311
>>> libr.o:(esil_float_sub) in archive ../../libr/libr.a
>>> referenced by esil.c:3341
>>> libr.o:(esil_float_mul) in archive ../../libr/libr.a
>>> referenced 1 more times
ld.lld: error: undefined symbol: fetestexcept
>>> referenced by esil.c:3284
>>> libr.o:(esil_float_add) in archive ../../libr/libr.a
>>> referenced by esil.c:3314
>>> libr.o:(esil_float_sub) in archive ../../libr/libr.a
>>> referenced by esil.c:3344
>>> libr.o:(esil_float_mul) in archive ../../libr/libr.a
>>> referenced 1 more times
ld.lld: error: undefined symbol: pow
>>> referenced by quickjs.c:10271 (/home/docd/radare2/libr/../shlr/qjs/src/quickjs.c:10271)
>>> libr.o:(js_strtod) in archive ../../libr/libr.a
>>> referenced by quickjs.c:12220 (/home/docd/radare2/libr/../shlr/qjs/src/quickjs.c:12220)
>>> libr.o:(js_pow) in archive ../../libr/libr.a
>>> referenced by unum.c:227
>>> libr.o:(r_num_from_ternary) in archive ../../libr/libr.a
ld.lld: error: undefined symbol: fesetround
>>> referenced by quickjs.c:11620 (/home/docd/radare2/libr/../shlr/qjs/src/quickjs.c:11620)
>>> libr.o:(js_fcvt1) in archive ../../libr/libr.a
>>> referenced by quickjs.c:11623 (/home/docd/radare2/libr/../shlr/qjs/src/quickjs.c:11623)
>>> libr.o:(js_fcvt1) in archive ../../libr/libr.a
>>> referenced by quickjs.c:11536 (/home/docd/radare2/libr/../shlr/qjs/src/quickjs.c:11536)
>>> libr.o:(js_ecvt1) in archive ../../libr/libr.a
>>> referenced 1 more times
ld.lld: error: undefined symbol: fmod
>>> referenced by quickjs.c:13649 (/home/docd/radare2/libr/../shlr/qjs/src/quickjs.c:13649)
>>> libr.o:(js_binary_arith_slow) in archive ../../libr/libr.a
>>> referenced by quickjs.c:13705 (/home/docd/radare2/libr/../shlr/qjs/src/quickjs.c:13705)
>>> libr.o:(js_binary_arith_slow) in archive ../../libr/libr.a
>>> referenced by quickjs.c:13709 (/home/docd/radare2/libr/../shlr/qjs/src/quickjs.c:13709)
>>> libr.o:(js_binary_arith_slow) in archive ../../libr/libr.a
>>> referenced 1 more times
ld.lld: error: undefined symbol: hypot
>>> referenced by quickjs.c:42351 (/home/docd/radare2/libr/../shlr/qjs/src/quickjs.c:42351)
>>> libr.o:(js_math_hypot) in archive ../../libr/libr.a
ld.lld: error: undefined symbol: fmaxl
>>> referenced by rvalue.c:155
>>> libr.o:(r_reg_get_value) in archive ../../libr/libr.a
ld.lld: error: undefined symbol: ceill
>>> referenced by unum.c:158
>>> libr.o:(r_num_units) in archive ../../libr/libr.a
ld.lld: error: undefined symbol: cos
>>> referenced by unum.c:867
>>> libr.o:(r_num_cos) in archive ../../libr/libr.a
>>> referenced by donut.c:34
>>> libr.o:(r_str_donut) in archive ../../libr/libr.a
>>> referenced by donut.c:37
>>> libr.o:(r_str_donut) in archive ../../libr/libr.a
>>> referenced 4 more times
ld.lld: error: undefined symbol: sin
>>> referenced by unum.c:871
>>> libr.o:(r_num_sin) in archive ../../libr/libr.a
>>> referenced by donut.c:33
>>> libr.o:(r_str_donut) in archive ../../libr/libr.a
>>> referenced by donut.c:35
>>> libr.o:(r_str_donut) in archive ../../libr/libr.a
>>> referenced 4 more times
ld.lld: error: undefined symbol: log
>>> referenced by base36.c:8
>>> libr.o:(b36_fromnum) in archive ../../libr/libr.a
>>> referenced by base36.c:8
>>> libr.o:(b36_fromnum) in archive ../../libr/libr.a
>>> referenced by zip_utf-8.c
>>> libr.o:(js_math_funcs) in archive ../../libr/libr.a
ld.lld: error: undefined symbol: fabs
>>> referenced by zip_utf-8.c
>>> libr.o:(js_math_funcs) in archive ../../libr/libr.a
ld.lld: error: undefined symbol: acos
>>> referenced by zip_utf-8.c
>>> libr.o:(js_math_funcs) in archive ../../libr/libr.a
ld.lld: error: undefined symbol: asin
>>> referenced by zip_utf-8.c
>>> libr.o:(js_math_funcs) in archive ../../libr/libr.a
ld.lld: error: undefined symbol: atan
>>> referenced by zip_utf-8.c
>>> libr.o:(js_math_funcs) in archive ../../libr/libr.a
ld.lld: error: undefined symbol: atan2
>>> referenced by zip_utf-8.c
>>> libr.o:(js_math_funcs) in archive ../../libr/libr.a
ld.lld: error: undefined symbol: exp
>>> referenced by zip_utf-8.c
>>> libr.o:(js_math_funcs) in archive ../../libr/libr.a
ld.lld: error: undefined symbol: tan
>>> referenced by zip_utf-8.c
>>> libr.o:(js_math_funcs) in archive ../../libr/libr.a
ld.lld: error: undefined symbol: trunc
>>> referenced by zip_utf-8.c
>>> libr.o:(js_math_funcs) in archive ../../libr/libr.a
ld.lld: error: too many errors emitted, stopping now (use --error-limit=0 to see all errors)
clang170: error: linker command failed with exit code 1 (use -v to see invocation)
gmake[2]: *** [../rules.mk:124: r2r] Error 1
gmake[1]: *** [Makefile:14: all] Error 1
gmake: *** [Makefile:57: all] Error 2
from radare2.
Thanks, build successful.
from radare2.
You are welcome :) thanks for the headsup:) the ci wasnt building that target and i missed the issue
from radare2.
Related Issues (20)
- Support nested memory references in the RNum operations
- r2ghidra: SBORROW4 wrongly used in condition HOT 1
- r2ghidra: type casted value recovered as 0 HOT 1
- r2ghidra: operation result dereferenced by memory address HOT 1
- Separate blocks dor ascii art branch lines
- ragg2 fails to save returns of syscall HOT 1
- Missing some function xrefs using aaa; axt 0xaddr or sym.imp.func_name HOT 5
- visual-r2rop does not work
- dbt never shows anything but current function HOT 1
- Debugger Stalls W/ Connect In Profile
- Sql and tables output for zignatures
- Incorrect behavior in Xtensa disassembly backward direction HOT 6
- program execution is stopped with SIGBUS on FreeBSD
- Avoid or filter duplicated function signature entries
- axF is very slow
- afvs does not indicate non-initial struct members when the stack is adjusted
- b64 crash
- cmd_cmp does not honor endian
- sixref asan
- "afbij" otput wrog json format HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from radare2.