From nobody Mon Jun 19 07:27:08 2023 X-Original-To: toolchain@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 4Ql1YS5fVkz4fhNH for ; Mon, 19 Jun 2023 07:27:08 +0000 (UTC) (envelope-from bugzilla-noreply@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 4Ql1YS3f1Nz43RG for ; Mon, 19 Jun 2023 07:27:08 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1687159628; 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: in-reply-to:in-reply-to:references:references; bh=y4ch8M2GsFruzBziILidLfrHS9g/4/EvlJzYGQEksH8=; b=Y9v/ve5O7xkiMGE+FwTKmnfzWefjNxx/qbUSC0gAA6CG++h7O1oj98S+wnFC7nyMv7mi2m SfkxWeEf9SV4k1cPbqjlByvf74UOaEadBE3ZQJexZu/g+FMciFAumuivVar8wuM9/beQvd JfqYPkno6oV32pjR4jpvIwZmGv4w7+ai0jSTG3QtLuQRGeZNHS3ORE7SCRtlyZELLueDrq MmlhNJ9PFloHU/86r8JIzwl7fyk6qvDhHZT6i/MJRwjSpd5zHmqGCTIYmNtMTguBkvw+0u AQEI5oEcphrBnzHy2NzKqnZ9fx3UpVWlp06H4c00R7Vr4L8WVtz5nWV8jmqsMA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1687159628; a=rsa-sha256; cv=none; b=s1Xl2qVzZLD15a5hXZTi2bg+se7n33hGOxXzo55idwMV7E28Vpb9QSZBwWqmy34XwHNTBd t5biavWFmdfQlxkoDaoz0IhnPHTmgwoxGrS9D0/3ADHT7mSjSTRka2tL8jV+iPVBYwe3og fdbNdOMV38AO3UQvkqW8Q245jGfp8JTbndj38/z0yRRNvKPDnoezNq3rcYc4cjLJKYxNmv Tfo0qlTt6xe2RenBp2Bm52/7kB2FVI0JE1iwn3/NmJDeSB1uUaQMbmfsNp9E/1n8Z9sgNF 0lfmxlM0m+A3JaCO1Kz3kKIp50W8grkWmgeaJv/WG0wulJMztSOrKVRL814aCg== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 4Ql1YS2jpyz17N9 for ; Mon, 19 Jun 2023 07:27:08 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 35J7R8tm072403 for ; Mon, 19 Jun 2023 07:27:08 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 35J7R8vM072402 for toolchain@FreeBSD.org; Mon, 19 Jun 2023 07:27:08 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: toolchain@FreeBSD.org Subject: [Bug 272075] Toolchain fails to build devel/phasar: error: expected type: store i32 0, ptr %retval, align 4 Date: Mon, 19 Jun 2023 07:27:08 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: misc X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: dim@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: toolchain@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Maintenance of FreeBSD s integrated toolchain List-Archive: https://lists.freebsd.org/archives/freebsd-toolchain List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-toolchain@freebsd.org X-BeenThere: freebsd-toolchain@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D272075 --- Comment #3 from Dimitry Andric --- (In reply to Mark Millard from comment #1) No indeed. Care should be taken to not mix different versions of llvm's bit= code (.bc or .ll files. That is: /usr/bin/c++ -std=3Dc++17 -fno-discard-value-names -emit-llvm -S -Xclang -disable-O0-optnone -g /wrkdirs/usr/ports/devel/phasar/work/phasar-1222/test/llvm_test_code/constn= ess/array/array_01.cpp -o array_01_cpp_m2r_dbg.ll && /usr/local/llvm14/bin/opt -mem2reg -S array_01_cpp_m2r_dbg.ll -o array_01_cpp_m2r_dbg.ll will only work if /usr/bin/c++ and /usr/local/llvm14/bin/opt are the same version, llvm 14. It is advisable to use /usr/local/llvm/bin/clang++ to com= pile the .cpp to .ll instead. --=20 You are receiving this mail because: You are the assignee for the bug.=