From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-out.m-online.net (mail-out.m-online.net [212.18.0.9]) by sourceware.org (Postfix) with ESMTPS id 2A7983858D1E for ; Tue, 20 Jun 2023 21:21:11 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 2A7983858D1E Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=linux-m68k.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=nefkom.net Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 4Qm01K621Cz1r5jC; Tue, 20 Jun 2023 23:21:09 +0200 (CEST) Received: from localhost (dynscan1.mnet-online.de [192.168.6.68]) by mail.m-online.net (Postfix) with ESMTP id 4Qm01K3rwSz1qqlS; Tue, 20 Jun 2023 23:21:09 +0200 (CEST) X-Virus-Scanned: amavis at mnet-online.de Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.68]) (amavis, port 10024) with ESMTP id eitsuqEDlRPY; Tue, 20 Jun 2023 23:21:07 +0200 (CEST) X-Auth-Info: NqrdaG/lopR+GAhC44ghpMWVWXQQxLWmIUtZ93aSXmWyATATHqhj/BTLMZMez59P Received: from igel.home (aftr-62-216-205-216.dynamic.mnet-online.de [62.216.205.216]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPSA; Tue, 20 Jun 2023 23:21:07 +0200 (CEST) Received: by igel.home (Postfix, from userid 1000) id 7A8E62C1DD2; Tue, 20 Jun 2023 23:21:07 +0200 (CEST) From: Andreas Schwab To: Ian Lance Taylor Cc: Ian Lance Taylor via Gcc-patches , gofrontend-dev , =?utf-8?Q?S=C3=B6ren?= Tempel Subject: Re: libgo patch committed: Use a C function to call mmap In-Reply-To: (Ian Lance Taylor's message of "Tue, 20 Jun 2023 12:37:03 -0700") References: <87bkhanfrl.fsf@igel.home> X-Yow: You mean now I can SHOOT YOU in the back and further BLUR th' distinction between FANTASY and REALITY? Date: Tue, 20 Jun 2023 23:21:07 +0200 Message-ID: <87352lomnw.fsf@igel.home> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Status: No, score=-0.7 required=5.0 tests=BAYES_00,HEADER_FROM_DIFFERENT_DOMAINS,KAM_DMARC_STATUS,RCVD_IN_BARRACUDACENTRAL,RCVD_IN_DNSWL_LOW,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_PASS,TXREP,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: On Jun 20 2023, Ian Lance Taylor wrote: > OK, but I think that it does have something to do with big-endian. > The bug was that on some 32-bit systems it was passing a 64-bit value > to a function that expected a 32-bit value. The problem didn't show > up on 32-bit x86 because it is little-endian, and did show up on > 32-bit PPC because it is big-endian. I guess the armv7 case was > failing for a different reason. Not failing is no proof for correctness. It fails everywhere for the same reason. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1 "And now for something completely different."