petrhosek wrote:

> > @petrhosek Is there a way you can help @kevinfrei validate this on Fuchsia
> 
> Specifically, I'm adding tests that require dwp/llvm-dwp laying around 
> somewhere, and it looks like Fuchsia doesn't put it in the 'normal' location, 
> and I have no idea how to simply disable an LLDB test for Fuchsia, because it 
> lies to the infra and says it's linux (which is probably the right lie to 
> tell, but I can't find any mechanism to see that it's a flower-flavored 
> variant of Linux...)
> 
> Here's the build failure, where you can see it can't find the 'dwp' tool: 
> https://luci-milo.appspot.com/ui/p/fuchsia/builders/toolchain.ci/clang-linux-x64/b8747217173107569041/test-results?sortby=&groupby=

What do you mean by "normal" location? Our toolchain has `llvm-dwp` as 
`bin/llvm-dwp` which is the default location.

The builder description is correct, it's a Linux distribution (Debian) but we 
don't install GNU toolchains, we're strict about using Clang/LLVM toolchain 
which is why there's no `dwp`, just `llvm-dwp`. It's not just `dwp` though, we 
don't install any GNU tools and instead include the LLVM counterparts, for 
example `llvm-readelf` instead of `readelf`, `llvm-objcopy` instead of 
`objcopy`, etc.

It looks like `lldb/packages/Python/lldbsuite/test/make/Makefile.rules` assumes 
GNU toolchain, which seems a bit odd given that it's a part of LLVM. Would it 
be possible to make it compatible with both GNU and Clang/LLVM toolchains?

https://github.com/llvm/llvm-project/pull/96802
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to