On 8/28/25 06:17, Tobias Burnus wrote:
This kind of came up because now objdump is required during the GCC build (for ./configure) to set the required HAVE_..., solving PR119367.While LLVM's assembler and linker are required to handle AMD GPUs, all others just need to be found and can be the LLVM or Binutils' variant alike. Additionally, objdump does not need to be added to the installed system - and nm/ar/ranlib only when installing the GCN version of gcc-{nm,ar,ranlib}. I hope the clarification actually helps - and does not confuse readers. OK for mainline?
Looks OK to me.
PS: When adding generic support to GCC, we could not properly test it as ROCm 6.3.x did not support it. While expecting that ROCm 6.4 would support it (their git version did), that was not guaranteed. Now that it has been released, we should remove the future tense, which I did in the attached patch. (And, hooray!, the GCC generic implementation also works as promised!)
The GCC user manual lists all the *-generic options for -march as "Experimental". Is that still the case? If not, I'll consider a patch to remove "Experimental" as trivial enough to meet the obvious rule.
-Sandra
