[Lldb-commits] [lldb] [LLDB, x86, FreeBSD] Fix Architecture parsing by reading the ELF header. (PR #162811)
via lldb-commits
lldb-commits at lists.llvm.org
Sat Oct 11 01:47:37 PDT 2025
aokblast wrote:
> > Like have special ubuntu release without 32bit sysroots?
>
> To be honest I've never tried it. I believe the Android NDK ships with toolchains to do this though. On any debian system I'd expect to be able to install a cross-compiler for it (https://wiki.debian.org/Multiarch/HOWTO). I know I can for example install SystemZ tools on Arm Ubuntu. Arm also provides Linux GCC toolchains you can download separately.
>
> You wouldn't see this feature name in in the toolchain. Even if you ran Ubuntu on one of these AArch32-less systems, I bet you can install the 32-bit toolchains still, as the package manager doesn't look that deeply. You'd find out when you get some probably strange error from the system or dynamic linker.
>
> I don't think it's a very popular thing to do generally. Valuable for some I'm sure, but not something I have come across many times.
>
> And I don't think you asked this but for completeness, were we not able to get hold of a machine with or without this feature, Arm's Fixed Virtual Platforms (FVP) can be configured to emulate it. Possibly QEMU too, but it does not cover absolutely everything like FVP does (not a criticism, each one has its own goals).
Thanks for your information! I am just curious on how arm handle these multiarch stuff.
https://github.com/llvm/llvm-project/pull/162811
More information about the lldb-commits
mailing list