Xiao Sheng,

Thanks for testing that -mabi=ilp32f patch.

----------------

wuruilong (and other loong folks),

Here is what the build log says:

> configure:5169: gcc -o conftest ... -mabi=ilp32f ... conftest.c ...
> gcc: error: unrecognized argument in option '-mabi=ilp32f'
> gcc: note: valid arguments to '-mabi=' are: lp64d lp64f lp64s

It would seem that Debian GCC for loongarch64 did not have 32-bit
support available on the build system.

Perhaps gcc-multilib needs to be installed? That is necessary for
other 64-bit architectures that have a 32-bit mode. I could add
loongarch64 to the architecture list for gcc-multilib in the build
dependencies. But I'm not seeing it as available for loongarch64 in
https://packages.debian.org/unstable/gcc-multilib

Reply via email to