From nobody Tue Nov 16 12:11:20 2021 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 470ED1851543; Tue, 16 Nov 2021 12:11:27 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4HtlK91BWFz3N9c; Tue, 16 Nov 2021 12:11:24 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id BD5135191; Tue, 16 Nov 2021 12:11:20 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 1AGCBKAY078906; Tue, 16 Nov 2021 12:11:20 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 1AGCBK0R078905; Tue, 16 Nov 2021 12:11:20 GMT (envelope-from git) Date: Tue, 16 Nov 2021 12:11:20 GMT Message-Id: <202111161211.1AGCBK0R078905@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Piotr Kubaj Subject: git: 454c8b425b28 - main - sysutils/fluent-bit: fix build on powerpc List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: pkubaj X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 454c8b425b28bb2cece5c12ffffc87dffb6a6d06 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by pkubaj: URL: https://cgit.FreeBSD.org/ports/commit/?id=454c8b425b28bb2cece5c12ffffc87dffb6a6d06 commit 454c8b425b28bb2cece5c12ffffc87dffb6a6d06 Author: Piotr Kubaj AuthorDate: 2021-11-16 12:04:08 +0000 Commit: Piotr Kubaj CommitDate: 2021-11-16 12:04:08 +0000 sysutils/fluent-bit: fix build on powerpc /usr/local/bin/ld: bss-plt forced due to ../lib/libluajit.a(lj_vm.o) /usr/local/bin/ld: ../library/libcmetrics.a(cmt_atomic_gcc.c.o): in function `cmt_atomic_compare_exchange': cmt_atomic_gcc.c:(.text+0x50): undefined reference to `__atomic_compare_exchange_8' /usr/local/bin/ld: ../library/libcmetrics.a(cmt_atomic_gcc.c.o): in function `cmt_atomic_store': cmt_atomic_gcc.c:(.text+0x8c): undefined reference to `__atomic_store_8' /usr/local/bin/ld: ../library/libcmetrics.a(cmt_atomic_gcc.c.o): in function `cmt_atomic_load': cmt_atomic_gcc.c:(.text+0xc8): undefined reference to `__atomic_load_8' --- sysutils/fluent-bit/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/sysutils/fluent-bit/Makefile b/sysutils/fluent-bit/Makefile index e810bc4ea752..47b4cb649c12 100644 --- a/sysutils/fluent-bit/Makefile +++ b/sysutils/fluent-bit/Makefile @@ -43,6 +43,7 @@ USE_RC_SUBR= ${PORTNAME} .if ${ARCH:Mpowerpc64*} CMAKE_ARGS+= -DFLB_LUAJIT:BOOL=OFF .elif ${ARCH} == powerpc +LDFLAGS+= -latomic USES+= compiler:gcc-c++11-lib .else USES+= compiler:c11