Fix install issue for kernels built with other gcc#129
Conversation
Signed-off-by: Andy Fingerhut <andy_fingerhut@alum.wustl.edu>
Signed-off-by: Andy Fingerhut <andy_fingerhut@alum.wustl.edu>
|
I am testing this on my personal Ubuntu 22.04 VM where I saw the failure earlier, and will add another comment here with the results when it is done. |
|
|
||
| cd "${KDIR}" | ||
| eval `make --dry-run --print-data-base 2>/dev/null | grep '^HOSTCC' | head -n 1 | sed 's/ //g'` | ||
| sudo apt-get install -y ${HOSTCC} |
There was a problem hiding this comment.
This should probably check whether the compiler is actually available in the package list?
There was a problem hiding this comment.
I mean, the worst that can happen is that the install will fail, and someone will open an issue, yes? On the Ubuntu LTS systems I have checked (20.04, 22.04, and 24.04), the value of HOSTCC is always gcc-<number> and the package is installable.
|
Oh, forgot my comment. On an Ubuntu 22.04 system where gcc version 11 was the version installed via the package named |
No description provided.