This is the mail archive of the mailing list for the GCC project.

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


On Thu, 15 Mar 2001, Mark Mitchell wrote:

> >>>>> "Rod" == Rod Stewart <> writes:
>     Rod> The .i file is attached.
> Bad news.
> It works for me.

Damn, that's annoying, maybe it's fixed.  I'm doing a new build from the
branch now.

One thing I just noticed, if I build it '-O0', instead of -O2 or -O1, it

> I did:
> ../configure --target=armv4l-unknown-linux-gnu --enable-languages=c
> on the branch.

I normally configure with, don't know if it would make a difference:
../gcc/configure --with-cpu=strongarm --enable-languages=c,c++,objc,f77 \
  --prefix=/usr/local --enable-shared --enable-threads --without-cvs \

> Then, I ran like this:
>   cc1 -fPIC -g0 -O2 ~/tmp/libgcc2.i
> without a problem.
> Does this still happen with the top of the branch?

I'm building again, I'll let you know in a couple of hours when it reaches
the spot again.

> Can you send me a backtrace?

(gdb) r -fPIC -g0 -O2 libgcc2.i
Starting program: /home/build-rpm/BUILD/obj-gcc-20010315/gcc/./cc1 -fPIC
-g0 -O2 libgcc2.i
Breakpoint 1 at 0x40042834: file exit.c, line 40.
Breakpoint 3 at 0x40041910: file ../sysdeps/generic/abort.c, line 55.
During symbol reading...register number 258 too large (max 26) in symbol
 vprintf getchar getc_unlocked getchar_unlocked putchar fputc_unlocked
putc_unlocked putchar_unlocked feof_unlocked ferror_unlocked __strcspn_c1
__strcspn_c2 __strcspn_c3 __strspn_c1 __strspn_c2 __strspn_c3 __strpbrk_c2
__strpbrk_c3 __strtok_r_1c __strsep_1c __strsep_2c __strsep_3c __strsep_g
strtod strtol strtoul strtoq strtouq strtoll strtoull atof
Breakpoint 2, fancy_abort (file=0x21fe904
"/home/build-rpm/BUILD/gcc/gcc/varasm.c", line=597, function=0x21feb6c
    at /home/build-rpm/BUILD/gcc/gcc/diagnostic.c:1766
1766	  internal_error ("Internal compiler error in %s, at %s:%d",
(gdb) bt
#0  fancy_abort (file=0x21fe904 "/home/build-rpm/BUILD/gcc/gcc/varasm.c",
line=597, function=0x21feb6c "make_decl_rtl")
    at /home/build-rpm/BUILD/gcc/gcc/diagnostic.c:1766
#1  0x020a33b4 in make_decl_rtl (decl=0x21feb6c, asmspec=0x255 <Address
0x255 out of bounds>) at /home/build-rpm/BUILD/gcc/gcc/varasm.c:597
#2  0x402013f0 in ?? ()

Thanks for looking at this,

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