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]

Re: build problems


Brian Ford wrote:

> You should use make bootstrap here, but this is probably not your problem.
>
> > 31 whats next make
> >         make all-recursive
> > Making all in intl
> > Making all in lib
> > Making all in makeinfo
> > (cd intl && make all)
> >         ./genattr ./config/mips/mips.md > tmp-attr.h
> > *** Termination code 139 (bu21)
> > *** Error code 1 (bu21)
> >
> > I work for the CRAY side of SGI and maybe soon to be CRAY again.  We
> > want to move to
> > gcc/g++ for our compiler gen product.  For the near term our compilers
> > will run on a mips
> > platform.  Any help would be great.
> >

I found the problem in the MIPS native build, genattr segfaults.

configure
make bootstarp

case "" in ?*) echo  ;; esac `    ` case "" in ?*) echo  ;; esac ` ` case ""
in ?*) echo  ;; esac `
        ./gengenrtl tmp-genrtl.h tmp-genrtl.c
        ./move-if-change tmp-genrtl.h genrtl.h
        ./move-if-change tmp-genrtl.c genrtl.c
        touch s-genrtl
        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)
153 whats next cd gcc
154 whats next ./genattr ./config/mips/mips.md > tmp-attr.h
Segmentation fault (core dumped)

Now what??

Mark McCance
mwm@cray.com



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