Re: Build errors on Solaris 2.6 & 7

2013-01-20 Thread Tom G. Christensen
On 01/20/2013 04:14 AM, Paul Eggert wrote: How about the following patch instead? It relies on including if and only if !defined __XOPEN_OR_POSIX || defined __EXTENSIONS__. This last expression is something I picked up on Solaris 10, and I'm hoping it's also good for Solaris 2.6. It is close

[PATCH] bootstrap: remove the need for a sorted .gitignore

2013-01-20 Thread Bernhard Voelker
During bootstrap, files may be created which are already included in .gitignore, but the test to add such a file relied on the sort order. Now, it just adds such a new entry and thus only changes the file if the line count would change. * bootstrap (insert_if_absent): Instead of comparing the sor

Re: sigaction test failure on FreeBSD 9.1 when pthread is used

2013-01-20 Thread Daiki Ueno
Paul Eggert writes: > On 01/17/13 23:04, Daiki Ueno wrote: >> It seems -fopenmp flag causes the error. It can also be reproduced >> without openmp, but with CFLAGS="-O2 -pthread". > > I can't reproduce it with Fedora 17, but I guess that's not > too surprising. Yes. > Can you send the output o

Re: sigaction test failure on FreeBSD 9.1 when pthread is used

2013-01-20 Thread Paul Eggert
Thanks for looking into it. From the trace, my guess is that FreeBSD always reports that SA_SIGINFO is set because FreeBSD always passes the relevant info to signal handlers (at the low level, this doesn't cause problems so it's OK). Always reporting SA_SIGINFO violates POSIX but I doubt whether a

Re: Build errors on Solaris 2.6 & 7

2013-01-20 Thread Paul Eggert
Oh, my. I guess it's time to try a more-drastic fix. Does the following work for you? --- ChangeLog | 16 + lib/sys_select.in.h | 96 +++-- 2 files changed, 43 insertions(+), 69 deletions(-) diff --git a/ChangeLog b/ChangeLog ind