Re: [squid-users] Can't run Squid on FreeBSD-4.3.

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Wed, 30 May 2001 09:25:27 +0200

It lowers the optimization level used by GCC, as gcc-2.95.* has
optimization bugs in level -O2. Squid knows that 2.95.1 and 2.95.2 is
has this problem and automaticaly does this for those releases, but it
was assumed 2.95.3 would work better when released so we did not add
this to the list of known broken compilers before it was released.

Now 2.95.3 is released and unfortunately still produces bad code on -O2,
so in future Squid releases gcc 2.95.3 will be added to the list of
compiler versions known to produce bad code when optimization is
enabled. Until then you have to tell this to Squid yourself by setting
CFLAGS when running configure.

--
Henrik Nordstrom
Squid Hacker
Somsak RAKTHAI wrote:
> 
> Dear sir,
> 
>    Now is OK. I follow you "env CFLAGS=-O ./configure".
> 
>    Why it wory when use "env CFLAGS=-O" ?
> 
>    What "env CFLAGS=-O ./configure" ? Do you have more detail ?
> Please let me know.
> 
>              thnak you very much.
>                 regards,
>                 Somsak.
> 
> On Wed, 30 May 2001, Lim Seng Chor wrote:
> 
> > try:
> > cd /path/to/src/squid
> > make distclean
> > env CFLAGS=-O ./configure
> > make
> > make install
> >
> >
> >
> > On 30 May 2001, at 0:54, Somsak RAKTHAI wrote:
> >
> > > Dear members,
> > >
> > >    Have anyone running Squid on FreeBSD-4.3 ?
> > >
> > >    I can install and run Squid-2.3-stable4 or Squid-2.4-stable1
> > > on FreeBSD-4.3 but when set browser to cache server,
> > > it don't work. ("access.log" have zero byte.)
> > >
> > >    This problem don't occur on FreeBSD-4.1.1, 4.2.
> > >
> > >    I'm not sure this problem cause from FreeBSD-4.3
> > > or other. If you know, please let me know.
> > >
> > >   regards,
> > >    Somsak.
> > >
> >
> >
> >
Received on Wed May 30 2001 - 01:31:47 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:00:20 MST