Hi, Guillem:
refer the documentation[0]
added loong64f32, loong64sf Debian arch name
fixed toolchain tuple
test result:
debian@debian-builder-3:~/oss/gcc-12-12.2.0/debian$ dpkg-architecture -f -aloong64sf | grep "DEB_HOST_"
dpkg-architecture: warning: specified GNU system type
loongarch64-linux-gnusf does not match CC system type
loongarch64-linux-gnu, try setting a correct CC environment variable DEB_HOST_ARCH=loong64sf
DEB_HOST_ARCH_ABI=sf
DEB_HOST_ARCH_BITS=64
DEB_HOST_ARCH_CPU=loong64
DEB_HOST_ARCH_ENDIAN=little
DEB_HOST_ARCH_LIBC=gnu
DEB_HOST_ARCH_OS=linux
DEB_HOST_GNU_CPU=loongarch64
DEB_HOST_GNU_SYSTEM=linux-gnusf
DEB_HOST_GNU_TYPE=loongarch64-linux-gnusf DEB_HOST_MULTIARCH=loongarch64-linux-gnusf debian@debian-builder-3:~/oss/gcc-12-12.2.0/debian$ dpkg-architecture -f -aloong64f32 | grep "DEB_HOST_"
dpkg-architecture: warning: specified GNU system type loongarch64-linux-gnuf32 does not match CC system type
loongarch64-linux-gnu, try setting a correct CC environment variable DEB_HOST_ARCH=loong64f32
DEB_HOST_ARCH_ABI=f32
DEB_HOST_ARCH_BITS=64
DEB_HOST_ARCH_CPU=loong64
DEB_HOST_ARCH_ENDIAN=little
DEB_HOST_ARCH_LIBC=gnu
DEB_HOST_ARCH_OS=linux
DEB_HOST_GNU_CPU=loongarch64
DEB_HOST_GNU_SYSTEM=linux-gnuf32
DEB_HOST_GNU_TYPE=loongarch64-linux-gnuf32 DEB_HOST_MULTIARCH=loongarch64-linux-gnuf32 debian@debian-builder-3:~/oss/gcc-12-12.2.0/debian$ dpkg-architecture -f -aloong64 | grep "DEB_HOST_"
dpkg-architecture: warning: specified GNU system type loongarch64-linux-gnuf64 does not match CC system type
loongarch64-linux-gnu, try setting a correct CC environment variable DEB_HOST_ARCH=loong64
DEB_HOST_ARCH_ABI=f64
DEB_HOST_ARCH_BITS=64
DEB_HOST_ARCH_CPU=loong64
DEB_HOST_ARCH_ENDIAN=little
DEB_HOST_ARCH_LIBC=gnu
DEB_HOST_ARCH_OS=linux
DEB_HOST_GNU_CPU=loongarch64
DEB_HOST_GNU_SYSTEM=linux-gnuf64
DEB_HOST_GNU_TYPE=loongarch64-linux-gnuf64 DEB_HOST_MULTIARCH=loongarch64-linux-gnuf64
[0] https://loongson.github.io/LoongArch-Documentation/LoongArch-toolchain-conventions-EN.html <https://loongson.github.io/LoongArch-Documentation/LoongArch-toolchain-conventions-EN.html>
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 546 |
Nodes: | 16 (0 / 16) |
Uptime: | 164:43:14 |
Calls: | 10,385 |
Calls today: | 2 |
Files: | 14,057 |
Messages: | 6,416,518 |