frv cross-compiler?
Waldemar Brodkorb
wbx@openadk.org
Sat Nov 14 08:32:00 GMT 2015
Hi GCC Hackers,
is it possible to build a frv cross-compiler?
I know it is a rather old architecture. But I would like
to try the GDB simulator with Linux and frv, because
there is a working noMMU FDPIC implementation.
I tried different gcc version, gcc 4.8.5, gcc 4.9.3,
gcc 5.2.0 and gcc git. ALl fail with this error:
/home/wbx/frv/toolchain_build_toolchain-frv_uclibc-ng_frv_nommu/w-gcc-5.2.0-1/gcc-5.2.0-initial/./gcc/xgcc
-B/home/wbx/frv/toolchain_build_toolchain-frv_uclibc-ng_frv_nommu/w-gcc-5.2.0-1/gcc-5.2.0-initial/./gcc/
-B/home/wbx/frv/toolchain_toolchain-frv_uclibc-ng_frv_nommu/usr/frv-openadk-linux-uclibc/bin/
-B/home/wbx/frv/toolchain_toolchain-frv_uclibc-ng_frv_nommu/usr/frv-openadk-linux-uclibc/lib/
-isystem
/home/wbx/frv/toolchain_toolchain-frv_uclibc-ng_frv_nommu/usr/frv-openadk-linux-uclibc/include
-isystem
/home/wbx/frv/toolchain_toolchain-frv_uclibc-ng_frv_nommu/usr/frv-openadk-linux-uclibc/sys-include
-g -O2 -O2 -g -O2 -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE -W -Wall
-Wno-narrowing -Wwrite-strings -Wcast-qual -Wstrict-prototypes
-Wmissing-prototypes -Wold-style-definition -isystem ./include
-fPIC -g -DIN_LIBGCC2 -fbuilding-libgcc -fno-stack-protector -fPIC
-I. -I. -I../.././gcc
-I/home/wbx/frv/toolchain_build_toolchain-frv_uclibc-ng_frv_nommu/w-gcc-5.2.0-1/gcc-5.2.0/libgcc
-I/home/wbx/frv/toolchain_build_toolchain-frv_uclibc-ng_frv_nommu/w-gcc-5.2.0-1/gcc-5.2.0/libgcc/.
-I/home/wbx/frv/toolchain_build_toolchain-frv_uclibc-ng_frv_nommu/w-gcc-5.2.0-1/gcc-5.2.0/libgcc/../gcc
-I/home/wbx/frv/toolchain_build_toolchain-frv_uclibc-ng_frv_nommu/w-gcc-5.2.0-1/gcc-5.2.0/libgcc/../include
-o _gcov_merge_delta.o -MT _gcov_merge_delta.o -MD -MP -MF
_gcov_merge_delta.dep -DL_gcov_merge_delta -c
/home/wbx/frv/toolchain_build_toolchain-frv_uclibc-ng_frv_nommu/w-gcc-5.2.0-1/gcc-5.2.0/libgcc/libgcov-merge.c
/home/wbx/frv/toolchain_build_toolchain-frv_uclibc-ng_frv_nommu/w-gcc-5.2.0-1/gcc-5.2.0/libgcc/unwind-dw2-fde-dip.c:
In function '_Unwind_IteratePhdrCallback':
/home/wbx/frv/toolchain_build_toolchain-frv_uclibc-ng_frv_nommu/w-gcc-5.2.0-1/gcc-5.2.0/libgcc/unwind-dw2-fde-dip.c:161:31:
error: storage size of 'load_base' isn't known
struct elf32_fdpic_loadaddr load_base;
^
/home/wbx/frv/toolchain_build_toolchain-frv_uclibc-ng_frv_nommu/w-gcc-5.2.0-1/gcc-5.2.0/libgcc/unwind-dw2-fde-dip.c:161:31:
warning: unused variable 'load_base' [-Wunused-variable]
make[6]: *** [unwind-dw2-fde-dip.o] Error 1
Is it just a missing include? What is the last known working gcc
version for frv-linux-gcc?
Thanks for any hints,
Waldemar
More information about the Gcc-help
mailing list