[Bug 222414] www/webkit-gtk2 fails to build with gcc6
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Sun Sep 17 20:27:32 UTC 2017
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=222414
Bug ID: 222414
Summary: www/webkit-gtk2 fails to build with gcc6
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: Individual Port(s)
Assignee: gnome at FreeBSD.org
Reporter: jhibbits at FreeBSD.org
Flags: maintainer-feedback?(gnome at FreeBSD.org)
Assignee: gnome at FreeBSD.org
Created attachment 186487
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=186487&action=edit
poudriere build log
When building packages on powerpc after updating my poudriere tree to the
post-gcc6 switch, I see the following error:
Source/WebCore/platform/gtk/GtkClickCounter.cpp: In member function 'int
WebCore:
:GtkClickCounter::clickCountForGdkButtonEvent(GtkWidget*, GdkEventButton*)':
Source/WebCore/platform/gtk/GtkClickCounter.cpp:88:59: error: call of
overloaded
'abs(gdouble)' is ambiguous
|| ((abs(buttonEvent->x - m_previousClickPoint.x()) <
doubleClickDistanc
e)
^
In file included from /usr/local/lib/gcc6/include/c++/cstdlib:75:0,
from /usr/local/lib/gcc6/include/c++/stdlib.h:36,
from ./Source/WTF/wtf/FastMalloc.h:25,
from ./Source/JavaScriptCore/config.h:60,
from Source/WebCore/platform/gtk/GtkClickCounter.cpp:19:
/usr/include/stdlib.h:85:6: note: candidate: int abs(int)
int abs(int) __pure2;
^~~
In file included from /usr/local/lib/gcc6/include/c++/stdlib.h:36:0,
from ./Source/WTF/wtf/FastMalloc.h:25,
from ./Source/JavaScriptCore/config.h:60,
from Source/WebCore/platform/gtk/GtkClickCounter.cpp:19:
/usr/local/lib/gcc6/include/c++/cstdlib:180:3: note: candidate: long long int
std::abs(long long int)
abs(long long __x) { return __builtin_llabs (__x); }
^~~
/usr/local/lib/gcc6/include/c++/cstdlib:172:3: note: candidate: long int
std::abs(long int)
abs(long __i) { return __builtin_labs(__i); }
^~~
The full log is attached.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-gnome
mailing list