This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [build] Move unwinder to toplevel libgcc (v2)
- From: Mikael Morin <mikael dot morin at sfr dot fr>
- To: gcc-patches at gcc dot gnu dot org
- Cc: Rainer Orth <ro at cebitec dot uni-bielefeld dot de>, "Joseph S. Myers" <joseph at codesourcery dot com>, Paolo Bonzini <bonzini at gnu dot org>, 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 20:18:38 +0200
- Subject: Re: [build] Move unwinder to toplevel libgcc (v2)
- References: <ydd1ux2oc1u.fsf@manam.CeBiTec.Uni-Bielefeld.DE>
On Wednesday 03 August 2011 15:32:45 Rainer Orth wrote:
> This is the revised/updated version of the patch originally posted at
>
> [build] Move unwinder to toplevel libgcc
> http://gcc.gnu.org/ml/gcc-patches/2011-06/msg01452.html
>
> and reposted as CFT at
>
> http://gcc.gnu.org/ml/gcc-patches/2011-07/msg00201.html
>
> It should incorporate all review comments and a few errors I've noticed
> during final review have been corrected.
>
> I've received approval for the Darwin bits, Steve successfully tested on
> HP-UX/IA64 and Linux/IA64 at least bootstrapped. VMS/IA64 approval has
> been given conditional on the approval of the other IA64 bits. I've
> also received approval for the libjava parts.
>
> Bootstrapped without regressions (together with the next two, to be
> resubmitted shortly: fp-bit and soft-fp moves) on
> x86_64-unknown-linux-gnu.
>
> i386-pc-solaris2.10, sparc-sun-solaris2.11, alpha-dec-osf5.1b,
> mips-sgi-irix6.5 and i386-apple-darwin9.8.0 bootstraps in progress.
> powerpc-apple-darwin9.8.0 currently broken (SIGBUS compiling
> c-family/c-pretty-print.c and cp/call.c).
>
> How should we proceed with this patch, especially given the quite
> moderate comments from most affected target maintainers?
>
> Thanks.
> Rainer
Hello,
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.
Mikael