"../.././gcc/c-common.c", line 2259: invalid token: short_fract_type_no...
Tue Nov 25 14:07:00 GMT 2008
kamaraju kusumanchi wrote:
>>> Any suggestions?
>> That's nasty. It looks like your binutils perhaps may have been miscompiled.
>> I'd rebuild binutils with no optimization. See if you still get the
>> internal error when assembling eh_alloc.s. Everyone else can assemble that
>> file, so it's probably not a binutils bug.
> Ok. I recompiled the binutils without any optimizations (i.e. using
> the -fsimple=1 option for the Solaris C compiler). This time, I am
> getting an internal error at a different place.
Huh? -fsimple "Allows the optimizer to make simplifying assumptions
concerning floating-point arithmetic." It is very odd that this
should have made any difference.
-x0 optimizes. "The default is no optimization. However, this is only
possible if you do not specify an optimization level. If you specify
an optimization level, there is no option for turning optimization
There is something extremely odd going on here. It seems that everything
that you build behaves oddly, or at least differently from how it
behaves for everyone else.
> -isystem /home/kkusuman/software/myroot/gcc-4.4-20081107/sparc-sun-solaris2.8/include
> -isystem /home/kkusuman/software/myroot/gcc-4.4-20081107/sparc-sun-solaris2.8/sys-include
> -c -g -W -Wall -Wwrite-strings -Wstrict-prototypes
> -Wmissing-prototypes -Wold-style-definition -Wmissing-format-attribute
> -Wno-overlength-strings -pedantic -Wno-long-long
> -I/home/kkusuman/software/myroot/include -DHAVE_CONFIG_H -I.
> -I../../../unZipped/gcc-4.4-20081107/fixincludes -I../include
> ../../../unZipped/gcc-4.4-20081107/fixincludes/fixincl.c: In function
> ../../../unZipped/gcc-4.4-20081107/fixincludes/fixincl.c:394: internal
> compiler error: Segmentation Fault
> Please submit a full bug report,
> with preprocessed source if appropriate.
> See <http://gcc.gnu.org/bugs.html> for instructions.
> make: *** [fixincl.o] Error 1
> make: Leaving directory
> make: *** [all-fixincludes] Error 2
> make: Leaving directory
> make: *** [all] Error 2
> Any ideas/suggestions?
This is a segfault in the newly-built compiler. We'd need to debug it
to see why.
I'm guessing that the Solaris compiler has miscompiled the new gcc.
However, it can't be an optimization problem this time, since the stage1
compiler should have been built without optimization anyway.
On the other hand, it might be a bug in gcc. But you've had so many
otehr problems no-one else has seen before that I don't know.
More information about the Gcc-help