From nobody Sun Dec 11 22:46:39 2022 X-Original-To: mono@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 4NVfy82xqwz4kf44 for ; Sun, 11 Dec 2022 22:46:40 +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 4NVfy74TfYz4FJr for ; Sun, 11 Dec 2022 22:46:39 +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=1670798799; 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=EEQLnoBndyi+Un4HBaMpEubNJkUeCkWjCwmVt3Xn/NY=; b=JoAMYMeko1j2tF8tcHf4DDr1UibeSU5IbvlSOWKBzkVtcTG73fnpqf3v6fPP4EStH2X/8t odwqej/R/Gsa7sPar8noOwm4/eKL7szJKDnsxUn8Fznr4CGFx7aHm6RgVqAE/YzzRMyWjJ NFS9reGTj3BmOyO3J2DPH9gEqMdb/SjbqH/SPWyeh/T5Ooyd1dA07gt5/KXJG7EZ2vGkUk tA0vahRuikHZgXLEkpnhYc5aoJV/WCT40hadx6oOFG9xI7UmDF6za1ievoTGh046LWnTdf yAa3CCdJpHHV3OXDHA0FPF4qhL+4CqTonszehemeumnxY59Kw4Nl5lin0fMFYQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1670798799; a=rsa-sha256; cv=none; b=ppv8O8hRb5PilqAbCfQ2uI13paj221ikXWaRN+3W4DtQxonw1ZMYmiWH/cVfpJH7EGXTzW +t4ouv0SRAiviQu54FxOgmzl5YgegZXZlc2+ut3VKBRUykTEFxf00Jvh9swhAXunOc3w9D rL/Cj0s+cXFfGGeDrgwkEOUs3ha9XEZeAUUnZ3jxg/QO2cILYV3/GUmm0d6xV4DPzTu/CS LhDH5iG46I1gdxh9lM1XAeRoF70aRf9KU16MpUmlWeheXKWHuaUl44TWW7x+KCxZ9Gfq4/ 4GKQO09ZT6/b6UsO5Y522sW/OQgSUHc4njfZsHfApqgoeTuUPJe3vAac4O+inA== 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 4NVfy73W32z1BmX for ; Sun, 11 Dec 2022 22:46:39 +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 2BBMkd3f086829 for ; Sun, 11 Dec 2022 22:46:39 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 2BBMkdc0086828 for mono@FreeBSD.org; Sun, 11 Dec 2022 22:46:39 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" From: bugzilla-noreply@freebsd.org To: mono@FreeBSD.org Subject: maintainer-feedback requested: [Bug 268321] lang/mono: fix build with clang 15 (on i386) Date: Sun, 11 Dec 2022 22:46:39 +0000 X-Bugzilla-Type: request 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: X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: mono@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? Message-ID: In-Reply-To: References: X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Mono and C# applications on FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-mono List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-mono@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N Bugzilla Automation has asked freebsd-mono (Nobody) for maintainer-feedback: Bug 268321: lang/mono: fix build with clang 15 (on i386) https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D268321 --- Description --- During an exp-run for llvm 15 (see bug 265425), it turned out that lang/mono failed to build with clang 15, on i386: mini-runtime.c:806:24: error: incompatible pointer to integer conversion assigning to 'guint32' (aka 'unsigned int') from 'MonoLMF *' (aka 'struct MonoLMF *') [-Wint-conversion] ext->lmf.previous_lmf =3D *lmf_addr; ^ ~~~~~~~~~ mini-runtime.c:808:24: error: incompatible pointer to integer conversion assigning to 'guint32' (aka 'unsigned int') from 'gpointer' (aka 'void *') [-Wint-conversion] ext->lmf.previous_lmf =3D (gpointer)(((gssize)ext->lmf.previous_lmf) | 2); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ As noted, this is because on i386 the previous_lmf field is declared as guint32, while other architectures use gpointer. Upstream changed the field to gpointer in , which got mer= ged into main in .