From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13743 invoked by alias); 8 Jul 2011 18:09:40 -0000 Received: (qmail 13735 invoked by uid 22791); 8 Jul 2011 18:09:39 -0000 X-SWARE-Spam-Status: No, hits=-1.8 required=5.0 tests=AWL,BAYES_00,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from snape.CeBiTec.Uni-Bielefeld.DE (HELO smtp-relay.CeBiTec.Uni-Bielefeld.DE) (129.70.160.84) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 08 Jul 2011 18:09:19 +0000 Received: from localhost (localhost.CeBiTec.Uni-Bielefeld.DE [127.0.0.1]) by smtp-relay.CeBiTec.Uni-Bielefeld.DE (Postfix) with ESMTP id 5AE113EF; Fri, 8 Jul 2011 20:09:18 +0200 (CEST) Received: from smtp-relay.CeBiTec.Uni-Bielefeld.DE ([127.0.0.1]) by localhost (malfoy.CeBiTec.Uni-Bielefeld.DE [127.0.0.1]) (amavisd-new, port 10024) with LMTP id qMZuooLVC50s; Fri, 8 Jul 2011 20:09:16 +0200 (CEST) Received: from manam.CeBiTec.Uni-Bielefeld.DE (manam.CeBiTec.Uni-Bielefeld.DE [129.70.161.120]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp-relay.CeBiTec.Uni-Bielefeld.DE (Postfix) with ESMTPS id A71363ED; Fri, 8 Jul 2011 20:09:16 +0200 (CEST) Received: (from ro@localhost) by manam.CeBiTec.Uni-Bielefeld.DE (8.14.4+Sun/8.14.4/Submit) id p68I9G1K005016; Fri, 8 Jul 2011 20:09:16 +0200 (MEST) From: Rainer Orth To: sje@cup.hp.com Cc: Tristan Gingold , GCC Patches , Douglas Rupp Subject: Re: CFT: Move unwinder to toplevel libgcc References: <1310057170.10986.2613.camel@hpsje.cup.hp.com> Date: Fri, 08 Jul 2011 18:24:00 -0000 In-Reply-To: <1310057170.10986.2613.camel@hpsje.cup.hp.com> (Steve Ellcey's message of "Thu, 07 Jul 2011 09:46:10 -0700") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (usg-unix-v) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-IsSubscribed: yes 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/msg00676.txt.bz2 Steve, > It looks like the GCC build is trying to compile unwind-ia64.c on IA64 > HP-UX even though it should not use or need this file. Using > --with-system-libunwind doesn't seem to help. I am not sure where this > should be handled under the new setup. Previously config.gcc would > either include or not include t-glibc-libunwind in the Makefile to build > or not build this file. This might be coming from t-eh-ia64 rather > then t-glibc-libunwind. Both of these include unwind-ia64.c. I see what's going on: before my patch, ia64*-*-hpux* would use tmake_file="ia64/t-ia64 ia64/t-hpux" The former has LIB2ADDEH = $(srcdir)/config/ia64/unwind-ia64.c $(srcdir)/unwind-sjlj.c \ $(srcdir)/unwind-c.c the latter LIB2ADDEH = $(srcdir)/unwind-c.c overriding the ia64 default. Unfortunately, I got the ordering wrong in libgcc: tmake_file="ia64/t-hpux ia64/t-eh-ia64" To fix this, ia64/t-eh-ia64 can go completely. This should restore things as they were before. Rainer -- ----------------------------------------------------------------------------- Rainer Orth, Center for Biotechnology, Bielefeld University