[build] Move unwinder to toplevel libgcc (v2)

Paolo Bonzini bonzini@gnu.org
Sat Aug 6 14:32:00 GMT 2011


On 08/06/2011 12:43 PM, Mikael Morin wrote:
> On Friday 05 August 2011 21:48:34 Paolo Bonzini wrote:
>> On Fri, Aug 5, 2011 at 20:18, Mikael Morin<mikael.morin@sfr.fr>  wrote:
>>> I suppose it is this patch that breaks bootstrap
> The culprit is indeed r177447.
>
>>
>> Adding a -I flag?  I suppose that makes sense even if crtstuff is
>> moved soon to toplevel libgcc.
> How about this? It fixes the problem.
>
> Index: gcc/Makefile.in
> ===================================================================
> --- gcc/Makefile.in	(révision 177491)
> +++ gcc/Makefile.in	(copie de travail)
> @@ -1088,7 +1088,7 @@
>   INCLUDES = -I. -I$(@D) -I$(srcdir) -I$(srcdir)/$(@D) \
>   	   -I$(srcdir)/../include @INCINTL@ \
>   	   $(CPPINC) $(GMPINC) $(DECNUMINC) \
> -	   $(PPLINC) $(CLOOGINC)
> +	   $(PPLINC) $(CLOOGINC) -I$(srcdir)/../libgcc
>
>   .c.o:
>   	$(COMPILER) -c $(ALL_COMPILERFLAGS) $(ALL_CPPFLAGS) $<  $(OUTPUT_OPTION)

Thanks.

Can you try this instead?

Paolo

2011-08-06  Paolo Bonzini  <bonzini@gnu.org>
             Mikael Morin   <mikael.morin@sfr.fr>

	* Makefile.in (INCLUDES_FOR_TARGET): New.
	(LIBGCC2_CFLAGS): Use it.
	(CRTSTUFF_CFLAGS): Use it instead of INCLUDES.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch-for-bsd.patch
Type: text/x-patch
Size: 1543 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/libstdc++/attachments/20110806/a7600be4/attachment.bin>


More information about the Libstdc++ mailing list