Date: Mon, 23 Jul 2018 11:37:38 +0200 From: Hans Petter Selasky <hps@selasky.org> To: Li-Wen Hsu <lwhsu@FreeBSD.org>, src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: Re: svn commit: r336620 - head/contrib/ofed/include Message-ID: <3c44d182-8291-5cae-8845-4791978cbae8@selasky.org> In-Reply-To: <201807222235.w6MMZHdX030351@repo.freebsd.org> References: <201807222235.w6MMZHdX030351@repo.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On 07/23/18 00:35, Li-Wen Hsu wrote: > Author: lwhsu (ports committer) > Date: Sun Jul 22 22:35:17 2018 > New Revision: 336620 > URL: https://svnweb.freebsd.org/changeset/base/336620 > > Log: > Add udma_barrier definitions for RISC-V > > Reviewed by: kib > Sponsored by: The FreeBSD Foundation > > Modified: > head/contrib/ofed/include/udma_barrier.h > Was this change build tested? /usr/local/bin/riscv64-unknown-freebsd11.1-gcc --sysroot=/workspace/obj/workspace/src/riscv.riscv64/tmp -B/usr/local/riscv64-unknown-freebsd11.1/bin/ -O2 -pipe -I/workspace/src/contrib/ofed/librdmacm -march=rv64imafdc -mabi=lp64d -g -MD -MF.depend.acm.o -MTacm.o -std=gnu99 -fstack-protector-strong -Wno-error=address -Wno-error=array-bounds -Wno-error=attributes -Wno-error=bool-compare -Wno-error=cast-align -Wno-error=clobbered -Wno-error=enum-compare -Wno-error=extra -Wno-error=inline -Wno-error=logical-not-parentheses -Wno-error=strict-aliasing -Wno-error=uninitialized -Wno-error=unused-but-set-variable -Wno-error=unused-function -Wno-error=unused-value -Wno-error=misleading-indentation -Wno-error=nonnull-compare -Wno-error=shift-negative-value -Wno-error=tautological-compare -Wno-error=unused-const-variable -Wno-error=bool-operation -Wno-error=deprecated -Wno-error=expansion-to-defined -Wno-error=format-overflow -Wno-error=format-truncation -Wno-error=implicit-fallthrough -Wno-error=int-in-bool-context -Wno-error=memset-elt-size -Wno-error=noexcept-type -Wno-error=nonnull -Wno-error=pointer-compare -Wno-error=stringop-overflow -c /workspace/src/contrib/ofed/librdmacm/acm.c -o acm.o 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) --HPS
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3c44d182-8291-5cae-8845-4791978cbae8>