id,summary,reporter,owner,description,type,status,priority,milestone,component,version,resolution,keywords,cc,uname,nginx_version 275,Build error __warn_memset_zero_len,Marco Becker,Maxim Dounin,"I got the following error wehn build the source code with gcc option '''-O3''': {{{ gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -O3 -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/modules/ngx_http_autoindex_module.o \ src/http/modules/ngx_http_autoindex_module.c In file included from /usr/include/string.h:642:0, from src/os/unix/ngx_linux_config.h:26, from src/core/ngx_config.h:26, from src/http/modules/ngx_http_autoindex_module.c:8: In Funktion »memset«, eingefügt von »ngx_http_autoindex_handler« bei src/http/modules/ngx_http_autoindex_module.c:492:13: /usr/include/x86_64-linux-gnu/bits/string3.h:82:30: Fehler: Aufruf von »__warn_memset_zero_len« mit Attributwarnung deklariert: memset used with constant zero length parameter; this could be due to transposed parameters [-Werror] cc1: Alle Warnungen werden als Fehler behandelt make[1]: *** [objs/src/http/modules/ngx_http_autoindex_module.o] Fehler 1 make[1]: Verlasse Verzeichnis '/root/nginx-1.2.6' make: *** [build] Fehler 2 }}} The ./configure options as follows: {{{ ./configure --sbin-path=/opt/nginx --conf-path=/etc/nginx/nginx.conf --pid-path=/etc/nginx/nginx.pid --prefix=/opt/nginx --with-cc-opt=""-O3"" }}} ",defect,closed,minor,,nginx-module,1.2.x,fixed,ngx_http_autoindex_module,,"Linux marco 3.5.0-21-generic #32-Ubuntu SMP Tue Dec 11 18:51:59 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux ","nginx version: nginx/1.2.6 built by gcc 4.7.2 (Ubuntu/Linaro 4.7.2-2ubuntu1) configure arguments: --sbin-path=/opt/nginx --conf-path=/etc/nginx/nginx.conf --pid-path=/etc/nginx/nginx.pid --prefix=/opt/nginx"