From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: AS22989 209.51.188.0/24 X-Spam-Status: No, score=-4.0 required=3.0 tests=AWL,BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS, SPF_PASS shortcircuit=no autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dcvr.yhbt.net (Postfix) with ESMTPS id 1A1561F5A0 for ; Mon, 6 Feb 2023 20:43:51 +0000 (UTC) Authentication-Results: dcvr.yhbt.net; dkim=pass (1024-bit key; unprotected) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256 header.s=mimecast20190719 header.b=L1dY5oXs; dkim-atps=neutral Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pP8Kw-0007fU-4k; Mon, 06 Feb 2023 15:43:38 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pP8Ku-0007f8-En for bug-gnulib@gnu.org; Mon, 06 Feb 2023 15:43:36 -0500 Received: from us-smtp-delivery-124.mimecast.com ([170.10.133.124]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pP8Kt-0001Mo-2j for bug-gnulib@gnu.org; Mon, 06 Feb 2023 15:43:36 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1675716214; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=9/N0F1BiHcE+Jj/pZ54ACtF7VfXO/XPtEHhPxx+OJ6I=; b=L1dY5oXsHoxMJZPMXPdcWqdxP16xf4DOwgEG0Y0hbRSSlysKP2uv3n31ZHrVpBE7egcBhZ bgtzUMINerlwJtEq1p8Tl3OzPRVcrgyZ8v9vP1Q9N1fSvZRwIab9BPb6OSn4cJQ/9hNkvW xd09O68mBO3pQbVQwDFfzZIcI7LdJyo= Received: from mimecast-mx02.redhat.com (mx3-rdu2.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-118-aO_TvBZ2NLmJBSSHG6qnFQ-1; Mon, 06 Feb 2023 15:43:29 -0500 X-MC-Unique: aO_TvBZ2NLmJBSSHG6qnFQ-1 Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.rdu2.redhat.com [10.11.54.1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 625D03806700; Mon, 6 Feb 2023 20:43:29 +0000 (UTC) Received: from calimero.vinschen.de (unknown [10.39.192.107]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 3656E40C83B6; Mon, 6 Feb 2023 20:43:29 +0000 (UTC) Received: by calimero.vinschen.de (Postfix, from userid 500) id A2465A80CFD; Mon, 6 Feb 2023 21:43:27 +0100 (CET) Date: Mon, 6 Feb 2023 21:43:27 +0100 From: Corinna Vinschen To: Bruno Haible Cc: bug-gnulib@gnu.org, Reuben Thomas Subject: Re: [PATCH] Do not decorate symbols as dllexport on Cygwin Message-ID: References: <20230205194344.269174-1-vinschen@redhat.com> <3384697.1Xququ8Bcc@nimes> <3099885.Repjz8aVax@nimes> MIME-Version: 1.0 In-Reply-To: <3099885.Repjz8aVax@nimes> X-Scanned-By: MIMEDefang 3.1 on 10.11.54.1 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=170.10.133.124; envelope-from=vinschen@redhat.com; helo=us-smtp-delivery-124.mimecast.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: bug-gnulib@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gnulib discussion list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnulib-bounces+normalperson=yhbt.net@gnu.org Sender: bug-gnulib-bounces+normalperson=yhbt.net@gnu.org On Feb 6 21:38, Bruno Haible wrote: > Corinna Vinschen wrote: > > I just ran the setlocale_null-mt-* tests with gnulib from git master > > under Cygwin with my newlib patch, and the tests succeeded. I checked > > that configure is doing the right thing and config.h contains the right > > settings: > > > > $ ./configure > > [...] > > checking whether setlocale (LC_ALL, NULL) is multithread-safe... yes > > checking whether setlocale (category, NULL) is multithread-safe... yes > > [...] > > $ grep SETLOCALE_NULL config.h > > #define GNULIB_TEST_SETLOCALE_NULL 1 > > #define SETLOCALE_NULL_ALL_MTSAFE 1 > > #define SETLOCALE_NULL_ONE_MTSAFE 1 > > $ grep SETLOCALE_NULL gltests/config.h > > #define GNULIB_TEST_SETLOCALE_NULL 1 > > #define SETLOCALE_NULL_ALL_MTSAFE 1 > > #define SETLOCALE_NULL_ONE_MTSAFE 1 > > Excellent! Thank you. > > The lasts remaining steps, to resolve the issue, are (as far as I see it): > 1. 'recode' is updated to a current gnulib and publish a corresponding > tarball. (Hi Reuben :) ) > 2. Then the Cygwin program packagers build this tarball on a Cygwin of > version ≥ 3.4.6. Incidentally I'm the maintainer of the recode package in the Cygwin distro and I built 3.7.12 (as in Fedora 37) with -Wl,--export-all-symbols, which also does the trick for now. Thanks, Corinna