Shadowman94 / naclports

Automatically exported from code.google.com/p/naclports
0 stars 0 forks source link

gdb fails to build with nacl-clang #202

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Lots of these errors:

/usr/local/google/home/sbc/dev/naclports/src/out/build/gdb/gdb-7.7/bfd/elf32-arm
.c:9959:36: error: absolute value function 'abs' given an argument of type 
'bfd_signed_vma' (aka 'long long') but has parameter of type 'int' which may 
cause truncation of value [-Werror,-Wabsolute-value]
        g_n = calculate_group_reloc_mask (abs (signed_value), group,
                                          ^
/usr/local/google/home/sbc/dev/naclports/src/out/build/gdb/gdb-7.7/bfd/elf32-arm
.c:9959:36: note: use function 'llabs' instead
        g_n = calculate_group_reloc_mask (abs (signed_value), group,
                                          ^~~
                                          llabs

Original issue reported on code.google.com by sbc@google.com on 17 Mar 2015 at 1:11