nginx-0.8.30

Andrew Sitnikov sitnikov на infonet.ee
Пн Дек 21 12:01:36 MSK 2009


Hello Igor,

IS> Изменения в nginx 0.8.30                                          15.12.2009
у меня не собирается

CentOS 5.x / x64 / gcc (GCC) 4.1.2 20071124 (Red Hat 4.1.2-42)

./configure \
 --with-cc-opt="-Os" \                                                                                                                                                                       
 --with-md5=../md5 \                                                                                                                                                                         
 --with-md5-opt="-Os" \                                                                                                                                                                      
 --with-md5-asm \                                                                                                                                                                            
 --with-http_stub_status_module \                                                                                                                                                            
 --with-rtsig_module \                                                                                                                                                                       
 --with-select_module \                                                                                                                                                                      
 --with-poll_module \                                                                                                                                                                        
 --with-http_ssl_module \                                                                                                                                                                    
 --with-http_realip_module \                                                                                                                                                                 
 --with-mail \                                                                                                                                                                               
 --with-mail_ssl_module \                                                                                                                                                                    
 --user=wwwrun \                                                                                                                                                                             
 --group=www


gcc -c -O -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Wunused-function -Wunused-variable -Wunused-value -Werror -g -Os -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules \
                -o objs/src/http/ngx_http_request.o \
                src/http/ngx_http_request.c
cc1: warnings being treated as errors
src/http/ngx_http_request.c: In function 'ngx_http_terminate_request':
src/http/ngx_http_request.c:2064: warning: dereferencing type-punned pointer will break strict-aliasing rules

и похоже что дело в --with-cc-opt="-Os"

-- 
Best regards,
 Andrew                            mailto:sitnikov at infonet.ee




Подробная информация о списке рассылки nginx-ru