[Webkit-unassigned] [Bug 152528] New: 2.10.4 would not compile with GCC 5.2.1

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Dec 23 09:17:35 PST 2015


https://bugs.webkit.org/show_bug.cgi?id=152528

            Bug ID: 152528
           Summary: 2.10.4 would not compile with GCC 5.2.1
    Classification: Unclassified
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: Blocker
          Priority: P2
         Component: New Bugs
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: stacheldraht at interia.pl

I'd like to build Webkit 2.10.4 on my openSuSE 13.2 / x86_64 machine, but CMake always keeps complaining about a wrong GCC version. So far it has been 4.8.7 (which appeared to be too old), but even after updating to 5.2.1 I still get this error message:

jacek at veteran:~/bin/webkitgtk-2.10.4 $ cmake -DPORT=GTK
-- Could NOT find Ruby (missing:  RUBY_INCLUDE_DIR RUBY_LIBRARY RUBY_CONFIG_INCLUDE_DIR) (found suitable version "2.1.0", minimum required is "1.8.7")
CMake Warning at Source/cmake/OptionsCommon.cmake:81 (message):
  GNU gold linker isn't available, using the default system linker.
Call Stack (most recent call first):
  CMakeLists.txt:156 (include)


CMake Error at Source/cmake/OptionsGTK.cmake:12 (message):
  GCC 4.9.0 is required to build WebKitGTK+, use a newer GCC version or clang
Call Stack (most recent call first):
  CMakeLists.txt:164 (include)


-- Configuring incomplete, errors occurred!
See also "/home/jacek/bin/webkitgtk-2.10.4/CMakeFiles/CMakeOutput.log".

GCC itself, however, says this:

jacek at veteran:~/Downloads $ gcc --version
gcc (SUSE Linux) 5.2.1 20151130 [gcc-5-branch revision 231058]
Copyright (C) 2015 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

What really puzzles me, are these two lines in the logfile:

gcc version 4.8.3 20140627 [gcc-4_8-branch revision 212064] (SUSE Linux) 
COMPILER_PATH=/usr/lib64/gcc/x86_64-suse-linux/4.8/:/usr/lib64/gcc/x86_64-suse-linux/4.8/:/usr/lib64/gcc/x86_64-suse-linux/:/usr/lib64/gcc/x86_64-suse-linux/4.8/:/usr/lib64/gcc/x86_64-suse-linux/:/usr/lib64/gcc/x86_64-suse-linux/4.8/../../../../x86_64-suse-linux/bin/

Does the configure script ignore the V5 GCC installed on my system? The directory in question looks like this:

jacek at veteran:/usr/lib64/gcc/x86_64-suse-linux $ ls -al
insgesamt 16
drwxr-xr-x 4 root root 4096 30. Nov 14:29 .
drwxr-xr-x 3 root root 4096 30. Nov 14:29 ..
drwxr-xr-x 5 root root 4096 30. Dez 2014  4.8
drwxr-xr-x 6 root root 4096 23. Dez 17:56 5

What is going on here? Thank you for any useful hints!

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20151223/26e7724b/attachment-0001.html>


More information about the webkit-unassigned mailing list