From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10962 invoked by alias); 22 Jul 2011 18:36:52 -0000 Received: (qmail 10833 invoked by uid 22791); 22 Jul 2011 18:36:51 -0000 X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00,RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from g1t0026.austin.hp.com (HELO g1t0026.austin.hp.com) (15.216.28.33) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 22 Jul 2011 18:36:37 +0000 Received: from g1t0038.austin.hp.com (g1t0038.austin.hp.com [16.236.32.44]) by g1t0026.austin.hp.com (Postfix) with ESMTP id 729A7C385; Fri, 22 Jul 2011 18:36:34 +0000 (UTC) Received: from [16.89.92.85] (hpsje.cup.hp.com [16.89.92.85]) by g1t0038.austin.hp.com (Postfix) with ESMTP id 5E9AF301F6; Fri, 22 Jul 2011 18:36:33 +0000 (UTC) Subject: Re: CFT: Move unwinder to toplevel libgcc From: Steve Ellcey Reply-To: sje@cup.hp.com To: Rainer Orth Cc: Tristan Gingold , GCC Patches , Douglas Rupp In-Reply-To: References: <1310058332.10986.2616.camel@hpsje.cup.hp.com> <1310078773.10986.2627.camel@hpsje.cup.hp.com> <1310491090.10986.2693.camel@hpsje.cup.hp.com> <1310594583.10986.2819.camel@hpsje.cup.hp.com> <1311009267.10986.2913.camel@hpsje.cup.hp.com> <1311200783.10986.2969.camel@hpsje.cup.hp.com> Content-Type: text/plain; charset="UTF-8" Date: Fri, 22 Jul 2011 18:56:00 -0000 Message-ID: <1311359792.10986.3038.camel@hpsje.cup.hp.com> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit 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 X-SW-Source: 2011-07/txt/msg01994.txt.bz2 On Fri, 2011-07-22 at 17:12 +0200, Rainer Orth wrote: > I think you'll need the following: > > ia64*-*-linux*) > extra_parts="crtbegin.o crtend.o crtbeginS.o crtendS.o crtfastmath.o" > # FIXME: Move to *-*-linux* once the SHLIB_* move is complete. > tmake_file="t-slibgcc t-slibgcc-gld t-slibgcc-elf-ver t-linux" > tmake_file="$tmake_file ia64/t-ia64 t-softfp ia64/t-fprules-softfp ia64/t-softfp-compat ia64/t-glibc ia64/t-eh-ia64 t-libunwind" > if test x$with_system_libunwind != xyes ; then > tmake_file="${tmake_file} t-libunwind-elf ia64/t-glibc-libunwind" > fi > md_unwind_header=ia64/linux-unwind.h > ;; > > and a new libgcc/config/t-linux: > > # Override t-slibgcc-elf-ver to export some libgcc symbols with > # the symbol versions that glibc used. > SHLIB_MAPFILES += $(srcdir)/config/libgcc-glibc.ver > > The t-slibgcc* fragments have been introduced to avoid the massive > duplication previously found there, but are equivalent to the current > gcc/config/t-slibgcc-elf-ver. > > Perhaps you could give this a try? > > Thanks. > Rainer This died with: make[3]: *** No rule to make target `/wsp/sje/gcc_git/src/gcc/libgcc/config/libgcc-glibc.ver', needed by `libgcc.map'. Stop. make[3]: Leaving directory `/wsp/sje/gcc_git/build-ia64-debian-linux-gnu-gcc/obj_gcc/ia64-debian-linux-gnu/libgcc' make[2]: *** [all-stage1-target-libgcc] Error 2 make[2]: Leaving directory `/wsp/sje/gcc_git/build-ia64-debian-linux-gnu-gcc/obj_gcc' make[1]: *** [stage1-bubble] Error 2 make[1]: Leaving directory `/wsp/sje/gcc_git/build-ia64-debian-linux-gnu-gcc/obj_gcc' make: *** [bootstrap] Error 2 I think I need to copy gcc/config/ia64/libgcc-glibc.ver over to libgcc/config/ia64/libgcc-glibc.ver and modify SHLIB_MAPFILES to $(srcdir)/config/ia64/libgcc-glibc.ver. So t-linux might need to be t-ia64-linux or something like that since it would be IA64 specific now. Or is there a better way to fix this? I will try my fix (leaving the t-linux name alone for now). Steve Ellcey sje@cup.hp.com