Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 2 Jun 2016 22:28:53 +0200
From:      "O. Hartmann" <ohartman@zedat.fu-berlin.de>
To:        FreeBSD Ports <freebsd-ports@freebsd.org>
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>

next in thread | raw e-mail | index | archive | help
--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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20160602222853.085d82f7.ohartman>