stevepusser wrote:Could it be as simple as passing -std=c99 or -std-c++11 to the CXXFLAGS in mozconfig or exporting that in build environment?
1) I found that I had to add ac_add_options --enable-stdcxx-compat to mozconfig to enable the SSE build to run on distros based on older libs (yes; with backported security fixes).
2) Near the top of the webpage https://gcc.gnu.org/gcc-6/changes.html
The default mode for C++ is now -std=gnu++14 instead of -std=gnu++98.
3) I don't know if the next item is Gentoo-specific, or widespread. As of profile 17.0 and GCC-6.4.0, PIC/PIE is forced down Gentoo users' throats. Linking between PIC and non-PIC code causes problems, so Gentoo users have to emerge -e world, i.e. rebuild every last package on the system, to ensure that everything is built PIC/PIE. Are other distros going with PIC/PIE, and would this cause problems for Pale Moon?