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

Maxim Dounin mdounin at mdounin.ru
Wed Feb 10 13:00:46 UTC 2016


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-strings]
> > };
> > ^
> > cc1plus: all warnings being treated as errors
> 
> Apply this patch:
> http://hg.nginx.org/nginx/rev/ff1e625ae55b
> 
> Or pull latest source code from the repository.

Trivial workaround for build failures due to warnings is to use 
-Wno-error, e.g.:

./configure --with-cc-opt="-Wno-error" ...

In this particular case, -Wno-write-strings can be used instead, 
e.g.:

./configure --with-cc-opt="-Wno-write-strings" ...

-- 
Maxim Dounin
http://nginx.org/



More information about the nginx mailing list