[PATCH 1/1] sandbox: add symbol _init for RISC-V compilation
Bin Meng
bmeng.cn at gmail.com
Wed May 19 03:27:50 CEST 2021
Hi Jim,
On Wed, May 19, 2021 at 5:36 AM Jim Wilson <jimw at sifive.com> wrote:
>
> On Tue, May 18, 2021 at 2:32 PM Jim Wilson <jimw at sifive.com> wrote:
>>
>> On Tue, May 18, 2021 at 1:58 PM Heinrich Schuchardt <xypron.glpk at gmx.de> wrote:
>>>
>>> I am compiling the sandbox_defconfig target of upstream U-Boot with GCC
>>> 11. Please, indicate what "legacy user code" you are referring to.
>>
>>
>> I have no idea what that is. I'm not a uboot developer.
>
>
> By "user code" I mean that it isn't toolchain code, as the toolchain doesn't use init.
Heinrich was using a GCC natively (not cross-compile) on a RISC-V
board to build a "user code" and unfortunately it did not build.
Do you think this might be related to how GCC was configured for native RISC-V?
Regards,
Bin
More information about the U-Boot
mailing list