3 ms·
I cloned from http://hg.nginx.org/nginx http://hg.nginx.org/nginx to try and reproduce with your configure arguments, but i actually error out elsewhere; s
by mappu 13y ago
I cloned from http://hg.nginx.org/nginx http://hg.nginx.org/nginx to try and reproduce with your configure arguments, but i actually error out elsewhere;
src/http/ngx_http_request.c: In function ‘ngx_http_set_virtual_server’:
src/http/ngx_http_request.c:1955:32: error: ‘cscf’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
cc1: all warnings being treated as errors
which i'm not interested in following up. My `ngx_string.o` did build successfully though. Using gcc 4.7.2 on Debian 7
Are you using a new CPU with an old(er) gcc version? Try specifying -march explicitly instead of native.
- newman314 13y agoDoh. I recently moved this VM from a C2D to an i5 machine. And this is on Ubuntu 12.04 which is old enough not to know about this newer CPU. Still, it should not crap out like that...
- newman314 13y agoJust as a follow up, I tried this with no -march flag and it compiled just fine. This is with gcc 4.6.3.
- plaes 13y agoThis error seems to be caused -Werror compiler flag.