Hello,
Andrew P. wanted me to report the issues I encountered with libgomp and
solaris on head.
In team.c solaris fails due to the fact that alloca is defined in
alloca.h iso stdlib.h, config/posix/proc.c fails in a similar manner due
to the fact that getloadavg is defined in sys/loadavg.h
The next issue is the -pthread in the config stuff. Solaris does not
like it :)
-pthreads instead.
If I find the time I'll come up with a proper patch.
But for now just the report.
Regards,
Andreas
[vw_andreas_main]
[EMAIL PROTECTED]:/export/data/devel-test/gcc-svn/trunk/libgomp> svn diff
team.c config/posix/proc.c
Index: team.c
===================================================================
--- team.c (revision 109942)
+++ team.c (working copy)
@@ -31,6 +31,7 @@
#include "libgomp.h"
#include <stdlib.h>
#include <string.h>
+#include <alloca.h>
/* This array manages threads spawned from the top level, which will
Index: config/posix/proc.c
===================================================================
--- config/posix/proc.c (revision 109942)
+++ config/posix/proc.c (working copy)
@@ -34,6 +34,7 @@
#include "libgomp.h"
#include <unistd.h>
#include <stdlib.h>
+#include <sys/loadavg.h>
/* At startup, determine the default number of threads. It would seem