From 9f6606aab1096216062be3a41c88a03fa8f11751 Mon Sep 17 00:00:00 2001 From: Skip Montanaro Date: Thu, 17 Nov 2005 18:19:39 +0000 Subject: note build workaround for Sol10/gcc 3.4 --- README | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README b/README index 19cd5a4..7992041 100644 --- a/README +++ b/README @@ -307,6 +307,12 @@ Solaris: When using Sun's C compiler with threads, at least on Solaris 4. Modify the installed GCC specs file, adding -R options into the *link: section. + The complex object fails to compile on Solaris 10 with gcc 3.4 (at + least up to 3.4.3). To work around it, define Py_HUGE_VAL as + HUGE_VAL(), e.g.: + + make CPPFLAGS='-D"Py_HUGE_VAL=HUGE_VAL()" -I. -I$(srcdir)/Include' + Linux: A problem with threads and fork() was tracked down to a bug in the pthreads code in glibc version 2.0.5; glibc version 2.0.7 solves the problem. This causes the popen2 test to fail; -- cgit v0.12