[ELDK] ELDK issue with Valgrind........

Wolfgang Denk wd at denx.de
Tue May 10 15:03:19 CEST 2011


Dear Michael Steiger,

In message <4DC92E9C.1080906 at infoworks.at> you wrote:
>
> valgrind:  Possible fixes: (1, short term): install glibc's debuginfo
> valgrind:  package on this machine.  (2, longer term): ask the packagers
> valgrind:  for your Linux distribution to please in future ship a non-
> valgrind:  stripped ld.so (or whatever the dynamic linker .so is called)
> valgrind:  that exports the above-named function using the standard
> valgrind:  calling conventions for this platform.  The package you need
> valgrind:  to install for fix (1) is called
> 
> Option 1 is currently (almost) not possible.
> But option 2 maybe?

MAybe. Sorry, we have never tried this yet.

> I have now installed the crosstools source RPM and compiled this 
> package. Looks fine so far.
> 
> Couldn't I use this package and change the build process so that the 
> ld.so file would not be stripped? Is the resulting library the same what 
> the valgrind message is talking about?

It should be.

> As I said before I have never built such a library and therrfore could 
> not find the right place in the spec file to remove the strip command.

There is probably no explicit strip command, rather the stripping is
automatically done during the final link step by some "-s" options.
This is probably a RPM setting. Try running rpm with the "--showrc"
option and search of "-s" - the LDFLAGS are a likely candiate.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Another Armenia, Belgium ... the weak innocents who always seem to be
located on a natural invasion route.
	-- Kirk, "Errand of Mercy", stardate 3198.4


More information about the eldk mailing list