Gcc 在arm系统上构建Tor时出错

Gcc 在arm系统上构建Tor时出错,gcc,compiler-errors,arm,tor,Gcc,Compiler Errors,Arm,Tor,我正试图在NAS(Synology DS213j)上从源代码构建Tor ./configure失败,出现此错误(config.log的代码段): 如果我尝试在没有-mfloat abi=hard的情况下构建,那么 configure:4097: checking whether the C compiler works configure:4119: gcc -I${top_srcdir}/src/common conftest.c >&5 /opt/lib/gcc/arm

我正试图在NAS(Synology DS213j)上从源代码构建Tor

./configure失败,出现此错误(config.log的代码段):

如果我尝试在没有
-mfloat abi=hard
的情况下构建,那么

configure:4097: checking whether the C compiler works
configure:4119: gcc   -I${top_srcdir}/src/common  conftest.c  >&5
/opt/lib/gcc/arm-none-linux-gnueabi/4.2.3/../../../../arm-none-linux-gnueabi/bin/ld: ERROR: /lib/libc.so.6 uses VFP register arguments, a.out does not
/opt/lib/gcc/arm-none-linux-gnueabi/4.2.3/../../../../arm-none-linux-gnueabi/bin/ld: failed to merge target specific data of file /lib/libc.so.6
我的猜测是编译需要vfp,但是我的编译器由于某种原因阻塞了它,尽管处理器(Marvell Armada 370)应该支持它

那么,如何将VFP输入到编译器中呢


谢谢你的帮助

你的编译器来自哪里?您(7岁)的工具链可能是软浮动的,这意味着您不能使用VFP,即使它存在。如果这是适用于您的设备的正确工具链,那么它很可能使用softfloat libc与旧设备兼容。@unixsmurf我从引导附带的ipkg存储库中获得了它。如果你(或其他人)能给我指一个更为最新的工具链,我将不胜感激。是的,这是一个古老的softfloat东西,能够在很多不同的设备之间兼容。你最好的选择可能是这样的-虽然如果现在做一个新的,可能想使用即将发布的“杰西”而不是“喘息”。谢谢链接!这比我使用的bootstrap更适合我的需要,而且我能够毫无问题地运行Tor。谢谢大家!@如果你想把你的评论变成一个答案,我会接受的。
configure:4097: checking whether the C compiler works
configure:4119: gcc   -I${top_srcdir}/src/common  conftest.c  >&5
/opt/lib/gcc/arm-none-linux-gnueabi/4.2.3/../../../../arm-none-linux-gnueabi/bin/ld: ERROR: /lib/libc.so.6 uses VFP register arguments, a.out does not
/opt/lib/gcc/arm-none-linux-gnueabi/4.2.3/../../../../arm-none-linux-gnueabi/bin/ld: failed to merge target specific data of file /lib/libc.so.6