|
From: <sd...@cl...> - 2003-04-28 12:32:05
|
Greetings --
With great anticipation I downloaded and built valgrind-1.9.5 last
night. I did a vanilla "./configure ; make ; make install". When I
tried "valgrind ls -l", I got "Segmentation fault (core dumped)".
Rats! When I run valgrind alone, I also get a segfault.
Does anybody have any suggestion about possible misconfigurations on my
system? I am running RH7.1 with the Ximian desktop. The kernal is
2.4.2-2. gcc version 2.96 20000731. glibc version 2.2.1.
My config.log file is below.
Thanks for any and all help!
Stuart
================ config.log ===========================
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by configure, which was
generated by GNU Autoconf 2.53. Invocation command line was
$ ./configure
## --------- ##
## Platform. ##
## --------- ##
hostname = Pirate
uname -m = i686
uname -r = 2.4.2-2
uname -s = Linux
uname -v = #1 Sun Apr 8 20:41:30 EDT 2001
/usr/bin/uname -p = unknown
/bin/uname -X = unknown
/bin/arch = i686
/usr/bin/arch -k = unknown
/usr/convex/getsysinfo = unknown
hostinfo = unknown
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown
PATH: /usr/local/geda/bin
PATH: /usr/local/geda/bin
PATH: /sbin
PATH: /usr/sbin
PATH: /bin
PATH: /usr/bin
PATH: /usr/bin/X11
PATH: /usr/local/bin
PATH: /usr/bin
PATH: /home/sdb/omnet/omnetpp-2.2/bin
PATH: /usr/local/Acrobat5/bin
PATH: /home/axiowave/Ixia/Ixia_3.65/ixia/bin
PATH: /usr/X11R6/bin
PATH: /usr/local/mozilla
PATH: /usr/local/Acrobat5/bin
PATH: /home/sdb/omnet/omnetpp-2.2/bin
PATH: /usr/local/Acrobat5/bin
PATH: /home/axiowave/Ixia/Ixia_3.65/ixia/bin
## ----------- ##
## Core tests. ##
## ----------- ##
configure:1259: checking for a BSD-compatible install
configure:1313: result: /usr/bin/install -c
configure:1324: checking whether build environment is sane
configure:1367: result: yes
configure:1400: checking for gawk
configure:1416: found /bin/gawk
configure:1426: result: gawk
configure:1436: checking whether make sets ${MAKE}
configure:1456: result: yes
configure:1602: checking whether to enable maintainer-specific portions of Makefiles
configure:1611: result: no
configure:1630: checking whether ln -s works
configure:1634: result: yes
configure:1687: checking for gcc
configure:1703: found /usr/bin/gcc
configure:1713: result: gcc
configure:1957: checking for C compiler version
configure:1960: gcc --version </dev/null >&5
2.96
configure:1963: $? = 0
configure:1965: gcc -v </dev/null >&5
Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/2.96/specs
gcc version 2.96 20000731 (Red Hat Linux 7.1 2.96-81)
configure:1968: $? = 0
configure:1970: gcc -V </dev/null >&5
gcc: argument to `-V' is missing
configure:1973: $? = 1
configure:1999: checking for C compiler default output
configure:2002: gcc conftest.c >&5
configure:2005: $? = 0
configure:2038: result: a.out
configure:2043: checking whether the C compiler works
configure:2049: ./a.out
configure:2052: $? = 0
configure:2067: result: yes
configure:2074: checking whether we are cross compiling
configure:2076: result: no
configure:2079: checking for suffix of executables
configure:2081: gcc -o conftest conftest.c >&5
configure:2084: $? = 0
configure:2106: result:
configure:2112: checking for suffix of object files
configure:2136: gcc -c conftest.c >&5
configure:2139: $? = 0
configure:2158: result: o
configure:2162: checking whether we are using the GNU C compiler
configure:2189: gcc -c conftest.c >&5
configure:2192: $? = 0
configure:2195: test -s conftest.o
configure:2198: $? = 0
configure:2210: result: yes
configure:2216: checking whether gcc accepts -g
configure:2240: gcc -c -g conftest.c >&5
configure:2243: $? = 0
configure:2246: test -s conftest.o
configure:2249: $? = 0
configure:2259: result: yes
configure:2286: gcc -c conftest.c >&5
conftest.c:2: parse error before `me'
configure:2289: $? = 1
configure: failed program was:
#ifndef __cplusplus
choke me
#endif
configure:2418: checking for style of include used by make
configure:2446: result: GNU
configure:2474: checking dependency style of gcc
configure:2536: result: gcc3
configure:2546: checking how to run the C preprocessor
configure:2572: gcc -E conftest.c
configure:2578: $? = 0
configure:2605: gcc -E conftest.c
configure:2601:28: ac_nonexistent.h: No such file or directory
configure:2611: $? = 1
configure: failed program was:
#line 2600 "configure"
#include "confdefs.h"
#include <ac_nonexistent.h>
configure:2648: result: gcc -E
configure:2663: gcc -E conftest.c
configure:2669: $? = 0
configure:2696: gcc -E conftest.c
configure:2692:28: ac_nonexistent.h: No such file or directory
configure:2702: $? = 1
configure: failed program was:
#line 2691 "configure"
#include "confdefs.h"
#include <ac_nonexistent.h>
configure:2793: checking for g++
configure:2809: found /usr/bin/g++
configure:2819: result: g++
configure:2835: checking for C++ compiler version
configure:2838: g++ --version </dev/null >&5
2.96
configure:2841: $? = 0
configure:2843: g++ -v </dev/null >&5
Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/2.96/specs
gcc version 2.96 20000731 (Red Hat Linux 7.1 2.96-81)
configure:2846: $? = 0
configure:2848: g++ -V </dev/null >&5
g++: argument to `-V' missing
configure:2851: $? = 1
configure:2854: checking whether we are using the GNU C++ compiler
configure:2881: g++ -c conftest.cc >&5
configure:2884: $? = 0
configure:2887: test -s conftest.o
configure:2890: $? = 0
configure:2902: result: yes
configure:2908: checking whether g++ accepts -g
configure:2932: g++ -c -g conftest.cc >&5
configure:2935: $? = 0
configure:2938: test -s conftest.o
configure:2941: $? = 0
configure:2951: result: yes
configure:2997: g++ -c -g -O2 conftest.cc >&5
configure:3000: $? = 0
configure:3003: test -s conftest.o
configure:3006: $? = 0
configure:3034: g++ -c -g -O2 conftest.cc >&5
configure: In function `int main ()':
configure:3026: `exit' undeclared (first use this function)
configure:3026: (Each undeclared identifier is reported only once for
each function it appears in.)
configure:3037: $? = 1
configure: failed program was:
#line 3015 "configure"
#include "confdefs.h"
#ifdef F77_DUMMY_MAIN
# ifdef __cplusplus
extern "C"
# endif
int F77_DUMMY_MAIN() { return 1; }
#endif
int
main ()
{
exit (42);
;
return 0;
}
configure:2997: g++ -c -g -O2 conftest.cc >&5
configure:3000: $? = 0
configure:3003: test -s conftest.o
configure:3006: $? = 0
configure:3034: g++ -c -g -O2 conftest.cc >&5
configure:3037: $? = 0
configure:3040: test -s conftest.o
configure:3043: $? = 0
configure:3067: checking dependency style of g++
configure:3129: result: gcc3
configure:3175: checking for ranlib
configure:3191: found /usr/bin/ranlib
configure:3202: result: ranlib
configure:3225: checking for perl
configure:3243: found /usr/bin/perl
configure:3255: result: /usr/bin/perl
configure:3279: checking for a supported version of gcc
configure:3294: result: ok (2.96)
configure:3307: checking build system type
configure:3325: result: i686-intel-linux
configure:3335: checking host system type
configure:3349: result: i686-intel-linux
configure:3360: checking for a supported CPU
configure:3365: result: ok (i686)
configure:3378: checking for a supported OS
configure:3383: result: ok (linux)
configure:3398: checking for the kernel version
configure:3415: result: 2.4 family (2.4.2-2)
configure:3447: checking the glibc version
configure:3524: result: 2.2 family
configure:3559: checking whether sched_param has a sched_priority member
configure:3585: gcc -c conftest.c >&5
configure:3588: $? = 0
configure:3591: test -s conftest.o
configure:3594: $? = 0
configure:3606: result: yes
configure:3616: checking whether nfds_t is defined
configure:3642: gcc -c conftest.c >&5
configure:3645: $? = 0
configure:3648: test -s conftest.o
configure:3651: $? = 0
configure:3663: result: yes
configure:3680: checking for X
configure:3896: result: libraries /usr/X11R6/lib, headers /usr/X11R6/include
configure:3903: checking XFree version
configure:3941: result: XFree 4.x family
configure:3982: checking if this is an NPTL-based system
configure:4019: result: no
configure:4030: checking if gcc accepts -mpreferred-stack-boundary
configure:4058: gcc -c -mpreferred-stack-boundary=2 conftest.c >&5
configure:4061: $? = 0
configure:4064: test -s conftest.o
configure:4067: $? = 0
configure:4071: result: -mpreferred-stack-boundary=2
configure:4090: checking for ANSI C header files
configure:4104: gcc -E conftest.c
configure:4110: $? = 0
configure:4195: gcc -o conftest -mpreferred-stack-boundary=2 conftest.c >&5
configure:4198: $? = 0
configure:4200: ./conftest
configure:4203: $? = 0
configure:4217: result: yes
configure:4241: checking for sys/types.h
configure:4254: gcc -c -mpreferred-stack-boundary=2 conftest.c >&5
configure:4257: $? = 0
configure:4260: test -s conftest.o
configure:4263: $? = 0
configure:4273: result: yes
configure:4241: checking for sys/stat.h
configure:4254: gcc -c -mpreferred-stack-boundary=2 conftest.c >&5
configure:4257: $? = 0
configure:4260: test -s conftest.o
configure:4263: $? = 0
configure:4273: result: yes
configure:4241: checking for stdlib.h
configure:4254: gcc -c -mpreferred-stack-boundary=2 conftest.c >&5
configure:4257: $? = 0
configure:4260: test -s conftest.o
configure:4263: $? = 0
configure:4273: result: yes
configure:4241: checking for string.h
configure:4254: gcc -c -mpreferred-stack-boundary=2 conftest.c >&5
configure:4257: $? = 0
configure:4260: test -s conftest.o
configure:4263: $? = 0
configure:4273: result: yes
configure:4241: checking for memory.h
configure:4254: gcc -c -mpreferred-stack-boundary=2 conftest.c >&5
configure:4257: $? = 0
configure:4260: test -s conftest.o
configure:4263: $? = 0
configure:4273: result: yes
configure:4241: checking for strings.h
configure:4254: gcc -c -mpreferred-stack-boundary=2 conftest.c >&5
configure:4257: $? = 0
configure:4260: test -s conftest.o
configure:4263: $? = 0
configure:4273: result: yes
configure:4241: checking for inttypes.h
configure:4254: gcc -c -mpreferred-stack-boundary=2 conftest.c >&5
configure:4257: $? = 0
configure:4260: test -s conftest.o
configure:4263: $? = 0
configure:4273: result: yes
configure:4241: checking for stdint.h
configure:4254: gcc -c -mpreferred-stack-boundary=2 conftest.c >&5
configure:4257: $? = 0
configure:4260: test -s conftest.o
configure:4263: $? = 0
configure:4273: result: yes
configure:4241: checking for unistd.h
configure:4254: gcc -c -mpreferred-stack-boundary=2 conftest.c >&5
configure:4257: $? = 0
configure:4260: test -s conftest.o
configure:4263: $? = 0
configure:4273: result: yes
configure:4308: checking fcntl.h usability
configure:4317: gcc -c -mpreferred-stack-boundary=2 conftest.c >&5
configure:4320: $? = 0
configure:4323: test -s conftest.o
configure:4326: $? = 0
configure:4335: result: yes
configure:4339: checking fcntl.h presence
configure:4346: gcc -E conftest.c
configure:4352: $? = 0
configure:4370: result: yes
configure:4388: checking for fcntl.h
configure:4395: result: yes
configure:4308: checking malloc.h usability
configure:4317: gcc -c -mpreferred-stack-boundary=2 conftest.c >&5
configure:4320: $? = 0
configure:4323: test -s conftest.o
configure:4326: $? = 0
configure:4335: result: yes
configure:4339: checking malloc.h presence
configure:4346: gcc -E conftest.c
configure:4352: $? = 0
configure:4370: result: yes
configure:4388: checking for malloc.h
configure:4395: result: yes
configure:4299: checking for stdlib.h
configure:4304: result: yes
configure:4299: checking for string.h
configure:4304: result: yes
configure:4308: checking sys/socket.h usability
configure:4317: gcc -c -mpreferred-stack-boundary=2 conftest.c >&5
configure:4320: $? = 0
configure:4323: test -s conftest.o
configure:4326: $? = 0
configure:4335: result: yes
configure:4339: checking sys/socket.h presence
configure:4346: gcc -E conftest.c
configure:4352: $? = 0
configure:4370: result: yes
configure:4388: checking for sys/socket.h
configure:4395: result: yes
configure:4308: checking sys/statfs.h usability
configure:4317: gcc -c -mpreferred-stack-boundary=2 conftest.c >&5
configure:4320: $? = 0
configure:4323: test -s conftest.o
configure:4326: $? = 0
configure:4335: result: yes
configure:4339: checking sys/statfs.h presence
configure:4346: gcc -E conftest.c
configure:4352: $? = 0
configure:4370: result: yes
configure:4388: checking for sys/statfs.h
configure:4395: result: yes
configure:4308: checking sys/time.h usability
configure:4317: gcc -c -mpreferred-stack-boundary=2 conftest.c >&5
configure:4320: $? = 0
configure:4323: test -s conftest.o
configure:4326: $? = 0
configure:4335: result: yes
configure:4339: checking sys/time.h presence
configure:4346: gcc -E conftest.c
configure:4352: $? = 0
configure:4370: result: yes
configure:4388: checking for sys/time.h
configure:4395: result: yes
configure:4308: checking termios.h usability
configure:4317: gcc -c -mpreferred-stack-boundary=2 conftest.c >&5
configure:4320: $? = 0
configure:4323: test -s conftest.o
configure:4326: $? = 0
configure:4335: result: yes
configure:4339: checking termios.h presence
configure:4346: gcc -E conftest.c
configure:4352: $? = 0
configure:4370: result: yes
configure:4388: checking for termios.h
configure:4395: result: yes
configure:4299: checking for unistd.h
configure:4304: result: yes
configure:4308: checking utime.h usability
configure:4317: gcc -c -mpreferred-stack-boundary=2 conftest.c >&5
configure:4320: $? = 0
configure:4323: test -s conftest.o
configure:4326: $? = 0
configure:4335: result: yes
configure:4339: checking utime.h presence
configure:4346: gcc -E conftest.c
configure:4352: $? = 0
configure:4370: result: yes
configure:4388: checking for utime.h
configure:4395: result: yes
configure:4410: checking for uid_t in sys/types.h
configure:4430: result: yes
configure:4445: checking for off_t
configure:4472: gcc -c -mpreferred-stack-boundary=2 conftest.c >&5
configure:4475: $? = 0
configure:4478: test -s conftest.o
configure:4481: $? = 0
configure:4491: result: yes
configure:4503: checking for size_t
configure:4530: gcc -c -mpreferred-stack-boundary=2 conftest.c >&5
configure:4533: $? = 0
configure:4536: test -s conftest.o
configure:4539: $? = 0
configure:4549: result: yes
configure:4561: checking whether time.h and sys/time.h may both be included
configure:4589: gcc -c -mpreferred-stack-boundary=2 conftest.c >&5
configure:4592: $? = 0
configure:4595: test -s conftest.o
configure:4598: $? = 0
configure:4608: result: yes
configure:4620: checking for working memcmp
configure:4671: gcc -o conftest -mpreferred-stack-boundary=2 conftest.c >&5
configure:4674: $? = 0
configure:4676: ./conftest
configure:4679: $? = 0
configure:4692: result: yes
configure:4702: checking for stdlib.h
configure:4707: result: yes
configure:4702: checking for unistd.h
configure:4707: result: yes
configure:4815: checking for getpagesize
configure:4858: gcc -o conftest -mpreferred-stack-boundary=2 conftest.c >&5
configure:4861: $? = 0
configure:4864: test -s conftest
configure:4867: $? = 0
configure:4877: result: yes
configure:4887: checking for working mmap
configure:5026: gcc -o conftest -mpreferred-stack-boundary=2 conftest.c >&5
configure:5029: $? = 0
configure:5031: ./conftest
configure:5034: $? = 0
configure:5047: result: yes
configure:5058: checking return type of signal handlers
configure:5092: gcc -c -mpreferred-stack-boundary=2 conftest.c >&5
configure:5095: $? = 0
configure:5098: test -s conftest.o
configure:5101: $? = 0
configure:5111: result: void
configure:5132: checking for floor
configure:5175: gcc -o conftest -mpreferred-stack-boundary=2 conftest.c >&5
/tmp/ccYY43bc.o: In function `main':
/tmp/ccYY43bc.o(.text+0x9): undefined reference to `floor'
collect2: ld returned 1 exit status
configure:5178: $? = 1
configure: failed program was:
#line 5137 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char floor (); below. */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error. */
#ifdef __cplusplus
extern "C"
#endif
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char floor ();
char (*f) ();
#ifdef F77_DUMMY_MAIN
# ifdef __cplusplus
extern "C"
# endif
int F77_DUMMY_MAIN() { return 1; }
#endif
int
main ()
{
/* The GNU C library defines this for functions which it implements
to always fail with ENOSYS. Some functions are actually named
something starting with __ and the normal name is an alias. */
#if defined (__stub_floor) || defined (__stub___floor)
choke me
#else
f = floor;
#endif
;
return 0;
}
configure:5194: result: no
configure:5132: checking for memchr
configure:5175: gcc -o conftest -mpreferred-stack-boundary=2 conftest.c >&5
configure:5178: $? = 0
configure:5181: test -s conftest
configure:5184: $? = 0
configure:5194: result: yes
configure:5132: checking for memset
configure:5175: gcc -o conftest -mpreferred-stack-boundary=2 conftest.c >&5
configure:5147: warning: conflicting types for built-in function `memset'
configure:5178: $? = 0
configure:5181: test -s conftest
configure:5184: $? = 0
configure:5194: result: yes
configure:5132: checking for mkdir
configure:5175: gcc -o conftest -mpreferred-stack-boundary=2 conftest.c >&5
configure:5178: $? = 0
configure:5181: test -s conftest
configure:5184: $? = 0
configure:5194: result: yes
configure:5132: checking for strchr
configure:5175: gcc -o conftest -mpreferred-stack-boundary=2 conftest.c >&5
configure:5178: $? = 0
configure:5181: test -s conftest
configure:5184: $? = 0
configure:5194: result: yes
configure:5132: checking for strdup
configure:5175: gcc -o conftest -mpreferred-stack-boundary=2 conftest.c >&5
configure:5178: $? = 0
configure:5181: test -s conftest
configure:5184: $? = 0
configure:5194: result: yes
configure:5132: checking for strpbrk
configure:5175: gcc -o conftest -mpreferred-stack-boundary=2 conftest.c >&5
configure:5178: $? = 0
configure:5181: test -s conftest
configure:5184: $? = 0
configure:5194: result: yes
configure:5132: checking for strrchr
configure:5175: gcc -o conftest -mpreferred-stack-boundary=2 conftest.c >&5
configure:5178: $? = 0
configure:5181: test -s conftest
configure:5184: $? = 0
configure:5194: result: yes
configure:5132: checking for strstr
configure:5175: gcc -o conftest -mpreferred-stack-boundary=2 conftest.c >&5
configure:5178: $? = 0
configure:5181: test -s conftest
configure:5184: $? = 0
configure:5194: result: yes
configure:5300: creating ./config.status
## ---------------------- ##
## Running config.status. ##
## ---------------------- ##
This file was extended by config.status, which was
generated by GNU Autoconf 2.53. Invocation command line was
CONFIG_FILES =
CONFIG_HEADERS =
CONFIG_LINKS =
CONFIG_COMMANDS =
$ ./config.status
on Pirate
config.status:657: creating Makefile
config.status:657: creating valgrind.spec
config.status:657: creating docs/Makefile
config.status:657: creating tests/Makefile
config.status:657: creating tests/vg_regtest
config.status:657: creating tests/unused/Makefile
config.status:657: creating include/Makefile
config.status:657: creating auxprogs/Makefile
config.status:657: creating coregrind/Makefile
config.status:657: creating coregrind/demangle/Makefile
config.status:657: creating coregrind/docs/Makefile
config.status:657: creating coregrind/valgrind
config.status:657: creating addrcheck/Makefile
config.status:657: creating addrcheck/tests/Makefile
config.status:657: creating addrcheck/docs/Makefile
config.status:657: creating memcheck/Makefile
config.status:657: creating memcheck/tests/Makefile
config.status:657: creating memcheck/docs/Makefile
config.status:657: creating cachegrind/Makefile
config.status:657: creating cachegrind/tests/Makefile
config.status:657: creating cachegrind/docs/Makefile
config.status:657: creating cachegrind/cg_annotate
config.status:657: creating corecheck/Makefile
config.status:657: creating corecheck/tests/Makefile
config.status:657: creating corecheck/docs/Makefile
config.status:657: creating helgrind/Makefile
config.status:657: creating helgrind/tests/Makefile
config.status:657: creating helgrind/docs/Makefile
config.status:657: creating lackey/Makefile
config.status:657: creating lackey/tests/Makefile
config.status:657: creating lackey/docs/Makefile
config.status:657: creating none/Makefile
config.status:657: creating none/tests/Makefile
config.status:657: creating none/docs/Makefile
config.status:761: creating config.h
config.status:1043: executing depfiles commands
## ---------------- ##
## Cache variables. ##
## ---------------- ##
ac_cv_build=i686-intel-linux
ac_cv_build_alias=i686-intel-linux
ac_cv_c_compiler_gnu=yes
ac_cv_cxx_compiler_gnu=yes
ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=
ac_cv_env_CFLAGS_value=
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_CXXFLAGS_set=
ac_cv_env_CXXFLAGS_value=
ac_cv_env_CXX_set=
ac_cv_env_CXX_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_host_alias_set=
ac_cv_env_host_alias_value=
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_exeext=
ac_cv_func_floor=no
ac_cv_func_getpagesize=yes
ac_cv_func_memchr=yes
ac_cv_func_memcmp_working=yes
ac_cv_func_memset=yes
ac_cv_func_mkdir=yes
ac_cv_func_mmap_fixed_mapped=yes
ac_cv_func_strchr=yes
ac_cv_func_strdup=yes
ac_cv_func_strpbrk=yes
ac_cv_func_strrchr=yes
ac_cv_func_strstr=yes
ac_cv_have_x='have_x=yes ac_x_includes=/usr/X11R6/include ac_x_libraries=/usr/X11R6/lib'
ac_cv_header_fcntl_h=yes
ac_cv_header_inttypes_h=yes
ac_cv_header_malloc_h=yes
ac_cv_header_memory_h=yes
ac_cv_header_stdc=yes
ac_cv_header_stdint_h=yes
ac_cv_header_stdlib_h=yes
ac_cv_header_string_h=yes
ac_cv_header_strings_h=yes
ac_cv_header_sys_socket_h=yes
ac_cv_header_sys_stat_h=yes
ac_cv_header_sys_statfs_h=yes
ac_cv_header_sys_time_h=yes
ac_cv_header_sys_types_h=yes
ac_cv_header_termios_h=yes
ac_cv_header_time=yes
ac_cv_header_unistd_h=yes
ac_cv_header_utime_h=yes
ac_cv_host=i686-intel-linux
ac_cv_host_alias=i686-intel-linux
ac_cv_objext=o
ac_cv_path_PERL=/usr/bin/perl
ac_cv_path_install='/usr/bin/install -c'
ac_cv_prog_AWK=gawk
ac_cv_prog_CPP='gcc -E'
ac_cv_prog_ac_ct_CC=gcc
ac_cv_prog_ac_ct_CXX=g++
ac_cv_prog_ac_ct_RANLIB=ranlib
ac_cv_prog_cc_g=yes
ac_cv_prog_cxx_g=yes
ac_cv_prog_make_make_set=yes
ac_cv_type_off_t=yes
ac_cv_type_signal=void
ac_cv_type_size_t=yes
ac_cv_type_uid_t=yes
am_cv_CC_dependencies_compiler_type=gcc3
am_cv_CXX_dependencies_compiler_type=gcc3
## ----------- ##
## confdefs.h. ##
## ----------- ##
#define PACKAGE_NAME ""
#define PACKAGE_TARNAME ""
#define PACKAGE_VERSION ""
#define PACKAGE_STRING ""
#define PACKAGE_BUGREPORT ""
#define PACKAGE "valgrind"
#define VERSION "1.9.5"
#ifdef __cplusplus
#include <stdlib.h>
#endif
#define KERNEL_2_4 1
#define GLIBC_2_2 1
#define HAVE_SCHED_PRIORITY 1
#define HAVE_NFDS_T 1
#define XFREE_4 1
#define STDC_HEADERS 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STRING_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_FCNTL_H 1
#define HAVE_MALLOC_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STRING_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_UNISTD_H 1
#define HAVE_UTIME_H 1
#define TIME_WITH_SYS_TIME 1
#define HAVE_STDLIB_H 1
#define HAVE_UNISTD_H 1
#define HAVE_GETPAGESIZE 1
#define HAVE_MMAP 1
#define RETSIGTYPE void
#define HAVE_MEMCHR 1
#define HAVE_MEMSET 1
#define HAVE_MKDIR 1
#define HAVE_STRCHR 1
#define HAVE_STRDUP 1
#define HAVE_STRPBRK 1
#define HAVE_STRRCHR 1
#define HAVE_STRSTR 1
configure: exit 0
|
|
From: Nicholas N. <nj...@ca...> - 2003-04-28 12:51:25
|
On Mon, 28 Apr 2003, Stuart Brorson wrote: > With great anticipation I downloaded and built valgrind-1.9.5 last > night. I did a vanilla "./configure ; make ; make install". When I > tried "valgrind ls -l", I got "Segmentation fault (core dumped)". > Rats! When I run valgrind alone, I also get a segfault. You mean even if you just type "valgrind"? Weird... something must going wrong in Valgrind's startup shell script. Can you try fiddling with $PREFIX/bin/valgrind, inserting some debug "echo" statements to work out where exactly the seg fault is happening? N |
|
From: <sd...@cl...> - 2003-04-29 00:09:57
|
Hi -- > On Mon, 28 Apr 2003, Stuart Brorson wrote: > > > With great anticipation I downloaded and built valgrind-1.9.5 last > > night. I did a vanilla "./configure ; make ; make install". When I > > tried "valgrind ls -l", I got "Segmentation fault (core dumped)". > > Rats! When I run valgrind alone, I also get a segfault. > > You mean even if you just type "valgrind"? Weird... something must going > wrong in Valgrind's startup shell script. > > Can you try fiddling with $PREFIX/bin/valgrind, inserting some debug > "echo" statements to work out where exactly the seg fault is happening? > > N OK, I fixed my problem. I examined /usr/local/bin/valgrind. It turned out that at one place in that script I had: #LD_DEBUG=files #LD_DEBUG=symbols #export LD_DEBUG This is how "make ; make install" created the script. When I uncommented "LD_DEBUG=symbols", and "export LD_DEBUG" valgrind started working. Yay!!!! Now my only question is: why did the default install procedure create a script with this option commented out? Or did I just not RTFM? Stuart |
|
From: <sd...@cl...> - 2003-04-29 00:28:17
|
Rats! I was too optimistic about fixing the problem. . . . . > > On Mon, 28 Apr 2003, Stuart Brorson wrote: > > > > > With great anticipation I downloaded and built valgrind-1.9.5 last > > > night. I did a vanilla "./configure ; make ; make install". When I > > > tried "valgrind ls -l", I got "Segmentation fault (core dumped)". > > > Rats! When I run valgrind alone, I also get a segfault. > > > > You mean even if you just type "valgrind"? Weird... something must going > > wrong in Valgrind's startup shell script. Yes, even if I just type "valgrind". > > Can you try fiddling with $PREFIX/bin/valgrind, inserting some debug > > "echo" statements to work out where exactly the seg fault is happening? > > > > N > > OK, I fixed my problem. I examined /usr/local/bin/valgrind. It > turned out that at one place in that script I had: > > #LD_DEBUG=files > #LD_DEBUG=symbols > #export LD_DEBUG > > This is how "make ; make install" created the script. When I > uncommented "LD_DEBUG=symbols", and "export LD_DEBUG" valgrind started > working. Yay!!!! Actually, the only thing this did was allow valgrind to spew a whole bunch of cruft before segfaulting. Here are the last few lines before segfaulting: 22740: symbol=_dl_map_object_deps; lookup in file=/lib/i686/libc.so.6 22740: symbol=_dl_map_object_deps; lookup in file=/lib/ld-linux.so.2 22740: 22740: calling init: /usr/local/lib/valgrind/valgrind.so 22740: 22740: symbol=__register_frame_info; lookup in file=true 22740: symbol=__register_frame_info; lookup in file=/usr/local/lib/valgrind/vgskin_memcheck.so 22740: symbol=__register_frame_info; lookup in file=/usr/local/lib/valgrind/valgrind.so 22740: symbol=__register_frame_info; lookup in file=/lib/i686/libc.so.6 By the way, I did put in a bunch of "echo" statements into the valgrind script. The place where it segfaults is when it actually execs the invoked program at the end of the script. It doesn't puke for any of the environmental set-up statements. Does anybody have any ideas about what is wrong? Stuart |
|
From: Nicholas N. <nj...@ca...> - 2003-04-29 08:26:22
|
On Mon, 28 Apr 2003, Stuart Brorson wrote: > > This is how "make ; make install" created the script. When I > > uncommented "LD_DEBUG=symbols", and "export LD_DEBUG" valgrind started > > working. Yay!!!! > > Actually, the only thing this did was allow valgrind to spew a whole > bunch of cruft before segfaulting. Here are the last few lines before > segfaulting: That just tells the dynamic linker to spew out some debugging info. > By the way, I did put in a bunch of "echo" statements into the > valgrind script. The place where it segfaults is when it actually > execs the invoked program at the end of the script. It doesn't puke > for any of the environmental set-up statements. Hmm, can you use GDB to find where the seg fault is happening, if it's happening within Valgrind (presumably) and what line number? N |