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 4NVfy82ydtz4kf8r 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 4NVfy75Yl5z4FLw 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; bh=uRdrq+vXJqzkY74Lod3CT+xfO4DLn8xGaevE6OEypf8=; b=tmIdbYoC4NizXimMa5GaHDfj6D+4+MYNPhWZ+A8uY32d3Ch0pgH1PE8Ibvba07CWs0s0ck wGl+WMeAQbQEAPHVTOh0PipzXFc5NRLaBTT3uO4i87quGL1jLYEMGNcYW+w4RVL35KXX5V D52knvBmbVPn8HgO8qCwiS6g9P0tG0RNP7DBYxUsZuechdzRLBKukAWB3S/5qij5jhi7Tp t5864Q4moHMUkYATahX4TmlH3rxhe17WU3UMmh1H80vpv8nFP1OsObQUiiuwBcq+vrYbNU za/zFMWUK4iSMcHNeMDeKO/cKY9zD1OiG+Xe4La9m0fF6Rb6SyM0tZsxkzfRpQ== 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=kjRZY2kysOXiFVah/U2e2oLkikefA4nbp73fNQ5y4aQGW8d7DGIjXHzwaFU6+4nklmWTcV 5gMCqqLDCEsSbKrgBQPqVtpRzV4eLknnf93duCPoP1hra6/v3oARzghcC8Q2Gx0WpgmGbE 2wPaylU28HBKWzCpk+PPwt+up3cSlJUVXrZ594g6g+U5AOb4XedmPZkHsvIEv6WNzsQNgw FwFfUccDTkrZd2DIgIOIHC9MzEzsBFOgzTmdT6sgcAh2ytb/CDkaMnkEtDgLFZxCpcuQP6 4q1KHi5g50ssdqFZL7aappY4lXwqGdLXneGl/IivFTOJSm3vRmpyTi/AX78enA== 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 4NVfy74dsvz1B3D 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 2BBMkdDL086833 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 2BBMkdDZ086832 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 From: bugzilla-noreply@freebsd.org To: mono@FreeBSD.org Subject: [Bug 268321] lang/mono: fix build with clang 15 (on i386) Date: Sun, 11 Dec 2022 22:46:39 +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: dim@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: mono@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 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: 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 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D268321 Bug ID: 268321 Summary: lang/mono: fix build with clang 15 (on i386) Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: mono@FreeBSD.org Reporter: dim@FreeBSD.org Flags: maintainer-feedback?(mono@FreeBSD.org) Assignee: mono@FreeBSD.org 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_l= mf) | 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 . --=20 You are receiving this mail because: You are the assignee for the bug.=