Current-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
crosscompiling new gdb for evbarm fails
Hi,
"build.sh ... distribution"[*] for evbarm fails (on both amd64 and i386)
in gdb with:
>-1005: /u/NetBSD/arch/evbarm/TOOLS/bin/nbmake-evbarm dependall
compile libbfd/dwarf2.o
/u/NetBSD/src/external/gpl3/gdb/dist/bfd/dwarf2.c: In function
'read_alt_indirect_string':
/u/NetBSD/src/external/gpl3/gdb/dist/bfd/dwarf2.c:667:7: error: implicit
declaration of function 'bfd_follow_gnu_debugaltlink'
[-Werror=implicit-function-declaration]
char * debug_filename = bfd_follow_gnu_debugaltlink (unit->abfd,
DEBUGDIR);
^
/u/NetBSD/src/external/gpl3/gdb/dist/bfd/dwarf2.c:667:31: error: initialization
makes pointer from integer without a cast [-Werror]
char * debug_filename = bfd_follow_gnu_debugaltlink (unit->abfd,
DEBUGDIR);
^
/u/NetBSD/src/external/gpl3/gdb/dist/bfd/dwarf2.c: In function
'read_alt_indirect_ref':
/u/NetBSD/src/external/gpl3/gdb/dist/bfd/dwarf2.c:713:31: error: initialization
makes pointer from integer without a cast [-Werror]
char * debug_filename = bfd_follow_gnu_debugaltlink (unit->abfd,
DEBUGDIR);
^
cc1: all warnings being treated as errors
*** Failed target: dwarf2.o
*** Failed command: /u/NetBSD/arch/evbarm/TOOLS/bin/arm--netbsdelf-eabihf-gcc
-O2 -pipe -std=gnu99 -Werror --sysroot=/u/NetBSD/arch/evbarm/dest
-I/u/NetBSD/src/external/gpl3/gdb/lib/libbfd/arch/earmhf
-I/u/NetBSD/src/external/gpl3/gdb/dist/include -I.
-I/u/NetBSD/src/external/gpl3/gdb/dist/bfd -DHAVE_CONFIG_H -DNETBSD_CORE
-DHAVE_bfd_elf32_littlearm_vec -DHAVE_bfd_elf32_bigarm_vec -DHAVE_armnetbsd_vec
-DHAVE_bfd_elf32_little_generic_vec -DHAVE_bfd_elf32_big_generic_vec
-DDEFAULT_VECTOR=bfd_elf32_littlearm_vec
-DSELECT_VECS='&bfd_elf32_littlearm_vec,&bfd_elf32_bigarm_vec,&armnetbsd_vec,&bfd_elf32_little_generic_vec,&bfd_elf32_big_generic_vec'
-DSELECT_ARCHITECTURES='&bfd_arm_arch' -I/bfd -I/bfd/../include
-DDEBUGDIR=\"/usr/libdata/debug\" -c
/u/NetBSD/src/external/gpl3/gdb/dist/bfd/dwarf2.c -o dwarf2.o
*** Error code 1
Stop.
[*] current source updated some minutes ago, full command string:
===> build.sh command: ./build.sh -u -N 1 -j 8 -U -a earmhf -m evbarm
-O /u/NetBSD/arch/evbarm/obj -D /u/NetBSD/arch/evbarm/dest -R
/u/NetBSD/arch/evbarm/release -T /u/NetBSD/arch/evbarm/TOOLS distribution
Kurt
Home |
Main Index |
Thread Index |
Old Index