From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19787 invoked by alias); 25 Mar 2005 12:27:19 -0000 Mailing-List: contact libc-hacker-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-hacker-owner@sources.redhat.com Received: (qmail 19760 invoked from network); 25 Mar 2005 12:27:18 -0000 Received: from unknown (HELO sunsite.mff.cuni.cz) (195.113.15.26) by sourceware.org with SMTP; 25 Mar 2005 12:27:18 -0000 Received: from sunsite.mff.cuni.cz (sunsite.mff.cuni.cz [127.0.0.1]) by sunsite.mff.cuni.cz (8.13.1/8.13.1) with ESMTP id j2PCRFsB016570; Fri, 25 Mar 2005 13:27:15 +0100 Received: (from jj@localhost) by sunsite.mff.cuni.cz (8.13.1/8.13.1/Submit) id j2PCRF1x016569; Fri, 25 Mar 2005 13:27:15 +0100 Date: Fri, 25 Mar 2005 12:27:00 -0000 From: Jakub Jelinek To: Ulrich Drepper Cc: Glibc hackers Subject: [PATCH] Fix build with latest GCC 4 Message-ID: <20050325122715.GL4961@sunsite.mff.cuni.cz> Reply-To: Jakub Jelinek Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.1i X-SW-Source: 2005-03/txt/msg00061.txt.bz2 Hi! wordsize-64/wcstoul_l.c includes generic/wcstoul_l.c which in turn includes wordsize-64/wcstol_l.c. But the aliases and libc_hidden_ver for strtol_l.c are not desirable in the ul compilation. 2005-03-25 Jakub Jelinek * sysdeps/wordsize-64/strtol_l.c: Don't add aliases if UNSIGNED. * sysdeps/wordsize-64/wcstol_l.c: Likewise. --- libc/sysdeps/wordsize-64/strtol_l.c.jj 2003-03-03 04:45:12.000000000 -0500 +++ libc/sysdeps/wordsize-64/strtol_l.c 2005-03-24 08:09:38.970943112 -0500 @@ -8,7 +8,9 @@ #undef ____strtoll_l_internal #undef __strtoll_l #undef strtoll_l +#if !UNSIGNED strong_alias (____strtol_l_internal, ____strtoll_l_internal) libc_hidden_ver (____strtol_l_internal, ____strtoll_l_internal) weak_alias (__strtol_l, __strtoll_l) weak_alias (__strtol_l, strtoll_l) +#endif --- libc/sysdeps/wordsize-64/wcstol_l.c.jj 2002-08-08 07:44:51.000000000 -0400 +++ libc/sysdeps/wordsize-64/wcstol_l.c 2005-03-24 08:09:02.632875928 -0500 @@ -8,6 +8,8 @@ #undef ____wcstoll_l_internal #undef __wcstoll_l #undef wcstoll_l +#if !UNSIGNED strong_alias (____wcstol_l_internal, ____wcstoll_l_internal) weak_alias (__wcstol_l, __wcstoll_l) weak_alias (__wcstol_l, wcstoll_l) +#endif Jakub