From nobody Sun Aug 4 12:01:12 2024 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 4WcJ7Y2f9gz5SCQN; Sun, 04 Aug 2024 12:01:13 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4WcJ7Y0wgFz4PQN; Sun, 4 Aug 2024 12:01:13 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1722772873; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=8zTfFVH7WxENN46hC6McOqups5bbj0JHLHfCVo1vaAo=; b=Miwo3a2XFJVPbEoznKbghGAS1JrD4qOhBPHZEhiU7ekU1aEl8E0t9/EFa9Cp89BA7BdQxa R5c+E+zrn+KY5DfwzOu29rm7WTFJKb4sdtNjHMegfRZr7oO+Zy2q2yDQrPyepYRiAwh2TH i0vRCghXsB6DHExx+EuVgPsPZR0RQJWrbT4PakedDqN6+qnO4Kw8C1LDqM8WJHRyZJGus7 /oLqftJN7fm8Jdo6N2579RMLORPzhuY3ozv0+8spXVOiBC4TiJLQ+gQYReMVDo6BbkHeMc ic+L0NEOzMUvsMGDf1/vq0q+fXAgeCYOF4+KmuBppDvaNkYhpzh8eq+LnTSvRw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1722772873; a=rsa-sha256; cv=none; b=LkJfpn0akleSLI65SpfwHuJSUlHpv2xzVwCUP8ItLNQE0Gs88ZDwXwcWVpuwwSuvjv8vYL wfe/nUkTvpCkunEGfxpUrPZkOrbPGjdSZ3lILd834PY66lt0L36Fph3LJQcDkbDBfWTy+e Yv/2fcnR390wawLsuu7boSzncot4kKd6+dprrEJm5niNXZaUzLWm/SAd/inQaq/+QlmQQ4 w/lqqd2imwQ5tASg/pdRrkM4C9zh3uOiBnNH14AUI8b5g9BAKoa1yoPPchdqsm+i3jud86 ZL+gqdZx4Nv2P5aSIMfLiJN3hj30qeRr65gaxe8L2i1P7B9NSUkCMlmkRJSivA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1722772873; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=8zTfFVH7WxENN46hC6McOqups5bbj0JHLHfCVo1vaAo=; b=jDOpl03cRGQ0AzzMs7nyy3Orw3ScxtA4nW2+p48jzcJ0/7Xo04lvsPZeITVdWWZnJNYJXb 3y1sLqv8e5uDHa+7BCjcDpIJqBkIM6hGMZ2zEgR1lOHvab4nyXN2x+Gi3qqeOBApFfOD9u 6Z944h+zwYleL0CV46b6fO6im5Kc2dB+95L3lgMuq2GPELHJeB5VzWfexC73qbHJS4y3wg 3rlZoPlP5y8QrhNXlDqcBlQwnUlQg9wtnyWtSbEOCRc/D8D4oGrVgICsTPWPSJ4nDcLVQr DY0CfbStA3T/ajdQM0I1xWBelMKQkY1es0KbH/AkMKTObjwuzbIJOyn6RprYdQ== 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 4WcJ7Y0XD9ztvj; Sun, 4 Aug 2024 12:01:13 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 474C1Cr3012622; Sun, 4 Aug 2024 12:01:12 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 474C1C3L012619; Sun, 4 Aug 2024 12:01:12 GMT (envelope-from git) Date: Sun, 4 Aug 2024 12:01:12 GMT Message-Id: <202408041201.474C1C3L012619@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: 092e5a2ca90e - main - misc/quary: 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: X-BeenThere: dev-commits-ports-main@freebsd.org Sender: owner-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: 092e5a2ca90e514120ddce7185b3e16217f86a58 Auto-Submitted: auto-generated The branch main has been updated by pkubaj: URL: https://cgit.FreeBSD.org/ports/commit/?id=092e5a2ca90e514120ddce7185b3e16217f86a58 commit 092e5a2ca90e514120ddce7185b3e16217f86a58 Author: Piotr Kubaj AuthorDate: 2024-07-30 16:57:21 +0000 Commit: Piotr Kubaj CommitDate: 2024-08-04 12:00:28 +0000 misc/quary: fix build on powerpc ld: error: undefined symbol: __atomic_fetch_sub_8 >>> referenced by ub_src_main_buffered_data.cpp >>> 239a61d5cb207136-ub_src_main_buffered_data.o:(duckdb::SimpleBufferedData::Scan()) in archive /wrkdirs/usr/ports/misc/quary/work/target/powerpc-unknown-freebsd/release/deps/liblibduckdb_sys-cad649c98c3dae49.rlib >>> referenced by ub_src_execution_operator_persistent.cpp >>> 239a61d5cb207136-ub_src_execution_operator_persistent.o:(duckdb::BatchMemoryManager::ReduceUnflushedMemory(unsigned long long)) in archive /wrkdirs/usr/ports/misc/quary/work/target/powerpc-unknown-freebsd/release/deps/liblibduckdb_sys-cad649c98c3dae49.rlib >>> referenced by ub_src_transaction.cpp >>> 239a61d5cb207136-ub_src_transaction.o:(duckdb::CleanupState::CleanupDelete(duckdb::DeleteInfo&)) in archive /wrkdirs/usr/ports/misc/quary/work/target/powerpc-unknown-freebsd/release/deps/liblibduckdb_sys-cad649c98c3dae49.rlib >>> referenced 14 more times cc: error: linker command failed with exit code 1 (use -v to see invocation) --- misc/quary/Makefile | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/misc/quary/Makefile b/misc/quary/Makefile index 2d8648476c8a..753461ea4fcd 100644 --- a/misc/quary/Makefile +++ b/misc/quary/Makefile @@ -524,6 +524,13 @@ CARGO_CRATES= addr2line-0.22.0 \ PLIST_FILES= bin/${PORTNAME} +.include + +.if ${ARCH} == powerpc +LIB_DEPENDS+= libatomic.so:lang/gcc${GCC_DEFAULT} +LDFLAGS+= -L/usr/local/lib/gcc${GCC_DEFAULT} -latomic +.endif + do-install: ${INSTALL_PROGRAM} \ ${WRKDIR}/target/*/release/${PORTNAME} \