source: trunk/essentials/sys-apps/gawk/README_d/README.solaris

Last change on this file was 3076, checked in by bird, 18 years ago

gawk 3.1.5

File size: 3.7 KB
Line 
1Solaris Problem #1:
2===================
3From: carson@lehman.com
4Date: Fri, 7 Feb 1997 01:05:58 -0500
5To: arnold@gnu.ai.mit.edu
6Subject: Solaris 2.5.1 x86 bug in gawk-3.0.2
7
8awktab.c has the following bogus logic:
9
10#ifndef alloca
11#ifdef __GNUC__
12#define alloca __builtin_alloca
13#else /* not GNU C. */
14#if (!defined (__STDC__) && defined (sparc)) || defined (__sparc__) || defined (__sparc) || defined (__sgi)
15#include <alloca.h>
16#else /* not sparc */
17
18Solaris x86 obviously dosn't define sparc or __sparc.
19
20What you _meant_ to say was:
21
22if (defined(__sun) && defined(__SVR4))
23
24(which identifies Solaris 2.x under both Sun's cc and gcc)
25
26--
27Carson Gaspar -- carson@cs.columbia.edu carson@lehman.com
28http://www.cs.columbia.edu/~carson/home.html
29<This is the boring business .sig - no outre sayings here>
30
31 * * * * * * *
32
33Solution to Problem #1:
34=======================
35Tue Oct 20 21:25:11 IST 1998
36
37This has been fixed in 3.1.0 with the bisonfix.sed script.
38
39Arnold Robbins
40arnold@gnu.org
41
42Solaris Problem #2:
43===================
44Tue Apr 13 16:57:45 IDT 1999
45
46There is a known problem in that the `manyfiles' test will fail under
47Solaris if you set your soft limit on the number of file descriptors to
48above 256. This is due to a "feature" of fdopen that an fd must be
49less than 256 (see fdopen(3)).
50
51IMHO this is Sun's problem, not mine.
52
53Arnold Robbins
54arnold@gnu.org
55
56Solution (a) to Problem #2:
57===========================
58Now fixed in the code via Paul Eggert's 2001-09-0 patch. See the
59ChangeLog.
60
61Solution (b) to Problem #2:
62===========================
63From: Paul Nevai <nevai@math.ohio-state.edu>
64Subject: Re: gawk-3.0.4
65To: arnold@skeeve.com (Aharon Robbins)
66Date: Tue, 6 Jul 1999 09:09:05 -0400 (EDT)
67
68Dear Aharon:
69
70Toda raba. Why don't you add something like that to README_d/README.solaris
71file:
72
73for the SunOS do in
74
75/bin/sh: ulimit -n 256; ulimit -a; make test
76/bin/tcsh: limit descriptors 256; ulimit -a; make test
77
78otherwise "make test" will fail
79
80Shalom, Paul
81
82Aharon Robbins wrote to Paul Nevai:
83# >From the README_d/README.solaris file:
84#
85# Tue Apr 13 16:57:45 IDT 1999
86#
87# There is a known problem in that the `manyfiles' test will fail under
88# Solaris if you set your soft limit on the number of file descriptors to
89# above 256. This is due to a "feature" of fdopen that an fd must be
90# less than 256 (see fdopen(3)).
91#
92# IMHO this is Sun's problem, not mine.
93#
94# Arnold Robbins
95# arnold@gnu.org
96#
97# Double check your settings with ulimit; I suspect that this is
98# your problem.
99#
100# Thanks,
101#
102# Arnold
103# --
104# Aharon (Arnold) Robbins arnold@skeeve.com [ <<=== NOTE: NEW ADDRESS!! ]
105# P.O. Box 354 Home Phone: +972 8 979-0381 Fax: +1 603 761-6761
106# Nof Ayalon Cell Phone: +972 51 297-545 (See www.efax.com)
107# D.N. Shimshon 99784 Laundry increases exponentially in the
108# ISRAEL number of children. -- Miriam Robbins
109#
110#
111
112
113
114Paul Nevai pali+@osu.edu
115Department of Mathematics nevai@math.ohio-state.edu
116The Ohio State University http://www.math.ohio-state.edu/~nevai/
117231 West Eighteenth Avenue http://www.math.ohio-state.edu/~jat/
118Columbus, Ohio 43210-1174 1-614-292-5310 (Office/Answering Device)
119The United States of America 1-614-292-1479 (Math Dept Fax)
120
121Solaris Problem #3:
122===================
123Sun Feb 9 10:35:51 IST 2003
124
125Certain versions of Sun C give compilation errors under Solaris 5.5, 5.6 and
126possibly later. Here's what I was told:
127
128> We have this version of cc here:
129> cc -V
130> cc: Sun WorkShop 6 update 1 C 5.2 2000/09/11
131>
132> Probably, the others use different combinations of OS and CC.
133> A quick fix was this (we use csh-syntax here):
134>
135> setenv CC "/opt/SUNWspro/bin/cc -Xc"
136> ./configure
137> make check
138
Note: See TracBrowser for help on using the repository browser.