This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Broken build: nlmconv.c: 32-bit host --enable-targets=all --enable-64-bit-bfd


Hi,

commit 3565cf8fedf2bae2b383fae66dde62c3bdae51c9
Author: Nick Clifton <nickc@redhat.com>
Date:   Thu Jan 8 12:37:46 2015 +0000
    Fixes for memory access violations triggered by running nlmconv on
    fuzzed binaries.
        PR binutils/17512

Fedora 22 i386 (32-bit host):
./configure --enable-targets=all --enable-64-bit-bfd;make

gcc -DHAVE_CONFIG_H -I.  -I. -I. -I../bfd -I./../bfd -I./../include -DLOCALEDIR="\"/usr/local/share/locale\"" -Dbin_dummy_emulation=bin_vanilla_emulation  -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Werror -g -O2 -MT nlmconv.o -MD -MP -MF .deps/nlmconv.Tpo -c -o nlmconv.o \
  -DLD_NAME="\"${ldname}\"" -DNLMCONV_I386 -DNLMCONV_ALPHA -DNLMCONV_POWERPC -DNLMCONV_SPARC ./nlmconv.c
./nlmconv.c: In function ‘powerpc_mangle_relocs’:
./nlmconv.c:1939:5: error: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘bfd_size_type’ [-Werror=format=]
     non_fatal (_("Out of range relocation: %lx"), rel->address);
     ^
./nlmconv.c:1994:5: error: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘bfd_size_type’ [-Werror=format=]
     non_fatal (_("Out of range relocation: %lx"), rel->address);
     ^
./nlmconv.c:2016:5: error: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘bfd_size_type’ [-Werror=format=]
     non_fatal (_("Out of range relocation: %lx"), rel->address);
     ^
cc1: all warnings being treated as errors
Makefile:1442: recipe for target 'nlmconv.o' failed


Jan


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]