Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FS#3488 - mvebu: kexec-tools gcc10 compile fix #8357

Open
openwrt-bot opened this issue Dec 4, 2020 · 0 comments
Open

FS#3488 - mvebu: kexec-tools gcc10 compile fix #8357

openwrt-bot opened this issue Dec 4, 2020 · 0 comments
Labels
core packages pull request/issue for core (in-tree) packages flyspray

Comments

@openwrt-bot
Copy link

ByteEnable:

kexec-tools fails to compile when building latest master from git and using GCC 10. Multiple definitions and one declaration of a debug variable named my_debug for PPC64 that spills over into arm.

--- a/kexec/fs2dt.h
+++ b/kexec/fs2dt.h
@@ -30,7 +30,7 @@ extern struct bootblock bb[1];

/* Used for enabling printing message from purgatory code

  • Only has implemented for PPC64 */
    -int my_debug;
    +extern int my_debug;
    extern int dt_no_old_root;

void reserve(unsigned long long where, unsigned long long length);

@aparcar aparcar added the core packages pull request/issue for core (in-tree) packages label Feb 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
core packages pull request/issue for core (in-tree) packages flyspray
Projects
None yet
Development

No branches or pull requests

2 participants