Public bug reported:

[Impact]

oss4-dkms fails to build in Jammy with the following error:

gcc: error: unrecognized command-line option ‘-mfloat-abi=hard’

[Test case]

 $ sudo apt install oss4-dkms

[Fix]

Get rid of -float-abi=hard, since it doesn't really provide any benefits
nowdays.

[Regression potential]

We may experience performance regressions in oss4, but getting rid of
'-mfloat-abi=hard’ provides a better compatibility across all the
supported architectures and toolchains.

** Affects: oss4 (Ubuntu)
     Importance: Undecided
         Status: New

** Affects: oss4 (Ubuntu Jammy)
     Importance: Undecided
         Status: New

** Also affects: oss4 (Ubuntu Jammy)
   Importance: Undecided
       Status: New

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

Title:
  oss4-dkms '-mfloat-abi=hard' build failure

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/oss4/+bug/1969752/+subscriptions


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

Reply via email to