Skip to content
This repository has been archived by the owner on Jan 11, 2019. It is now read-only.

Compile error when bitbake elfutils-0.170 #32

Open
NeutrinoLiu opened this issue Sep 11, 2018 · 2 comments
Open

Compile error when bitbake elfutils-0.170 #32

NeutrinoLiu opened this issue Sep 11, 2018 · 2 comments

Comments

@NeutrinoLiu
Copy link

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?

@vlisivka
Copy link

Same problem on Fedora 28.

@twoerner
Copy link
Contributor

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?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants