Cannot compile UML in Ubuntu 20.04.5 anymore

Roberto Sassu roberto.sassu at huaweicloud.com
Fri Mar 3 00:34:36 PST 2023


Hi

it looks like one recent commit causes the kernel build to break.

  GEN     scripts/gdb/linux/constants.py
In file included from /usr/include/stdlib.h:1013,
                 from arch/um/os-Linux/helper.c:6:
/usr/include/x86_64-linux-gnu/bits/stdlib-float.h: In function ‘atof’:
/usr/include/x86_64-linux-gnu/bits/stdlib-float.h:26:1: error: SSE register return with SSE disabled
   26 | {
      | ^
  CC      init/noinitramfs.o

It works again by reverting commit 884981867947 ("rust: arch/um:
Disable FP/SIMD instruction to match x86").

$ cat /proc/cpuinfo

[...]

processor	: 31
vendor_id	: AuthenticAMD
cpu family	: 23
model		: 49
model name	: AMD Ryzen Threadripper PRO 3955WX 16-Cores

Thanks

Roberto




More information about the linux-um mailing list