From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.CeBiTec.Uni-Bielefeld.DE (smtp.CeBiTec.Uni-Bielefeld.DE [129.70.160.84]) by sourceware.org (Postfix) with ESMTPS id 393493896803; Tue, 12 Jan 2021 17:41:48 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 393493896803 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=CeBiTec.Uni-Bielefeld.DE Authentication-Results: sourceware.org; spf=none smtp.mailfrom=ro@cebitec.uni-bielefeld.de Received: from localhost (localhost [127.0.0.1]) by smtp.CeBiTec.Uni-Bielefeld.DE (Postfix) with ESMTP id E32FDAD3ED; Tue, 12 Jan 2021 18:41:46 +0100 (CET) X-Virus-Scanned: amavisd-new at CeBiTec.Uni-Bielefeld.DE Received: from smtp.CeBiTec.Uni-Bielefeld.DE ([127.0.0.1]) by localhost (smtp.cebitec.uni-bielefeld.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Jo7dHIh8L4T5; Tue, 12 Jan 2021 18:41:46 +0100 (CET) Received: from manam.CeBiTec.Uni-Bielefeld.DE (p4fddbcfa.dip0.t-ipconnect.de [79.221.188.250]) by smtp.CeBiTec.Uni-Bielefeld.DE (Postfix) with ESMTPSA id 734C7AD5E7; Tue, 12 Jan 2021 18:41:46 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=CeBiTec.Uni-Bielefeld.DE; s=20200306; t=1610473306; bh=AcOyIVeQbocyKRbEkVMJIV+IRTC5qcP4mc560TIphdc=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=TFmryn1RQ0fdYrMRjj6t/tnLChLXmTbBydg8a6pCZesb/9iQLF1mxxBlEAYX8T/vr smxYabOR2Ab6apbbBs/ge/04qe4/B43xi0RG8uK2+4GHiAQIr/2VT3iVNvlBHBNvy7 MEH5ibFZnAoJ6X9L1IMJPu+G7q8j9KbqoZ2m5GKQlVWundAxrZFFM0QmPvXq1PUhKP CQ3oZxkYTTIx6dRaff6ErKH0UBdl5zFbOp1Db9rwozlyLKPO6eEL5uFksTBFB27yXZ CEj0KM4+oiqJnofZRfNStdmeaXwP46Mj2wL+JRoKxiCLVWJQMMkTntKD1j7iMXZBWV v5R73wYr9W0Sw== From: Rainer Orth To: Jonathan Wakely Cc: "libstdc++@gcc.gnu.org" , David Edelsohn via Gcc-patches , "CHIGOT, CLEMENT" , David Edelsohn Subject: Re: [PATCH] libstdc++: implement locale support for AIX References: <20210111154058.GB21410@redhat.com> <20210112152505.GE21410@redhat.com> Date: Tue, 12 Jan 2021 18:41:45 +0100 In-Reply-To: (Rainer Orth's message of "Tue, 12 Jan 2021 16:52:51 +0100") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1.90 (usg-unix-v) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-3789.5 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, RCVD_IN_DNSWL_LOW, SPF_HELO_NONE, SPF_NONE, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: libstdc++@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libstdc++ mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Jan 2021 17:41:49 -0000 Hi Jonathan, >> On 12/01/21 15:14 +0000, CHIGOT, CLEMENT wrote: >>>Hi everyone,=C3=82=C2=A0 >>> >>>I've reworked the patch to merged dragonfly and AIX >>>models into the new one named "ieee_1003.1-2008".=C3=82=C2=A0 >>>It seems okay on the AIX part but if someone can test >>>on Dragonfly and Freebsd I would be glad.=C3=82=C2=A0Configure >>>needs to be regenerated, first. >> >> Presumably it could also be tested on GNU/Linux and Solaris, since >> they implement the POSIX 2008 APIs needed. > > I'll give the patch a whirl on Solaris. However, we will need to > distinguish between 11.3 (which is XPG6 only) and 11.4 (which support > XPG7). as almost expected, a build on Solaris 11.4 failed miserably due to the use of the various BSD extensions (localeconv_l, mbstowcs_l, strtod_l, strtof_l, strtold_l, wcsftime_l), whose use or fallback implementations are currently guarded by _AIX. Should those be used in a directory supposed to conform to POSIX.1-2008 at all? OTOH, almost duplicating the code into a separate bsd (or whatever, it's certainly not only DragonflyBSD) directory for this sole reason would be a shame. Rainer --=20 ---------------------------------------------------------------------------= -- Rainer Orth, Center for Biotechnology, Bielefeld University