[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Using GCC 10 for all architectures



On 05/08/2020 12:36, Alper Nebi Yasak wrote:
When I build an arm64 kernel with upstream v5.8 (make bindeb-pkg) on
sid, the built kernel can't load any modules -- lsmod output is empty,
modprobe-ing any module fails with "Exec format error". I think it might
be related to GCC 10,

This doesn't happen on the Debian package even with GCC 10. Maybe something went wrong with my config or environment with the upstream builds.

I also ran into a GCC issue other people already reported [1][2] while
building the current version of the master branch (26a6ecc2) for arm64
(I wanted to check if it could load modules correctly, I will send an
update if I can manage to test that).

[1] https://lkml.org/lkml/2020/7/27/575
[2] https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96377

There is a "quick workaround" suggested in [2], and applying it does fix the arm64 build.


Reply to: