Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 10 Mar 2025 08:45:20 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 285303] lang/pocl: pocl 4.0 build failed in poudriere.
Message-ID:  <bug-285303-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D285303

            Bug ID: 285303
           Summary: lang/pocl: pocl 4.0 build failed in poudriere.
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: freebsd@sysctl.cz
                CC: ohartmann@walstatt.org
                CC: ohartmann@walstatt.org
             Flags: maintainer-feedback?(ohartmann@walstatt.org)

Hi,
I have a problem with this error in pocl 4.0.

est_command_buffer.c.o -c
/wrkdirs/usr/ports/lang/pocl/work/pocl-4.0/tests/runtime/test_command_buffe=
r.c
/wrkdirs/usr/ports/lang/pocl/work/pocl-4.0/tests/runtime/test_command_buffe=
r.c:147:15:
error: too few arguments to function call, expected 12, have 11
  143 |       CHECK_CL_ERROR (ext.clCommandCopyBufferKHR (
      |                       ~~~~~~~~~~~~~~~~~~~~~~~~~~
  144 |           command_buffer, NULL, buffer_src1, buffer_tile1,
  145 |           tile_index * tile_size, 0, tile_size, tile_sync_point ? 1=
 :
0,
  146 |           tile_sync_point ? &tile_sync_point : NULL,
&copy_sync_points[0],
  147 |           NULL));
      |               ^
/wrkdirs/usr/ports/lang/pocl/work/pocl-4.0/poclu/poclu.h:363:58: note: expa=
nded
from macro 'CHECK_CL_ERROR'
  363 | #define CHECK_CL_ERROR(cond) _POCLU_CHECK_CL_ERROR_INNER(cond,
__PRETTY_FUNCTION__, __LINE__)
      |                                                          ^~~~
/wrkdirs/usr/ports/lang/pocl/work/pocl-4.0/poclu/poclu.h:354:27: note: expa=
nded
from macro '_POCLU_CHECK_CL_ERROR_INNER'
  354 |       if (check_cl_error (cond, line, func))=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20
      \
      |                           ^~~~
/wrkdirs/usr/ports/lang/pocl/work/pocl-4.0/tests/runtime/test_command_buffe=
r.c:157:37:
error: too few arguments to function call, expected 16, have 15
  153 |       CHECK_CL_ERROR (ext.clCommandCopyBufferRectKHR (
      |                       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  154 |           command_buffer, NULL, buffer_src2, buffer_tile2, src_orig=
in,
  155 |           dst_origin, tile_region, tile_region[0], 0, tile_region[0=
],
0,
  156 |           tile_sync_point ? 1 : 0, tile_sync_point ? &tile_sync_poi=
nt :
NULL,
  157 |           &copy_sync_points[1], NULL));
      |                                     ^
/wrkdirs/usr/ports/lang/pocl/work/pocl-4.0/poclu/poclu.h:363:58: note: expa=
nded
from macro 'CHECK_CL_ERROR'
  363 | #define CHECK_CL_ERROR(cond) _POCLU_CHECK_CL_ERROR_INNER(cond,
__PRETTY_FUNCTION__, __LINE__)
      |                                                          ^~~~
/wrkdirs/usr/ports/lang/pocl/work/pocl-4.0/poclu/poclu.h:354:27: note: expa=
nded
from macro '_POCLU_CHECK_CL_ERROR_INNER'
  354 |       if (check_cl_error (cond, line, func))=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20
      \
      |                           ^~~~
/wrkdirs/usr/ports/lang/pocl/work/pocl-4.0/tests/runtime/test_command_buffe=
r.c:168:37:
error: too few arguments to function call, expected 12, have 11
  165 |       CHECK_CL_ERROR (ext.clCommandCopyBufferKHR (
      |                       ~~~~~~~~~~~~~~~~~~~~~~~~~~
  166 |           command_buffer, NULL, buffer_res, buffer_dst, 0,
  167 |           tile_index * tile_size, tile_size, 1, &nd_sync_point,
  168 |           &res_copy_sync_point, NULL));
      |                                     ^
/wrkdirs/usr/ports/lang/pocl/work/pocl-4.0/poclu/poclu.h:363:58: note: expa=
nded
from macro 'CHECK_CL_ERROR'
  363 | #define CHECK_CL_ERROR(cond) _POCLU_CHECK_CL_ERROR_INNER(cond,
__PRETTY_FUNCTION__, __LINE__)
      |                                                          ^~~~
/wrkdirs/usr/ports/lang/pocl/work/pocl-4.0/poclu/poclu.h:354:27: note: expa=
nded
from macro '_POCLU_CHECK_CL_ERROR_INNER'
  354 |       if (check_cl_error (cond, line, func))=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20
      \
      |                           ^~~~
/wrkdirs/usr/ports/lang/pocl/work/pocl-4.0/tests/runtime/test_command_buffe=
r.c:174:67:
error: too few arguments to function call, expected 12, have 11
  172 |       CHECK_CL_ERROR (ext.clCommandFillBufferKHR (
      |                       ~~~~~~~~~~~~~~~~~~~~~~~~~~
  173 |           command_buffer, NULL, buffer_tile1, &zero, sizeof (zero),=
 0,
  174 |           tile_size, 1, &nd_sync_point, &fill_sync_points[0], NULL)=
);
      |                                                                   ^
:

--=20
You are receiving this mail because:
You are the assignee for the bug.=



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