From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 121319 invoked by alias); 30 Jun 2015 16:42:59 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Received: (qmail 121294 invoked by uid 89); 30 Jun 2015 16:42:57 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.4 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 X-HELO: relay1.mentorg.com Received: from relay1.mentorg.com (HELO relay1.mentorg.com) (192.94.38.131) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 30 Jun 2015 16:42:54 +0000 Received: from svr-orw-fem-06.mgc.mentorg.com ([147.34.97.120]) by relay1.mentorg.com with esmtp id 1Z9ycU-0004zv-8j from Luis_Gustavo@mentor.com ; Tue, 30 Jun 2015 09:42:50 -0700 Received: from [172.30.8.245] (147.34.91.1) by SVR-ORW-FEM-06.mgc.mentorg.com (147.34.97.120) with Microsoft SMTP Server id 14.3.224.2; Tue, 30 Jun 2015 09:42:49 -0700 Message-ID: <5592C705.8070907@codesourcery.com> Date: Tue, 30 Jun 2015 16:42:00 -0000 From: Luis Machado Reply-To: Luis Machado User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: Jan-Benedict Glaw , Iain Buclaw CC: Subject: Re: [BUILDROBOT] asprintf() no longer declared References: <20150625142348.GO16812@lug-owl.de> <20150630162540.GA23299@lug-owl.de> In-Reply-To: <20150630162540.GA23299@lug-owl.de> Content-Type: text/plain; charset="utf-8"; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2015-06/txt/msg00652.txt.bz2 On 06/30/2015 01:25 PM, Jan-Benedict Glaw wrote: > On Thu, 2015-06-25 16:23:48 +0200, Jan-Benedict Glaw wrote: >> On Fri, 2015-06-19 17:18:38 +0200, Iain Buclaw 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' > > It's a few days since building GDB probably broke on all non-GNU > platforms. Is somebody about to work on that? > > MfG, JBG > For the record, i'm running into this as well for Mingw builds.