build error armv5t by gcc

Mori Hiroki yamori813 at yahoo.co.jp
Thu Oct 26 06:09:09 UTC 2017


Hi

I still have hang up problem on armv5t. I back to gcc because of clang build is take a long time.

I have build error to armv5t(RT1310) by gcc.

How to fix this ? 

cc -isystem /storage/home/hiroki/zorg/obj//storage/home/hiroki/zorg/ZRouter/tmp/
/arm.arm/storage/home/hiroki/freebsd/tmp/usr/include -L/storage/home/hiroki/zorg
/obj//storage/home/hiroki/zorg/ZRouter/tmp//arm.arm/storage/home/hiroki/freebsd/
tmp/usr/lib -B/storage/home/hiroki/zorg/obj//storage/home/hiroki/zorg/ZRouter/tm
p//arm.arm/storage/home/hiroki/freebsd/tmp/usr/lib --sysroot=/storage/home/hirok
i/zorg/obj//storage/home/hiroki/zorg/ZRouter/tmp//arm.arm/storage/home/hiroki/fr
eebsd/tmp -B/storage/home/hiroki/zorg/obj//storage/home/hiroki/zorg/ZRouter/tmp/
/arm.arm/storage/home/hiroki/freebsd/tmp/usr/bin  -O -pipe   -fpic -fvisibility=
hidden -DVISIBILITY_HIDDEN -I/storage/home/hiroki/freebsd/contrib/libcxxrt -DEMI
T_SYNC_ATOMICS -g -MD  -MF.depend.gcc_personality_v0.o -MTgcc_personality_v0.o -
std=gnu99 -Wsystem-headers -Wall -Wno-format-y2k -Wno-uninitialized -Wno-pointer
-sign     -c /storage/home/hiroki/freebsd/contrib/compiler-rt/lib/builtins/gcc_p
ersonality_v0.c -o gcc_personality_v0.o
In file included from /storage/home/hiroki/freebsd/contrib/compiler-rt/lib/built
ins/gcc_personality_v0.c:24:
/storage/home/hiroki/freebsd/contrib/compiler-rt/lib/builtins/unwind-ehabi-helpe
rs.h:42: error: redefinition of typedef '_Unwind_State'
/storage/home/hiroki/freebsd/contrib/libcxxrt/unwind-arm.h:41: error: previous d
eclaration of '_Unwind_State' was here

Temporary I comment up this error. Then build complete. 

Hiroki Mori


More information about the freebsd-arm mailing list