Skip to content

[Bug]: bananapif3 - cannot compile a customized kernel #8151

Closed
@ssinyagin

Description

@ssinyagin

What happened?

Current commit: 723d5f0 (April 28).

I'm trying to build a usable image for BananaPi F3. The default Ubuntu 24.04 build resulted in a 6.6.87 kernel that doesn't have the drivers/net/tun module, which is required for OpenVPN.

If I launch the compile script and choose to modify the kernel options, and even if I don't modify the options, the build fails with an error:

   Assembler messages:
   Error: rv64imac_zicond_zicsr_zifencei_zihintpause_zba_zbb_zbc_zbs: unknown prefixed ISA extension `zicond'
   /tmp/ccH98UG9.s:3: Error: rv64i2p1_m2p0_a2p1_c2p0_zicond_zicsr2p0_zifencei2p0_zihintpause_zba1p0_zbb1p0_zbc1p0_zbs1p0: unknown prefixed ISA extension `zicond'

a full log follows. It seems like the GCC version is too old for zicond support.

log-build-b498a0e1-b40e-4546-8232-e448f7f7e7f0.log

How to reproduce?

see the log

Branch

main (main development branch)

On which host OS are you running the build script and observing this problem?

Debian 12 Bookworm

Are you building on Windows WSL2?

  • Yes, my Ubuntu/Debian/OtherOS is running on WSL2

Relevant log URL

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugSomething isn't working as it should

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions