From nobody Wed May 17 13:42:59 2023 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 4QLvSM4Nt8z4B98W; Wed, 17 May 2023 13:42:59 +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 4QLvSM3rv3z3M13; Wed, 17 May 2023 13:42:59 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1684330979; 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=MclCJatUZ60MXgxrVhP5wprjYBY0PTX1sDGcI9WgecE=; b=LDiNYTB2blPpTrgRu7uZQ++/KT0wDJwUdko278J0NxKKwo/nYs9WVHLAeht6tFGKvlZGom GA5OAxXtqM2K4kxPADIkykQlxz7Ss5iDLshk+yd8ZEhKyVxtr0+/6ZMDMEXhqTDVaMrMYY 6CyrEDdWOSZxYjmItyPd77Bztktlu3vkXlhEZp+SHziS7E7fe6okZUyBgLFVGpg//cQTHv muNoSMpIX0FJZ2WILH8JGbWnQ4pjSfbrXgmDa+pJDWI8+hm9dz+ZM/SqWkaD4ACP2F3c8n 3SFvx+Cp4c2Ae+WT+ijPBuG9TLhitGdmPQJSmH3GUDGbcFOLO77OjZyP9c1gZg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1684330979; 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=MclCJatUZ60MXgxrVhP5wprjYBY0PTX1sDGcI9WgecE=; b=RjyoyFRJKKybJ74LvcGuk3GUDT77MS8Jw9t+JMDWhZ+a0y8sCJF8nFRaC6c9pqViA7rlG1 W0JxW4IugpA4s92ovnGhht3KCRlvfp1nLOyQJPdoG+qyMQQqwDDwu49TtANvIt7gD/7ABT KjNrUmci12KZ3XNnqvySWW+htd8woR799tJcCGUdOsW1Uu05CBDtF05eF2QaMQFdMSP4UE TqigpJRG6IWxSDyrO7Uruqu/TNhz8em26cy4gY2BCNh5Nsg7CQ9IfUeLDWclrO2qNHXMPJ esnTYWdjE6IBlRpJGHdHYc4W/W/pnljKGA1kTn8bsfxi/gH8mT3hW+vKEcqHaw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1684330979; a=rsa-sha256; cv=none; b=Q4rY+3E5Q1Pzra53V9+hqHdivl2/sK6lWlpMcFAJVcnzbyvWIVfHVteeuObPdsotxlXYl4 etSVOJiIAMkqxbH8qlRSffWcN6uAbN9oMhKWquTG1/u0Vm7AepBRil3DLifDm7DKcbQW34 afed5k2gQx72xZkJJ8TZJXu8cpLfx8Dpgk+Ywyje41AL4x/kS9h2a0EN8/OwsYhpn3ts17 o9sKPf9vG6eNmBAY1KWd6/88J570UtCUFane+NwvW1/o3idvSNrHywG9gEef9UlwPx3uCL baEK4xqddSBBoCO/ITvrhpqS5mCNMU5n0AQE6mJsRsAmvsBEP5YKITBKYImyZQ== 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 4QLvSM2gqCz15QJ; Wed, 17 May 2023 13:42:59 +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 34HDgxjB017313; Wed, 17 May 2023 13:42:59 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 34HDgxPU017312; Wed, 17 May 2023 13:42:59 GMT (envelope-from git) Date: Wed, 17 May 2023 13:42:59 GMT Message-Id: <202305171342.34HDgxPU017312@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: f9499ed93c84 - main - devel/qcoro: 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: f9499ed93c84cc54ee9a8a8339ac2c21f069f613 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by pkubaj: URL: https://cgit.FreeBSD.org/ports/commit/?id=f9499ed93c84cc54ee9a8a8339ac2c21f069f613 commit f9499ed93c84cc54ee9a8a8339ac2c21f069f613 Author: Piotr Kubaj AuthorDate: 2023-05-17 13:41:59 +0000 Commit: Piotr Kubaj CommitDate: 2023-05-17 13:42:49 +0000 devel/qcoro: fix build on powerpc* Fixed in LLVM 16: 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++ -DQT_CORE_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_FOREACH -DQT_NO_KEYWORDS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_URL_CAST_FROM_STRING -DQT_STRICT_ITERATORS -DQT_TESTCASE_BUILDDIR=\"/wrkdirs/usr/ports/devel/qcoro/work-qt5/.build\" -DQT_TESTLIB_LIB -DQT_USE_STRINGBUILDER -I/wrkdirs/usr/ports/devel/qcoro/work-qt5/.build/tests/test-qcorosignal_autogen/include -I/wrkdirs/usr/ports/devel/qcoro/work-qt5/qcoro-0.9.0/tests/testlibs -I/wrkdirs/usr/ports/devel/qcoro/work-qt5/qcoro-0.9.0 -I/wrkdirs/usr/ports/devel/qcoro/work-qt5/qcoro-0.9.0/qcoro -I/wrkdirs/usr/ports/devel/qcoro/work-qt5/qcoro-0.9.0/qcoro/core -I/wrkdirs/usr/ports/devel/qcoro/work-qt5/.build/qcoro/core -I/wrkdirs/usr/ports/devel/qcoro/work-qt5/.build/qcoro -I/wrkdirs/usr/ports/devel/qcoro/work-qt5/qcoro-0.9.0/qcoro/test -I/wrkdirs/usr/ports/devel/qcoro/work-qt5/.build/qcoro/test -isystem /usr/local/include/qt5 -isys tem /usr/local/include/qt5/QtCore -isystem /usr/local/lib/qt5/mkspecs/freebsd-clang -isystem /usr/local/include/qt5/QtTest -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fcoroutines-ts -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DNDEBUG -std=gnu++20 -fPIC -pthread -MD -MT tests/CMakeFiles/test-qcorosignal.dir/qcorosignal.cpp.o -MF tests/CMakeFiles/test-qcorosignal.dir/qcorosignal.cpp.o.d -o tests/CMakeFiles/test-qcorosignal.dir/qcorosignal.cpp.o -c /wrkdirs/usr/ports/devel/qcoro/work-qt5/qcoro-0.9.0/tests/qcorosignal.cpp 1. parser at end of file 2. Code generation 3. Running pass 'Function Pass Manager' on module '/wrkdirs/usr/ports/devel/qcoro/work-qt5/qcoro-0.9.0/tests/qcorosignal.cpp'. 4. Running pass 'PowerPC DAG->DAG Pattern Instruction Selection' on function '@_ZZ19qCoroSignalListenerI15MultiSignalTestM10SignalTestFvvEEN5QCoro14AsyncGeneratorINS4_6detail16QCoroSignalQueueIT_T0_E11result_type10value_typeEEEPS8_OS9_NSt3__16chrono8durationIxNSF_5ratioILl1ELl1000EEEEEENKUlNSF_10unique_ptrINS7_IS0_S3_EENSF_14default_deleteISM_EEEEE_clESP_.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 c++: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: c++: note: diagnostic msg: /tmp/qcorosignal-479743.cpp c++: note: diagnostic msg: /tmp/qcorosignal-479743.sh c++: note: diagnostic msg: ******************** --- devel/qcoro/Makefile | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/devel/qcoro/Makefile b/devel/qcoro/Makefile index c1c6bdd59788..330d5f671639 100644 --- a/devel/qcoro/Makefile +++ b/devel/qcoro/Makefile @@ -27,4 +27,11 @@ CMAKE_ARGS= -DUSE_QT_VERSION=${FLAVOR:S/qt//} PLIST_SUB= QT_VER=${FLAVOR:S/qt//} +.include + +.if ${ARCH:Mpowerpc*} +CXX= clang++${LLVM_VERSION} +USES+= llvm:min=16 +.endif + .include