-
-
Notifications
You must be signed in to change notification settings - Fork 114
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
Microblaze compilation error #326
Comments
Wanna try porting to arch? It shouldnt take more than 30minSent from my iPhoneOn 29 Mar 2023, at 09:34, Sylvain Pelissier ***@***.***> wrote:
Environment
Wed 29 Mar 09:33:02 CEST 2023
radare2 5.8.5 30445 @ linux-x86-64 git.5.7.8-1255-gf5749b7732
commit: f5749b7732dbeb561a59b73f24b6d793bbba20c6 build: 2023-03-29__09:28:30
Linux x86_64
Description
The Microblaze plugin is not compatible with new arch plugin. What was done for blackfin: 77c8e95 should solve the problem.
To reproduce:
$ r2pm -i microblaze
...
anal_microblaze_gnu.c:1144:20: error: ‘R_ANAL_OP_MASK_DISASM’ undeclared (first use in this function); did you mean ‘R_ARCH_OP_MASK_DISASM’?
1144 | if (mask & R_ANAL_OP_MASK_DISASM) {
| ^~~~~~~~~~~~~~~~~~~~~
| R_ARCH_OP_MASK_DISASM
anal_microblaze_gnu.c:1144:20: note: each undeclared identifier is reported only once for each function it appears in
anal_microblaze_gnu.c: At top level:
anal_microblaze_gnu.c:1286:28: warning: initialization of ‘_Bool (*)(RAnal *)’ {aka ‘_Bool (*)(struct r_anal_t *)’} from incompatible pointer type ‘int (*)(RAnal *)’ {aka ‘int (*)(struct r_anal_t *)’} [-Wincompatible-pointer-types]
1286 | .set_reg_profile = microblaze_set_reg_profile,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
anal_microblaze_gnu.c:1286:28: note: (near initialization for ‘r_anal_plugin_microblaze_gnu.set_reg_profile’)
make[1]: *** [<builtin>: anal_microblaze_gnu.o] Error 1
make[1]: Leaving directory '/home/sylvain/.local/share/radare2/r2pm/git/microblaze/microblaze/anal'
make: *** [Makefile:5: all] Error 2
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you are subscribed to this thread.Message ID: ***@***.***>
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Environment
Description
The Microblaze plugin is not compatible with new arch plugin. What was done for blackfin: 77c8e95 should solve the problem.
To reproduce:
The text was updated successfully, but these errors were encountered: