Re: [PATCH] Fix libjava build on current git glibc (PR bootstrap/50888)

2011-11-23 Thread Jakub Jelinek
On Wed, Nov 23, 2011 at 02:24:34PM -0700, Tom Tromey wrote: > > "Jakub" == Jakub Jelinek writes: > > Jakub> As discussed in the PR, libjava fails to build against latest > Jakub> glibc, because prims.cc is compiled with -fnon-call-exceptions, > Jakub> uses ctype.h and libgcj isn't linked agai

Re: [PATCH] Fix libjava build on current git glibc (PR bootstrap/50888)

2011-11-23 Thread Tom Tromey
> "Jakub" == Jakub Jelinek writes: Jakub> As discussed in the PR, libjava fails to build against latest Jakub> glibc, because prims.cc is compiled with -fnon-call-exceptions, Jakub> uses ctype.h and libgcj isn't linked against -lsupc++ or -lstdc++. Jakub> isspace in latest glibc is a throw()

Re: [PATCH] Fix libjava build on current git glibc (PR bootstrap/50888)

2011-11-23 Thread Tom Tromey
> "Jakub" == Jakub Jelinek writes: Jakub> 2011-11-23 Jakub Jelinek Jakub> PR bootstrap/50888 Jakub> * prims.cc: Don't include ctype.h. Jakub> (c_isspace): Define. Jakub> (next_property_key, next_property_value): Use it instead Jakub> of isspace. This is ok. Tom

[PATCH] Fix libjava build on current git glibc (PR bootstrap/50888)

2011-11-23 Thread Jakub Jelinek
Hi! As discussed in the PR, libjava fails to build against latest glibc, because prims.cc is compiled with -fnon-call-exceptions, uses ctype.h and libgcj isn't linked against -lsupc++ or -lstdc++. isspace in latest glibc is a throw() inline that calls a throw() function pointer. Unfortunately, wi