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

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



Hi,

I am currently in "new maintainer phase", and my package was sponsored by Christian Marillat, and uploaded to the autobuilder. (I am also the author of the original package)

I have two build problems ; one on s390, mips & mipsel architectures, and one on hppa architecture.
(see http://buildd.debian.org/build.php?arch=&pkg=httrack)

The first problem is a weird assembler message, on s390 & mipsel, it seems that gcc is producing invalid assembly instructions (range error):

...
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 -c htscore.c -Wp,-MD,.deps/htscore.TPlo  -fPIC -DPIC -o .libs/htscore.lo
/tmp/cc1jAxPo.s: Assembler messages:
/tmp/cc1jAxPo.s:13670: Error: operand out of range (00000000000012be not between 0 and 4095)
/tmp/cc1jAxPo.s:21074: Error: operand out of range (0000000000002a3c not between 0 and 4095)
...
make[4]: *** [htscore.lo] Error 1

According to various previous discussions here, it seems that using -O0 is fixing the problem (compiler bug), so I'll have to patch the configure.in - is there any cleaner way?


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.

What is the best way to handle this problem? I don't have access to the hppa machine yet (as not-yet-debian-developper), and I did not see any bugreport for this specific problem on gcc.gnu.org.



Reply to: