This is the mail archive of the gcc-bugs@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]

Problems building gcc-2.95.2 on SGI Indy Irix 5.3


Title: Problems building gcc-2.95.2 on SGI Indy Irix 5.3

I am having exactly the same problem as reported back in May, in my case it is on an SGI INDY running Irix 5.3. As far as I can see there was never any response to this problem. Does someone know the solution?


Problems building gcc-2.95.2 on SGI Indy Irix 6.5

     To: gcc-bugs at gcc dot gnu dot org, john at cs dot york dot ac dot uk
     Subject: Problems building gcc-2.95.2 on SGI Indy Irix 6.5
     From: john at cs dot york dot ac dot uk
     Date: Fri, 26 May 2000 15:17:42 +0100




I gave the following commands in an attempt to build gcc-2.95.2
on an SGI Indy running Irix 6.5 (using the SGI-installed gcc-2.8.1
from /usr/gnu/bin to bootstrap):

$ PATH=/usr/gnu/bin:$PATH; export PATH
$ tar xvfz gcc-2.95.2.tar.gz
$ tar xvfz gcc-2.95.2-g++.tar.gz
$ cd gcc-2.95.2
$ ./configure --prefix=/usr/local/pkg/gcc-2.95.2-irix6.5 --enable-languages="c c++"
$ make bootstrap

but got:

...
        gcc -c  -DIN_GCC     -g   -DHAVE_CONFIG_H    -I. -I. -I./config -I./../include ./genattr.c
        gcc -c  -DIN_GCC     -g   -DHAVE_CONFIG_H    -I. -I. -I./config -I./../include rtl.c
        gcc -c  -DIN_GCC     -g   -DHAVE_CONFIG_H    -I. -I. -I./config -I./../include bitmap.c
        gcc -c  -DIN_GCC     -g   -DHAVE_CONFIG_H    -I. -I. -I./config -I./../include print-rtl.c
        gcc  -DIN_GCC     -g   -DHAVE_CONFIG_H  -o genattr \
         genattr.o rtl.o bitmap.o print-rtl.o ` case "obstack.o" in ?*) echo obstack.o ;; esac ` ` case "" in ?*) echo  ;; esac ` ` case "" in ?*) echo  ;; esac `    ` case "" in ?*) echo  ;; esac ` ` case "" in ?*) echo  ;; esac ` 

        ./genattr ./config/mips/mips.md > tmp-attr.h
*** Termination code 139 (bu21)
*** Error code 1 (bu21)
*** Error code 1 (bu21)
$

I used the dbx debugger on genattr to try to see what the matter was, and saw:

$ dbx genattr
dbx version 7.3 MR 55458_Apr30_MR Apr 30 1999 13:44:41
Core from signal SIGSEGV: Segmentation violation
(dbx) where
>  0 strlen(0x0, 0xfb47b74, 0x0, 0x0) ["strlen.s":57, 0xfa2e9d0]
   1 init_rtl() ["rtl.c":910, 0x406550]
   2 main(argc = 2, argv = 0x7fff2df4) ["genattr.c":292, 0x402d34]
   3 __istart() ["crt1tinit.s":13, 0x401c60]
(dbx) quit
$

I hope that I've understood the build instructions, and was going to continue
with:

$ make install

Incidentally, does the process above now install libstdc++? I recall that
I previously had to do something like:

$ tar xvfz libstdc++-2.8.0.tar.gz
$ CXX=./configure --prefix=/usr/local/pkg/gcc-2.95.2-irix6.5
$ make install

John A. Murdie
Department of Computer Science
University of York
England

Steve Johns
Vice President Engineering & Technology
Priority Wireless B.V.
Phone: +31 (0)20 778 8604
Mobile +31 0651348933
Fax +31 (020)778  8978

Email: sjohns@prioritytelecom.com



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