This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: [build] Move unwinder to toplevel libgcc (v2)
- From: Paolo Bonzini <bonzini at gnu dot org>
- To: Mikael Morin <mikael dot morin at sfr dot fr>
- Cc: gcc-patches at gcc dot gnu dot org, Rainer Orth <ro at cebitec dot uni-bielefeld dot de>, "Joseph S. Myers" <joseph at codesourcery dot com>, Ralf Wildenhues <Ralf dot Wildenhues at gmx dot de>, Ian Lance Taylor <iant at google dot com>, Steve Ellcey <sje at cup dot hp dot com>, Richard Earnshaw <richard dot earnshaw at arm dot com>, Ramana Radhakrishnan <ramana dot radhakrishnan at arm dot com>, Nick Clifton <nickc at redhat dot com>, Douglas Rupp <rupp at gnat dot com>, Tristan Gingold <gingold at adacore dot com>, Mike Stump <mikestump at comcast dot net>, Kaz Kojima <kkojima at gcc dot gnu dot org>, David Edelsohn <dje dot gcc at gmail dot com>, Sterling Augustine <augustine dot sterling at gmail dot com>, Arnaud Charlet <charlet at adacore dot com>, java-patches at gcc dot gnu dot org, Nicola Pero <nicola dot pero at meta-innovation dot com>, libstdc++ at gcc dot gnu dot org, Richard Sandiford <rdsandiford at googlemail dot com>
- Date: Fri, 5 Aug 2011 21:48:34 +0200
- Subject: Re: [build] Move unwinder to toplevel libgcc (v2)
- References: <ydd1ux2oc1u.fsf@manam.CeBiTec.Uni-Bielefeld.DE> <201108052018.38537.mikael.morin@sfr.fr>
On Fri, Aug 5, 2011 at 20:18, Mikael Morin <mikael.morin@sfr.fr> wrote:
> I suppose it is this patch that breaks bootstrap on 86_64-unknown-freebsd8.2:
> /home/mik/gcc4x/src/gcc/crtstuff.c:64:28: fatal error: unwind-dw2-fde.h: No
> such file or directory
>
> Fixed by the the following pat^Whack
> Index: crtstuff.c
> ===================================================================
> --- crtstuff.c ?(révision 177469)
> +++ crtstuff.c ?(copie de travail)
> @@ -61,7 +61,7 @@
> ?#include "tsystem.h"
> ?#include "coretypes.h"
> ?#include "tm.h"
> -#include "unwind-dw2-fde.h"
> +#include "../libgcc/unwind-dw2-fde.h"
>
> ?#ifndef FORCE_CODE_SECTION_ALIGN
> ?# define FORCE_CODE_SECTION_ALIGN
>
> There is probably something better, but I have no clue.
Adding a -I flag? I suppose that makes sense even if crtstuff is
moved soon to toplevel libgcc.
Paolo