Re: squid-users: compilation problem with whois.c

From: Jens-S. Voeckler <voeckler@dont-contact.us>
Date: Wed, 4 Nov 1998 14:21:00 +0100

On Wed, 4 Nov 1998, Thanasis Demertzis wrote:

]Any ideas why i get the following output when run make
]on squid_2.0_patch2 on a sun ultra1 with solaris2.5.1
]
]gcc -g -O2 -Wall -I. -I../include -I../include -c whois.c
]gcc: Internal compiler error: program as got fatal signal 10
]*** Error code 1
]make: Fatal error: Command failed for target `whois.o'
]Current working directory /root/squid-2.0.PATCH2/src
]*** Error code 1
]make: Fatal error: Command failed for target `all'

(a - likely) your compiler is broken. Did you translate your compiler on
the very platform you are using it? Or did you just copy it from another
HW platform or from a previous OS release? If one of the latter is true,
try to rebuild the compiler on the platform you are using it. Retry
compiling squid with the new compiler.

(b - unlikeyly) the gcc optimizer died on you. It happened to me only with
some highly complex C++ code, never with something comparatively simple as
squid code.

(c - opinion) are you sure you want to use level 2 optimization? With
squid-1, the thusly compiled binary was broken on Solaris platforms. For
your comfort, I got 2.0p2/2.5.1/2.7.2.1 up and working, no such complaints
by my compiler.

Le deagh dhùrachd,
Dipl.-Ing. Jens-S. Vöckler (voeckler@rvs.uni-hannover.de)
Institute for Computer Networks and Distributed Systems
University of Hanover, Germany; +49 511 762 4726
Received on Wed Nov 04 1998 - 06:45:45 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:42:56 MST