Yoni Baehr <Yoni <at> ceragon.com> writes:

> 
> 
> Hi
> 
> I compiled valgrind 3.4.0 for powerpc using Windriver linux environment.
> I loaded the files to the target and tried to analyize a fully debug
> information application.
> Valgrind found some problems but the output did not include any symbol
> information.
> 
> The same process worked fine with previous version (3.3.0)
> 
> I also compiled valgring (3.4.0) to my desktop enviroment (Red Hat) and
> it worked fine.
> 
> Did anyone have the same problem?
> 
> Here is some output of valgrind verbose report on the ppc target:
> (valgrind aidc.out) where aidc.out is compiled by cross gcc with -g
> flag)
> 
> ==8942== Memcheck, a memory error detector.
> ==8942== Copyright (C) 2002-2008, and GNU GPL'd, by Julian Seward et al.
> ==8942== Using LibVEX rev 1878, a library for dynamic binary
> translation.
> ==8942== Copyright (C) 2004-2008, and GNU GPL'd, by OpenWorks LLP.
> ==8942== Using valgrind-3.4.0, a dynamic binary instrumentation
> framework.
> ==8942== Copyright (C) 2000-2008, and GNU GPL'd, by Julian Seward et al.
> ==8942==
> --8942-- Command line
> --8942--    aidc.out
> --8942-- Startup, with flags:
> --8942--    -v
> --8942-- Contents of /proc/version:
> --8942--   Linux version 2.6.14.7-aidc.1.17 (builder <at> build-host) (gcc
> version 3.4.4 (Wind River Linux)) #3 PREEMPT Wed Dec 17 16:08:12 UTC
> 2008
> --8942-- Arch and hwcaps: PPC32, ppc32-int-flt-FX-GX
> --8942-- Page sizes: currently 4096, max supported 65536
> --8942-- Valgrind library directory: /usr/local/lib/valgrind
> --8942-- Reading syms from /usr/local/lib/valgrind/ppc32-linux/memcheck
> (0x38000000)
> --8942--    object doesn't have a dynamic symbol table
> --8942-- Reading suppressions file: /usr/local/lib/valgrind/default.supp
> ==8942== Conditional jump or move depends on uninitialised value(s)
> ==8942==    at 0x400224C: (within /lib/ld-2.3.6.so)
> ==8942==    by 0x40101D3: (within /lib/ld-2.3.6.so)
> ==8942==
> ==8942== Conditional jump or move depends on uninitialised value(s)
> ==8942==    at 0x400227C: (within /lib/ld-2.3.6.so)
> ==8942==    by 0x40101D3: (within /lib/ld-2.3.6.so)
---------------------

I have the exact same problem. Building valgrind 3.4.0 in WindRiver Linux 1.5
environment for ppc8270.

Have used valgrind 3.3.0 built in the same way, on the same target without any
problem.

Standard libraries and the test binary are all with debug symbols.

Any input appreciated

/Orjan
---------------------
Software Designer
Platforms & Common Components
Ericsson AB

==1329== Memcheck, a memory error detector.
==1329== Copyright (C) 2002-2008, and GNU GPL'd, by Julian Seward et al.
==1329== Using LibVEX rev 1878, a library for dynamic binary translation.
==1329== Copyright (C) 2004-2008, and GNU GPL'd, by OpenWorks LLP.
==1329== Using valgrind-3.4.0, a dynamic binary instrumentation framework.
==1329== Copyright (C) 2000-2008, and GNU GPL'd, by Julian Seward et al.
==1329== 
--1329-- Command line
--1329--    ./t
--1329-- Startup, with flags:
--1329--    -v
--1329-- Contents of /proc/version:
--1329--   Linux version 2.6.14.7-selinux1-WR1.5ag_cgl (enil...@seasc0608) (gcc 
version 3.4.4 (Wind River Linux)) #7 PREEMPT Tue Jan 20 10:51:41 CET 2009
--1329-- Arch and hwcaps: PPC32, ppc32-int-flt-GX
--1329-- Page sizes: currently 4096, max supported 65536
--1329-- Valgrind library directory: /opt/valgrind/lib/valgrind
--1329-- Reading syms from /opt/valgrind/lib/valgrind/ppc32-linux/memcheck (0x38
000000)
--1329--    object doesn't have a dynamic symbol table
--1329-- Reading suppressions file: /opt/valgrind/lib/valgrind/default.supp
==1329== Conditional jump or move depends on uninitialised value(s)
==1329==    at 0x400224C: (within /lib/ld-2.3.6.so)
==1329==    by 0x40101D3: (within /lib/ld-2.3.6.so)
==1329== 
==1329== Conditional jump or move depends on uninitialised value(s)
==1329==    at 0x400227C: (within /lib/ld-2.3.6.so)
==1329==    by 0x40101D3: (within /lib/ld-2.3.6.so)
==1329== 
==1329== Conditional jump or move depends on uninitialised value(s)
==1329==    at 0x4002368: (within /lib/ld-2.3.6.so)
==1329==    by 0x40101D3: (within /lib/ld-2.3.6.so)
==1329== 
==1329== Conditional jump or move depends on uninitialised value(s)
==1329==    at 0x4013234: (within /lib/ld-2.3.6.so)
==1329==    by 0x7EF947F8: ???
==1329==    by 0x4004C13: (within /lib/ld-2.3.6.so)
==1329==    by 0x40070F7: (within /lib/ld-2.3.6.so)
==1329==    by 0x4001D37: (within /lib/ld-2.3.6.so)
==1329==    by 0x400B537: (within /lib/ld-2.3.6.so)
==1329==    by 0x4001E6B: (within /lib/ld-2.3.6.so)
==1329==    by 0x400402F: (within /lib/ld-2.3.6.so)



------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Valgrind-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/valgrind-users

Reply via email to