Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: crosscompiling new gdb for evbarm fails



In article <20140623160543.GA17893%mac-1.ub.uni-mainz.de@localhost>,
Kurt Schreiner  <ks%ub.uni-mainz.de@localhost> wrote:
>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.
>

Not all arm flavors have been regenerated yet. Stay tuned; these three
are missing:

drwxrwxr-x  3 christos  src  512 Feb 13 05:57 earmeb/
drwxrwxr-x  3 christos  src  512 Feb 13 05:57 earmhf/
drwxrwxr-x  3 christos  src  512 Feb 13 05:57 earmhfeb/

christos



Home | Main Index | Thread Index | Old Index