11 messages in ru.sysoev.nginxRe: 0.5.7 waiting connections SOLVED
FromSent OnAttachments
Jan ŚlusarczykJan 18, 2007 4:26 pm 
Igor SysoevJan 19, 2007 8:54 am 
Jan ŚlusarczykJan 19, 2007 9:26 am 
Igor SysoevJan 19, 2007 10:49 am 
Jan ŚlusarczykJan 20, 2007 3:11 am 
Igor SysoevJan 20, 2007 3:32 am 
Jan ŚlusarczykJan 20, 2007 3:47 am 
Igor SysoevJan 20, 2007 4:08 am 
Jan ŚlusarczykJan 20, 2007 7:32 am 
Jan ŚlusarczykJan 21, 2007 2:02 am 
Igor SysoevJan 21, 2007 2:13 am 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: 0.5.7 waiting connections SOLVEDActions...
From:Igor Sysoev (is-G@public.gmane.org)
Date:Jan 21, 2007 2:13:33 am
List:ru.sysoev.nginx

On Sun, 21 Jan 2007, [UTF-8] Jan ?lusarczyk wrote:

Just to give an update for archive purposes - my problems were caused by invalid optimization switch passed to gcc through environment variables. Most probably the "-j2". Compilation with

CFLAGS= ./configure ...

was all that was needed. Big thanks to Igor for all his help.

I believe it's not "-j2", because it's the make options (by the way, nginx should be built successfuly with parallel make).

I belive the cause was the "-O2" optimization in gcc 4.0.3:

gcc version 4.0.3 (Ubuntu 4.0.3-1ubuntu5)

CFLAGS="-O2 -pipe -mcpu=pentium4 -march=pentium4 -fomit-frame-pointer" CXXFLAGS="${CFLAGS}" MAKEOPTS="-j2" LDFLAGS="-Wl,-O1"

I usually build with -O (it's default in ./configure).