This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Not successfully built ecgs
- To: law at cygnus dot com
- Subject: Re: Not successfully built ecgs
- From: Tilo Schwarz <tilo dot schwarz at dbag dot ulm dot DaimlerBenz dot COM>
- Date: Mon, 3 Aug 98 17:16:37 +0200
- Cc: egcs at cygnus dot com
- References: <4851.902037173@hurl.cygnus.com>
Hello Jeff,
thanks for your mail. I tried to build egcs-1.0.1 and egcs-1.0.2 in the
meantime, but they fail at the same point. You wrote
> [...]
> > echo "__foo () {}" > dummy.c
> > ./xgcc -B./ -DIN_GCC -g -I./include -c dummy.c
> You might try running those two commands by hand from within
> objdir/gcc. When you do this add "-save-temps" to the end of the
> second command.
> [...]
Because I just can forebode what's going on in assembler, I mail the
output of the second command. Maybe one of you has an idea, if something
is wrong with the assembler:
~/Developer/egcs-1.0.3a/objdir/gcc> echo "__foo () {}" > dummy.c
-----------------------------------------------------------
~/Developer/egcs-1.0.3a/objdir/gcc> ./xgcc -B./ -DIN_GCC -g
-I./include -c dummy.c -save-temps
dummy.s:1:Junk character 47.
dummy.s:1:Rest of line ignored. 1st junk character valued 32 ( ).
dummy.s:2:Junk character 47.
dummy.s:2:Rest of line ignored. 1st junk character valued 32 ( ).
dummy.s:3:Junk character 47.
dummy.s:3:Rest of line ignored. 1st junk character valued 32 ( ).
dummy.s:4:Junk character 47.
dummy.s:4:Rest of line ignored. 1st junk character valued 32 ( ).
dummy.s:5:Junk character 47.
dummy.s:5:Rest of line ignored. 1st junk character valued 32 ( ).
dummy.s:6:Junk character 47.
dummy.s:6:Rest of line ignored. 1st junk character valued 32 ( ).
-----------------------------------------------------------
~/Developer/egcs-1.0.3a/objdir/gcc> cat dummy.c
__foo () {}
-----------------------------------------------------------
~/Developer/egcs-1.0.3a/objdir/gcc> cat dummy.i
# 1 "dummy.c"
__foo () {}
-----------------------------------------------------------
~/Developer/egcs-1.0.3a/objdir/gcc> cat dummy.s
/ GNU C version egcs-2.90.29 980515 (egcs-1.0.3 release)
(i386-next-nextstep3) compiled by GNU C version 2.5.8.
/ options passed: -g
/ options enabled: -fpeephole -ffunction-cse -fkeep-static-consts
/ -freg-struct-return -fcommon -fverbose-asm -fgnu-linker -fargument-alias
/ -m80387 -mhard-float -mno-soft-float -mieee-fp -mschedule-prologue
/ -mcpu=i386 -march=pentium
.stabs "dummy.c",100,0,0,Ltext0
.text
Ltext0:
.stabs "int:t1=r1;-2147483648;2147483647;",128,0,0,0
.stabs "char:t2=r2;0;127;",128,0,0,0
.stabs "long int:t3=r3;-2147483648;2147483647;",128,0,0,0
.stabs "unsigned int:t4=r4;0;-1;",128,0,0,0
.stabs "long unsigned int:t5=r5;0;-1;",128,0,0,0
.stabs "long long
int:t6=r1;01000000000000000000000;0777777777777777777777;",128,0,0,0
.stabs "long long unsigned
int:t7=r1;0000000000000;01777777777777777777777;",128,0,0,0
.stabs "short int:t8=r8;-32768;32767;",128,0,0,0
.stabs "short unsigned int:t9=r9;0;65535;",128,0,0,0
.stabs "signed char:t10=r10;-128;127;",128,0,0,0
.stabs "unsigned char:t11=r11;0;255;",128,0,0,0
.stabs "float:t12=r1;4;0;",128,0,0,0
.stabs "double:t13=r1;8;0;",128,0,0,0
.stabs "long double:t14=r1;12;0;",128,0,0,0
.stabs "complex int:t15=s8real:1,0,32;imag:1,32,32;;",128,0,0,0
.stabs "complex float:t16=r16;4;0;",128,0,0,0
.stabs "complex double:t17=r17;8;0;",128,0,0,0
.stabs "complex long double:t18=r18;12;0;",128,0,0,0
.stabs "void:t19=19",128,0,0,0
.align 2
.globl ___foo
___foo:
.stabd 68,0,1
pushl %ebp
movl %esp,%ebp
.stabd 68,0,1
L1:
leave
ret
.stabs "__foo:F1",36,0,1,___foo
.text
.stabs "",100,0,0,Letext
Letext:
-----------------------------------------------------------
~/Developer/egcs-1.0.3a/objdir/gcc>
Thanks a lot.
Bye
Tilo
--------------------
Tilo Schwarz, Daimler-Benz AG, Research Center Ulm, FT3/AB
Address: Wilhelm-Runge-Str.11, P.O. Box 23 60, 89013 Ulm, Germany
Phone: +49 731 505 2376
Email: tilo.schwarz@dbag.ulm.daimlerbenz.com
(NeXT- and MIME-Mail welcome)