Hello,
here are the details:
valgrind-3.10.0> uname -a
Linux sisis 2.6.16.60-0.83.2-smp #1 SMP Fri Sep 2 13:49:16 UTC 2011 x86_64
x86_64 x86_64 GNU/Linux
valgrind-3.10.0> ./configure --enable-only32bit
...
config.status: config.h is unchanged
config.status: executing depfiles commands
Maximum build arch: amd64
Primary build arch: x86
Secondary build arch:
Build OS: linux
Primary build target: X86_LINUX
Secondary build target:
Platform variant: vanilla
Primary -DVGPV string: -DVGPV_x86_linux_vanilla=1
Default supp files: exp-sgcheck.supp xfree-3.supp xfree-4.supp
glibc-2.X-drd.supp glibc-2.34567-NPTL-helgrind.supp glibc-2.4.supp
valgrind-3.10.0> make
gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../include -I../VEX/pub -I../VEX/pub
-DVGA_x86=1 -DVGO_linux=1 -DVGP_x86_linux=1 -DVGPV_x86_linux_vanilla=1
-I../coregrind -DVG_LIBDIR="\"/usr/local/lib/valgrind"\"
-DVG_PLATFORM="\"x86-linux\"" -m32 -mpreferred-stack-boundary=2 -O2 -g -Wall
-Wmissing-prototypes -Wshadow -Wpointer-arith -Wstrict-prototypes
-Wmissing-declarations -Wno-format-zero-length -fno-strict-aliasing
-fno-builtin -fomit-frame-pointer -Wno-long-long -fno-stack-protector -MT
vgdb-vgdb-invoker-ptrace.o -MD -MP -MF .deps/vgdb-vgdb-invoker-ptrace.Tpo -c -o
vgdb-vgdb-invoker-ptrace.o `test -f 'vgdb-invoker-ptrace.c' || echo
'./'`vgdb-invoker-ptrace.c
vgdb-invoker-ptrace.c: In function 'waitstopped':
vgdb-invoker-ptrace.c:319: error: 'PTRACE_GETSIGINFO' undeclared (first use in
this function)
vgdb-invoker-ptrace.c:319: error: (Each undeclared identifier is reported only
once
vgdb-invoker-ptrace.c:319: error: for each function it appears in.)
make[3]: *** [vgdb-vgdb-invoker-ptrace.o] Error 1
make[3]: Leaving directory `/home/sisis/guru/valgrind-3.10.0/coregrind'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/sisis/guru/valgrind-3.10.0/coregrind'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/sisis/guru/valgrind-3.10.0'
make: *** [all] Error 2
if I do the ./configure w/o any args as:
Maximum build arch: amd64
Primary build arch: amd64
Secondary build arch: x86
Build OS: linux
Primary build target: AMD64_LINUX
Secondary build target: X86_LINUX
Platform variant: vanilla
Primary -DVGPV string: -DVGPV_amd64_linux_vanilla=1
Default supp files: exp-sgcheck.supp xfree-3.supp xfree-4.supp
glibc-2.X-drd.supp glibc-2.34567-NPTL-helgrind.supp glibc-2.4.supp
the compilation stops at:
...
/usr/lib64/gcc/x86_64-suse-linux/4.1.2/../../../../x86_64-suse-linux/bin/ld:
warning: i386 architecture of input file `valgrind-m_debuglog.o' is
incompatible with i386:x86-64 output
valgrind-m_debuglog.o: In function `myvprintf_int64':
/home/sisis/guru/valgrind-3.10.0/coregrind/m_debuglog.c:685: undefined
reference to `__umoddi3'
/home/sisis/guru/valgrind-3.10.0/coregrind/m_debuglog.c:686: undefined
reference to `__udivdi3'
collect2: ld returned 1 exit status
make[3]: *** [valgrind] Error 1
make[3]: Leaving directory `/home/sisis/guru/valgrind-3.10.0/coregrind'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/sisis/guru/valgrind-3.10.0/coregrind'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/sisis/guru/valgrind-3.10.0'
make: *** [all] Error 2
Any ideas? Let me know if you need more information from this host.
--
Matthias Apitz | /"\ ASCII Ribbon Campaign:
E-mail: [email protected] | \ / - No HTML/RTF in E-mail
WWW: http://www.unixarea.de/ | X - No proprietary attachments
phone: +49-170-4527211 | / \ - Respect for open standards
| en.wikipedia.org/wiki/ASCII_Ribbon_Campaign
------------------------------------------------------------------------------
Want excitement?
Manually upgrade your production database.
When you want reliability, choose Perforce
Perforce version control. Predictably reliable.
http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk
_______________________________________________
Valgrind-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/valgrind-users