Re: devel/beignet: build error: call to 'abs' is ambiguous insn->extra.longjmp = abs(index - origin) > 800
On 02 Jun 2016, at 22:28, O. Hartmannwrote: > > 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_mesa_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%] > Building 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_selection.cpp:1156:27: > error: call to 'abs' is ambiguous insn->extra.longjmp = abs(index - origin) > > 800; ^~~ > /usr/include/stdlib.h:83:6: note: candidate function > int abs(int) __pure2; > ^ See https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=208908 -Dimitry signature.asc Description: Message signed with OpenPGP using GPGMail
devel/beignet: build error: call to 'abs' is ambiguous insn->extra.longjmp = abs(index - origin) > 800
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_mesa_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%] Building 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_selection.cpp:1156:27: error: call to 'abs' is ambiguous insn->extra.longjmp = abs(index - origin) > 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 {return labs(__x);} ^ /usr/include/c++/v1/stdlib.h:117:44: note: candidate function inline _LIBCPP_INLINE_VISIBILITY long long abs(long long __x) _NOEXCEPT {return 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 pgpVuKmVpVSnU.pgp Description: OpenPGP digital signature