Solaris 10: 'gmake check' dumps core
Ole Tange
octave at tange.dk
Fri Aug 8 08:45:05 CDT 2008
On 8/4/08, Ole Tange <octave at tange.dk> wrote:
> Bug report for Octave 3.0.1 configured for i386-pc-solaris2.10
>
> Description:
> -----------
>
> I have made a fresh install of Solaris 10 to determine the
> requirements for compiling Octave 3.0.1, so the requirements can be
> detected reliably by configure and a failing compilation can be
> avoided.
>
> When I tried 'gmake check' it would not even start octave.
>
> run-octave dumps core.
>
[...]
> Fix:
> ---
I now have a fix:
Install following packages (you may get away with fewer, but this works for me):
software localrev
binutils 2.17
common 1.4.6,REV=2008.04.28
expat 1.95.7
fontconfig 2.3.2,REV=2005.11.04
freetype2 2.1.10,REV=2005.12.11
gcc3core 3.4.5
gcc3corert 3.4.5
gcc3g++ 3.4.5
gcc3g++rt 3.4.5
gcc3g77 3.4.5
gcc3g77rt 3.4.5
gd 2.0.33
gdb 6.6,REV=2007.05.13
ggettext 0.14.1,REV=2005.06.29
gmake 3.81
gnuplot 4.0.23,REV=2008.04.07
gsed 4.1.4
isaexec 0.1
jpeg 6b,REV=2007.10.28
libiconv 1.9.2
ncurses 5.5,REV=2006.02.10
openssl_rt 0.9.8,REV=2007.12.26_rev=g
pkg_get 3.8.4
png 1.2.29,REV=2008.05.08
readline 5.0,REV=2005.06.07
texinfo 4.8,REV=2006.01.10
top 3.6,REV=2007.01.01
wget 1.11,REV=2008.02.08
xpm 3.4k,REV=2002.12.31
zlib 1.2.3,REV=2007.05.12
Get ftp://ftp.octave.org/pub/octave/octave-3.0.1.tar.bz2
Unpack it.
Apply octave-3.0.1ange.patch (attached also available at
http://ange.dk/~tange/octave-3.0.1ange.patch).
cd octave-3.0.1;
patch -p1 < octave-3.0.1ange.patch
(may require newer version of patch that Solaris has)
PATH=/opt/csw/gcc3/bin/:/opt/csw/bin/:/usr/bin:/bin
export PATH
./configure && gmake
gmake check
This should give 17 failed tests related to regexp, convhulln,
__delaunayn__, regexp(i) and HDF5-support.
Thanks to John W. Eaton for helping solve this.
/Ole
> Configuration (please do not edit this section):
> -----------------------------------------------
>
> uname output: SunOS solvm 5.10 Generic_118855-14 i86pc i386 i86pc
> configure opts: 'CC=gcc' 'CFLAGS=-I/opt/csw/include'
> 'CPPFLAGS=-I/opt/csw/include' 'CXX=g++' 'F77=g77'
> Fortran compiler: g77
> FFLAGS: -O -mieee-fp
> F2C: @F2C@
> F2CFLAGS: @F2CFLAGS@
> FLIBS: -R/opt/csw/lib -L/opt/csw/lib -L/usr/ccs/lib
> -L/usr/lib -L/opt/csw/gcc3/lib/gcc/i386-pc-solaris2.8/3.4.5
> -L/usr/ccs/bin -L/opt/csw/gcc3/lib/gcc/i386-pc-solaris2.8/3.4.5/../../..
> -lz -lfrtbegin -lg2c -lm
> CPPFLAGS: -I/opt/csw/include
> INCFLAGS: -I. -I. -I./liboctave -I./src -I./libcruft/misc
> C compiler: gcc, version 3.4.5
> CFLAGS: -I/opt/csw/include
> CPICFLAG: -fPIC
> C++ compiler: g++, version 3.4.5
> CXXFLAGS: -g -O2
> CXXPICFLAG: -fPIC
> LD_CXX: g++
> LDFLAGS:
> LIBFLAGS: -L.
> RLD_FLAG: -R /usr/local/lib/octave-3.0.1
> BLAS_LIBS:
> FFTW_LIBS:
> LIBS: -lreadline -lncurses -ldl -lz -lm
> LEXLIB: -ll
> LIBGLOB:
> SED: /opt/csw/bin/gsed
> DEFS:
>
> -DPACKAGE_NAME="" -DPACKAGE_TARNAME="" -DPACKAGE_VERSION=""
> -DPACKAGE_STRING="" -DPACKAGE_BUGREPORT="" -DOCTAVE_SOURCE=1
> -D_GNU_SOURCE=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1
> -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1
> -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1
> -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSEPCHAR=':' -DSEPCHAR_STR=":"
> -D__NO_MATH_INLINES=1 -DCXX_NEW_FRIEND_TEMPLATE_DECL=1
> -DCXX_ISO_COMPLIANT_LIBRARY=1 -DCXX_BROKEN_REINTERPRET_CAST=1
> -DCXX_ABI=gnu_v3 -DHAVE_LIBM=1 -DHAVE_REGEXEC=1 -DHAVE_REGEX=1
> -DHAVE_REGEXEC=1 -DHAVE_ZLIB_H=1 -DHAVE_ZLIB=1
> -DHAVE_IEEE754_DATA_FORMAT=1 -DF77_FUNC(name,NAME)=name ## _
> -DF77_FUNC_(name,NAME)=name ## __ -DHAVE_GETHOSTNAME=1
> -DHAVE_GETPWNAM=1 -DHAVE_DEV_T=1 -DHAVE_INO_T=1 -DHAVE_NLINK_T=1
> -DHAVE_NLINK_T=1 -DHAVE_LONG_LONG_INT=1 -DHAVE_UNSIGNED_LONG_LONG_INT=1
> -DHAVE_SIGSET_T=1 -DHAVE_SIG_ATOMIC_T=1 -DSIZEOF_SHORT=2 -DSIZEOF_INT=4
> -DSIZEOF_LONG=4 -DSIZEOF_LONG_LONG=8 -DHAVE_ALLOCA_H=1 -DHAVE_ALLOCA=1
> -DNPOS=std::string::npos -DHAVE_PLACEMENT_DE
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: octave-3.0.1ange.patch
Type: text/x-diff
Size: 3664 bytes
Desc: not available
Url : https://www.cae.wisc.edu/pipermail/bug-octave/attachments/20080808/e5403ab5/attachment.bin
More information about the Bug-octave
mailing list