This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: problem with libgcc2 while installing


>-----Original Message-----
>From: Marco [mailto:marco.marcello@tin.it]
>Sent: 05 June 2001 22:10


>Then I added some code to file combine.c and also inluded a 
>small header
>file into it.
>The file combine.c itself got compiled successfully, but I had the
>following installation error:
>
>...
>_muldi3
>../../source/gcc-2.95.3/gcc/libgcc2.c: In function `__muldi3':
>../../source/gcc-2.95.3/gcc/libgcc2.c:305: Internal compiler error in
>`copy_rtx', at ../../source/gcc-2.95.3/gcc/rtl.c:396
>Please submit a full bug report.
>
>
>I configure with the command:
>..../configure --target=thumb-coff --with-gnu-as --with-gnu-ld 
>--with-newlib
>
>is my code wrong or is there a bug?

  Libgcc2 is a target library; it is being compiled by the cross compiler
at this stage of the make process, so the error message comes from the
modified version of the compiler that you have created.  That means it is 
most likely a bug in the changes you made, probably the ones to combine.c,
such that it is now combining insns in some invalid fashion, thereby
generating invalid rtl that copy_rtx detects and complains about.


        DaveK
-- 
"$_='while(read+STDIN,$_,2048){$a=29;$c=142;if((@a=unx"C*",$_)[20]&48){$h=5;
$_=unxb24,join"",@b=map{xB8,unxb8,chr($_^$a[--$h+84])}@ARGV;s/...$/1$&/;$d=u
nxV,xb25,$_;$b=73;$e=256|(ord$b[4])<<9|ord$b[3];$d=$d>>8^($f=($t=255)&($d>>1
2^$d>>4^$d^$d/8))<<17,$e=$e>>8^($t&($g=($q=$e>>14&7^$e)^$q*8^$q<<6))<<9,$_=(
map{$_%16or$t^=$c^=($m=(11,10,116,100,11,122,20,100)[$_/16%8])&110;$t^=(72,@
z=(64,72,$a^=12*($_%16-2?0:$m&17)),$b^=$_%64?12:0,@z)[$_%8]}(16..271))[$_]^(
($h>>=8)+=$f+(~$g&$t))for@a[128..$#a]}print+x"C*",@a}';s/x/pack+/g;eval"
-- D e C S S in PERL 


**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

This footnote also confirms that this email message has been swept by
MIMEsweeper for the presence of computer viruses.

www.mimesweeper.com
**********************************************************************

------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sourceware.cygnus.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]