Re: nginx-1.9.11 -- "Floating point exception" on exec after upgrading 1.9.10 -> 1.9.11

2016-02-18 Thread jshare
With the release of ngx_pagespeed 1.10.33.5, I'm no longer having any make issues with 1.9.11 Posted at Nginx Forum: https://forum.nginx.org/read.php?2,264422,264581#msg-264581 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/lis

Re: nginx-1.9.11 -- "Floating point exception" on exec after upgrading 1.9.10 -> 1.9.11

2016-02-11 Thread jshare
>./configure --with-cc-opt="-Wno-write-strings" ... When I tried this, I get: Starting nginx: nginx: [emerg] unknown directive "charset" in /etc/nginx/nginx.conf:15 nginx: configuration file /etc/nginx/nginx.conf test failed But I just saw your other reply re the ngx_pagespeed changeset, s

Re: nginx-1.9.11 -- "Floating point exception" on exec after upgrading 1.9.10 -> 1.9.11

2016-02-10 Thread Maxim Dounin
Hello! On Wed, Feb 10, 2016 at 12:15:53PM +0100, Lukas Tribus wrote: > > > I also get a compile error related to Pagespeed: > > [...] > > /root/ngx_pagespeed-release-1.10.33.4-beta/src/ngx_pagespeed.cc:3148:1: > > error: deprecated conversion from string constant to ‘char*’ > > [-Werror=write-st

RE: nginx-1.9.11 -- "Floating point exception" on exec after upgrading 1.9.10 -> 1.9.11

2016-02-10 Thread Lukas Tribus
> I also get a compile error related to Pagespeed: > [...] > /root/ngx_pagespeed-release-1.10.33.4-beta/src/ngx_pagespeed.cc:3148:1: > error: deprecated conversion from string constant to ‘char*’ > [-Werror=write-strings] > }; > ^ > cc1plus: all warnings being treated as errors Apply this patch:

Re: nginx-1.9.11 -- "Floating point exception" on exec after upgrading 1.9.10 -> 1.9.11

2016-02-10 Thread jshare
I also get a compile error related to Pagespeed: -o objs/addon/src/ngx_message_handler.o \ /root/ngx_pagespeed-release-1.10.33.4-beta/src/ngx_message_handler.cc cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -march=i686 -D_GLIBCXX_USE_CXX

Re: nginx-1.9.11 -- "Floating point exception" on exec after upgrading 1.9.10 -> 1.9.11

2016-02-09 Thread locojohn
It crashes with pagespeed module now. 1.9.10 was working fine. Andrejs. Posted at Nginx Forum: https://forum.nginx.org/read.php?2,264422,264436#msg-264436 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: nginx-1.9.11 -- "Floating point exception" on exec after upgrading 1.9.10 -> 1.9.11

2016-02-09 Thread Valentin V. Bartenev
On Tuesday 09 February 2016 11:53:15 locojohn wrote: > I experience the same issue, but I do not have the module reported by > anonymous user installed: > > system:~#nginx -t > Floating point exception > > dmesg: > [659221.307369] traps: nginx[20028] trap divide error ip:

Re: nginx-1.9.11 -- "Floating point exception" on exec after upgrading 1.9.10 -> 1.9.11

2016-02-09 Thread locojohn
I experience the same issue, but I do not have the module reported by anonymous user installed: system:~#nginx -t Floating point exception dmesg: [659221.307369] traps: nginx[20028] trap divide error ip:422fba sp:7ffd8c72a8a0 error:0 in nginx[40+95d000] Posted at Nginx Forum: https

Re: nginx-1.9.11 -- "Floating point exception" on exec after upgrading 1.9.10 -> 1.9.11

2016-02-09 Thread jimssupp
It's brotli. Removing --add-module=/usr/local/src/ngx_brotli from 1.9.11 config, rebuilding, it's fixed. Runs ok. brotli's OK atm with 1.9.10, but not with 1.9.11 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: nginx-1.9.11 -- "Floating point exception" on exec after upgrading 1.9.10 -> 1.9.11

2016-02-09 Thread jimssupp
etc/nginx/nginx.conf Floating point exception in syslog Feb 9 07:11:07 jimsweb kernel: [393917.665398] traps: nginx[4679] trap divide error ip:41a95e sp:7ffef4fcbd00 error:0 in nginx[40+ed000] dropback to 1.9.10 works fine if there's other info that&#

Re: Floating Point

2013-02-26 Thread Igor Sysoev
On Feb 26, 2013, at 13:32 , Aparna Bhat wrote: > I am working on a module for load balancing. I have to make use of the type > float. Can anyone please tell me if there is any nginx specific data type for > float such as the one that exists for int (ngx_int_t). I would also like to > know how t

Re: Floating Point

2013-02-26 Thread Benjamin Saiz
Default precision for %f is 6 digits (ISO C99) what's your test case ? On Tue, Feb 26, 2013 at 10:32 AM, Aparna Bhat wrote: > Hi, > > I am working on a module for load balancing. I have to make use of the > type float. Can anyone please tell me if there is any nginx specific data > type for fl

Floating Point

2013-02-26 Thread Aparna Bhat
Hi, I am working on a module for load balancing. I have to make use of the type float. Can anyone please tell me if there is any nginx specific data type for float such as the one that exists for int (ngx_int_t). I would also like to know how to write the float value to the logs. The type %f print