3.1.52 fails to build in hppa/linux

Rafael Laboissiere rafael at debian.org
Tue Feb 24 18:05:53 CST 2009


* Rafael Laboissiere <rafael at debian.org> [2009-02-23 16:54]:

> * Jaroslav Hajek <highegg at gmail.com> [2009-02-23 08:40]:
> 
> > The attached relatively small patch enables building without
> > OCTAVE_INT_USE_LONG_DOUBLE for me, but still keeps the emulation code
> > in oct-inttypes.cc.
> 
> Thanks.
> 
> > Marco, Rafael, can you try it out?
> 
> I cannot try it directly but I can release a new version of the Debian
> octave3.1 package and see how the autobuilders behave.  I will do it,
> eventually.

Good news: the Debian hppa autobuilder compiled successfully version
3.1.52-5 of the ocave3.1 package [1].  Just for the record, this
architecture has:

checking for long double... yes
checking size of long double... 8

which means that OCTAVE_INT_USE_LONG_DOUBLE is undefined.  Compilation of
oct-inttypes.cc just issues some warnings:

g++ -c  -fPIC -I. -I.. -I../liboctave -I../src -I../libcruft/misc -DHAVE_CONFIG_H -I/usr/include/freetype2 -Wall -W -Wshadow -Wold-style-cast -O2 -g oct-inttypes.cc -o pic/oct-inttypes.o
oct-inttypes.cc: In function 'octave_int<T> pow(const octave_int<T>&, const octave_int<T>&) [with T = unsigned char]':
oct-inttypes.cc:613:   instantiated from here
oct-inttypes.cc:541: warning: comparison is always false due to limited range of data type
oct-inttypes.cc: In function 'octave_int<T> pow(const octave_int<T>&, const octave_int<T>&) [with T = short unsigned int]':
oct-inttypes.cc:614:   instantiated from here
oct-inttypes.cc:541: warning: comparison is always false due to limited range of data type
oct-inttypes.cc: In function 'octave_int<T> pow(const octave_int<T>&, const octave_int<T>&) [with T = unsigned int]':
oct-inttypes.cc:615:   instantiated from here
oct-inttypes.cc:541: warning: comparison between signed and unsigned integer expressions
oct-inttypes.cc: In function 'octave_int<T> pow(const octave_int<T>&, const octave_int<T>&) [with T = long long unsigned int]':
oct-inttypes.cc:616:   instantiated from here
oct-inttypes.cc:541: warning: comparison between signed and unsigned integer expressions


[1] http://experimental.debian.net/fetch.php?&pkg=octave3.1&ver=3.1.52-5&arch=hppa&stamp=1235485957&file=log&as=raw

Cheers,

-- 
Rafael


More information about the Octave-maintainers mailing list