Yeah, I think what's going on is that - due to the above change - gcc-11
no longer enables an FPU independently of the selected arch. The FPU is
only enabled because the default -march is armv7-a+fp. The kernel build
is overriding GCC's (new) built-in default march to one that does not
have "+fp", so no flags remain to enable the FPU. edk2 does something
similar, and changing it's forced -march from armv7-a to armv7-a+fp
works for me.

** Also affects: gcc-11 (Ubuntu)
   Importance: Undecided
       Status: New

** Changed in: gcc-defaults (Ubuntu)
       Status: New => Invalid

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1939379

Title:
  ARM kernel builds fail with GCC 11

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gcc-11/+bug/1939379/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to