From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on starla X-Spam-Level: X-Spam-Status: No, score=0.1 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_BL_SPAMCOP_NET,SPF_HELO_PASS, SPF_PASS autolearn=no autolearn_force=no version=3.4.6 Received: from nue.mailmanlists.eu (nue.mailmanlists.eu [94.130.110.93]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by dcvr.yhbt.net (Postfix) with ESMTPS id 92C951F4CC for ; Fri, 10 Jan 2025 03:52:49 +0000 (UTC) Authentication-Results: dcvr.yhbt.net; dkim=pass (1024-bit key; unprotected) header.d=ml.ruby-lang.org header.i=@ml.ruby-lang.org header.a=rsa-sha256 header.s=mail header.b=ve0r07qp; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=ruby-lang.org header.i=@ruby-lang.org header.a=rsa-sha256 header.s=s1 header.b=IxX6z8jq; dkim-atps=neutral DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ml.ruby-lang.org; s=mail; t=1736481167; bh=hy8g4nxDLqLe2imKRXjGzEGUgWI3jnPNbvAl+BoFhV8=; h=Date:References:To:Reply-To:Subject:List-Id:List-Archive: List-Help:List-Owner:List-Post:List-Subscribe:List-Unsubscribe: From:Cc:From; b=ve0r07qpok5Y/Yn0AkEnbCfkEGR4OeMtwFOBRkmco7JnDaOq6WZ9j/Sidf2wVlt47 KIU39SH05vYlqdgnHWhTt90m7oOEssgfPVZZXO+5b4E2ds+SlttgiIlRIjNQmiqNHR IsDZmUBDyzuz9k2YGYsjMrwbFMrHUJPzb0ALoP84= Received: from nue.mailmanlists.eu (localhost [IPv6:::1]) by nue.mailmanlists.eu (Postfix) with ESMTP id 4F9BC46809 for ; Fri, 10 Jan 2025 03:52:47 +0000 (UTC) Authentication-Results: nue.mailmanlists.eu; dkim=pass (2048-bit key; unprotected) header.d=ruby-lang.org header.i=@ruby-lang.org header.a=rsa-sha256 header.s=s1 header.b=IxX6z8jq; dkim-atps=neutral Received: from s.wrqvtbkv.outbound-mail.sendgrid.net (s.wrqvtbkv.outbound-mail.sendgrid.net [149.72.123.24]) by nue.mailmanlists.eu (Postfix) with ESMTPS id 2986346735 for ; Fri, 10 Jan 2025 03:52:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ruby-lang.org; h=from:references:subject:mime-version:content-type: content-transfer-encoding:list-id:to:cc:content-type:from:subject:to; s=s1; bh=qgZesOY4yLZwWsvPrxF+1RubJa+P66xJuJdEJth/4ck=; b=IxX6z8jq/GTudLhLpdv6+a2ShLNNAb+eZcYXnIG1PgTPIZCYVjrRofoVqfaQQy0dgCFI RsYE8j83EURI6iH/TzsBUV0irfA2+ThNsYSKAytC8WOJ1nioeBAGXfn0A2HiS0LaVNJucp He+by92iGrUPUMCRpgrEL58PYhi0c6FH52YV8bVCsqbw/UHxtSRpUVBdtowVz2xtwEFyVB DtU6y2UJHFwN06yD/XeaxebkkaHH8TgZmFM/NlSlN51h+8/QoNrxqCyUooHHBWsAWzIaqC 532ey08YSTgMoqUUmPmZy+nJgu83yn4iH7u/cgXoBhZsDul24nHP6YUjGW2hfgsA== Received: by recvd-canary-6f99844b68-hj7fp with SMTP id recvd-canary-6f99844b68-hj7fp-1-67809988-18 2025-01-10 03:52:40.908491946 +0000 UTC m=+4870056.227653292 Received: from herokuapp.com (unknown) by geopod-ismtpd-35 (SG) with ESMTP id rFuzdTpLRd24IvLfXqvpog for ; Fri, 10 Jan 2025 03:52:40.819 +0000 (UTC) Date: Fri, 10 Jan 2025 03:52:40 +0000 (UTC) Message-ID: References: Mime-Version: 1.0 X-Redmine-Project: ruby-master X-Redmine-Issue-Tracker: Bug X-Redmine-Issue-Id: 20480 X-Redmine-Issue-Author: nekoyama32767 X-Redmine-Issue-Priority: Normal X-Redmine-Sender: nekoyama32767 X-Mailer: Redmine X-Redmine-Host: bugs.ruby-lang.org X-Redmine-Site: Ruby Issue Tracking System X-Auto-Response-Suppress: All Auto-Submitted: auto-generated X-Redmine-MailingListIntegration-Message-Ids: 97280 X-SG-EID: =?us-ascii?Q?u001=2EGXX7sv9RhnxNIUDyl2wW8t+eg5y1Gpa4gL7BdURBC20VYAHe9SKO8T8p7?= =?us-ascii?Q?GP27zkkIQrTegF1GrgMWRCKa7bUivsfG+IIlqFA?= =?us-ascii?Q?DZV7sW8l8vgEamUwPHuctdJdC3GiBStvY5HjmQZ?= =?us-ascii?Q?pnj07Pd2afWySOF9OVzEX+iLoKTLhvNeU+Zb4Jw?= =?us-ascii?Q?AyTJrSFdbA=2FlJbEKiu=2FadOMVflsmcs2DOhwx8Gk?= =?us-ascii?Q?SRFuztmlgXZxwwbkiM7Y8pqTRKM9UD=2FRHs4W0vr?= =?us-ascii?Q?GvfoczD=2F91uMLOK4yCEqzRez6A=3D=3D?= To: ruby-core@ml.ruby-lang.org X-Entity-ID: u001.I8uzylDtAfgbeCOeLBYDww== Message-ID-Hash: IO77HGI7ZBXZX223QNABYWSSR5Y7LAGF X-Message-ID-Hash: IO77HGI7ZBXZX223QNABYWSSR5Y7LAGF X-MailFrom: bounces+313651-b711-ruby-core=ml.ruby-lang.org@em5188.ruby-lang.org X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.9 Precedence: list Reply-To: Ruby developers Subject: [ruby-core:120593] [Ruby master Bug#20480] Complie failure for unable to configure NET_LUID using msys2 mingw64-gcc List-Id: Ruby developers Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: From: "nekoyama32767 (Jinsong Yu) via ruby-core" Cc: "nekoyama32767 (Jinsong Yu)" Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Issue #20480 has been updated by nekoyama32767 (Jinsong Yu). Finally, This configure problem is caused by a intel CPU instability problem (See `https://community.intel.com/t5/Processors/July-2024-Update-on-Instability-Reports-on-Intel-Core-13th-and/m-p/1617113`) and produce ICE. After change to a new CPU (or AMD), problem fixed. ---------------------------------------- Bug #20480: Complie failure for unable to configure NET_LUID using msys2 mingw64-gcc https://bugs.ruby-lang.org/issues/20480#change-111422 * Author: nekoyama32767 (Jinsong Yu) * Status: Open * ruby -v: ruby 3.4.0dev (2024-05-10T04:54:31Z master 2f915e729a) [x64-mingw32] * Backport: 3.1: UNKNOWN, 3.2: UNKNOWN, 3.3: UNKNOWN ---------------------------------------- Master commit:`2f915e729ac8c66f4009f4b28a57773923d7e7d1` NET_LUID is not successfully checked in win32 configure. When try to compile in msys2 mingw64-gcc there will be a error message like follow. ``` win32/win32.c:4365:7: error: conflicting types for 'NET_LUID'; have 'struct ' 4365 | } NET_LUID; | ^~~~~~~~ In file included from D:/msys64/mingw64/include/iptypes.h:17, from D:/msys64/mingw64/include/iphlpapi.h:17, from ./include/ruby/win32.h:40, from ./include/ruby/internal/dosish.h:38, from ./include/ruby/defines.h:78, from ./include/ruby/ruby.h:25, from win32/win32.c:24: D:/msys64/mingw64/include/ifdef.h:106:3: note: previous declaration of 'NET_LUID' with type 'NET_LUID' 106 | } NET_LUID, *PNET_LUID; | ^~~~~~~~ ``` Mingw64-gcc has NET_LUID, when comment out line 4357-line 4367 in `win32/win32.c` in follow, compile will be successed. ``` #ifndef HAVE_TYPE_NET_LUID typedef struct { uint64_t Value; struct { uint64_t Reserved :24; uint64_t NetLuidIndex :24; uint64_t IfType :16; } Info; } NET_LUID; #endif ``` mingw64-gcc version ``` gcc --version gcc.exe (Rev4, Built by MSYS2 project) 13.2.0 Copyright (C) 2023 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. ``` ---Files-------------------------------- config.zip (68.4 KB) -- https://bugs.ruby-lang.org/ ______________________________________________ ruby-core mailing list -- ruby-core@ml.ruby-lang.org To unsubscribe send an email to ruby-core-leave@ml.ruby-lang.org ruby-core info -- https://ml.ruby-lang.org/mailman3/lists/ruby-core.ml.ruby-lang.org/