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

20030925: configure core dumps on IRIX 6.5



Michael,

> To: address@hidden
> From: "Michael Page" <address@hidden>
> Subject: configure core dumps
> Organization: UCAR

The above message contained the following:

> chinook% uname -a
> IRIX64 chinook 6.5 04101930 IP35
> 
> chinook% cat VERSION
> 1.12.0
> 
> chinook% cat configure.log
> creating cache ./config.cache
> checking type of operating system... irix64
> checking for manual-page index command... 
> /usr/lib/makewhatis -M $(MANDIR) $(MANDIR)/whatis
> checking for C compiler... /bin/cc
> checking for dependency generation mechanism... /bin/cc -M
> checking how to run the C preprocessor... /bin/cc -E
> checking the C preprocessor... works
> checking for C const... yes
> checking for C volatile... yes
> checking for C signed... yes
> checking for C function prototypes... yes
> checking for standard C variadic functions... yes
> checking for standard C string generation... yes
> checking for standard C token pasting... yes
> checking C void pointer... yes
> checking for ar... ar
> checking for tar flags... -cLof
> checking for ranlib... :
> checking binary distribution directory... 
> /home/ftp/pub/binary/dummy_system
> checking the installation prefix... 
> /ptmp/mpage/udunits-1.12.0
> checking the installation exec-prefix... 
> /ptmp/mpage/udunits-1.12.0
> checking for neqn... cat
> configure: warning: ./configure: Can't find program 
> `neqn'; setting to `cat'
> checking for tbl... cat
> configure: warning: ./configure: Can't find program `tbl'; 
> setting to `cat'
> checking for ar... (cached) ar
> checking for yacc library...
> checking for yyerror() in default library(s)... no
> checking for yyerror() in -ly... yes
> checking for C math library...
> checking for (void)sin(0.0) in default library(s)... no
> checking for (void)sin(0.0) in -lm... yes
> checking style for cfortran.h... Standard
> checking for Fortran integer type equivalent to C 
> pointer... integer*8
> checking for stddef.h... yes
> checking C header file <stddef.h> for typedef size_t... 
> declared
> checking for stddef.h... (cached) yes
> checking C header file <stddef.h> for typedef ptrdiff_t... 
> declared
> checking for float.h... yes
> checking for stdlib.h... yes
> checking C header file <stdlib.h> for typedef size_t... 
> declared
> checking for atexit... yes
> checking for stdlib.h... (cached) yes
> checking C header file <stdlib.h> for function atexit()... 
> declared
> checking for getenv... yes
> checking for stdlib.h... (cached) yes
> checking C header file <stdlib.h> for function getenv()... 
> declared
> checking for string.h... yes
> checking C header file <string.h> for typedef size_t... 
> declared
> checking for strerror... yes
> checking for string.h... (cached) yes
> checking C header file <string.h> for function 
> strerror()... declared
> checking for string.h... (cached) yes
> checking C header file <string.h> for function strchr()... 
> declared
> checking for string.h... (cached) yes
> checking C header file <string.h> for function strcpy()... 
> declared
> checking for string.h... (cached) yes
> checking C header file <string.h> for function 
> strrchr()... declared
> checking for string.h... (cached) yes
> checking C header file <string.h> for function 
> strncpy()... declared
> checking for string.h... (cached) yes
> checking C header file <string.h> for function strtok()... 
> declared
> checking for strstr... yes
> checking for string.h... (cached) yes
> checking C header file <string.h> for function strstr()... 
> declared
> checking for memmove... yes
> checking for string.h... (cached) yes
> checking C header file <string.h> for function 
> memmove()... declared
> checking for time.h... yes
> checking C header file <time.h> for typedef time_t... 
> declared
> checking for time.h... (cached) yes
> checking C header file <time.h> for typedef size_t... 
> declared
> checking for difftime... yes
> checking for time.h... (cached) chinook%
> 
> chinook% ./configure --prefix=/ptmp/mpage/udunits-1.12.0 
> >&! configure.log
> Segmentation fault (core dumped)

Interesting.  I've never seen this behavior before.  Thanks for 
reporting it.

It looks like the SIGSEGV occurred in the "checking for time.h..." test.
I'd like to know what happens when that test is manually executed.
Would you please

    1.  Go to the top-level source directory.

    2.  Copy the following script into the file "time-test":

#! /bin/sh
ac_ext=c
ac_cpp='/bin/cc -E'
echo "configure:4019: checking for time.h"
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c"
else
  cat > conftest.$ac_ext <<EOF
#line 4024 "configure"
#include <time.h>
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
{ (eval echo configure:4029: \"$ac_try\"); (eval $ac_try); }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
  rm -rf conftest*
  eval "ac_cv_header_$ac_safe=yes"
else
  echo "$ac_err"
  echo "configure: failed program was:"
  cat conftest.$ac_ext
  rm -rf conftest*
  eval "ac_cv_header_$ac_safe=no"
fi
rm -f conftest*
fi
if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
  echo "$ac_t""yes"
  found=yes
else
  echo "$ac_t""no"
found=no
fi

    3.  Set the execute-bit on the file.

    4.  Execute the file.  Redirect BOTH standard output and standard
        error SIMULTANEOUSLY to the file "time-test.log".

    5.  Send me the file "time-test.log".

> chinook% echo $CC
> /bin/cc
> chinook% echo $PERL
> /usr/local/perl
> chinook% echo $SGI_ABI
> -64
> chinook%
...

> This file contains any messages produced by compilers while
> running configure, to aid debugging if configure makes a mistake.
> 
...
> configure:4233: checking for time.h

Regards,
Steve Emmerson


NOTE: All email exchanges with Unidata User Support are recorded in the Unidata inquiry tracking system and then made publicly available through the web. If you do not want to have your interactions made available in this way, you must let us know in each email you send to us.