From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtpout2.vodafonemail.de (smtpout2.vodafonemail.de [145.253.239.133]) by sourceware.org (Postfix) with ESMTPS id 2F2D43857C6B for ; Mon, 29 Nov 2021 16:39:54 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 2F2D43857C6B Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=nexgo.de Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=nexgo.de Received: from smtp.vodafone.de (unknown [10.2.0.37]) by smtpout2.vodafonemail.de (Postfix) with ESMTP id 5BD0060D21 for ; Mon, 29 Nov 2021 17:39:52 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nexgo.de; s=vfde-smtpout-mb-15sep; t=1638203992; bh=wBFAOfnAXoGJFXZqi4KrrfEO4HMnRY9yWrXqTCxmPIc=; h=From:To:Subject:References:Date:In-Reply-To; b=FyLPS2mNQz7+xGOGKBNs1jNSx/VVX13g6eW/YoYTJ6NHOsaXOhXV2inq1/s7SAT0c I09WXyQ79LCxdY++uoDN4BiKjnpTFmKsg8vIEnX/to0mzTrrOPaYF6XOR4oYJcvq6i ybRj3SyYTPxH+a225rJIwczrJQBYjqN05TtEYRuw= Received: from Gertrud (p5b2f3fbc.dip0.t-ipconnect.de [91.47.63.188]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp.vodafone.de (Postfix) with ESMTPSA id 4J2rfv5VmnzMmcC for ; Mon, 29 Nov 2021 16:39:48 +0000 (UTC) From: Achim Gratz To: cygwin-apps@cygwin.com Subject: Re: gnulib m4/threadlib.m4 bug crashing package tests References: <04185622-bfb1-9828-a720-716fbdd2e0ab@cornell.edu> <87r1b0477l.fsf@Rainer.invalid> <87ilwc44uy.fsf@Rainer.invalid> <355a27be-3de5-8c71-79f5-e1188d9021dd@cornell.edu> Date: Mon, 29 Nov 2021 17:39:40 +0100 In-Reply-To: <355a27be-3de5-8c71-79f5-e1188d9021dd@cornell.edu> (Ken Brown via Cygwin-apps's message of "Sun, 28 Nov 2021 13:21:53 -0500") Message-ID: <87czmivrub.fsf@Rainer.invalid> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-purgate-type: clean X-purgate-Ad: Categorized by eleven eXpurgate (R) http://www.eleven.de X-purgate: This mail is considered clean (visit http://www.eleven.de for further information) X-purgate: clean X-purgate-size: 858 X-purgate-ID: 149169::1638203991-0000047A-66C2CAD9/0/0 X-Spam-Status: No, score=-3030.2 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, RCVD_IN_BARRACUDACENTRAL, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H2, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=no autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org X-BeenThere: cygwin-apps@cygwin.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Cygwin package maintainer discussion list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Nov 2021 16:39:56 -0000 Ken Brown via Cygwin-apps writes: > You're right, I was wrong. Here's the gnulib test program for anyone > else who wants to look at this: > > #include > #pragma weak fputs > int main () > { > return (fputs == NULL); > } > > As you said, this used to return 1, but now it returns 0 on 64-bit. The root cause of this mystery is almost surely in binutils, this area was touched when they moved the default base address past the 4GiB boundary (obviously that's a 64bit only change and it only affects PE targets). I still have to figure out if I need to pull in a patch from after the release or revert commits that went into 2.37. Regards, Achim. -- +<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+ Wavetables for the Terratec KOMPLEXER: http://Synth.Stromeko.net/Downloads.html#KomplexerWaves