mesonbuild / meson

The Meson Build System
http://mesonbuild.com
Apache License 2.0
5.59k stars 1.63k forks source link

WARNING: Unknown CPU family #12234

Open z8866868 opened 1 year ago

z8866868 commented 1 year ago

uname -a:Linux test-PC 4.19.0-loongson-3-desktop #20230722 SMP Sat Jul 22 01:04:34 CST 2023 loongarch64 GNU/Linux cat /proc/cpuinfo:system type : generic-loongson-machine processor : 0 package : 0 core : 0 cpu family : Loongson-64bit model name : Loongson-3A6000 CPU Revision : 0x00 FPU Revision : 0x00 CPU MHz : 2500.00 BogoMIPS : 5000.00 TLB entries : 2112 Address sizes : 48 bits physical, 48 bits virtual isa : loongarch32 loongarch64 features : cpucfg lam ual fpu lsx lasx crc32 complex crypto lvz lbt_x86 lbt_arm lbt_mips hardware watchpoint : yes, iwatch count: 8, dwatch count: 4

processor : 1 package : 0 core : 0 cpu family : Loongson-64bit model name : Loongson-3A6000 CPU Revision : 0x00 FPU Revision : 0x00 CPU MHz : 2500.00 BogoMIPS : 5000.00 TLB entries : 2112 Address sizes : 48 bits physical, 48 bits virtual isa : loongarch32 loongarch64 features : cpucfg lam ual fpu lsx lasx crc32 complex crypto lvz lbt_x86 lbt_arm lbt_mips hardware watchpoint : yes, iwatch count: 8, dwatch count: 4

processor : 2 package : 0 core : 1 cpu family : Loongson-64bit model name : Loongson-3A6000 CPU Revision : 0x00 FPU Revision : 0x00 CPU MHz : 2500.00 BogoMIPS : 5000.00 TLB entries : 2112 Address sizes : 48 bits physical, 48 bits virtual isa : loongarch32 loongarch64 features : cpucfg lam ual fpu lsx lasx crc32 complex crypto lvz lbt_x86 lbt_arm lbt_mips hardware watchpoint : yes, iwatch count: 8, dwatch count: 4

processor : 3 package : 0 core : 1 cpu family : Loongson-64bit model name : Loongson-3A6000 CPU Revision : 0x00 FPU Revision : 0x00 CPU MHz : 2500.00 BogoMIPS : 5000.00 TLB entries : 2112 Address sizes : 48 bits physical, 48 bits virtual isa : loongarch32 loongarch64 features : cpucfg lam ual fpu lsx lasx crc32 complex crypto lvz lbt_x86 lbt_arm lbt_mips hardware watchpoint : yes, iwatch count: 8, dwatch count: 4

processor : 4 package : 0 core : 2 cpu family : Loongson-64bit model name : Loongson-3A6000 CPU Revision : 0x00 FPU Revision : 0x00 CPU MHz : 2500.00 BogoMIPS : 5000.00 TLB entries : 2112 Address sizes : 48 bits physical, 48 bits virtual isa : loongarch32 loongarch64 features : cpucfg lam ual fpu lsx lasx crc32 complex crypto lvz lbt_x86 lbt_arm lbt_mips hardware watchpoint : yes, iwatch count: 8, dwatch count: 4

processor : 5 package : 0 core : 2 cpu family : Loongson-64bit model name : Loongson-3A6000 CPU Revision : 0x00 FPU Revision : 0x00 CPU MHz : 2500.00 BogoMIPS : 5000.00 TLB entries : 2112 Address sizes : 48 bits physical, 48 bits virtual isa : loongarch32 loongarch64 features : cpucfg lam ual fpu lsx lasx crc32 complex crypto lvz lbt_x86 lbt_arm lbt_mips hardware watchpoint : yes, iwatch count: 8, dwatch count: 4

processor : 6 package : 0 core : 3 cpu family : Loongson-64bit model name : Loongson-3A6000 CPU Revision : 0x00 FPU Revision : 0x00 CPU MHz : 2500.00 BogoMIPS : 5000.00 TLB entries : 2112 Address sizes : 48 bits physical, 48 bits virtual isa : loongarch32 loongarch64 features : cpucfg lam ual fpu lsx lasx crc32 complex crypto lvz lbt_x86 lbt_arm lbt_mips hardware watchpoint : yes, iwatch count: 8, dwatch count: 4

processor : 7 package : 0 core : 3 cpu family : Loongson-64bit model name : Loongson-3A6000 CPU Revision : 0x00 FPU Revision : 0x00 CPU MHz : 2500.00 BogoMIPS : 5000.00 TLB entries : 2112 Address sizes : 48 bits physical, 48 bits virtual isa : loongarch32 loongarch64 features : cpucfg lam ual fpu lsx lasx crc32 complex crypto lvz lbt_x86 lbt_arm lbt_mips hardware watchpoint : yes, iwatch count: 8, dwatch count: 4

xclaesse commented 1 year ago

Hm, loongarch64 is supposed to be recognized: https://github.com/mesonbuild/meson/blob/master/mesonbuild/envconfig.py#L52, https://mesonbuild.com/Reference-tables.html#cpu-families. What's the exact error message, it should tell what arch it think it is.