[FS#3488] mvebu: kexec-tools gcc10 compile fix

OpenWrt Bugs openwrt-bugs at lists.openwrt.org
Fri Dec 4 00:02:13 EST 2020


THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.

A new Flyspray task has been opened.  Details are below. 

User who did this - ByteEnable (ByteEnable) 

Attached to Project - OpenWrt/LEDE Project
Summary - mvebu: kexec-tools gcc10 compile fix
Task Type - Bug Report
Category - Packages
Status - Unconfirmed
Assigned To - 
Operating System - All
Severity - Low
Priority - Very Low
Reported Version - Trunk
Due in Version - Undecided
Due Date - Undecided
Details - 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);
   

 

More information can be found at the following URL:
https://bugs.openwrt.org/index.php?do=details&task_id=3488

You are receiving this message because you have requested it from the Flyspray bugtracking system.  If you did not expect this message or don't want to receive mails in future, you can change your notification settings at the URL shown above.



More information about the openwrt-bugs mailing list