From nobody Wed Jun 29 17:01:38 2022 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 97D5F86EEF7; Wed, 29 Jun 2022 17:01:39 +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 4LY76C1M8zz3s0s; Wed, 29 Jun 2022 17:01:39 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1656522099; 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=t019pTH9B2OaOLoMkEkwnazWvysYaH3jrN8vJjQebPk=; b=gOAidMycvk1ChWBZJn+BmfsWChCMurqYovEDp7+++aCs5U0WmnRQ5dmqwTo82aDiq+0z/z 5oTUFq0QdOxzrOmOCe6Ciw4EgftLwQoOwlj1R7pOL1sWE6Gy6Jwl8UF8tEvD4erW7Mf6AY m3nHfCbY4Zaixh8t41xCgnsnJ51bNEncwOVDI+52tOdTlJWJAdmU2Q1YNjDufX1KyPwKN/ cQtT0x0Js6IjZvpTtMCJPkoBhbZT/slnu/imECWc1hVFmlBiFfG0039ZztObP5LuN33qZR 8BRpBZoAOtDHZokYIG0K4BCZRDmZQ7y338BQmNwjQVs9WY55pZ7XuwpWttJ/rw== 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 EE86515B9F; Wed, 29 Jun 2022 17:01:38 +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 25TH1cFQ026821; Wed, 29 Jun 2022 17:01:38 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 25TH1cp3026820; Wed, 29 Jun 2022 17:01:38 GMT (envelope-from git) Date: Wed, 29 Jun 2022 17:01:38 GMT Message-Id: <202206291701.25TH1cp3026820@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: 623398ff2efc - main - sysutils/btop: fix build on i386 and powerpc with GCC 11 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: 623398ff2efcadc2cd5e6769879fb31800c98d91 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1656522099; 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=t019pTH9B2OaOLoMkEkwnazWvysYaH3jrN8vJjQebPk=; b=YOtIszUMdy4nS51HZdBB9Y7Wz94b5YRJsLt8lBTfNSvKKN5zY6fuYeIvdtadTFV/SoMyhd fPB26ar/Yi6eV+tVK/XiOjiNpPzEpPbo3wxAfdxlWbZj7XAKHSbqbiWycN5dSUDeLDR49L 9al5hCit63cWhjuGL5YXFO9HvEoBN80YLcu8kv1aj2EukdpWGhnVPNUf3EhYBVaTQdhFuy r7rw5sIKZeLb6KOirw+VkRm+rCHJEoGOoRRurFvQI2FouOsi0Mk4fqI4A/3Cf29spQvAs9 OBSDSrEs7kyZYsuJTrFn8cBSqtus3xLHrZJILcahwEaGiP3FdrKaNUtbkrGz1g== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1656522099; a=rsa-sha256; cv=none; b=QG5X8V9ReqF/CSoqz1kU05j0IefgvdE/1bmZR7RMDx4jNS2zJ2cEG/wg30lQ25OmstBMWu Cr9IzrvmuP+1DB2FFfmkF1OJell9AfRHoDSg118loFbKd4R2IhBDEw62Hn5xAaL0IHDrF1 JQUchQTuy3o4ZroDri6uTgYWcaLIPsZW0gpYkpgts2T1rxD+vGiFLZq5YfqeCBP2XcvczS zzQ2LHldsGDvlivusmFaeT8/E7HiMXCjwZVfH6zS4KnI5lBxREijXDSTuhHeK5MNz11vcJ xgbV7Hqt/3GvZ9xy5X1cGGmmptkycgg/7UePeAX2hvzyJXNgRP+/wO5n++/vPA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by pkubaj: URL: https://cgit.FreeBSD.org/ports/commit/?id=623398ff2efcadc2cd5e6769879fb31800c98d91 commit 623398ff2efcadc2cd5e6769879fb31800c98d91 Author: Piotr Kubaj AuthorDate: 2022-06-29 17:00:11 +0000 Commit: Piotr Kubaj CommitDate: 2022-06-29 17:01:26 +0000 sysutils/btop: fix build on i386 and powerpc with GCC 11 /usr/local/bin/ld: /tmp/cc4flGwQ.ltrans0.ltrans.o: in function `Runner::_runner(void*)': :(.text+0x3c74): undefined reference to `__atomic_load_8' /usr/local/bin/ld: :(.text+0x3c9c): undefined reference to `__atomic_load_8' /usr/local/bin/ld: :(.text+0x3cc8): undefined reference to `__atomic_compare_exchange_8' /usr/local/bin/ld: :(.text+0x441c): undefined reference to `__atomic_load_8' /usr/local/bin/ld: :(.text+0x4448): undefined reference to `__atomic_compare_exchange_8' /usr/local/bin/ld: :(.text+0x446c): undefined reference to `__atomic_load_8' /usr/local/bin/ld: :(.text+0x4480): undefined reference to `__atomic_load_8' /usr/local/bin/ld: :(.text+0x44ac): undefined reference to `__atomic_compare_exchange_8' /usr/local/bin/ld: /tmp/cc4flGwQ.ltrans1.ltrans.o: in function `Runner::run(std::__cxx11::basic_string, std::allocator > const&, bool, bool)': :(.text+0x1cf4): undefined reference to `__atomic_fetch_add_8' /usr/local/bin/ld: :(.text+0x1d44): undefined reference to `__atomic_fetch_add_8' /usr/local/bin/ld: /tmp/cc4flGwQ.ltrans1.ltrans.o: in function `Runner::stop()': :(.text+0x5150): undefined reference to `__atomic_fetch_add_8' /usr/local/bin/ld: :(.text+0x51a8): undefined reference to `__atomic_fetch_add_8' collect2: error: ld returned 1 exit status --- sysutils/btop/Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sysutils/btop/Makefile b/sysutils/btop/Makefile index 8be82a92b891..2c6cac5f9669 100644 --- a/sysutils/btop/Makefile +++ b/sysutils/btop/Makefile @@ -14,6 +14,8 @@ USE_GCC= yes USE_GITHUB= yes GH_ACCOUNT= aristocratos +CXXFLAGS_i386= -latomic +CXXFLAGS_powerpc= -latomic MAKE_ARGS= STRIP=true ADDFLAGS="${CXXFLAGS} ${LDFLAGS}" .include