On Sat, Aug 23, 2025 at 4:34 PM Andi Kleen <ak@xxxxxxxxxxxxxxx> wrote: > > > BUILD_NONDISTRO is used to build perf against the license incompatible > > libbfd and libiberty libraries. As this has been opt-in for nearly 2 > > years, commit dd317df07207 ("perf build: Make binutil libraries opt > > in"), remove the code to simplify the code base. > > The last time I tried the LLVM stuff was totally broken, couldn't > resolve many things. The only workaround was to go back to the actually > working libbfd. Please don't remove the only working option. Andi, did you report a bug? Does the non-libbfd stuff work? Yes, as every distribution has shipped it since binutils went to GPLv3 (in 2007?). While I don't want LLVM stuff not to work, bugs happen, libbfd is license incompatible with GPLv2 and maintaining it in the source tree is a burden. When something doesn't work, create a test to repeat the issue and then we can make it work and ensure it doesn't break again. In general I've not had issues with the LLVM code. Thanks, Ian