nginx-1.9.11 -- "Floating point exception" on exec after upgrading 1.9.10 -> 1.9.11
mdounin at mdounin.ru
Wed Feb 10 13:00:46 UTC 2016
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-22.214.171.124-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:
> Or pull latest source code from the repository.
Trivial workaround for build failures due to warnings is to use
./configure --with-cc-opt="-Wno-error" ...
In this particular case, -Wno-write-strings can be used instead,
./configure --with-cc-opt="-Wno-write-strings" ...
More information about the nginx