ARM kernel builds fail with GCC 11
Bug #1939379 reported by
Juerg Haefliger
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gcc-11 (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned | ||
gcc-defaults (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
php8.1 (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
While this might be a kernel build problem (see LP: #1939308) I wanted to raise the issue against the toolchain just so we can make sure it's *not* a toolchain bug. Basically the following behavior changed from gcc 10:
$ arm-linux-
0
$ arm-linux-
cc1: error: ‘-mfloat-abi=hard’: selected architecture lacks an FPU
1
Presumably the GCC 11 hard-float compiler now enforces the default config --with-float=hard?
Changed in php8.1 (Ubuntu): | |
status: | New → Incomplete |
To post a comment you must log in.
I wonder if this is due to:
gcc-11 (11.1.0-2) experimental; urgency=medium
[...] arch=<arch> +fp, dropping the --with-fpu= option.
* For armhf configure --with-
[...]
FWIW, I'm seeing something similar w/ edk2.