Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Bill Morgan <arthurwilliammorgan@gmail.com>
To: gdb@sourceware.org
Subject: elf-attrs.c compliation errors
Date: Wed, 01 Aug 2018 00:44:00 -0000	[thread overview]
Message-ID: <CAM4wpo8p6ah9dNgJ1+U_qAZ12Hy5C5J5jN4H6Nn5UjesPFTfjw@mail.gmail.com> (raw)

Hello,

I'm building this commit: 33633d9f5b138a211405d482436db2f7661b190e

With this configuration:

./configure \
    --build=x86_64-w64-mingw64 \
    --host=x86_64-w64-mingw64 \
    --target=arm-none-eabi \
    --with-python \
    --without-tcl \
    --without-tk \
    --without-guile \
    --with-expat \
    --with-lzma \
    --with-system-readline \
    --with-zlib \
    --enable-tui

I am getting the compilation errors below:

MINGW64 /d/git/binutils-gdb (master)*
$ make -j16 -k
make[1]: Entering directory '/d/git/binutils-gdb'
make[1]: Nothing to be done for 'all-target'.
make[2]: Entering directory '/d/git/binutils-gdb/libiberty'
make[2]: Entering directory '/d/git/binutils-gdb/intl'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/d/git/binutils-gdb/intl'
make[2]: Entering directory '/d/git/binutils-gdb/zlib'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/d/git/binutils-gdb/zlib'
make[2]: Entering directory '/d/git/binutils-gdb/libdecnumber'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/d/git/binutils-gdb/libdecnumber'
make[2]: Entering directory '/d/git/binutils-gdb/etc'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/d/git/binutils-gdb/etc'
make[3]: Entering directory '/d/git/binutils-gdb/libiberty/testsuite'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/d/git/binutils-gdb/libiberty/testsuite'
make[2]: Entering directory '/d/git/binutils-gdb/readline'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/d/git/binutils-gdb/readline'
make[2]: Leaving directory '/d/git/binutils-gdb/libiberty'
make[2]: Entering directory '/d/git/binutils-gdb/bfd'
Making info in doc
make[3]: Entering directory '/d/git/binutils-gdb/bfd/doc'
make[3]: Leaving directory '/d/git/binutils-gdb/bfd/doc'
Making info in po
make[3]: Entering directory '/d/git/binutils-gdb/bfd/po'
make[3]: Nothing to be done for 'info'.
make[3]: Leaving directory '/d/git/binutils-gdb/bfd/po'
make[3]: Entering directory '/d/git/binutils-gdb/bfd'
make[3]: Nothing to be done for 'info-am'.
make[3]: Leaving directory '/d/git/binutils-gdb/bfd'
make  all-recursive
make[3]: Entering directory '/d/git/binutils-gdb/bfd'
Making all in doc
make[4]: Entering directory '/d/git/binutils-gdb/bfd/doc'
make[4]: Leaving directory '/d/git/binutils-gdb/bfd/doc'
Making all in po
make[4]: Entering directory '/d/git/binutils-gdb/bfd/po'
make[4]: Nothing to be done for 'all'.
make[4]: Leaving directory '/d/git/binutils-gdb/bfd/po'
make[4]: Entering directory '/d/git/binutils-gdb/bfd'
/bin/sh ./libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.
-DBINDIR='"/mingw64/bin"' -I. -I. -I./../include  -DHAVE_arm_elf32_le_vec
-DHAVE_arm_elf32_fdpic_le_vec -DHAVE_arm_elf32_be_vec
-DHAVE_arm_elf32_fdpic_be_vec -DHAVE_elf32_le_vec -DHAVE_elf32_be_vec
-DHAVE_plugin_vec   -W -Wall -Wstrict-prototypes -Wmissing-prototypes
-Wshadow -Wstack-usage=262144 -Werror -I./../zlib -g -O2
-D__USE_MINGW_ACCESS -MT elf-attrs.lo -MD -MP -MF .deps/elf-attrs.Tpo -c -o
elf-attrs.lo elf-attrs.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -DBINDIR=\"/mingw64/bin\" -I.
-I. -I./../include -DHAVE_arm_elf32_le_vec -DHAVE_arm_elf32_fdpic_le_vec
-DHAVE_arm_elf32_be_vec -DHAVE_arm_elf32_fdpic_be_vec -DHAVE_elf32_le_vec
-DHAVE_elf32_be_vec -DHAVE_plugin_vec -W -Wall -Wstrict-prototypes
-Wmissing-prototypes -Wshadow -Wstack-usage=262144 -Werror -I./../zlib -g
-O2 -D__USE_MINGW_ACCESS -MT elf-attrs.lo -MD -MP -MF .deps/elf-attrs.Tpo
-c elf-attrs.c -o elf-attrs.o
In file included from elf-attrs.c:21:0:
elf-attrs.c: In function '_bfd_elf_parse_attributes':
elf-attrs.c:446:29: error: unknown conversion type character 'l' in format
[-Werror=format=]
       _bfd_error_handler (_("%pB: error: attribute section '%pA' too big:
%#llx"),
                             ^
sysdep.h:204:44: note: in definition of macro 'gettext'
 # define gettext(Msgid) dgettext (PACKAGE, Msgid)
                                            ^~~~~
elf-attrs.c:446:27: note: in expansion of macro '_'
       _bfd_error_handler (_("%pB: error: attribute section '%pA' too big:
%#llx"),
                           ^
elf-attrs.c:446:29: error: too many arguments for format
[-Werror=format-extra-args]
       _bfd_error_handler (_("%pB: error: attribute section '%pA' too big:
%#llx"),
                             ^
sysdep.h:204:44: note: in definition of macro 'gettext'
 # define gettext(Msgid) dgettext (PACKAGE, Msgid)
                                            ^~~~~
elf-attrs.c:446:27: note: in expansion of macro '_'
       _bfd_error_handler (_("%pB: error: attribute section '%pA' too big:
%#llx"),
                           ^
cc1.exe: all warnings being treated as errors
make[4]: *** [Makefile:1599: elf-attrs.lo] Error 1
make[4]: Target 'all-am' not remade because of errors.
make[4]: Leaving directory '/d/git/binutils-gdb/bfd'
make[3]: *** [Makefile:1642: all-recursive] Error 1
make[3]: Leaving directory '/d/git/binutils-gdb/bfd'
make[2]: *** [Makefile:1168: all] Error 2
make[2]: Leaving directory '/d/git/binutils-gdb/bfd'
make[1]: *** [Makefile:2699: all-bfd] Error 2
make[1]: Target 'all-host' not remade because of errors.
make[1]: Leaving directory '/d/git/binutils-gdb'
make: *** [Makefile:857: all] Error 2
MINGW64 /d/git/binutils-gdb (master)*
$


             reply	other threads:[~2018-08-01  0:44 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-08-01  0:44 Bill Morgan [this message]
2018-08-01 12:45 ` Simon Marchi
2018-08-01 14:24   ` Bill Morgan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAM4wpo8p6ah9dNgJ1+U_qAZ12Hy5C5J5jN4H6Nn5UjesPFTfjw@mail.gmail.com \
    --to=arthurwilliammorgan@gmail.com \
    --cc=gdb@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox