Date: Sun, 17 Sep 2017 20:27:31 +0000 From: bugzilla-noreply@freebsd.org To: gnome@FreeBSD.org Subject: [Bug 222414] www/webkit-gtk2 fails to build with gcc6 Message-ID: <bug-222414-6497@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D222414 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@FreeBSD.org Reporter: jhibbits@FreeBSD.org Flags: maintainer-feedback?(gnome@FreeBSD.org) Assignee: gnome@FreeBSD.org Created attachment 186487 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D186487&action= =3Dedit 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 i= nt 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. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-222414-6497>