Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 Jul 2018 22:32:48 -0700
From:      Mark Millard <marklmi@yahoo.com>
To:        Konstantin Belousov <kib@freebsd.org>, FreeBSD Current <freebsd-current@freebsd.org>
Subject:   head -r336568 and -r336570 appears to have made ci.freebsg.org's FreeBSD-head-amd64-gcc fail either than it had been (error: operand type 'struct <anonymous> *' is incompatible with argument 1 of '__atomic_fetch_add')
Message-ID:  <AED126D8-AFB9-4BF6-81AF-A3CE5F16D2AB@yahoo.com>

next in thread | raw e-mail | index | archive | help
https://ci.freebsd.org/job/FreeBSD-head-amd64-gcc/6597/consoleText
(head -r336573 after the prior 6596's -r336565 ):

--- all_subdir_lib/ofed ---
In file included from /workspace/src/contrib/ofed/librdmacm/cma.h:43:0,
                 from /workspace/src/contrib/ofed/librdmacm/acm.c:42:
/workspace/src/contrib/ofed/librdmacm/cma.h: In function =
'fastlock_init':
/workspace/src/contrib/ofed/librdmacm/cma.h:60:2: error: invalid =
initializer
  atomic_store(&lock->cnt, 0);
  ^
In file included from /workspace/src/contrib/ofed/librdmacm/acm.c:42:0:
/workspace/src/contrib/ofed/librdmacm/cma.h: In function =
'fastlock_acquire':
/workspace/src/contrib/ofed/librdmacm/cma.h:68:2: error: operand type =
'struct <anonymous> *' is incompatible with argument 1 of =
'__atomic_fetch_add'
  if (atomic_fetch_add(&lock->cnt, 1) > 0)
  ^~
/workspace/src/contrib/ofed/librdmacm/cma.h: In function =
'fastlock_release':
/workspace/src/contrib/ofed/librdmacm/cma.h:73:2: error: operand type =
'struct <anonymous> *' is incompatible with argument 1 of =
'__atomic_fetch_sub'
  if (atomic_fetch_sub(&lock->cnt, 1) > 1)
  ^~
. . .
--- all_subdir_lib/ofed ---
*** [acm.o] Error code 1


https://ci.freebsd.org/job/FreeBSD-head-amd64-gcc/6621/consoleText ( for
-r336700 ) still shows this type of error.

=3D=3D=3D
Mark Millard
marklmi at yahoo.com
( dsl-only.net went
away in early 2018-Mar)




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AED126D8-AFB9-4BF6-81AF-A3CE5F16D2AB>