From nobody Sun Aug 04 12:01:10 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 4WcJ7W24PTz5SCQD; Sun, 04 Aug 2024 12:01:11 +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 4WcJ7V5pGQz4PVp; Sun, 4 Aug 2024 12:01:10 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1722772870; 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=xAXpzMgnuLFo+o2ifanup+NslG0NWzOoLDi69suMDBE=; b=bHyi0JEmtSB3A39cX/78KP86Ccsugcgb0styuUHxDyJSgntVsku1vjO5lTsKUeSEURndLE b6QaYCGeJHSjAxz3rY6XK6Jb9BvpSi4yp6QHO9yVqylSabb5fFBtQeGN0jiT7Ii0prCC0e t6nevN1m3VsN5AUM/Xh4So+2pzrwbhDGe8mMWWUNfRBvSuBWQSWP8SMdjPrGgQrRi2l2iv CS/a/icbtmJjkjyefF/RNmI7aWAotuRP7/8CLHAf3hDSkc+Hjf6mVT0FjoVx+s08G/W59D vO+Ozo+OiGADrlEUJy/75xd31HvsYEEY4gik1HWpQfP3HKAS55GBaCsv4S+VXg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1722772870; a=rsa-sha256; cv=none; b=RbhGsBG+xI/yd4bxD2CnVyujl+/bLqQa/JHE39JHrVPFY1+BtfU+lzweCMc2JROT/9wOb5 cFz1VW2ucPYyaEAGMKnHxrJlj5UekA7A/WiIHJz8awwn3wQeu4YoPnCarFcZD357l4Kele fnR3MpNRGqVlXGZr9XTHsV5dYnPPQ8sB+Tw5tlYhf7RMalQVORPxgqk6Y2Tyy1JHPxBPwU OxVX3GpGXnioPzwr+2LkR/aIlRv+JvMbjamtAmodyxbHUbE8zU30tVRLSA4b/2r8G9x6/O RBpr+siwVVkOn8huPDljDDLmE7AnlfHcZs2fwU0UTs37c8wFt+9PRu0Z2IRzRg== 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=1722772870; 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=xAXpzMgnuLFo+o2ifanup+NslG0NWzOoLDi69suMDBE=; b=tjVR26vtoBh2IyUeZuGZg15ICRL0Z3M3d8r2fTb0vXwdieLTs45HfTsDa63oRF9HPcprUM RFKj+TZvdIfwQMHRK5hDOEnBOPVe9eLRipXsc/srZt8fkJpYxjtV4pR+OM6r37C/sdhc34 b92hJ9xKY5z5kCPQysWPWya91MdvDHlhYYOo9ZnACOZk2cctULkyiJ6QQ1vX70px8uZcYn hWQFB3VUdu+fyfSG915VR74O+XDCDPMLqeulS7XhuVkZJI8/UpoPl2uhBCiLkl6Si9PBcm DLay1uxl29xbWh3ffYTCAGonClahfivQhwchD8fR3siFb4sV3MDHR1sgxQ3+fw== 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 4WcJ7V5NXMztgV; Sun, 4 Aug 2024 12:01:10 +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 474C1AcM012536; Sun, 4 Aug 2024 12:01:10 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 474C1AsI012533; Sun, 4 Aug 2024 12:01:10 GMT (envelope-from git) Date: Sun, 4 Aug 2024 12:01:10 GMT Message-Id: <202408041201.474C1AsI012533@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: ab52d5af3b6f - main - dns/doh-proxy: 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: ab52d5af3b6fa295d2b9fb45d89e1cd23b15330f Auto-Submitted: auto-generated The branch main has been updated by pkubaj: URL: https://cgit.FreeBSD.org/ports/commit/?id=ab52d5af3b6fa295d2b9fb45d89e1cd23b15330f commit ab52d5af3b6fa295d2b9fb45d89e1cd23b15330f Author: Piotr Kubaj AuthorDate: 2024-07-30 14:35:38 +0000 Commit: Piotr Kubaj CommitDate: 2024-08-04 12:00:25 +0000 dns/doh-proxy: fix build on powerpc = note: ld: error: undefined symbol: __atomic_load_8 >>> referenced by static.c >>> 98cfcaec7182b1d8-static.o:(mi_arena_schedule_purge) in archive /wrkdirs/usr/ports/dns/doh-proxy/work/rustc4xSzx7/liblibmimalloc_sys-4a9c093f9f8149a2.rlib >>> referenced by static.c >>> 98cfcaec7182b1d8-static.o:(mi_arenas_try_purge) in archive /wrkdirs/usr/ports/dns/doh-proxy/work/rustc4xSzx7/liblibmimalloc_sys-4a9c093f9f8149a2.rlib >>> referenced by static.c >>> 98cfcaec7182b1d8-static.o:(mi_stat_update) in archive /wrkdirs/usr/ports/dns/doh-proxy/work/rustc4xSzx7/liblibmimalloc_sys-4a9c093f9f8149a2.rlib >>> referenced 2 more times ld: error: undefined symbol: __atomic_fetch_add_8 >>> referenced by static.c >>> 98cfcaec7182b1d8-static.o:(mi_arena_schedule_purge) in archive /wrkdirs/usr/ports/dns/doh-proxy/work/rustc4xSzx7/liblibmimalloc_sys-4a9c093f9f8149a2.rlib >>> referenced by static.c >>> 98cfcaec7182b1d8-static.o:(mi_manage_os_memory_ex2) in archive /wrkdirs/usr/ports/dns/doh-proxy/work/rustc4xSzx7/liblibmimalloc_sys-4a9c093f9f8149a2.rlib >>> referenced by static.c >>> 98cfcaec7182b1d8-static.o:(mi_manage_os_memory_ex2) in archive /wrkdirs/usr/ports/dns/doh-proxy/work/rustc4xSzx7/liblibmimalloc_sys-4a9c093f9f8149a2.rlib >>> referenced 88 more times ld: error: undefined symbol: __atomic_store_8 >>> referenced by static.c >>> 98cfcaec7182b1d8-static.o:(mi_arena_schedule_purge) in archive /wrkdirs/usr/ports/dns/doh-proxy/work/rustc4xSzx7/liblibmimalloc_sys-4a9c093f9f8149a2.rlib ld: error: undefined symbol: __atomic_compare_exchange_8 >>> referenced by static.c >>> 98cfcaec7182b1d8-static.o:(mi_arenas_try_purge) in archive /wrkdirs/usr/ports/dns/doh-proxy/work/rustc4xSzx7/liblibmimalloc_sys-4a9c093f9f8149a2.rlib >>> referenced by static.c >>> 98cfcaec7182b1d8-static.o:(mi_arenas_try_purge) in archive /wrkdirs/usr/ports/dns/doh-proxy/work/rustc4xSzx7/liblibmimalloc_sys-4a9c093f9f8149a2.rlib >>> referenced by static.c >>> 98cfcaec7182b1d8-static.o:(mi_stat_update) in archive /wrkdirs/usr/ports/dns/doh-proxy/work/rustc4xSzx7/liblibmimalloc_sys-4a9c093f9f8149a2.rlib ld: error: undefined symbol: __atomic_store >>> referenced by static.c >>> 98cfcaec7182b1d8-static.o:(mi_manage_os_memory_ex2) in archive /wrkdirs/usr/ports/dns/doh-proxy/work/rustc4xSzx7/liblibmimalloc_sys-4a9c093f9f8149a2.rlib cc: error: linker command failed with exit code 1 (use -v to see invocation) --- dns/doh-proxy/Makefile | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/dns/doh-proxy/Makefile b/dns/doh-proxy/Makefile index 066a0369c609..b315af4861ef 100644 --- a/dns/doh-proxy/Makefile +++ b/dns/doh-proxy/Makefile @@ -17,6 +17,13 @@ PLIST_FILES= bin/doh-proxy # make cargo-crates > Makefile.crates +.include + +.if ${ARCH} == powerpc +LIB_DEPENDS+= libatomic.so:lang/gcc${GCC_DEFAULT} +LDFLAGS+= -L/usr/local/lib/gcc${GCC_DEFAULT} -latomic +.endif + post-install: @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/doh-proxy