关于链接到内置的 riscv64 libgcc.a

问题描述 投票:0回答:0

我是 riscv GNU 工具链的新手。编译程序时,出现了一些错误。

A hidden symbol named **'__gtdf2'** in /XXX/bin/../lib/gcc/riscv64-unknown-elf/10.2.0/rv64imac/lp64/libgcc.a(gedf2.o) is referenced by DSO.

这是我的编译命令:

riscv64-unknown-elf-g++ test.cpp  ./libXXX.so -o test.out -I XXX/include/path/ -march=rv64imac -mabi=lp64

我想知道是我构建的 libgcc.a 不正确还是其他原因导致的。

非常感谢

gnu ld riscv
© www.soinside.com 2019 - 2024. All rights reserved.