<html>
<head>
<base href="https://bugs.webkit.org/" />
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW - 2.10.4 would not compile with GCC 5.2.1"
href="https://bugs.webkit.org/show_bug.cgi?id=152528">152528</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>2.10.4 would not compile with GCC 5.2.1
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr>
<tr>
<th>Product</th>
<td>WebKit
</td>
</tr>
<tr>
<th>Version</th>
<td>WebKit Nightly Build
</td>
</tr>
<tr>
<th>Hardware</th>
<td>PC
</td>
</tr>
<tr>
<th>OS</th>
<td>Linux
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>Blocker
</td>
</tr>
<tr>
<th>Priority</th>
<td>P2
</td>
</tr>
<tr>
<th>Component</th>
<td>New Bugs
</td>
</tr>
<tr>
<th>Assignee</th>
<td>webkit-unassigned@lists.webkit.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>stacheldraht@interia.pl
</td>
</tr></table>
<p>
<div>
<pre>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@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@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@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!</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>