|
From: Daniel B. <dan...@gm...> - 2004-07-30 13:48:45
|
I have been experiencing problems building valgrind 2.1.2 with RedHat Linux
7.3 IA32 - valgrind 2.0.0 works fine.
The system is a stock install with updated kernel (2.4.20-28.7) and
kernel-source, with glibc-2.2.5-34 and glibc-kernheaders-2.4-7.14. The
/usr/include/linux/timex.h header file is including the arch-specific msr.h
file.
Has anyone got valgrind 2.1.2 building on RedHat 7.3 so far?
Please CC me on any replies or requests for more information,
Many thanks,
Daniel
--- [partial logs]
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I./demangle -I../include -I../include
-I./x86 -DVG_LIBDIR="\"/usr/local/lib/valgrind"\" -Winline -Wall -Wshadow
-O -fno-omit-frame-pointer -mpreferred-stack-boundary=2 -g -DELFSZ=32 -MT
vg_syscalls.o -MD -MP -MF ".deps/vg_syscalls.Tpo" -c -o vg_syscalls.o
vg_syscalls.c; \
then mv -f ".deps/vg_syscalls.Tpo" ".deps/vg_syscalls.Po"; else rm -f
".deps/vg_syscalls.Tpo"; exit 1; fi
In file included from /usr/include/linux/timex.h:152,
from vg_unsafe.h:65,
from vg_syscalls.c:35:
/usr/include/asm/timex.h:10:21: asm/msr.h: No such file or directory
make[4]: *** [vg_syscalls.o] Error 1
make[4]: Leaving directory `/root/valgrind-2.1.2/coregrind'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/root/valgrind-2.1.2/coregrind'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/root/valgrind-2.1.2/coregrind'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/valgrind-2.1.2'
make: *** [all] Error 2
--- [full logs]
$ ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking whether ln -s works... yes
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking for ranlib... ranlib
checking for perl... /usr/bin/perl
checking for gdb... /usr/bin/gdb
checking for a supported version of gcc... ok (2.96)
checking build system type... i686-pc-linux
checking host system type... i686-pc-linux
checking for a supported CPU... ok (i686)
checking for a supported OS... ok (linux)
checking for the kernel version... 2.4 family (2.4.20-28.lustre.4.23qsnet)
checking for egrep... grep -E
checking the glibc version... 2.2 family
checking whether sched_param has a sched_priority member... yes
checking whether nfds_t is defined... yes
checking for X... no
checking if gas accepts .cfi... no
checking if gcc accepts -mpreferred-stack-boundary... yes
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking sys/statfs.h usability... yes
checking sys/statfs.h presence... yes
checking for sys/statfs.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking sys/endian.h usability... no
checking sys/endian.h presence... no
checking for sys/endian.h... no
checking endian.h usability... yes
checking endian.h presence... yes
checking for endian.h... yes
checking termios.h usability... yes
checking termios.h presence... yes
checking for termios.h... yes
checking for unistd.h... (cached) yes
checking utime.h usability... yes
checking utime.h presence... yes
checking for utime.h... yes
checking linux/fb.h usability... yes
checking linux/fb.h presence... yes
checking for linux/fb.h... yes
checking linux/mii.h usability... no
checking linux/mii.h presence... yes
configure: WARNING: linux/mii.h: present but cannot be compiled
configure: WARNING: linux/mii.h: check for missing prerequisite headers?
configure: WARNING: linux/mii.h: see the Autoconf documentation
configure: WARNING: linux/mii.h: section "Present But Cannot Be
Compiled"
configure: WARNING: linux/mii.h: proceeding with the preprocessor's result
configure: WARNING: linux/mii.h: in the future, the compiler will take
precedence
configure: WARNING: ## ------------------------------------------ ##
configure: WARNING: ## Report this to the AC_PACKAGE_NAME lists. ##
configure: WARNING: ## ------------------------------------------ ##
checking for linux/mii.h... yes
checking for uid_t in sys/types.h... yes
checking for off_t... yes
checking for size_t... yes
checking whether time.h and sys/time.h may both be included... yes
checking for __pthread_unwind_buf_t... no
checking for u16... no
checking for working memcmp... yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for getpagesize... yes
checking for working mmap... yes
checking return type of signal handlers... void
checking for floor... no
checking for memchr... yes
checking for memset... yes
checking for mkdir... yes
checking for strchr... yes
checking for strdup... yes
checking for strpbrk... yes
checking for strrchr... yes
checking for strstr... yes
checking for semtimedop... no
configure: creating ./config.status
config.status: creating Makefile
config.status: creating valgrind.spec
config.status: creating valgrind.pc
config.status: creating docs/Makefile
config.status: creating tests/Makefile
config.status: creating tests/vg_regtest
config.status: creating tests/unused/Makefile
config.status: creating include/Makefile
config.status: creating auxprogs/Makefile
config.status: creating coregrind/Makefile
config.status: creating coregrind/demangle/Makefile
config.status: creating coregrind/docs/Makefile
config.status: creating coregrind/x86/Makefile
config.status: creating addrcheck/Makefile
config.status: creating addrcheck/tests/Makefile
config.status: creating addrcheck/docs/Makefile
config.status: creating memcheck/Makefile
config.status: creating memcheck/tests/Makefile
config.status: creating memcheck/docs/Makefile
config.status: creating cachegrind/Makefile
config.status: creating cachegrind/tests/Makefile
config.status: creating cachegrind/docs/Makefile
config.status: creating cachegrind/cg_annotate
config.status: creating helgrind/Makefile
config.status: creating helgrind/tests/Makefile
config.status: creating helgrind/docs/Makefile
config.status: creating massif/Makefile
config.status: creating massif/hp2ps/Makefile
config.status: creating massif/tests/Makefile
config.status: creating massif/docs/Makefile
config.status: creating corecheck/Makefile
config.status: creating corecheck/tests/Makefile
config.status: creating corecheck/docs/Makefile
config.status: creating lackey/Makefile
config.status: creating lackey/tests/Makefile
config.status: creating lackey/docs/Makefile
config.status: creating none/Makefile
config.status: creating none/tests/Makefile
config.status: creating none/docs/Makefile
config.status: creating config.h
config.status: executing depfiles commands
Using the following suppressions by default:
glibc-2.2.supp
$ make
make all-recursive
make[1]: Entering directory `/root/valgrind-2.1.2'
Making all in include
make[2]: Entering directory `/root/valgrind-2.1.2/include'
make all-am
make[3]: Entering directory `/root/valgrind-2.1.2/include'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/root/valgrind-2.1.2/include'
make[2]: Leaving directory `/root/valgrind-2.1.2/include'
Making all in coregrind
make[2]: Entering directory `/root/valgrind-2.1.2/coregrind'
rm -f vg_toolint.c
/usr/bin/perl ./gen_toolint.pl callwrap < ./toolfuncs.def >
vg_toolint.c || rm -f vg_toolint.c
/usr/bin/perl ./gen_toolint.pl missingfuncs < ./toolfuncs.def >>
vg_toolint.c || rm -f vg_toolint.c
/usr/bin/perl ./gen_toolint.pl initfunc < ./toolfuncs.def >>
vg_toolint.c || rm -f vg_toolint.c
/usr/bin/perl ./gen_toolint.pl initdlsym < ./toolfuncs.def >>
vg_toolint.c || rm -f vg_toolint.c
/usr/bin/perl ./gen_toolint.pl structdef < ./toolfuncs.def >>
vg_toolint.c || rm -f vg_toolint.c
rm -f vg_toolint.h
/usr/bin/perl ./gen_toolint.pl proto < ./toolfuncs.def > vg_toolint.h ||
rm -f vg_toolint.h
/usr/bin/perl ./gen_toolint.pl struct < ./toolfuncs.def >> vg_toolint.h ||
rm -f vg_toolint.h
make all-recursive
make[3]: Entering directory `/root/valgrind-2.1.2/coregrind'
Making all in x86
make[4]: Entering directory `/root/valgrind-2.1.2/coregrind/x86'
gcc -Wl,--verbose -nostdlib 2>&1 | sed \
-e '1,/^=====\+$/d' \
-e '/^=====\+$/d' \
-e 's/ENTRY(_start)/ENTRY(_ume_entry)/' \
-e 's/0x08048000/kickstart_base/g' > stage2.lds || rm -f stage2.lds
make all-am
make[5]: Entering directory `/root/valgrind-2.1.2/coregrind/x86'
make[5]: Nothing to be done for `all-am'.
make[5]: Leaving directory `/root/valgrind-2.1.2/coregrind/x86'
make[4]: Leaving directory `/root/valgrind-2.1.2/coregrind/x86'
Making all in demangle
make[4]: Entering directory `/root/valgrind-2.1.2/coregrind/demangle'
if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../coregrind -I../../coregrind
-I../../include -I../../include -Winline -Wall -Wshadow -O
-fomit-frame-pointer -g -Wno-unused -Wno-shadow -MT cp-demangle.o -MD -MP
-MF ".deps/cp-demangle.Tpo" -c -o cp-demangle.o cp-demangle.c; \
then mv -f ".deps/cp-demangle.Tpo" ".deps/cp-demangle.Po"; else rm -f
".deps/cp-demangle.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../coregrind -I../../coregrind
-I../../include -I../../include -Winline -Wall -Wshadow -O
-fomit-frame-pointer -g -Wno-unused -MT cplus-dem.o -MD -MP -MF
".deps/cplus-dem.Tpo" -c -o cplus-dem.o cplus-dem.c; \
then mv -f ".deps/cplus-dem.Tpo" ".deps/cplus-dem.Po"; else rm -f
".deps/cplus-dem.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../coregrind -I../../coregrind
-I../../include -I../../include -Winline -Wall -Wshadow -O
-fomit-frame-pointer -g -MT dyn-string.o -MD -MP -MF ".deps/dyn-string.Tpo"
-c -o dyn-string.o dyn-string.c; \
then mv -f ".deps/dyn-string.Tpo" ".deps/dyn-string.Po"; else rm -f
".deps/dyn-string.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../coregrind -I../../coregrind
-I../../include -I../../include -Winline -Wall -Wshadow -O
-fomit-frame-pointer -g -MT safe-ctype.o -MD -MP -MF ".deps/safe-ctype.Tpo"
-c -o safe-ctype.o safe-ctype.c; \
then mv -f ".deps/safe-ctype.Tpo" ".deps/safe-ctype.Po"; else rm -f
".deps/safe-ctype.Tpo"; exit 1; fi
rm -f libdemangle.a
ar cru libdemangle.a cp-demangle.o cplus-dem.o dyn-string.o safe-ctype.o
ranlib libdemangle.a
make[4]: Leaving directory `/root/valgrind-2.1.2/coregrind/demangle'
Making all in .
make[4]: Entering directory `/root/valgrind-2.1.2/coregrind'
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I./demangle -I../include -I../include
-I./x86 -DVG_LIBDIR="\"/usr/local/lib/valgrind"\" -Winline -Wall -Wshadow
-O -fno-omit-frame-pointer -mpreferred-stack-boundary=2 -g -DELFSZ=32 -MT
stage1.o -MD -MP -MF ".deps/stage1.Tpo" -c -o stage1.o stage1.c; \
then mv -f ".deps/stage1.Tpo" ".deps/stage1.Po"; else rm -f
".deps/stage1.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I./demangle -I../include -I../include
-I./x86 -DVG_LIBDIR="\"/usr/local/lib/valgrind"\" -Winline -Wall -Wshadow
-O -fno-omit-frame-pointer -mpreferred-stack-boundary=2 -g -DELFSZ=32 -MT
ume.o -MD -MP -MF ".deps/ume.Tpo" -c -o ume.o ume.c; \
then mv -f ".deps/ume.Tpo" ".deps/ume.Po"; else rm -f ".deps/ume.Tpo"; exit
1; fi
gcc -I./demangle -I../include -I../include -I./x86 -I.. -c -o ume_entry.o
`test -f 'x86/ume_entry.S' || echo './'`x86/ume_entry.S
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I./demangle -I../include -I../include
-I./x86 -DVG_LIBDIR="\"/usr/local/lib/valgrind"\" -Winline -Wall -Wshadow
-O -fno-omit-frame-pointer -mpreferred-stack-boundary=2 -g -DELFSZ=32 -MT
ume_go.o -MD -MP -MF ".deps/ume_go.Tpo" -c -o ume_go.o `test -f
'x86/ume_go.c' || echo './'`x86/ume_go.c; \
then mv -f ".deps/ume_go.Tpo" ".deps/ume_go.Po"; else rm -f
".deps/ume_go.Tpo"; exit 1; fi
gcc -Winline -Wall -Wshadow -O -fno-omit-frame-pointer
-mpreferred-stack-boundary=2 -g -DELFSZ=32 -o valgrind -static -g
-Wl,-e,_ume_entry stage1.o ume.o ume_entry.o ume_go.o
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I./demangle -I../include -I../include
-I./x86 -DVG_LIBDIR="\"/usr/local/lib/valgrind"\" -Winline -Wall -Wshadow
-O -fno-omit-frame-pointer -mpreferred-stack-boundary=2 -g -DELFSZ=32 -MT
vg_scheduler.o -MD -MP -MF ".deps/vg_scheduler.Tpo" -c -o vg_scheduler.o
vg_scheduler.c; \
then mv -f ".deps/vg_scheduler.Tpo" ".deps/vg_scheduler.Po"; else rm -f
".deps/vg_scheduler.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I./demangle -I../include -I../include
-I./x86 -DVG_LIBDIR="\"/usr/local/lib/valgrind"\" -Winline -Wall -Wshadow
-O -fno-omit-frame-pointer -mpreferred-stack-boundary=2 -g -DELFSZ=32 -MT
vg_default.o -MD -MP -MF ".deps/vg_default.Tpo" -c -o vg_default.o
vg_default.c; \
then mv -f ".deps/vg_default.Tpo" ".deps/vg_default.Po"; else rm -f
".deps/vg_default.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I./demangle -I../include -I../include
-I./x86 -DVG_LIBDIR="\"/usr/local/lib/valgrind"\" -Winline -Wall -Wshadow
-O -fno-omit-frame-pointer -mpreferred-stack-boundary=2 -g -DELFSZ=32 -MT
vg_demangle.o -MD -MP -MF ".deps/vg_demangle.Tpo" -c -o vg_demangle.o
vg_demangle.c; \
then mv -f ".deps/vg_demangle.Tpo" ".deps/vg_demangle.Po"; else rm -f
".deps/vg_demangle.Tpo"; exit 1; fi
gcc -I./demangle -I../include -I../include -I./x86 -I.. -c vg_dispatch.S
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I./demangle -I../include -I../include
-I./x86 -DVG_LIBDIR="\"/usr/local/lib/valgrind"\" -Winline -Wall -Wshadow
-O -fno-omit-frame-pointer -mpreferred-stack-boundary=2 -g -DELFSZ=32 -MT
vg_errcontext.o -MD -MP -MF ".deps/vg_errcontext.Tpo" -c -o vg_errcontext.o
vg_errcontext.c; \
then mv -f ".deps/vg_errcontext.Tpo" ".deps/vg_errcontext.Po"; else rm -f
".deps/vg_errcontext.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I./demangle -I../include -I../include
-I./x86 -DVG_LIBDIR="\"/usr/local/lib/valgrind"\" -Winline -Wall -Wshadow
-O -fno-omit-frame-pointer -mpreferred-stack-boundary=2 -g -DELFSZ=32 -MT
vg_execontext.o -MD -MP -MF ".deps/vg_execontext.Tpo" -c -o vg_execontext.o
vg_execontext.c; \
then mv -f ".deps/vg_execontext.Tpo" ".deps/vg_execontext.Po"; else rm -f
".deps/vg_execontext.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I./demangle -I../include -I../include
-I./x86 -DVG_LIBDIR="\"/usr/local/lib/valgrind"\" -Winline -Wall -Wshadow
-O -fno-omit-frame-pointer -mpreferred-stack-boundary=2 -g -DELFSZ=32 -MT
vg_from_ucode.o -MD -MP -MF ".deps/vg_from_ucode.Tpo" -c -o vg_from_ucode.o
vg_from_ucode.c; \
then mv -f ".deps/vg_from_ucode.Tpo" ".deps/vg_from_ucode.Po"; else rm -f
".deps/vg_from_ucode.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I./demangle -I../include -I../include
-I./x86 -DVG_LIBDIR="\"/usr/local/lib/valgrind"\" -Winline -Wall -Wshadow
-O -fno-omit-frame-pointer -mpreferred-stack-boundary=2 -g -DELFSZ=32 -MT
vg_hashtable.o -MD -MP -MF ".deps/vg_hashtable.Tpo" -c -o vg_hashtable.o
vg_hashtable.c; \
then mv -f ".deps/vg_hashtable.Tpo" ".deps/vg_hashtable.Po"; else rm -f
".deps/vg_hashtable.Tpo"; exit 1; fi
gcc -I./demangle -I../include -I../include -I./x86 -I.. -c vg_helpers.S
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I./demangle -I../include -I../include
-I./x86 -DVG_LIBDIR="\"/usr/local/lib/valgrind"\" -Winline -Wall -Wshadow
-O -fno-omit-frame-pointer -mpreferred-stack-boundary=2 -g -DELFSZ=32 -MT
vg_instrument.o -MD -MP -MF ".deps/vg_instrument.Tpo" -c -o vg_instrument.o
vg_instrument.c; \
then mv -f ".deps/vg_instrument.Tpo" ".deps/vg_instrument.Po"; else rm -f
".deps/vg_instrument.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I./demangle -I../include -I../include
-I./x86 -DVG_LIBDIR="\"/usr/local/lib/valgrind"\" -Winline -Wall -Wshadow
-O -fno-omit-frame-pointer -mpreferred-stack-boundary=2 -g -DELFSZ=32 -MT
vg_main.o -MD -MP -MF ".deps/vg_main.Tpo" -c -o vg_main.o vg_main.c; \
then mv -f ".deps/vg_main.Tpo" ".deps/vg_main.Po"; else rm -f
".deps/vg_main.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I./demangle -I../include -I../include
-I./x86 -DVG_LIBDIR="\"/usr/local/lib/valgrind"\" -Winline -Wall -Wshadow
-O -fno-omit-frame-pointer -mpreferred-stack-boundary=2 -g -DELFSZ=32 -MT
vg_malloc2.o -MD -MP -MF ".deps/vg_malloc2.Tpo" -c -o vg_malloc2.o
vg_malloc2.c; \
then mv -f ".deps/vg_malloc2.Tpo" ".deps/vg_malloc2.Po"; else rm -f
".deps/vg_malloc2.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I./demangle -I../include -I../include
-I./x86 -DVG_LIBDIR="\"/usr/local/lib/valgrind"\" -Winline -Wall -Wshadow
-O -fno-omit-frame-pointer -mpreferred-stack-boundary=2 -g -DELFSZ=32 -MT
vg_memory.o -MD -MP -MF ".deps/vg_memory.Tpo" -c -o vg_memory.o vg_memory.c;
\
then mv -f ".deps/vg_memory.Tpo" ".deps/vg_memory.Po"; else rm -f
".deps/vg_memory.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I./demangle -I../include -I../include
-I./x86 -DVG_LIBDIR="\"/usr/local/lib/valgrind"\" -Winline -Wall -Wshadow
-O -fno-omit-frame-pointer -mpreferred-stack-boundary=2 -g -DELFSZ=32 -MT
vg_messages.o -MD -MP -MF ".deps/vg_messages.Tpo" -c -o vg_messages.o
vg_messages.c; \
then mv -f ".deps/vg_messages.Tpo" ".deps/vg_messages.Po"; else rm -f
".deps/vg_messages.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I./demangle -I../include -I../include
-I./x86 -DVG_LIBDIR="\"/usr/local/lib/valgrind"\" -Winline -Wall -Wshadow
-O -fno-omit-frame-pointer -mpreferred-stack-boundary=2 -g -DELFSZ=32 -MT
vg_mylibc.o -MD -MP -MF ".deps/vg_mylibc.Tpo" -c -o vg_mylibc.o vg_mylibc.c;
\
then mv -f ".deps/vg_mylibc.Tpo" ".deps/vg_mylibc.Po"; else rm -f
".deps/vg_mylibc.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I./demangle -I../include -I../include
-I./x86 -DVG_LIBDIR="\"/usr/local/lib/valgrind"\" -Winline -Wall -Wshadow
-O -fno-omit-frame-pointer -mpreferred-stack-boundary=2 -g -DELFSZ=32 -MT
vg_needs.o -MD -MP -MF ".deps/vg_needs.Tpo" -c -o vg_needs.o vg_needs.c; \
then mv -f ".deps/vg_needs.Tpo" ".deps/vg_needs.Po"; else rm -f
".deps/vg_needs.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I./demangle -I../include -I../include
-I./x86 -DVG_LIBDIR="\"/usr/local/lib/valgrind"\" -Winline -Wall -Wshadow
-O -fno-omit-frame-pointer -mpreferred-stack-boundary=2 -g -DELFSZ=32 -MT
vg_procselfmaps.o -MD -MP -MF ".deps/vg_procselfmaps.Tpo" -c -o
vg_procselfmaps.o vg_procselfmaps.c; \
then mv -f ".deps/vg_procselfmaps.Tpo" ".deps/vg_procselfmaps.Po"; else rm
-f ".deps/vg_procselfmaps.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I./demangle -I../include -I../include
-I./x86 -DVG_LIBDIR="\"/usr/local/lib/valgrind"\" -Winline -Wall -Wshadow
-O -fno-omit-frame-pointer -mpreferred-stack-boundary=2 -g -DELFSZ=32 -MT
vg_proxylwp.o -MD -MP -MF ".deps/vg_proxylwp.Tpo" -c -o vg_proxylwp.o
vg_proxylwp.c; \
then mv -f ".deps/vg_proxylwp.Tpo" ".deps/vg_proxylwp.Po"; else rm -f
".deps/vg_proxylwp.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I./demangle -I../include -I../include
-I./x86 -DVG_LIBDIR="\"/usr/local/lib/valgrind"\" -Winline -Wall -Wshadow
-O -fno-omit-frame-pointer -mpreferred-stack-boundary=2 -g -DELFSZ=32 -MT
vg_dummy_profile.o -MD -MP -MF ".deps/vg_dummy_profile.Tpo" -c -o
vg_dummy_profile.o vg_dummy_profile.c; \
then mv -f ".deps/vg_dummy_profile.Tpo" ".deps/vg_dummy_profile.Po"; else rm
-f ".deps/vg_dummy_profile.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I./demangle -I../include -I../include
-I./x86 -DVG_LIBDIR="\"/usr/local/lib/valgrind"\" -Winline -Wall -Wshadow
-O -fno-omit-frame-pointer -mpreferred-stack-boundary=2 -g -DELFSZ=32 -MT
vg_signals.o -MD -MP -MF ".deps/vg_signals.Tpo" -c -o vg_signals.o
vg_signals.c; \
then mv -f ".deps/vg_signals.Tpo" ".deps/vg_signals.Po"; else rm -f
".deps/vg_signals.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I./demangle -I../include -I../include
-I./x86 -DVG_LIBDIR="\"/usr/local/lib/valgrind"\" -Winline -Wall -Wshadow
-O -fno-omit-frame-pointer -mpreferred-stack-boundary=2 -g -DELFSZ=32 -MT
vg_symtab2.o -MD -MP -MF ".deps/vg_symtab2.Tpo" -c -o vg_symtab2.o
vg_symtab2.c; \
then mv -f ".deps/vg_symtab2.Tpo" ".deps/vg_symtab2.Po"; else rm -f
".deps/vg_symtab2.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I./demangle -I../include -I../include
-I./x86 -DVG_LIBDIR="\"/usr/local/lib/valgrind"\" -Winline -Wall -Wshadow
-O -fno-omit-frame-pointer -mpreferred-stack-boundary=2 -g -DELFSZ=32 -MT
vg_dwarf.o -MD -MP -MF ".deps/vg_dwarf.Tpo" -c -o vg_dwarf.o vg_dwarf.c; \
then mv -f ".deps/vg_dwarf.Tpo" ".deps/vg_dwarf.Po"; else rm -f
".deps/vg_dwarf.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I./demangle -I../include -I../include
-I./x86 -DVG_LIBDIR="\"/usr/local/lib/valgrind"\" -Winline -Wall -Wshadow
-O -fno-omit-frame-pointer -mpreferred-stack-boundary=2 -g -DELFSZ=32 -MT
vg_stabs.o -MD -MP -MF ".deps/vg_stabs.Tpo" -c -o vg_stabs.o vg_stabs.c; \
then mv -f ".deps/vg_stabs.Tpo" ".deps/vg_stabs.Po"; else rm -f
".deps/vg_stabs.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I./demangle -I../include -I../include
-I./x86 -DVG_LIBDIR="\"/usr/local/lib/valgrind"\" -Winline -Wall -Wshadow
-O -fno-omit-frame-pointer -mpreferred-stack-boundary=2 -g -DELFSZ=32 -MT
vg_skiplist.o -MD -MP -MF ".deps/vg_skiplist.Tpo" -c -o vg_skiplist.o
vg_skiplist.c; \
then mv -f ".deps/vg_skiplist.Tpo" ".deps/vg_skiplist.Po"; else rm -f
".deps/vg_skiplist.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I./demangle -I../include -I../include
-I./x86 -DVG_LIBDIR="\"/usr/local/lib/valgrind"\" -Winline -Wall -Wshadow
-O -fno-omit-frame-pointer -mpreferred-stack-boundary=2 -g -DELFSZ=32 -MT
vg_symtypes.o -MD -MP -MF ".deps/vg_symtypes.Tpo" -c -o vg_symtypes.o
vg_symtypes.c; \
then mv -f ".deps/vg_symtypes.Tpo" ".deps/vg_symtypes.Po"; else rm -f
".deps/vg_symtypes.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I./demangle -I../include -I../include
-I./x86 -DVG_LIBDIR="\"/usr/local/lib/valgrind"\" -Winline -Wall -Wshadow
-O -fno-omit-frame-pointer -mpreferred-stack-boundary=2 -g -DELFSZ=32 -MT
vg_syscalls.o -MD -MP -MF ".deps/vg_syscalls.Tpo" -c -o vg_syscalls.o
vg_syscalls.c; \
then mv -f ".deps/vg_syscalls.Tpo" ".deps/vg_syscalls.Po"; else rm -f
".deps/vg_syscalls.Tpo"; exit 1; fi
In file included from /usr/include/linux/timex.h:152,
from vg_unsafe.h:65,
from vg_syscalls.c:35:
/usr/include/asm/timex.h:10:21: asm/msr.h: No such file or directory
make[4]: *** [vg_syscalls.o] Error 1
make[4]: Leaving directory `/root/valgrind-2.1.2/coregrind'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/root/valgrind-2.1.2/coregrind'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/root/valgrind-2.1.2/coregrind'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/valgrind-2.1.2'
make: *** [all] Error 2
--
Daniel J Blueman
NEU: WLAN-Router für 0,- EUR* - auch für DSL-Wechsler!
GMX DSL = supergünstig & kabellos http://www.gmx.net/de/go/dsl
|
|
From: Nicholas N. <nj...@ca...> - 2004-08-09 14:13:47
|
On Fri, 30 Jul 2004, Daniel Blueman wrote: > I have been experiencing problems building valgrind 2.1.2 with RedHat Linux > 7.3 IA32 - valgrind 2.0.0 works fine. > > The system is a stock install with updated kernel (2.4.20-28.7) and > kernel-source, with glibc-2.2.5-34 and glibc-kernheaders-2.4-7.14. The > /usr/include/linux/timex.h header file is including the arch-specific msr.h > file. > --- [partial logs] > > if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I./demangle -I../include -I../include > -I./x86 -DVG_LIBDIR="\"/usr/local/lib/valgrind"\" -Winline -Wall -Wshadow > -O -fno-omit-frame-pointer -mpreferred-stack-boundary=2 -g -DELFSZ=32 -MT > vg_syscalls.o -MD -MP -MF ".deps/vg_syscalls.Tpo" -c -o vg_syscalls.o > vg_syscalls.c; \ > then mv -f ".deps/vg_syscalls.Tpo" ".deps/vg_syscalls.Po"; else rm -f > ".deps/vg_syscalls.Tpo"; exit 1; fi > In file included from /usr/include/linux/timex.h:152, > from vg_unsafe.h:65, > from vg_syscalls.c:35: > /usr/include/asm/timex.h:10:21: asm/msr.h: No such file or directory > make[4]: *** [vg_syscalls.o] Error 1 > make[4]: Leaving directory `/root/valgrind-2.1.2/coregrind' > make[3]: *** [all-recursive] Error 1 > make[3]: Leaving directory `/root/valgrind-2.1.2/coregrind' > make[2]: *** [all] Error 2 > make[2]: Leaving directory `/root/valgrind-2.1.2/coregrind' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory `/root/valgrind-2.1.2' > make: *** [all] Error 2 Looks like a kernel header bug, it might be fixed in a more recent kernel. This one looks familiar, but I can't really remember; you might be able to find details by searching the bugs database (see valgrind.kde.org/bugs.html). N |