[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Build problems on s390 & hppa (compiler/assembler bugs?)

> > The second problem is an internal compiler error on hppa:
> > ...
> > gcc -DHAVE_CONFIG_H -I. -I. -I.. -DINET6 -DPREFIX=\"/usr\" -DSYSCONFDIR=\"/etc\" -DDATADIR=\"/usr/share\" -DLIBDIR=\"/usr/lib\" -O -g3 -Wall -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wnested-externs -D_REENTRANT -MT htscore.lo -MD -MP -MF .deps/htscore.Tpo -c htscore.c  -fPIC -DPIC -o .libs/htscore.lo
> > htscore.c: In function `httpmirror':
> > htscore.c:2720: Internal compiler error in output_cbranch, at config/pa/pa.c:5159
> > Please submit a full bug report,
> > with preprocessed source if appropriate.
> > See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
> > make[4]: *** [htscore.lo] Error 1
> > 
> > The line 2720 is the end of a quite long function, which is the main html/javascript/css parser code (difficult to split into parts), but I don't really see what's the problem.

I believe that you have hit a compilation limit in the pa backend.  You
have an unconditional branch that can't reach its target.  The only work
around at the moment is to compile without optimization.  See the comments
in pa/pa.md for the "jump" insn.  We need a scratch register to load the
address into but it's too late to get one.

J. David Anglin                                  dave.anglin@nrc.ca
National Research Council of Canada              (613) 990-0752 (FAX: 952-6605)

Reply to: