riscv / meta-riscv

OpenEmbedded/Yocto layer for RISC-V Architecture
https://riscv.org/
Other
356 stars 135 forks source link

List of packages failing World build on RV32 #202

Open kraj opened 4 years ago

kraj commented 4 years ago

This is a placeholder for tracking world build failures on rv32, the current list and respective error logs are here

pino-kim commented 4 years ago

@kraj , hmm..... I want to get samething in my build system. just build with below command? MACHINE=qemuriscv32 bitbkae core-image-full-cmdline

kraj commented 4 years ago

@pino-kim you will run bitbake -k world but you can also build individual packages by doing bitbake <package-name>

alistair23 commented 4 years ago

That's a great list!

I had a quick look and it looks like a lot of these just don't have RV32 support yet, so this will be a fair amount of work.

kraj commented 4 years ago

@alistair23 I think some of the packages fail due to syscalls e.g.

error: 'SYS_mmap' was not declared in this scope
error: 'SYS_futex' was not declared in this scope

These perhaps are fixable easily

some are atomics related can be fixed by adding -pthread to linker cmdline

a big category is then of the not ported ones.

alistair23 commented 4 years ago

Cool! Thanks for looking into this.

ajf58 commented 2 years ago

This has a label of "help wanted", is that still the case? If so, what additional help is required?

kraj commented 2 years ago

@ajf58 yes perhaps fixing the 64bit time_t issues for rv32 is a big one and also some key packages like libseccomp, libunwind are key elements needed to enable various yocto features.