Jump to content

Get compile error after linux auto update to 5.15.36


Recommended Posts

I compiled the Armbian on renegade board, based on mainline linux, compiling was stopped as the output:

  LD      vmlinux.o
  MODPOST vmlinux.symvers
  MODINFO modules.builtin.modinfo
  GEN     modules.builtin
  LD      .tmp_vmlinux.kallsyms1
[ error ] ERROR in function compile_kernel [ main.sh:589 -> main.sh:490 -> compilation.sh:506 -> general.sh:0 ]
[ error ] Kernel was not built [ @host ]
[ o.k. ] Process terminated 

And the logs files are in the attachments.

Today the linux kernel auto updates to 5.15.36, I haven't this issue using 5.15.35 before.
Anybody know why?

logs.zip

Link to comment
Share on other sites

I am having the exact same issue as you, trying to build for a NanoPi M4V2 with rockchip64-current 5.15.36 Kernel on an Ubuntu 21.04 VM (same version of gcc).

At first I thought it was an error in my code as I was also creating a custom patch.

However it seems to compile without an issue when building for rockchip64-edge (5.16.x Kernel). 

So I'd assume that this issue is probably a bug that will hopefully get addressed soon. In the meantime I would recommend building with a different Kernel Version like 5.16, if possible.

 

Link to comment
Share on other sites

2 hours ago, KingKoro said:

I am having the exact same issue as you, trying to build for a NanoPi M4V2 with rockchip64-current 5.15.36 Kernel on an Ubuntu 21.04 VM (same version of gcc).

At first I thought it was an error in my code as I was also creating a custom patch.

However it seems to compile without an issue when building for rockchip64-edge (5.16.x Kernel). 

So I'd assume that this issue is probably a bug that will hopefully get addressed soon. In the meantime I would recommend building with a different Kernel Version like 5.16, if possible.

 

The armbian build auto get 5.15.36, how can I change to 5.16?

 

Link to comment
Share on other sites

vor einer Stunde schrieb DavidJS:

The armbian build auto get 5.15.36, how can I change to 5.16?

 

You have to enable Expert Mode in the Build Options with "EXPERT=yes" by passing it to the "./compile.sh" command as an additional argument.

The possible arguments are all described here: https://docs.armbian.com/Developer-Guide_Build-Options/#hidden-options-for-advanced-users-default-values-are-marked-bold

 

image.png.dcdb8896bfaa3244c0cf20c1a183275b.png

 

Afterwards, in the command prompt, you will have a third option available for the kernel version called "edge" (image above). Atleast for the NanoPi M4V2, "edge" is currently 5.16.20-rockchip64.

Maybe, though I haven't tried it before, you can also try the "LIB_TAG" Build Option to choose a different branch from the linux-mainline repository.

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines