linux-um.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: Roberto Sassu <roberto.sassu@huaweicloud.com>
To: linux-um@lists.infradead.org
Cc: Richard Weinberger <richard@nod.at>,
	Anton Ivanov <anton.ivanov@cambridgegreys.com>,
	Johannes Berg <johannes@sipsolutions.net>
Subject: Cannot compile UML in Ubuntu 20.04.5 anymore
Date: Fri, 03 Mar 2023 09:34:36 +0100	[thread overview]
Message-ID: <6df2ecef9011d85654a82acd607fdcbc93ad593c.camel@huaweicloud.com> (raw)

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


_______________________________________________
linux-um mailing list
linux-um@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-um

             reply	other threads:[~2023-03-03  8:37 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-03-03  8:34 Roberto Sassu [this message]
2023-03-04  4:35 ` Cannot compile UML in Ubuntu 20.04.5 anymore David Gow
2023-03-06 17:05   ` Roberto Sassu
2023-03-17 16:58   ` SeongJae Park

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=6df2ecef9011d85654a82acd607fdcbc93ad593c.camel@huaweicloud.com \
    --to=roberto.sassu@huaweicloud.com \
    --cc=anton.ivanov@cambridgegreys.com \
    --cc=johannes@sipsolutions.net \
    --cc=linux-um@lists.infradead.org \
    --cc=richard@nod.at \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).