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

mpqc build failure



Hello porters,

I don't know if you've already seen it, but my mpqc-package failed to
build on s/390. The build-log is at 
http://buildd.debian.org/build.php?&pkg=mpqc&ver=2.0.0-2&arch=s390

In short, we get this error message when compiling lebedev.c:
gcc -DHAVE_CONFIG_H -D_REENTRANT -I../../../../../src/lib
-I/build/buildd/mpqc-2.0.0/include -I/build/buildd/mpqc-2.0.0/src/lib -O
-c  -fPIC -DPIC
/build/buildd/mpqc-2.0.0/src/lib/chemistry/qc/dft/lebedev.c -o
lebedev.lo
/tmp/ccG8jdaw.s: Assembler messages:
/tmp/ccG8jdaw.s:948: Error: operand out of range (68742 not between
-65536 and 65534)
/tmp/ccG8jdaw.s:4957: Error: operand out of range (77286 not between
-65536 and 65534)
/tmp/ccG8jdaw.s:6579: Error: operand out of range (73476 not between
-65536 and 65534)
/tmp/ccG8jdaw.s:7286: Error: operand out of range (71396 not between
-65536 and 65534)
/tmp/ccG8jdaw.s:9121: Error: operand out of range (66952 not between
-65536 and 65534)
make[6]: *** [lebedev.lo] Error 1

It has to be said that this source file does not look like C at all...,
it's more like a dozen pages of floating point numbers. mips(el) and
mk68k choke on that one, too, altought with different errors.  

Somewhat naively, I thought that perhaps just changing all ints to longs
in that file might work!? I can't test that, as no s390 machines seem to
be available for the common DDs.

You can find lebedev.c (and lebedev_new.c, with the longs) at
http://people.debian.org/~mbanck/
if you care to take a look.

Any other hints are mostly appreciated, too, of course.

thanks,

Michael



Reply to: