From patchwork Tue Jul 12 17:25:39 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rainer Orth X-Patchwork-Id: 104414 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) by ozlabs.org (Postfix) with SMTP id 28A4CB6F7A for ; Wed, 13 Jul 2011 03:26:02 +1000 (EST) Received: (qmail 14810 invoked by alias); 12 Jul 2011 17:26:00 -0000 Received: (qmail 14800 invoked by uid 22791); 12 Jul 2011 17:25:58 -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; Tue, 12 Jul 2011 17:25:43 +0000 Received: from localhost (localhost.CeBiTec.Uni-Bielefeld.DE [127.0.0.1]) by smtp-relay.CeBiTec.Uni-Bielefeld.DE (Postfix) with ESMTP id D932D86A; Tue, 12 Jul 2011 19:25:41 +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 VSh8VsjjlfAb; Tue, 12 Jul 2011 19:25:40 +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 2651F869; Tue, 12 Jul 2011 19:25:40 +0200 (CEST) Received: (from ro@localhost) by manam.CeBiTec.Uni-Bielefeld.DE (8.14.4+Sun/8.14.4/Submit) id p6CHPd5x006813; Tue, 12 Jul 2011 19:25:39 +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: <1310058332.10986.2616.camel@hpsje.cup.hp.com> <1310078773.10986.2627.camel@hpsje.cup.hp.com> <1310491090.10986.2693.camel@hpsje.cup.hp.com> Date: Tue, 12 Jul 2011 19:25:39 +0200 In-Reply-To: <1310491090.10986.2693.camel@hpsje.cup.hp.com> (Steve Ellcey's message of "Tue, 12 Jul 2011 10:18:10 -0700") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (usg-unix-v) MIME-Version: 1.0 X-IsSubscribed: yes Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Delivered-To: mailing list gcc-patches@gcc.gnu.org Steve, > /wsp/sje/gcc_git/src/gcc/libstdc++-v3/libsupc++/eh_call.cc:34:23: fatal error: unwind-pe.h: No such file or directory > compilation terminated. > make[4]: *** [eh_call.lo] Error 1 > make[4]: Leaving directory `/wsp/sje/gcc_git/build-ia64-hp-hpux11.23-gcc/obj_gcc/ia64-hp-hpux11.23/libstdc++-v3/libsupc++' > make[3]: *** [all-recursive] Error 1 > > I think in my earlier build I was building C only (or maybe the compiler only) and that is why I didn't > see this problem. > > I think the libstdc++ Makefile needs to add > > -I/wsp/sje/gcc_git/src/gcc/libstdc++-v3/../libgcc > > in addition (or instead of) > > -I/wsp/sje/gcc_git/src/gcc/libstdc++-v3/../gcc this is strange: my patch already includes this snippet: After rebuilding libstdc++-v3/configure, you should be fine. Rainer diff --git a/libstdc++-v3/acinclude.m4 b/libstdc++-v3/acinclude.m4 --- a/libstdc++-v3/acinclude.m4 +++ b/libstdc++-v3/acinclude.m4 @@ -685,9 +685,9 @@ AC_DEFUN([GLIBCXX_EXPORT_INCLUDES], [ fi # Stuff in the actual top level. Currently only used by libsupc++ to - # get unwind* headers from the gcc dir. - #TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/gcc -I$(toplevel_srcdir)/include' - TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/gcc' + # get unwind* headers from the libgcc dir. + #TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/libgcc -I$(toplevel_srcdir)/include' + TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/libgcc' # Now, export this to all the little Makefiles.... AC_SUBST(GLIBCXX_INCLUDES)