https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65292
--- Comment #6 from John Marino <gnugcc at marino dot st> --- Thanks Khem, With your patch, webkit-qt5 continued to build on gcc7 (good news) but I did not succeed with gcc-5. The new error during linking is: /usr/libexec/binutils224/elf/ld.bfd: /wrkdirs/www/webkit-qt5/work/.build/Source/WebCore/release/libWebCore.a(MediaController.o): relocation R_X86_64_PC32 against undefined hidden symbol `_ZNK7WebCore16HTMLMediaElement8hasVideoEv' can not be used when making a shared object /usr/libexec/binutils224/elf/ld.bfd: final link failed: Bad value Makefile.api:111: recipe for target '../lib/libQt5WebKit.so.5.3.2' failed But libJavaScriptCore issue was fixed, thanks!