This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH/libiberty] fix build of gdb/binutils with clang.
- From: Ian Lance Taylor <iant at google dot com>
- To: Yunlian Jiang <yunlian at google dot com>
- Cc: gcc-patches <gcc-patches at gcc dot gnu dot org>
- Date: Fri, 22 May 2015 13:55:00 -0700
- Subject: Re: [PATCH/libiberty] fix build of gdb/binutils with clang.
- Authentication-results: sourceware.org; auth=none
- References: <CAMsPy2vps4WX9ax-JfPCGdWbRw=deyu+OuqpgojSJFSe6e+HHg at mail dot gmail dot com> <CAKOQZ8wXKGAxKgcetJxPPWXgxaeNrbLf-E_o6Tz2zbjYF6VfQg at mail dot gmail dot com> <CAMsPy2v+MduooHaBA8hhiTcrq_1NeQm1X-LnOrMEoouUQii4kg at mail dot gmail dot com> <CAKOQZ8z7ME_yEbW3YgMWCLyRVz+w3wjYz7LNayBBBmC1atFYHA at mail dot gmail dot com> <CAMsPy2s2A8U-vTE8u9y+P+xmESKMSuHD=6RV798KNEQKbZdXUg at mail dot gmail dot com> <CAKOQZ8ybeY+6bC0XXVy4Ge3QPEcg6XcvhwBuXQjHhLRTMabm8g at mail dot gmail dot com> <CAMsPy2s9vwa+Y3fR4Xc8k5jnJG__jwWAbF2y0bbSfmz0bEYfYQ at mail dot gmail dot com> <CAKOQZ8zw5TUQ5uP60CuSrAokqohR1_Aq=F5-cGPYqSnL--jPzQ at mail dot gmail dot com> <CAMsPy2s5_mE6QCvXj5DEQxGGK6XhpPUMbzxQqqzEOd+f3gaEjg at mail dot gmail dot com> <CAKOQZ8xyg++19bQc1bUF4BnVq1T6GS6x3YdFJWLs3ELhTah0Zw at mail dot gmail dot com> <CAMsPy2tx79MJnBfEzC+9nTk6j0zMEv5hGp9AEVDGedmP0CqK7g at mail dot gmail dot com> <CAKOQZ8wmD7Fk7oLUbYccCAQTgdOj1jHDgGJ7k2nhO0msGzJPpQ at mail dot gmail dot com> <CAMsPy2sbrhrL4cuCaF_mYPE3icr-sph8mk26xoF-P8eDF2gNvQ at mail dot gmail dot com>
On Wed, May 20, 2015 at 3:58 PM, Yunlian Jiang <yunlian@google.com> wrote:
> GCC bootstraps with this patch.
Committed as follows.
Ian
include/:
2015-05-22 Yunlian Jiang <yunlian@google.com>
* libiberty.h (asprintf): Don't declare if HAVE_DECL_ASPRINTF is
not defined.
libiberty/:
2015-05-22 Yunlian Jiang <yunlian@google.com>
* configure.ac: Add AC_GNU_SOURCE.
* Makefile.in (COMPILE.c): Add -D_GNU_SOURCE.
* configure, config.in: Rebuild.
* floatformat.c (_GNU_SOURCE): Don't define if already defined.
Attachment:
foo.txt
Description: Text document