https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68468

            Bug ID: 68468
           Summary: frv toolchain build error
           Product: gcc
           Version: 6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: libgcc
          Assignee: unassigned at gcc dot gnu.org
          Reporter: wbx at openadk dot org
  Target Milestone: ---

Compile for fav cross-compiler fails with:

/home/wbx/openadk/toolchain_build_toolchain-frv_uclibc-ng_frv_nommu/w-gcc-git-1/gcc-git-initial/./gcc/xgcc
-B/home/wbx/openadk/toolchain_build_toolchain-frv_uclibc-ng_frv_nommu/w-gcc-git-1/gcc-git-initial/./gcc/
-B/home/wbx/openadk/toolchain_toolchain-frv_uclibc-ng_frv_nommu/usr/frv-openadk-linux-uclibc/bin/
-B/home/wbx/openadk/toolchain_toolchain-frv_uclibc-ng_frv_nommu/usr/frv-openadk-linux-uclibc/lib/
-isystem
/home/wbx/openadk/toolchain_toolchain-frv_uclibc-ng_frv_nommu/usr/frv-openadk-linux-uclibc/include
-isystem
/home/wbx/openadk/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/openadk/toolchain_build_toolchain-frv_uclibc-ng_frv_nommu/w-gcc-git-1/gcc-git/libgcc
-I/home/wbx/openadk/toolchain_build_toolchain-frv_uclibc-ng_frv_nommu/w-gcc-git-1/gcc-git/libgcc/.
-I/home/wbx/openadk/toolchain_build_toolchain-frv_uclibc-ng_frv_nommu/w-gcc-git-1/gcc-git/libgcc/../gcc
-I/home/wbx/openadk/toolchain_build_toolchain-frv_uclibc-ng_frv_nommu/w-gcc-git-1/gcc-git/libgcc/../include
   -o _gcov_merge_ior.o -MT _gcov_merge_ior.o -MD -MP -MF _gcov_merge_ior.dep
-DL_gcov_merge_ior -c
/home/wbx/openadk/toolchain_build_toolchain-frv_uclibc-ng_frv_nommu/w-gcc-git-1/gcc-git/libgcc/libgcov-merge.c
/home/wbx/openadk/toolchain_build_toolchain-frv_uclibc-ng_frv_nommu/w-gcc-git-1/gcc-git/libgcc/unwind-dw2-fde-dip.c:
In function '_Unwind_IteratePhdrCallback':
/home/wbx/openadk/toolchain_build_toolchain-frv_uclibc-ng_frv_nommu/w-gcc-git-1/gcc-git/libgcc/unwind-dw2-fde-dip.c:167:31:
error: storage size of 'load_base' isn't known
   struct elf32_fdpic_loadaddr load_base;
                               ^

/home/wbx/openadk/toolchain_build_toolchain-frv_uclibc-ng_frv_nommu/w-gcc-git-1/gcc-git/libgcc/unwind-dw2-fde-dip.c:167:31:
warning: unused variable 'load_base' [-Wunused-variable]
make[6]: *** [unwind-dw2-fde-dip.o] Error 1
make[6]: *** Waiting for unfinished jobs....

Reply via email to