From nobody Sun May 28 11:42:53 2023 X-Original-To: dev-commits-ports-all@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 4QTcGk0lR0z4XGrf; Sun, 28 May 2023 11:42:54 +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 4QTcGk02lgz3wWW; Sun, 28 May 2023 11:42:54 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1685274174; 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=azdiiiL5/8GtUXerLOGkBFLAKPQIV0sQEIjp5wGfUlE=; b=kH3SGWkt5ovIpUfGnch/La+o+htHpVTJCi3Jk0A2Zytl80heoife4/Esl2U3A/iGoF7H9c hafi1qzOfoyH+zEazK4bfTPhveB2iBzVsFO9jVH/IHenCT+xiyJA6kExL9whsKbX0OGuH/ 1yw5z/oqvfR/afZhHN6TDJ4pnet9LbQ5VGhlzckw6SUbCr9wk/T0yJV447WmFEmS+Se5I5 RFFu4VN4t8LmffWkfgwBAGDmUEIuUOVBJScvAE0Etw2bS3fbm8ns+cUP2gd4t7mAjAwZnF aAonuO4WqGod0tVyp2tr/81xlmbieFujc1Ocqrd26RCchs7xLkREhiN1k1jbsw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1685274174; 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=azdiiiL5/8GtUXerLOGkBFLAKPQIV0sQEIjp5wGfUlE=; b=kk9le10PWxe+NatqCIIekXEqAELHqQs3bKLlogH+I7s81jdUVy7/lK6bmFgoJWpO0ctVWl AW+i4S54ZElUIWX4Bvl92GbPbhgutKPpSSuLA0dgPidyUVKTc59iN1ddCSAWBxzTl5EPBU HGeGmx3iFs6nYdqGtSqWUJVNTyqi4m4S9cJDCFpvok6jJVtACyo1AWPbwqQWIeYu8FWB29 KeejIEdS18SiSOfWbw51rR/Fke9EHXZe7Fmnn8Iyd3N+Y7oOyxWGZekHln4qJRyQOzuo7n WjpW1e78hh0gsHJgxQAFgobJO1Ohtx4vWd7qyokOEkbPqgMPNQBrAUz7OyNHaA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1685274174; a=rsa-sha256; cv=none; b=VpWC0Ei9l19Am9rG7vbGHjiOzhZKnP3k9GqUE0TdbPJta+r4YG2uq+wOfZxdEWhknJ5tgv 0kG65x2uXZ96HMaC64UDlIrxmvSYa8Q5RSRcyN0IJDTVvb/c5kzPlm2Be91Bd4SB78FFEQ Bck1UsIR16PGKW6o6+ztpa6Gt6iWTiD7mGYtb9dXCSnjFK9uAV+quYQAq2KdhGCxuBRySO QPw/7OzUAp79ZTE2PEFYyJUKQJSNh85ckKVteAi4UQa2dhFEzag0mR6Mdkg6LMfCd73Zut 61/3YJMco8Ng3I8lq33uCqX+ehZGXb2fx13OEWcDegolfGBpGVIImpavsydFEA== 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 4QTcGj6DJszTdr; Sun, 28 May 2023 11:42:53 +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 34SBgrr8034387; Sun, 28 May 2023 11:42:53 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 34SBgrJb034386; Sun, 28 May 2023 11:42:53 GMT (envelope-from git) Date: Sun, 28 May 2023 11:42:53 GMT Message-Id: <202305281142.34SBgrJb034386@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: 719b60dc29cf - main - devel/concurrencpp: fix build on powerpc* List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@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: 719b60dc29cf866645f7e608a0960d22a2234c65 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by pkubaj: URL: https://cgit.FreeBSD.org/ports/commit/?id=719b60dc29cf866645f7e608a0960d22a2234c65 commit 719b60dc29cf866645f7e608a0960d22a2234c65 Author: Piotr Kubaj AuthorDate: 2023-05-26 10:51:43 +0000 Commit: Piotr Kubaj CommitDate: 2023-05-28 11:42:42 +0000 devel/concurrencpp: fix build on powerpc* Fixed in LLVM 16: /usr/bin/c++ -DCRCPP_EXPORT_API -Dconcurrencpp_EXPORTS -isystem /wrkdirs/usr/ports/devel/concurrencpp/work/concurrencpp-v.0.1.6/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DNDEBUG -std=c++20 -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -pthread -MD -MT CMakeFiles/concurrencpp.dir/source/timers/timer_queue.cpp.o -MF CMakeFiles/concurrencpp.dir/source/timers/timer_queue.cpp.o.d -o CMakeFiles/concurrencpp.dir/source/timers/timer_queue.cpp.o -c /wrkdirs/usr/ports/devel/concurrencpp/work/concurrencpp-v.0.1.6/source/timers/timer_queue.cpp fatal error: error in backend: failed to perform tail call elimination on a call site marked musttail PLEASE submit a bug report to https://bugs.freebsd.org/submit/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /usr/bin/c++ -DCRCPP_EXPORT_API -Dconcurrencpp_EXPORTS -isystem /wrkdirs/usr/ports/devel/concurrencpp/work/concurrencpp-v.0.1.6/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DNDEBUG -std=c++20 -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -pthread -MD -MT CMakeFiles/concurrencpp.dir/source/timers/timer_queue.cpp.o -MF CMakeFiles/concurrencpp.dir/source/timers/timer_queue.cpp.o.d -o CMakeFiles/concurrencpp.dir/source/timers/timer_queue.cpp.o -c /wrkdirs/usr/ports/devel/concurrencpp/work/concurrencpp-v.0.1.6/source/timers/timer_queue.cpp 1. parser at end of file 2. Code generation 3. Running pass 'Function Pass Manager' on module '/wrkdirs/usr/ports/devel/concurrencpp/work/concurrencpp-v.0.1.6/source/timers/timer_queue.cpp'. 4. Running pass 'PowerPC DAG->DAG Pattern Instruction Selection' on function '@_ZN12concurrencpp11timer_queue22make_delay_object_implENSt3__16chrono8durationIxNS1_5ratioILl1ELl1000EEEEENS1_10shared_ptrIS0_EENS7_INS_8executorEEE.resume' #0 0x0000000014b1252c (/usr/bin/c+++0x14b1252c) #1 0x0000000014b0fd00 (/usr/bin/c+++0x14b0fd00) #2 0x0000000014aab0cc (/usr/bin/c+++0x14aab0cc) #3 0x0000000014aab020 (/usr/bin/c+++0x14aab020) #4 0x0000000014afc590 (/usr/bin/c+++0x14afc590) #5 0x00000000117cd530 (/usr/bin/c+++0x117cd530) #6 0x0000000014ab4fe0 (/usr/bin/c+++0x14ab4fe0) #7 0x0000000014ab4e6c (/usr/bin/c+++0x14ab4e6c) #8 0x00000000154bd3f0 (/usr/bin/c+++0x154bd3f0) #9 0x0000000014d5f9d0 (/usr/bin/c+++0x14d5f9d0) c++: error: clang frontend command failed with exit code 70 (use -v to see invocation) FreeBSD clang version 14.0.5 (https://github.com/llvm/llvm-project.git llvmorg-14.0.5-0-gc12386ae247c) Target: powerpc64le-unknown-freebsd13.2 Thread model: posix InstalledDir: /usr/bin --- devel/concurrencpp/Makefile | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/devel/concurrencpp/Makefile b/devel/concurrencpp/Makefile index 736ec9d7ff54..3bd6731203eb 100644 --- a/devel/concurrencpp/Makefile +++ b/devel/concurrencpp/Makefile @@ -19,11 +19,9 @@ CMAKE_ON= BUILD_SHARED_LIBS .include -.if (${ARCH} == powerpc64le || ${ARCH} == powerpc64 || ${ARCH} == powerpc) && ${OSVERSION} < 1300523 -BUILD_DEPENDS= llvm13>0:devel/llvm13 -CPP= ${LOCALBASE}/bin/clang-cpp13 -CC= ${LOCALBASE}/bin/clang13 -CXX= ${LOCALBASE}/bin/clang++13 +.if ${ARCH} == powerpc64le || ${ARCH} == powerpc64 || ${ARCH} == powerpc +CXX= clang++${LLVM_VERSION} +USES+= llvm:min=16 .endif do-test: # same as recommended in https://github.com/David-Haim/concurrencpp#building-installing-and-testing