Re: [libgomp, libiberty, libobjc] Fix gnu11 fallout on Solaris 10+

2014-11-04 Thread Richard Henderson
On 11/03/2014 05:22 PM, Rainer Orth wrote: > 2014-10-22 Rainer Orth > > libobjc: > * thr.c (_XOPEN_SOURCE): Define as 600. > > libiberty: > * sigsetmask.c (_POSIX_SOURCE): Remove. > > libgomp: > * config/posix/lock.c (_XOPEN_SOURCE) Define as 600. Ok. r~

Re: [libgomp, libiberty, libobjc] Fix gnu11 fallout on Solaris 10+

2014-11-03 Thread Rainer Orth
Richard Henderson writes: > On 10/24/2014 01:56 AM, Rainer Orth wrote: >> And even with the _XOPEN_SOURCE business out of the way, there's still >> the question what to do about _POSIX_SOURCE in libiberty/sigsetmask.c. >> Given that it was introduced almost 20 years ago, it may well be >> unneces

Re: [libgomp, libiberty, libobjc] Fix gnu11 fallout on Solaris 10+

2014-10-27 Thread Richard Henderson
On 10/24/2014 01:56 AM, Rainer Orth wrote: > And even with the _XOPEN_SOURCE business out of the way, there's still > the question what to do about _POSIX_SOURCE in libiberty/sigsetmask.c. > Given that it was introduced almost 20 years ago, it may well be > unnecessary for the systems we still care

Re: [libgomp, libiberty, libobjc] Fix gnu11 fallout on Solaris 10+

2014-10-24 Thread Rainer Orth
Richard Henderson writes: > On 10/22/2014 04:43 AM, Rainer Orth wrote: >> The gnu11 patch broke Solaris 10 and 11 bootstrap: >> has >> >> /* >> * It is invalid to compile an XPG3, XPG4, XPG4v2, or XPG5 application >> * using c99. The same is true for POSIX.1-1990, POSIX.2-1992, POSIX.1b, >>

Re: [libgomp, libiberty, libobjc] Fix gnu11 fallout on Solaris 10+

2014-10-23 Thread Andrew Pinski
On Wed, Oct 22, 2014 at 4:43 AM, Rainer Orth wrote: > The gnu11 patch broke Solaris 10 and 11 bootstrap: > has > > /* > * It is invalid to compile an XPG3, XPG4, XPG4v2, or XPG5 application > * using c99. The same is true for POSIX.1-1990, POSIX.2-1992, POSIX.1b, > * and POSIX.1c applications

Re: [libgomp, libiberty, libobjc] Fix gnu11 fallout on Solaris 10+

2014-10-23 Thread Richard Henderson
On 10/22/2014 04:43 AM, Rainer Orth wrote: > The gnu11 patch broke Solaris 10 and 11 bootstrap: > has > > /* > * It is invalid to compile an XPG3, XPG4, XPG4v2, or XPG5 application > * using c99. The same is true for POSIX.1-1990, POSIX.2-1992, POSIX.1b, > * and POSIX.1c applications. Likewis

[libgomp, libiberty, libobjc] Fix gnu11 fallout on Solaris 10+

2014-10-22 Thread Rainer Orth
The gnu11 patch broke Solaris 10 and 11 bootstrap: has /* * It is invalid to compile an XPG3, XPG4, XPG4v2, or XPG5 application * using c99. The same is true for POSIX.1-1990, POSIX.2-1992, POSIX.1b, * and POSIX.1c applications. Likewise, it is invalid to compile an XPG6 * or a POSIX.1-2001