devel/beignet: build error: call to 'abs' is ambiguous insn->extra.longjmp = abs(index - origin) > 800

Dimitry Andric dim at FreeBSD.org
Fri Jun 3 23:18:43 UTC 2016


On 02 Jun 2016, at 22:28, O. Hartmann <ohartman at zedat.fu-berlin.de> wrote:
> 
> 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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 194 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20160604/16f11586/attachment.sig>


More information about the freebsd-ports mailing list