From owner-freebsd-ports@freebsd.org Thu Jun 2 20:29:00 2016 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B434CB66F4B for ; Thu, 2 Jun 2016 20:29:00 +0000 (UTC) (envelope-from ohartman@zedat.fu-berlin.de) Received: from outpost1.zedat.fu-berlin.de (outpost1.zedat.fu-berlin.de [130.133.4.66]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 774DB1C6C for ; Thu, 2 Jun 2016 20:29:00 +0000 (UTC) (envelope-from ohartman@zedat.fu-berlin.de) Received: from inpost2.zedat.fu-berlin.de ([130.133.4.69]) by outpost.zedat.fu-berlin.de (Exim 4.85) for freebsd-ports@freebsd.org with esmtps (TLSv1.2:DHE-RSA-AES256-GCM-SHA384:256) (envelope-from ) id <1b8ZEg-000n34-Bn>; Thu, 02 Jun 2016 22:28:58 +0200 Received: from x5ce13ce8.dyn.telefonica.de ([92.225.60.232] helo=thor.walstatt.dynvpn.de) by inpost2.zedat.fu-berlin.de (Exim 4.85) for freebsd-ports@freebsd.org with esmtpsa (TLSv1.2:AES256-GCM-SHA384:256) (envelope-from ) id <1b8ZEg-001lf8-1I>; Thu, 02 Jun 2016 22:28:58 +0200 Date: Thu, 2 Jun 2016 22:28:53 +0200 From: "O. Hartmann" To: FreeBSD Ports Subject: devel/beignet: build error: call to 'abs' is ambiguous insn->extra.longjmp = abs(index - origin) > 800 Message-ID: <20160602222853.085d82f7.ohartman@zedat.fu-berlin.de> Organization: FU Berlin X-Mailer: Claws Mail 3.13.2 (GTK+ 2.24.29; amd64-portbld-freebsd11.0) MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; boundary="Sig_/xghQI4p0dHADA/MUvFDG8aB"; protocol="application/pgp-signature" X-Originating-IP: 92.225.60.232 X-ZEDAT-Hint: A X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Jun 2016 20:29:00 -0000 --Sig_/xghQI4p0dHADA/MUvFDG8aB Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Building/updating port devel/beignet fails with [ 42%] Building CXX object backend/src/CMakeFiles/gbe.dir/llvm/llvm_unroll.= cpp.o [ 42%] Building C object backend/src/CMakeFiles/gbe.dir/backend/gen/gen_mes= a_disasm.c.o [ 42%] Building CXX object backend/src/CMakeFiles/gbe.dir/backend/gen_insn_= selection.cpp.o [ 43%] Building CXX object backend/src/CMakeFiles/gbe.dir/backend/gen_insn_scheduling.cpp.o [ 43%] Bui= lding CXX object backend/src/CMakeFiles/gbe.dir/backend/gen_reg_allocation.cpp.o /usr/ports/= lang/beignet/work/Beignet-1.1.2-Source/backend/src/backend/gen_insn_selecti= on.cpp:1156:27: error: call to 'abs' is ambiguous insn->extra.longjmp =3D abs(index - origi= n) > 800; ^~~ /usr/include/stdlib.h:83:6: note: candidate function int abs(int) __pure2; ^ /usr/include/c++/v1/stdlib.h:115:44: note: candidate function inline _LIBCPP_INLINE_VISIBILITY long abs( long __x) _NOEXCEPT {re= turn labs(__x);} ^ /usr/include/c++/v1/stdlib.h:117:44: note: candidate function inline _LIBCPP_INLINE_VISIBILITY long long abs(long long __x) _NOEXCEPT {re= turn llabs(__x);} ^ /usr/include/c++/v1/math.h:646:1: note: candidate function abs(float __lcpp_x) _NOEXCEPT {return fabsf(__lcpp_x);} ^ /usr/include/c++/v1/math.h:650:1: note: candidate function abs(double __lcpp_x) _NOEXCEPT {return fabs(__lcpp_x);} ^ /usr/include/c++/v1/math.h:654:1: note: candidate function abs(long double __lcpp_x) _NOEXCEPT {return fabsl(__lcpp_x);} Regards, oh --Sig_/xghQI4p0dHADA/MUvFDG8aB Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQEcBAEBCAAGBQJXUJcFAAoJEOgBcD7A/5N86HkIAMOQ3zWzXLkaM1u2ribpho5s 2qcmOf6MBJWf+mtLPeX5GwAy4x5KKzlWhem9bxYAKGuMMel9pkUJk5b6fTwsfgml WmNc6yZNgTN2EtgfXyNDgleJCSaW5okVkT1QxzebUrWLtdwXyxkuLjLH+XdsHrhV o1cBHCk7gfC+RwEIjKEHRFY47JQgc0v4/ugC6wKMDKcu1hmujnU3SuSU/aa+toaY vTZNg9AluPYdGQU9sThTbQ3+Ng+GRtmsRnBs0DXuPMBmOAnfPr//Grv0Xfqrr1/x 3DgIejIw0MtPL0qIl/LGbUsTci6Y3CBATWn0Jom5juK74EEZp73ygQQOIqLK1MM= =/ELB -----END PGP SIGNATURE----- --Sig_/xghQI4p0dHADA/MUvFDG8aB--