|
From: | Li, Meng |
Subject: | RE: Fwd: build u-boot failed with config CONFIG_ARMV8_PSCI by aarch linux gcc 8.1 |
Date: | Sat, 6 Oct 2018 10:37:54 +0000 |
Hi
Renlin, Thanks for your advice. As you said, I tried to modify u-boot, and then building passed. Thanks, Limeng From: Renlin Li [mailto:address@hidden
Hi Meng, Thanks for raising the issue! I could reproduce the issue with the information you gave. It seems to me that, the change I made earlier catches an issue here. in /arch/arm/cpu/armv8/psci.S /* PSCI function and ID table definition*/ #define PSCI_TABLE(__id, __fn) \ .word __id; \ .word __fn ".word" is used to hold the address of a function. The toolchain you used is aarch64-linux, which by default supports LP64 ABI. This means Long and void * (pointer) data type is 64-bit. IIUC, a ".xword" should be used instead. Otherwise, you should use ILP32 ABI. But be aware, the support for ILP32 might not be complete. Regards, Renlin
|
[Prev in Thread] | Current Thread | [Next in Thread] |