|
From: pkr <pan...@ya...> - 2004-08-05 09:55:31
|
Hi,
I was able to compile 2.1.2 successfully.
However I now get different problem (attached below)
Any idea what could be causing this ?
TIA,
Pankaj
Linux(debug)# /usr/local/bin/valgrind -v --logfile=/var/dpvm_mem
/isan/bin/dpvm
Executable is mapped outside of range 0x80cd000-0x7ffff000
failed to load /usr/local/lib/valgrind/stage2: Cannot allocate memory
Linux(debug)# strace -o /var/vg.strace /usr/local/bin/valgrind -v
--logfile=/var/dpvm_mem /isan/bin/dpvm
Executable is mapped outside of range 0x80cd000-0x7ffff000
failed to load /usr/local/lib/valgrind/stage2: Cannot allocate memory
Linux(debug)# cat /var/vg.strace
execve("/usr/local/bin/valgrind", ["/usr/local/bin/valgrind", "-v",
"--logfile=/var/dpvm_mem", "/isan/bin/dpvm"], [/* 23 vars */]) = 0
uname({sys="Linux", node="rbadri-vegas13", ...}) = 0
brk(0) = 0x80cc5f8
brk(0x80ed5f8) = 0x80ed5f8
brk(0x80ee000) = 0x80ee000
getrlimit(0x9, 0x7ffff794) = 0
setrlimit(RLIMIT_AS, {rlim_cur=RLIM_INFINITY, rlim_max=RLIM_INFINITY}) = 0
open("/usr/local/lib/valgrind/stage2", O_RDONLY|O_LARGEFILE) = 3
fstat64(3, {st_mode=S_IFREG|0755, st_size=1674776, ...}) = 0
geteuid32() = 0
getegid32() = 0
getgroups32(0x20, 0x80c7f44) = 1
pread(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\2\0\3\0\1\0\0\0008\310"...,
4096, 0) = 4096
pread(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\2\0\3\0\1\0\0\0008\310"...,
52, 0) = 52
pread(3, "\6\0\0\0004\0\0\0004\0\0\2604\0\0\260\0\1\0\0\0\1\0\0\5"...,
256, 52) = 256
pread(3, "/lib/ld-linux.so.2\0", 19, 308) = 19
open("/lib/ld-linux.so.2", O_RDONLY|O_LARGEFILE) = 4
pread(4, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\220\n\0"...,
52, 0) = 52
pread(4, "\1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\217C\1\0\217C\1\0\5\0"...,
96, 52) = 96
write(2, "Executable is mapped outside of "..., 59) = 59
close(3) = 0
write(2, "failed to load /usr/local/lib/va"..., 70) = 70
semget(1, 0, 0) = -1 ENOSYS (Function not
implemented)
_exit(1) = ?
Linux(debug)# ulimit -a
core file size (blocks, -c) 48828
data seg size (kbytes, -d) unlimited
file size (blocks, -f) unlimited
max locked memory (kbytes, -l) unlimited
max memory size (kbytes, -m) unlimited
open files (-n) 1024
pipe size (512 bytes, -p) 8
stack size (kbytes, -s) 32000
cpu time (seconds, -t) unlimited
max user processes (-u) 8151
virtual memory (kbytes, -v) unlimited
Nicholas Nethercote wrote:
> On Tue, 3 Aug 2004, pkr wrote:
> To summarise:
> - it shouldn't matter which gcc you use
> - using 2.1.2 should fix the bug you encountered with 2.0.0
> - but you'll have to fix your broken header as Tom suggested to compile
> 2.1.2
>
> HTH
>
> N
|