riscv-poky
riscv-poky copied to clipboard
Compile error when bitbake elfutils-0.170
hey guys i'm keeping encountered with an error when bitbake is compiling elfutils-0.170. and here is the error
info:| In file included from ../../elfutils-0.170/backends/m68k_corenote.c:72: | ../../elfutils-0.170/backends/linux-core-note.c:116:1: error: alignment 2 of ‘struct m68k_prstatus’ is less than 4 [-Werror=packed-not-aligned] | ../../elfutils-0.170/backends/linux-core-note.c:110:5: error: ‘({anonymous})’ offset 70 in ‘struct m68k_prstatus’ isn’t aligned to 4 [-Werror=packed-not-aligned]
ive searched online and found a similar post here. in the reply they suggest to use gcc 7.3 instead of higher version. so I tried with gcc-5, gcc-6, gcc-7, and gcc-8, but none of them works and the error is still there. platform ubuntu 16 LTS, build riscv image. so am wondering is there anyone has the same problem?
Same problem on Fedora 28.
This project hasn't been updated in a while, but if you're interested in RISC-V builds via OE, maybe you'd be interested in https://github.com/riscv/meta-riscv which has a lot of current activity?