public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* egcs-CVS19981102 powerpc-ibm-aix4.1.4.0 bootstrap failure
@ 1998-11-03 23:34 Kaveh R. Ghazi
  1998-11-04  0:48 ` Franz Sirl
  0 siblings, 1 reply; 3+ messages in thread
From: Kaveh R. Ghazi @ 1998-11-03 23:34 UTC (permalink / raw)
  To: egcs-bugs, egcs

Snapshot:		egcs-CVS19981102
Platform:		powerpc-ibm-aix4.1.4.0
Stage1 compiler:	cc
Assembler:		native
Linker:			native
BOOT_CFLAGS:		-g -O2 -mminimal-toc -pipe


	The build dies after the 3 stage bootstrap when compiling libio:

 > /caip/u47/ghazi/gcc-testing/aix-test/egcs-CVS19981102/gcc/xgcc
 > 	-B/caip/u47/ghazi/gcc-testing/aix-test/egcs-CVS19981102/gcc/
 > 	-B/usr/local/powerpc-ibm-aix4.1.4.0/bin/ -c -g -msoft-float -I. -I.
 > 	floatconv.c -o pic/floatconv.o
 > /caip/u47/ghazi/gcc-testing/aix-test/egcs-CVS19981102/gcc/xgcc
 > 	-B/caip/u47/ghazi/gcc-testing/aix-test/egcs-CVS19981102/gcc/
 > 	-B/usr/local/powerpc-ibm-aix4.1.4.0/bin/ -c -g -msoft-float -I. -I.
 > 	floatconv.c
 > final.c:2915: Internal compiler error in function final_scan_insn
 > make[4]: *** [floatconv.o] Error 1


	Here's the source code where it dies:

 >         /* If the template is the string "#", it means that this insn must
 >            be split.  */
 >         if (template[0] == '#' && template[1] == '\0')
 >           {
 >             rtx new = try_split (body, insn, 0);
 >  
 >             /* If we didn't split the insn, go away.  */
 >             if (new == insn && PATTERN (new) == body)
 >               fatal_insn ("Could not split insn", insn);
 >  
 > #ifdef HAVE_ATTR_length
 >             /* This instruction should have been split in shorten_branches,
 >                to ensure that we would have valid length info for the
 >                splitees.  */
 >             abort ();     <<<<<---- line 2915 ----
 > #endif
 >  
 >             new_block = 0;
 >             return new;
 >           }
 > 

	If there's any other useful info I can provide, let me know.
And if someone else reproduces this, I'd like to hear confirmation.

		Thanks,
		--Kaveh
--
Kaveh R. Ghazi			Engagement Manager / Project Services
ghazi@caip.rutgers.edu		Icon CMT Corp.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: egcs-CVS19981102 powerpc-ibm-aix4.1.4.0 bootstrap failure
  1998-11-03 23:34 egcs-CVS19981102 powerpc-ibm-aix4.1.4.0 bootstrap failure Kaveh R. Ghazi
@ 1998-11-04  0:48 ` Franz Sirl
  0 siblings, 0 replies; 3+ messages in thread
From: Franz Sirl @ 1998-11-04  0:48 UTC (permalink / raw)
  To: Kaveh R. Ghazi; +Cc: egcs-bugs, egcs

Hi,

Try the patch posted by Herman ten Brugge in egcs-patches "fix error in
emit-rtl.c". Despite Jeff's comment it seems to have an effect and fixes
the testsuite regression I reported on powerpc-unknown-linux-gnu

Franz.


