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

Compile error when bitbake elfutils-0.170 #32

@NeutrinoLiu

Description

@NeutrinoLiu

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions