Problems with Squid on 4.4-RC
Hi hackers, I've cvsuped with release tag RELENG_4 and I've considered that I had FreeBSD 4.4-RC. This is not a problem at all, but I've tried to install and run Squid-2.4-STABLE1. It has installed sucsessfuly. I've run it, but when a browser makes a request to it, the child which got the request exits with a signal 6 (ABRT I think). Does anybody have an idea what is the reason? Vladimir To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message
Re: Problems with Squid on 4.4-RC
On Mon, Aug 27, 2001 at 12:05:39PM +0300, Vladimir Terziev wrote: > > Hi hackers, > > I've cvsuped with release tag RELENG_4 and I've considered that I had > FreeBSD 4.4-RC. This is not a problem at all, but I've tried to install and > run Squid-2.4-STABLE1. It has installed sucsessfuly. I've run it, but when a > browser makes a request to it, the child which got the request exits with a > signal 6 (ABRT I think). > > Does anybody have an idea what is the reason? Are you using the www/squid24 port? G'luck, Peter -- If you think this sentence is confusing, then change one pig. To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message
Re: Problems with Squid on 4.4-RC
Vladimir, I had the same problem and the solution is to compile with the -O switch instead of the -O2. There is a lot of information at the squid site. Gert To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message
Re: Problems with Squid on 4.4-RC
Hello, I really did not have time to investigate this but the same problem occured with version 2.3 of Squid. The port worked but the "off the shelf" version did not. The problem was corrected for 2.3 and 2.4 but it seems it persists in the source code available from the development site. I know I have no right to complain since I am too busy to maintain any ports but I would like to encourage people to submit corrections they make in the ports system to the original maintainers. stef --- Forwarded Message Date: Mon, 27 Aug 2001 12:14:25 +0300 From: Peter Pentchev <[EMAIL PROTECTED]> To: Vladimir Terziev <[EMAIL PROTECTED]> Cc: [EMAIL PROTECTED] Subject: Re: Problems with Squid on 4.4-RC Message-ID: <[EMAIL PROTECTED]> References: <[EMAIL PROTECTED]> On Mon, Aug 27, 2001 at 12:05:39PM +0300, Vladimir Terziev wrote: > > Hi hackers, > > I've cvsuped with release tag RELENG_4 and I've considered that I had > FreeBSD 4.4-RC. This is not a problem at all, but I've tried to install and > run Squid-2.4-STABLE1. It has installed sucsessfuly. I've run it, but when a > browser makes a request to it, the child which got the request exits with a > signal 6 (ABRT I think). > > Does anybody have an idea what is the reason? Are you using the www/squid24 port? G'luck, Peter - -- If you think this sentence is confusing, then change one pig. To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message --- End of Forwarded Message To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message
Re: Problems with Squid on 4.4-RC
> > I really did not have time to investigate this but > the same problem occured with version 2.3 of Squid. The port > worked but the "off the shelf" version did not. The problem > was corrected for 2.3 and 2.4 but it seems it persists in the > source code available from the development site. > > I know I have no right to complain since I am too busy > to maintain any ports but I would like to encourage people > to submit corrections they make in the ports system to the > original maintainers. Hi, Ok. here's the problem in a nutshell. GCC is bad with optimisation levels above 0. Ok, here's the problem outside of the nutshell. There's some code in squid that triggers a gcc bug when using -O2 and sometimes with -O. There's some magic in the configure script to disable -Ox, but the gcc version in 4.4 (I think anything 4.3 and above really) wasn't put in the squid-2.4STABLE1 script. This is why when you run squid-2.4stable1 on your 4.4 box it barfs after one request - the DNS request is made, and the code pukes. The solution is just to use the port. All the package does is disable the -Ox when building. Oh, squid-2.4STABLE2 should know about the 4.4 GCC version. But I just suggest use the package or disable the optimisation yourself. :-) Adrian, not on -hackers To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message