At 16:25 03.11.98 , Kaveh R. Ghazi wrote:
>Snapshot:		egcs-CVS19981102
>Platform:		powerpc-ibm-aix4.1.4.0
>Stage1 compiler:	cc
>Assembler:		native
>Linker:			native
>BOOT_CFLAGS:		-g -O2 -mminimal-toc -pipe
>
>
>	The build dies after the 3 stage bootstrap when compiling libio:
>
> > /caip/u47/ghazi/gcc-testing/aix-test/egcs-CVS19981102/gcc/xgcc
> > 	-B/caip/u47/ghazi/gcc-testing/aix-test/egcs-CVS19981102/gcc/
> > 	-B/usr/local/powerpc-ibm-aix4.1.4.0/bin/ -c -g -msoft-float -I. -I.
> > 	floatconv.c -o pic/floatconv.o
> > /caip/u47/ghazi/gcc-testing/aix-test/egcs-CVS19981102/gcc/xgcc
> > 	-B/caip/u47/ghazi/gcc-testing/aix-test/egcs-CVS19981102/gcc/
> > 	-B/usr/local/powerpc-ibm-aix4.1.4.0/bin/ -c -g -msoft-float -I. -I.
> > 	floatconv.c
> > final.c:2915: Internal compiler error in function final_scan_insn
> > make[4]: *** [floatconv.o] Error 1
>
>
>	Here's the source code where it dies:
>
> >         /* If the template is the string "#", it means that this insn must
> >            be split.  */
> >         if (template[0] == '#' && template[1] == '\0')
> >           {
> >             rtx new = try_split (body, insn, 0);
> >  
> >             /* If we didn't split the insn, go away.  */
> >             if (new == insn && PATTERN (new) == body)
> >               fatal_insn ("Could not split insn", insn);
> >  
> > #ifdef HAVE_ATTR_length
> >             /* This instruction should have been split in shorten_branches,
> >                to ensure that we would have valid length info for the
> >                splitees.  */
> >             abort ();     <<<<<---- line 2915 ----
> > #endif
> >  
> >             new_block = 0;
> >             return new;
> >           }
> > 
>
>	If there's any other useful info I can provide, let me know.
>And if someone else reproduces this, I'd like to hear confirmation.
>
>		Thanks,
>		--Kaveh
>--
>Kaveh R. Ghazi			Engagement Manager / Project Services
>ghazi@caip.rutgers.edu		Icon CMT Corp.


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: egcs-CVS19981102 powerpc-ibm-aix4.1.4.0 bootstrap failure
@ 1998-11-05  7:33 Kaveh R. Ghazi
  0 siblings, 0 replies; 3+ messages in thread
From: Kaveh R. Ghazi @ 1998-11-05  7:33 UTC (permalink / raw)
  To: Franz.Sirl-kernel; +Cc: egcs-bugs, egcs

 > From: Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
 > 
 > Hi,
 > 
 > Try the patch posted by Herman ten Brugge in egcs-patches "fix error in
 > emit-rtl.c". Despite Jeff's comment it seems to have an effect and fixes
 > the testsuite regression I reported on powerpc-unknown-linux-gnu
 > 
 > Franz.
 > 
 > 
 > At 16:25 03.11.98 , Kaveh R. Ghazi wrote:
 > >Snapshot:		egcs-CVS19981102
 > >Platform:		powerpc-ibm-aix4.1.4.0
 > >Stage1 compiler:	cc
 > >Assembler:		native
 > >Linker:			native
 > >BOOT_CFLAGS:		-g -O2 -mminimal-toc -pipe
 > >
 > >
 > >	The build dies after the 3 stage bootstrap when compiling libio:
 > >
 > > > /caip/u47/ghazi/gcc-testing/aix-test/egcs-CVS19981102/gcc/xgcc
 > > > 	-B/caip/u47/ghazi/gcc-testing/aix-test/egcs-CVS19981102/gcc/
 > > > 	-B/usr/local/powerpc-ibm-aix4.1.4.0/bin/ -c -g -msoft-float -I. -I.
 > > > 	floatconv.c -o pic/floatconv.o
 > > > /caip/u47/ghazi/gcc-testing/aix-test/egcs-CVS19981102/gcc/xgcc
 > > > 	-B/caip/u47/ghazi/gcc-testing/aix-test/egcs-CVS19981102/gcc/
 > > > 	-B/usr/local/powerpc-ibm-aix4.1.4.0/bin/ -c -g -msoft-float -I. -I.
 > > > 	floatconv.c
 > > > final.c:2915: Internal compiler error in function final_scan_insn
 > > > make[4]: *** [floatconv.o] Error 1


	Yes, that patch cures this bootstrap failure.  Thanks!

		--Kaveh
--
Kaveh R. Ghazi			Engagement Manager / Project Services
ghazi@caip.rutgers.edu		Icon CMT Corp.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~1998-11-05  7:33 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1998-11-03 23:34 egcs-CVS19981102 powerpc-ibm-aix4.1.4.0 bootstrap failure Kaveh R. Ghazi
1998-11-04  0:48 ` Franz Sirl
1998-11-05  7:33 Kaveh R. Ghazi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).