From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 96351 invoked by alias); 20 Aug 2019 15:24:40 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org Received: (qmail 96158 invoked by uid 89); 20 Aug 2019 15:24:29 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-2.7 required=5.0 tests=AWL,BAYES_00,SPF_PASS autolearn=ham version=3.3.1 spammy=discussions X-HELO: esa3.mentor.iphmx.com IronPort-SDR: XKjQMEuFGF4kiDpmmzheOaYMO1Knl6JJyKEQAJkUc2JsOhzDyhlYZmAmIsAk3yE5yFiikGrdUY nc6VNVC6oJNYWXcS8S2pqQmKjF947gXuWGTX/z7R8R2t6Zzg6a5tvQFQANCDAMlTtJHZOj47JR NZSuVq6KO+gg4Qt6grGcr79nDafgYBdO/8kYb38K2NiwzMppEjFcglhXOrBOFGdwlvgx2WnMQl RhzR96uhB0ejdo/QmHrI2L7TSt4gM0iuwiJfrZ2DhMMSSiL34VfZTjrvxPq51b8BCd1k/LQlNZ 0rI= IronPort-SDR: mS6xUM8h8PFvt23Pay2a5LtXgeqMPhit6W8hIMP24eHlkp0WrIgJXKqLGPp98wv5gz1QTebRgZ cepqfgZha4RrQDUCnJW2nW2hgEl+/VACYUcUe6QdCccC6GCGXBtAcnpY0+H4Ylv7rXIsim5vmK 8B8N/CGjNp6eKdEXD2nmaqdlWkj4+GPSbsfQGSHsSTBVIdywue50rfKubAO1/bg01juwVO0wTx 4xH6NpUcgB4O3iOtnmpBAe33AxT0FPDzYIm0nNJFa+SIcDSlBuJbiTSkJ/AkDUj32raifjoWw5 Pw4= Date: Tue, 20 Aug 2019 15:24:00 -0000 From: Joseph Myers To: Zack Weinberg CC: , Florian Weimer , Lukasz Majewski , Alistair Francis , Stepan Golosunov , Arnd Bergmann Subject: Re: [PATCH 08/12] Use clock_gettime to implement gettimeofday. In-Reply-To: <20190820132152.24100-9-zackw@panix.com> Message-ID: References: <20190820132152.24100-1-zackw@panix.com> <20190820132152.24100-9-zackw@panix.com> User-Agent: Alpine 2.21 (DEB 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Return-Path: joseph@codesourcery.com X-SW-Source: 2019-08/txt/msg00514.txt.bz2 On Tue, 20 Aug 2019, Zack Weinberg wrote: > __gettimeofday is no longer called by anyone, so remove its internal > prototype and its entries in Versions and .abilist files. (It would > have been a GLIBC_PRIVATE symbol if the GLIBC_PRIVATE convention had > been invented back in the days of 2.0.) That's not obviously safe. The choice of which internal symbols to move to GLIBC_PRIVATE when GLIBC_PRIVATE was introduced 2002-02-01 Jakub Jelinek * Versions.def (libc): Add GLIBC_PRIVATE. [...] was clearly a deliberate choice (as was the choice of which symbols in glibc 2.0 not to export at a public symbol version when symbol versioning was introduced in 2.1). __gettimeofday is certainly the kind of symbol that could have been used by a library with its own namespace concerns (cf. past discussions of how we might enable libstdc++ to be namespace-clean), although maybe more likely to have been used by an application that should be using gettimeofday. Perhaps someone set up to do so could check large sets of current and past distribution binaries for any reference to the __gettimeofday symbol in executable / shared library dynamic symbol tables, as evidence for whether such an ABI change is safe or not? -- Joseph S. Myers joseph@codesourcery.com