undefined reference to `__dyn_sym_start' since commit bf3ef53bb7f5 ("firmware: Enable FW_PIC by default")

Bin Meng bmeng.cn at gmail.com
Sat Jul 3 09:13:28 PDT 2021


On Sat, Jul 3, 2021 at 11:58 PM Heinrich Schuchardt <xypron.glpk at gmx.de> wrote:
>
> On 7/3/21 5:07 PM, Bin Meng wrote:
> > On Sat, Jul 3, 2021 at 7:37 PM Heinrich Schuchardt <xypron.glpk at gmx.de> wrote:
> >>
> >> make \
> >>           PLATFORM=kendryte/k210 \
> >>           FW_PAYLOAD=y \
> >>           FW_PAYLOAD_OFFSET=0x20000 \
> >>           FW_PAYLOAD_PATH=u-boot-dtb.bin
> >>
> >> fails with
> >
> > I don't see any problem with building it with current opensbi/master.
> > I am using GCC 10.2.0.
>
> The missing symbols are created by a linker script. So I guess the
> important thing is the linker version.
>
> My tools are
>
> riscv64-linux-gnu-gcc (Debian 10.2.1-6) 10.2.1 20210110
> GNU ld (GNU Binutils for Debian) 2.35.2
>
> on an *aarch64* Debian Bullseye system.
>
> I am on commit a731c7e36988c33.

I have:

GCC 10.2.0
GNU ld 2.34

on my x86 machine, and could not reproduce this on the same commit.

>
> On an amd64 system with the same software release I am not able to
> reproduce the problem.
>

Regards,
Bin



More information about the opensbi mailing list