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]

build failure in aarch64-opc.c on macOS


Hi.  A recent patch caused opcodes to fail to build on macOS (High
Sierra) using the version of clang I have installed (Apple's clang-902).

libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../../binutils-gdb/opcodes -I. -I../../binutils-gdb/opcodes -I../bfd -I../../binutils-gdb/opcodes/../include -I../../binutils-gdb/opcodes/../bfd -I./../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Werror -g -O2 -MT aarch64-opc.lo -MD -MP -MF .deps/aarch64-opc.Tpo -c ../../binutils-gdb/opcodes/aarch64-opc.c -o aarch64-opc.o
../../binutils-gdb/opcodes/aarch64-opc.c:4674:35: error: missing field
      'qualifier' initializer [-Werror,-Wmissing-field-initializers]
          aarch64_opnd_info blk_pred = {0}, inst_pred = {0};
                                         ^
../../binutils-gdb/opcodes/aarch64-opc.c:4674:52: error: missing field
      'qualifier' initializer [-Werror,-Wmissing-field-initializers]
          aarch64_opnd_info blk_pred = {0}, inst_pred = {0};
                                                          ^

thanks,
Tom


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