riscv-poky icon indicating copy to clipboard operation
riscv-poky copied to clipboard

Compile error when bitbake elfutils-0.170

Open NeutrinoLiu opened this issue 6 years ago • 2 comments

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?

NeutrinoLiu avatar Sep 11 '18 09:09 NeutrinoLiu

Same problem on Fedora 28.

vlisivka avatar Dec 12 '18 14:12 vlisivka

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?

twoerner avatar Dec 14 '18 04:12 twoerner