irix6.5 bootstrap failure in libstdc++-v3/src/locale-inst.cc

Andrew Pinski pinskia@physics.uc.edu
Tue Apr 1 00:35:00 GMT 2003


I forgot to do the Makefile part of it sorry.


all in cp/
2003-03-31  Andrew Pinski  <pinskia@physics.uc.edu>

	* config-lang.in (gtfiles): add \$(srcdir)/cp/name-lookup.c after 
\$(srcdir)/cp/name-lookup.h
	* name-lookup.c: include gt-cp-name-lookup.h at the end of the file
	* Makefile: (gt-cp-name-lookup.h): is generated by the gtype
	(cp/name-lookup.o): depends on gt-cp-name-lookup.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: temp.diff
Type: application/octet-stream
Size: 2281 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20030401/a0fde873/attachment.obj>
-------------- next part --------------




Thanks,
Andrew Pinski




On Monday, Mar 31, 2003, at 19:23 US/Eastern, Andrew Pinski wrote:

> Here is a patch that should fix this the right way:
>
> 2003-03-31  Andrew Pinski  <pinskia@physics.uc.edu>
>
> 	* config-lang.in (gtfiles): add \$(srcdir)/cp/name-lookup.c after  
> \$(srcdir)/cp/name-lookup.h
> 	* name-lookup.c: include gt-cp-name-lookup.h at the end of the file
>
> Thanks,
> Andrew Pinski
>
> <temp.diff>
>
> Index: config-lang.in
> ===================================================================
> RCS file: /cvs/gcc/gcc/gcc/cp/config-lang.in,v
> retrieving revision 1.17
> diff -u -d -b -w -u -r1.17 config-lang.in
> --- config-lang.in	30 Mar 2003 13:18:17 -0000	1.17
> +++ config-lang.in	1 Apr 2003 00:19:10 -0000
> @@ -34,4 +34,4 @@
>
>  target_libs="target-libstdc++-v3 target-gperf"
>
> -gtfiles="\$(srcdir)/cp/name-lookup.h \$(srcdir)/cp/cp-tree.h  
> \$(srcdir)/cp/decl.h \$(srcdir)/cp/lex.h \$(srcdir)/cp/call.c  
> \$(srcdir)/cp/decl.c \$(srcdir)/cp/decl2.c \$(srcdir)/cp/pt.c  
> \$(srcdir)/cp/repo.c \$(srcdir)/cp/semantics.c \$(srcdir)/cp/tree.c  
> \$(srcdir)/cp/parser.c \$(srcdir)/c-common.c \$(srcdir)/c-common.h  
> \$(srcdir)/c-pragma.c"
> +gtfiles="\$(srcdir)/cp/name-lookup.h \$(srcdir)/cp/name-lookup.c  
> \$(srcdir)/cp/cp-tree.h \$(srcdir)/cp/decl.h \$(srcdir)/cp/lex.h  
> \$(srcdir)/cp/call.c \$(srcdir)/cp/decl.c \$(srcdir)/cp/decl2.c  
> \$(srcdir)/cp/pt.c \$(srcdir)/cp/repo.c \$(srcdir)/cp/semantics.c  
> \$(srcdir)/cp/tree.c \$(srcdir)/cp/parser.c \$(srcdir)/c-common.c  
> \$(srcdir)/c-common.h \$(srcdir)/c-pragma.c"
> Index: name-lookup.c
> ===================================================================
> RCS file: /cvs/gcc/gcc/gcc/cp/name-lookup.c,v
> retrieving revision 1.2
> diff -u -d -b -w -u -r1.2 name-lookup.c
> --- name-lookup.c	30 Mar 2003 16:00:39 -0000	1.2
> +++ name-lookup.c	1 Apr 2003 00:19:11 -0000
> @@ -140,3 +140,4 @@
>    timevar_pop (TV_NAME_LOOKUP);
>  }
>
> +#include "gt-cp-name-lookup.h"
>
>
>
> On Monday, Mar 31, 2003, at 19:03 US/Eastern, Billinghurst, David  
> (CRTS) wrote:
>
>> irix6.5 bootstrap of mainline failed in  
>> libstdc++-v3/src/locale-inst.cc
>> LAST UPDATED: Mon Mar 31 08:07:01 GMT 2003
>>
>> Will follow up when time permits.
>>
>> /d5/billingd/obj/gcc/gcc/xgcc -shared-libgcc  
>> -B/d5/billingd/obj/gcc/gcc/ -nostdinc++  
>> -L/d5/billingd/obj/gcc/mips-sgi-irix6.5/mabi=64/libstdc++-v3/src  
>> -L/d5/billingd/obj/gcc/mips-sgi-irix6.5/mabi=64/libstdc++-v3/src/ 
>> .libs -B/d5/billingd/tmp/gcc/mips-sgi-irix6.5/bin/  
>> -B/d5/billingd/tmp/gcc/mips-sgi-irix6.5/lib/ -isystem  
>> /d5/billingd/tmp/gcc/mips-sgi-irix6.5/include -isystem  
>> /d5/billingd/tmp/gcc/mips-sgi-irix6.5/sys-include -mabi=64  
>> -nostdinc++  
>> -I/d5/billingd/obj/gcc/mips-sgi-irix6.5/mabi=64/libstdc++-v3/include/ 
>> mips-sgi-irix6.5  
>> -I/d5/billingd/obj/gcc/mips-sgi-irix6.5/mabi=64/libstdc++-v3/include  
>> -I/d2/billingd/src/gcc/libstdc++-v3/libsupc++  
>> -I/d2/billingd/src/gcc/libstdc++-v3/libmath -O2 -g -g -O2 -mabi=64  
>> -fno-implicit-templates -Wall -Wno-format -W -Wwrite-strings -Winline  
>> -fdiagnostics-show-location=once -ffunction-sections -fdata-sections  
>> -c /d2/billingd/src/gcc/libstdc++-v3/src/locale-inst.cc   -DPIC -o  
>> .libs/locale-inst.o
>> /d5/billingd/obj/gcc/mips-sgi-irix6.5/mabi=64/libstdc++-v3/include/ 
>> bits/locale_facets.tcc: In instantiation of `_InIter  
>> std::num_get<_CharT, _InIter>::do_get(_InIter, _InIter,  
>> std::ios_base&, std::_Ios_Iostate&, long unsigned int&) const [with  
>> _CharT = wchar_t, _InIter = std::istreambuf_iterator<wchar_t,  
>> std::char_traits<wchar_t> >]':
>> /d2/billingd/src/gcc/libstdc++-v3/src/locale-inst.cc:106:    
>> instantiated from here
>> /d5/billingd/obj/gcc/mips-sgi-irix6.5/mabi=64/libstdc++-v3/include/ 
>> bits/locale_facets.tcc:505: internal compiler error: Bus
>>    error
>>
>>


More information about the Gcc-patches mailing list