On Fri, Apr 27, 2012 at 9:01 AM, H.J. Lu <hjl.to...@gmail.com> wrote: > On Fri, Apr 27, 2012 at 7:11 AM, Tom Tromey <tro...@redhat.com> wrote: >>>>>>> "Jakub" == Jakub Jelinek <ja...@redhat.com> writes: >> >> Jakub> On Thu, Apr 26, 2012 at 01:52:31PM -0400, DJ Delorie wrote: >>>> >>>> I will not oppose adding more unrelated stuff to libiberty, but >>>> neither will I approve it. I will let one of the other maintainers or >>>> a global maintainer approve it. >> >> Jakub> The original libiberty patch is ok for trunk then. >> >> Thanks, Jakub. I am checking it in to the gcc tree. >> I'll send the gdb and binutils follow-ups later. >> >> Tom > > This breaks GCC bootstrap: > > http://gcc.gnu.org/ml/gcc-regression/2012-04/msg00500.html >
You should add extern "C" for C++ on those functions moved to libiberty. -- H.J.