From nobody Sat Nov 18 11:36:17 2023 X-Original-To: ports-bugs@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 4SXWtn5HrCz510Hk for ; Sat, 18 Nov 2023 11:36:17 +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 4SXWtn44twz4PhF for ; Sat, 18 Nov 2023 11:36:17 +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=1700307377; 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=tzViscFox1XPfXdl7OJyE5JmUS3rOQG0KD01To6u4BY=; b=c33WykmPCZNlYrrBiXZgtvycthoYE9sw/BWlAPtZPrOejfI5FKQMIbonU2BXFUyN/mtJ2y aroXRHnOGm38snFKWXA6aZk1ieqt/PrknQv8HXkbi8AUl4DOh8U8iyGdhKUak2tTyh62T4 KNgTCZYnBe14zzcQzdK5O4IKwI4FwONAjXsoBLMu2fV1ZKhUTMT1WnIg6iKRLJXcKLsswD uXl9Pb2JOoit7bvtjq5ROmFzJs3fMg+C7VpciKy8KqLeXCnLcQIEY3XZbM97soQqO8VNvd TMA2+0XL1KQJi6oELVqzcfO6CbfS724qi6IDNc/XEJr9Q/wnvOwQcxE3LUUU0Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1700307377; a=rsa-sha256; cv=none; b=Tz36UtFK3s4AmDDVc6f5am+nzTxp3E4C0EJX3BXNFJmXJ/Fck1tYJ79LlZzI7gBsja60AM RXW76DUxdNm0ah4AOZknf2i9+xuMXNUb7jfSxmOV7moEE5zbDmN2i2uVgPmtuSO2uRCSrq A2Howpp9d4rLxjgh7YbAyy0kQwaioFq+EuLkfi0+YjePSwSiUi2r/H5vShGPzywvovaIjV yAMSB5Kq+r/D7noHinQ2eHoAaOEXSEUL36pw8ztbHneqve+zsWmo5Bn+xo+zxW9vA4eUsa JF4eSx+rbvcdY6sQDawtEWVWRHlVNP1OzXRC/K/pbNEDOeEx1lKUlg2EqR56QQ== 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 4SXWtn394Rz9jN for ; Sat, 18 Nov 2023 11:36:17 +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 3AIBaHX1094320 for ; Sat, 18 Nov 2023 11:36:17 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 3AIBaH2f094318 for ports-bugs@FreeBSD.org; Sat, 18 Nov 2023 11:36:17 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: ports-bugs@FreeBSD.org Subject: [Bug 275168] devel/cmake-core: segfault on checking MPI implementation when GCC is used as the compiler Date: Sat, 18 Nov 2023 11:36:17 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: vedran@miletic.net X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: kde@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter flagtypes.name attachments.created Message-ID: 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: Ports bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-ports-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports-bugs@freebsd.org X-BeenThere: freebsd-ports-bugs@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D275168 Bug ID: 275168 Summary: devel/cmake-core: segfault on checking MPI implementation when GCC is used as the compiler Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: kde@FreeBSD.org Reporter: vedran@miletic.net Assignee: kde@FreeBSD.org Flags: maintainer-feedback?(kde@FreeBSD.org) Created attachment 246388 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D246388&action= =3Dedit CMake core dump I am using 14.0-RELEASE FreeBSD 14.0-RELEASE #0 releng/14.0-n265380-f9716eee8ab4: Fri Nov 10 05:57:23 UTC 2023=20=20=20=20 root@releng1.nyi.freebsd.org:/usr/obj/usr/src/amd64.amd64/sys/GENERICamd64 1400097 1400097, but this issue also affected BETAs, RCs and IIRC 13.2-RELE= ASE. I am configuring GROMACS 2023.3 from [1] with CMake 3.26.1_3, compiler set = to GCC 12.2.0_6 and OpenMPI 4.1.5_1 present on the system, using the command: % cmake -D CMAKE_C_COMPILER=3Dgcc12 -D CMAKE_CXX_COMPILER=3Dg++12 -S . -B b= uild This will cause CMake to dump core. I verified that this does not happen wh= en GCC is replaced with Clang (from the base system) or when OpenMPI is replac= ed MPICH 3.4.3_2. While I believe this is an issue with CMake, I found out that it did not ha= ppen in GROMACS 2021 so I bisected the issue one the GROMACS side. The offending commit [2] could be helpful to minimize the example CMakeLists.txt if that becomes necessary. Finally, I wondered if this is an issue with CMake or an issue with the bui= ld of CMake from Ports. I uninstalled CMake via pkg and used (via Linuxilator)= the official Linux amd64 binary at the exact same version, downloaded from [3]. There is no core dump. Hope this helps. Let me know if I can provide more info. [1] https://manual.gromacs.org/2023.3/download.html [2] https://gitlab.com/gromacs/gromacs/-/commit/9088f06a56c6122f21a47e3f06509ce= 1737465ef [3] https://github.com/Kitware/CMake/releases/download/v3.26.1/cmake-3.26.1-lin= ux-x86_64.tar.gz --=20 You are receiving this mail because: You are the assignee for the bug.=