From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 44002 invoked by alias); 3 Nov 2015 16:10:45 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Received: (qmail 43993 invoked by uid 89); 3 Nov 2015 16:10:45 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.2 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-lf0-f45.google.com Received: from mail-lf0-f45.google.com (HELO mail-lf0-f45.google.com) (209.85.215.45) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-GCM-SHA256 encrypted) ESMTPS; Tue, 03 Nov 2015 16:10:41 +0000 Received: by lfgh9 with SMTP id h9so23512182lfg.1 for ; Tue, 03 Nov 2015 08:10:37 -0800 (PST) MIME-Version: 1.0 X-Received: by 10.25.77.17 with SMTP id a17mr8996254lfb.19.1446567037430; Tue, 03 Nov 2015 08:10:37 -0800 (PST) Received: by 10.114.57.141 with HTTP; Tue, 3 Nov 2015 08:10:37 -0800 (PST) In-Reply-To: References: Date: Tue, 03 Nov 2015 16:10:00 -0000 Message-ID: Subject: Re: [PATCH] PR 68192 Export AIX TLS symbols From: David Edelsohn To: Richard Biener Cc: GCC Patches Content-Type: text/plain; charset=UTF-8 X-SW-Source: 2015-11/txt/msg00244.txt.bz2 On Tue, Nov 3, 2015 at 9:47 AM, Richard Biener wrote: > On Tue, Nov 3, 2015 at 3:23 PM, David Edelsohn wrote: >> TLS symbols in AIX display a new, different symbol type in nm output. >> Libtool explicitly creates a list of exported symbols for shared >> libraries using nm and does not recognize the new TLS symbols, so >> those symbols are not exported. >> >> This is a regression for TLS support on AIX. >> >> This patch updates libtool.m4 in GCC and configure for libstdc++-v3, >> libgfortran, and libgomp. I would like to apply the patch to GCC >> while I simultaneously work with the Libtool community to correct the >> bug upstream. I also would like to backport this to GCC 5.2 and GCC >> 4.9.x. > > What does this do to the set of exported symbols esp. on branches. > Does AIX have library versions? The patch restores symbols that were omitted by the "nm" change. The symbols are a superset of the current symbols and were present before, which is why this is a regression. Thanks, David