Created attachment 258047 [details] git patch Updating ghidra to version 11.3.1 Poudriere is happy with the build :-)
Can't apply patch to current main.
Hi. I have also noticed that. I am currently tracking down what appears to be a bug in the decompiler. When this is done, I will upload another patch. Thanks.
Created attachment 258199 [details] update ghidra to 11.3.1 Fixes the update to ghidra 11.3.1. Note: I have switched to compilation with gcc, since the Decompiler plugin, when compiled with clang, crashes randomly. From my understanding, this is a problem in upstream, as there are two different results with two different compilers (some UB...).
cc_binary => %%CC_BINARY%% cpp_binary => %%CPP_BINARY%%
Created attachment 258244 [details] update ghidra to 11.3.1 Changes as requested :-)
Are you sure we need files in %%DATADIR%%/support/gradle/.gradle?
Created attachment 258366 [details] git patch You are right. I just tried it out and the software is running without any trouble. I took it out :-)
Hi. Is this ready to be committed? Thanks! :-)
(In reply to gatekeeper from comment #8) I don't like switch to GCC… Can we do something?
I have tried it for a long time - it compiles with clang, but the program does not work properly. I think that this is an issue that needs to be resolved by the project maintainers. If we submit the port with clang, decompilation will randomly crash on some functions. I would also like to have clang, but currently do not see any other way than issuing a bug report upstream... In any case, I think that the newest version should be committed to the ports tree.
(In reply to gatekeeper from comment #10) Did you reported upstream this issue?
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=10c8159742224378f8cb0f26459fb87db74d5539 commit 10c8159742224378f8cb0f26459fb87db74d5539 Author: gatekeeper <tiago.gasiba@gmail.com> AuthorDate: 2025-03-14 19:00:22 +0000 Commit: Vladimir Druzenko <vvd@FreeBSD.org> CommitDate: 2025-03-14 19:26:10 +0000 devel/ghidra: Update 11.1.2 → 11.3.1 Release notes: https://github.com/NationalSecurityAgency/ghidra/releases/tag/Ghidra_11.2_build https://github.com/NationalSecurityAgency/ghidra/releases/tag/Ghidra_11.2.1_build https://github.com/NationalSecurityAgency/ghidra/releases/tag/Ghidra_11.3_build https://github.com/NationalSecurityAgency/ghidra/releases/tag/Ghidra_11.3.1_build Switch to compilation with gcc, since the Decompiler plugin, when compiled with clang, crashes randomly. Probably this is a problem in upstream, as there are two different results with two different compilers (some UB...). PR: 285071 devel/ghidra/Makefile | 41 +- devel/ghidra/distinfo | 6 +- .../files/patch-GPL_nativeBuildProperties.gradle | 16 +- devel/ghidra/pkg-plist | 5002 +++++++++++++------- 4 files changed, 3227 insertions(+), 1838 deletions(-)
Thanks.