public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
From: Jan-Benedict Glaw <jbglaw@lug-owl.de>
To: Iain Buclaw <ibuclaw@gdcproject.org>
Cc: gdb-patches@sourceware.org
Subject: [BUILDROBOT] asprintf() no longer declared (was: [PATCH v2 1/2] Sync libiberty with gcc upstream)
Date: Thu, 25 Jun 2015 14:23:00 -0000	[thread overview]
Message-ID: <20150625142348.GO16812@lug-owl.de> (raw)
In-Reply-To: <CABOHX+fRn+jrNs_hfuf6FHr3koC7ynSDYRFfjkFesJYgfUjdjg@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 2544 bytes --]

Hi Iain,

On Fri, 2015-06-19 17:18:38 +0200, Iain Buclaw <ibuclaw@gdcproject.org> wrote:
> Belated attempt at downstreaming libiberty changes from upstream.
> Split it into two patches, one with dlang related changes, the other
> with everything else.
> 
> As requested, commits have been replayed ontop of gdb rather than a
> straight diff between the directories.
[...]

Seems there were some minor changes in libiberty which breaks code
generation on non-GNU systems due to missing asprintf().

  On the AIX builder (gcc111.fsffrance.org), I see build failures in
Binutils since then, see ie.
http://toolchain.lug-owl.de/buildbot/show_build_details.php?id=448549:

/bin/sh ./libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I/home/jbglaw/repos/binutils_gdb/bfd -I. -I/home/jbglaw/repos/binutils_gdb/bfd -I/home/jbglaw/repos/binutils_gdb/bfd/../include  -DHAVE_cr16_elf32_vec -DHAVE_elf32_le_vec -DHAVE_elf32_be_vec -DHAVE_plugin_vec  -DBINDIR='"/home/jbglaw/build/cr16-elf/_install_/bin"'  -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Werror -I/home/jbglaw/repos/binutils_gdb/bfd/../zlib -g -O2 -MT bfd.lo -MD -MP -MF .deps/bfd.Tpo -c -o bfd.lo /home/jbglaw/repos/binutils_gdb/bfd/bfd.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I/home/jbglaw/repos/binutils_gdb/bfd -I. -I/home/jbglaw/repos/binutils_gdb/bfd -I/home/jbglaw/repos/binutils_gdb/bfd/../include -DHAVE_cr16_elf32_vec -DHAVE_elf32_le_vec -DHAVE_elf32_be_vec -DHAVE_plugin_vec -DBINDIR=\"/home/jbglaw/build/cr16-elf/_install_/bin\" -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Werror -I/home/jbglaw/repos/binutils_gdb/bfd/../zlib -g -O2 -MT bfd.lo -MD -MP -MF .deps/bfd.Tpo -c /home/jbglaw/repos/binutils_gdb/bfd/bfd.c -o bfd.o
/home/jbglaw/repos/binutils_gdb/bfd/bfd.c: In function 'bfd_errmsg':
/home/jbglaw/repos/binutils_gdb/bfd/bfd.c:543:7: error: implicit declaration of function 'asprintf' [-Werror=implicit-function-declaration]
       if (asprintf (&buf, _(bfd_errmsgs [error_tag]), input_bfd->filename, msg)
       ^
cc1: all warnings being treated as errors
make[3]: *** [bfd.lo] Error 1
make[3]: Leaving directory `/home/jbglaw/build/cr16-elf/build-binutils-full/bfd'


MfG, JBG

-- 
      Jan-Benedict Glaw      jbglaw@lug-owl.de              +49-172-7608481
Signature of:         "really soon now":      an unspecified period of time, likly to
the second  :                                 be greater than any reasonable definition
                                              of "soon".

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 181 bytes --]

  parent reply	other threads:[~2015-06-25 14:23 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-06-19 15:18 [PATCH v2 1/2] Sync libiberty with gcc upstream Iain Buclaw
2015-06-24 11:34 ` Pedro Alves
2015-06-24 13:52   ` Iain Buclaw
2015-06-24 13:54     ` Pedro Alves
2015-06-25 14:23 ` Jan-Benedict Glaw [this message]
2015-06-25 21:13   ` [BUILDROBOT] asprintf() no longer declared Sergio Durigan Junior
2015-06-30 16:25   ` [BUILDROBOT] asprintf() no longer declared (was: [PATCH v2 1/2] Sync libiberty with gcc upstream) Jan-Benedict Glaw
2015-06-30 16:42     ` [BUILDROBOT] asprintf() no longer declared Luis Machado
2015-06-30 16:55     ` Pedro Alves

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=20150625142348.GO16812@lug-owl.de \
    --to=jbglaw@lug-owl.de \
    --cc=gdb-patches@sourceware.org \
    --cc=ibuclaw@gdcproject.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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).