Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Builds failing in GCC 5/new ABI #942
I'm having issues building ngx_pagespeed on Fedora Rawhide (aka Fedora 23), but not Fedora 19-22. I suspect the issue is steming from GCC 5's ABI change.
Full output of obj/autoconf.err: http://paste.fedoraproject.org/203083/27353406/, what I suspect is the relevant error below:
The above linked article says to use the old ABI by specifying '-D_GLIBCXX_USE_CXX11_ABI=0'. Compiling ngx_pagespeed with
I'm not too sure where the option should be added (documentation, somewhere in cpp_feature or config, ???), but can test & submit a pull request if someone can point a good location out.
Building it for CentOS 6, 7 & Fedora 20-22+Rawhide worked just fine, that covers GCC 4.4.7-5.0
If it's just added in the documentation, it could be a footnote along the lines of "If you're compiling with GCC 5.0, add
I'll plan to put
Is there any reason to restrict the documentation note to people on 5.0 and above? Its easiest for users installing to just run the commands without having to look up versions.