Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 17 Sep 2017 20:27:31 +0000
From:      bugzilla-noreply@freebsd.org
To:        gnome@FreeBSD.org
Subject:   maintainer-feedback requested: [Bug 222414] www/webkit-gtk2 fails to build with gcc6
Message-ID:  <bug-222414-6497-GMainZgCX6@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-222414-6497@https.bugs.freebsd.org/bugzilla/>
References:  <bug-222414-6497@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
Justin Hibbits <jhibbits@FreeBSD.org> has reassigned Bugzilla Automation
<bugzilla@FreeBSD.org>'s request for maintainer-feedback to gnome@FreeBSD.o=
rg:
Bug 222414: www/webkit-gtk2 fails to build with gcc6
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D222414



--- Description ---
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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-222414-6497-GMainZgCX6>