oss4-dkms '-mfloat-abi=hard' build failure
Bug #1969752 reported by
Andrea Righi
This bug affects 3 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
oss4 (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Jammy |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
[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.
tags: | added: patch |
Changed in oss4 (Ubuntu Jammy): | |
status: | Triaged → In Progress |
To post a comment you must log in.
v2: drop -mfloat-abi=hard and build only on amd64.