This is the mail archive of the gcc-help@gcc.gnu.org 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]

solaris 8, and gcc 2.95.2


Hi,

I'm trying to get gcc-2.95.2 to compile on Solaris 8.
I have a binary package from sunfreeware.com that is a cross
compiler, and a software package that I need to build that
barfs on the cross compiler.

I don't know if everything builds ok, as gencheck causes a seg fault
and nothing gets built after that.

This if the end of a 'make bootstrap':

make[3]: Leaving directory `/nms/home/tkennedy/gcc-2.95.2/objdir2/gcc/intl'
./gencheck > tmp-check.h
Segmentation Fault - core dumped
make[2]: *** [s-check] Error 139
make[2]: Leaving directory `/nms/home/tkennedy/gcc-2.95.2/objdir2/gcc'
make[1]: *** [bootstrap] Error 2
make[1]: Leaving directory `/nms/home/tkennedy/gcc-2.95.2/objdir2/gcc'
make: *** [bootstrap] Error 2

Running gencheck under truss, by itself produces this end:
#define CLASS_METHOD_DECL_CHECK1(t)     TREE_CHECK1 (t, CLASS_METHOD_DECL)
write(1, " # d e f i n e   C L A S".., 71)      = 71
#define OBJC_STRING_CST_CHECK(t)        TREE_CHECK (t, OBJC_STRING_CST)
write(1, " # d e f i n e   O B J C".., 65)      = 65
#define OBJC_STRING_CST_CHECK1(t)       TREE_CHECK1 (t, OBJC_STRING_CST)
write(1, " # d e f i n e   O B J C".., 67)      = 67
    Incurred fault #6, FLTBOUNDS  %pc = 0x00010590
      siginfo: SIGSEGV SEGV_MAPERR addr=0x00000000
    Received signal #11, SIGSEGV [default]
      siginfo: SIGSEGV SEGV_MAPERR addr=0x00000000
        *** process killed ***


This installation of Solaris 8 is in 64-bit mode.

Am I S.O.L?  Should I compile with the Sun Workshop compiler, and forget
about gcc till 3.0?

Gcc builds just fine on a Solaris 2.6 box I have.

Thanks,

-Tim


--
Timothy Kennedy
Network Operations Manager
YellowBrix, Inc.
tkennedy@yellowbrix.com
Cell: 703-216-5957

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