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 DE095386F82D; Wed, 13 Jan 2021 12:47:38 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org DE095386F82D 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 6B47794A; Wed, 13 Jan 2021 13:47:37 +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 W0XUty583W8f; Wed, 13 Jan 2021 13:47:36 +0100 (CET) Received: from manam.CeBiTec.Uni-Bielefeld.DE (p4fddb15f.dip0.t-ipconnect.de [79.221.177.95]) by smtp.CeBiTec.Uni-Bielefeld.DE (Postfix) with ESMTPSA id B69D0672F0; Wed, 13 Jan 2021 13:47:36 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=CeBiTec.Uni-Bielefeld.DE; s=20200306; t=1610542056; bh=bwXbYPgQ3CWLYEWfztx8e4Q1L91AEFT+SLdWk8MJrH8=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=ZmgTAfE0qaDAStHrzsjsU+/vHS3xTi+QYqk99B/j55XR9GzatBh1YD4ygh/dRx6Q8 eoViyIeES7U3e5oxPgSFfwAO0b0obGpjokq5mySSlPq1QzRlLcne36PUWbWObKeuOV wAj16/F8JFMFEUxZHvy3dgRjpTKjsPDXFumE24zoTY93zlgUTAao3b/JgRuVBCKJQC r2VdieF7jXI/JYJVeG0trv3MBU1CFVczi5LwY8DZq7b9c9ZdvAm0IUJG/dhj0TWzW/ ZmwuoqD79asTkQ/NWvv+3ugn1d1j7Zupdn9plAizi8FQbcyZ5xcajw0rapvlk1B55B mjin646SZMoSQ== From: Rainer Orth To: "CHIGOT, CLEMENT" Cc: David Edelsohn , Jonathan Wakely , "libstdc++@gcc.gnu.org" , "David Edelsohn via Gcc-patches" Subject: Re: [PATCH] libstdc++: implement locale support for AIX References: <20210111154058.GB21410@redhat.com> <20210112152505.GE21410@redhat.com> Date: Wed, 13 Jan 2021 13:47:36 +0100 In-Reply-To: (CLEMENT CHIGOT's message of "Wed, 13 Jan 2021 12:41:30 +0000") 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 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: Wed, 13 Jan 2021 12:47:42 -0000 Hi Clement, >> OTOH, I wondered if it wouldn't be better to start from the GNU code >> which is certainly known to work, rather than the DragonflyBSD one which >> may well have bitrotten since most of the BSDs moved to LLVM. Then >> again, it may not: Gerald tests on FreeBSD regularly. Perhaps a 3-way > merge of gnu and *bsd -> ieee_1003.1-2008 is in order? not in the sense of actually combining the code bases, I'd say, but certainly comparing all three. gnu is guaranteed to be better maintained/kept up to date. > Gnu model is really different as it implements catalogues, is using > nl_langinfo_l with GNU specific defines instead of localeconv_l, and few > other stuffs like this. True: we can only take parts that are in POSIX.1-2008/XPG7, obviously. But checking for differences is still in order, I believe. > I'll check if some parts might be interesting. But BSD seems closer to want > we actually want. Right, except for the fear that the code has partially bitrotten. It's up to Jonathan, of course, to decide if we're better off keeping gnu, dragonfly (better renamed to bsd to match actual use) and ieee-1003.1-2008 separate or update/rename the dragonfly code to work on both the BSDs and POSIX.1-2008 systems. Rainer -- ----------------------------------------------------------------------------- Rainer Orth, Center for Biotechnology, Bielefeld University