All of lore.kernel.org
 help / color / mirror / Atom feed
* Valgrind support in OpenBMC
@ 2017-11-18  2:29 guhan balasubramanian
  2017-11-18  3:07 ` Xo Wang
  0 siblings, 1 reply; 2+ messages in thread
From: guhan balasubramanian @ 2017-11-18  2:29 UTC (permalink / raw)
  To: openbmc

[-- Attachment #1: Type: text/plain, Size: 1135 bytes --]

Hi,

I was experimenting on an application on top of OpenBMC. But apparently
there seems to be a memory leak that I'm not able to narrow down.
I am trying to build the image with Valgrind to analyze the error. But
valgrind is not identified as a compatible host.

Error observed:

bash-4.1$ bitbake valgrind

Loading cache: 100%
|#######################################################################################|
Time: 0:00:00

Loaded 2753 entries from dependency cache.

Parsing recipes: 100%
|#####################################################################################|
Time: 0:00:01

Parsing of 2046 .bb files complete (2045 cached, 1 parsed). 2755 targets,
380 skipped, 6 masked, 0 errors.

ERROR: Nothing PROVIDES 'valgrind'

ERROR: valgrind was skipped: incompatible with host
arm-openbmc-linux-gnueabi (not in COMPATIBLE_HOST)

I tried to meddle with the COMPATIBLE_HOST variables in the bb file present
in:
import-layers/yocto-poky/meta/recipes-devtools/valgrind/valgrind_3.11.0.bb

But it seems to throw some errors with respect to certain assembly
instructions.

Any pointers would be helpful.

Thanks,
Guhan

[-- Attachment #2: Type: text/html, Size: 2732 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Valgrind support in OpenBMC
  2017-11-18  2:29 Valgrind support in OpenBMC guhan balasubramanian
@ 2017-11-18  3:07 ` Xo Wang
  0 siblings, 0 replies; 2+ messages in thread
From: Xo Wang @ 2017-11-18  3:07 UTC (permalink / raw)
  To: guhan balasubramanian; +Cc: OpenBMC Maillist

What BMC processor are you targeting? If it's ASPEED AST2400/2500,
then it's an ARMv6 processor and like that recipe file says...

# valgrind supports armv7 and above
COMPATIBLE_HOST_armv4 = 'null'
COMPATIBLE_HOST_armv5 = 'null'
COMPATIBLE_HOST_armv6 = 'null'

cheers
xo

On Fri, Nov 17, 2017 at 6:29 PM, guhan balasubramanian
<guhan.sac@gmail.com> wrote:
> Hi,
>
> I was experimenting on an application on top of OpenBMC. But apparently
> there seems to be a memory leak that I'm not able to narrow down.
> I am trying to build the image with Valgrind to analyze the error. But
> valgrind is not identified as a compatible host.
>
> Error observed:
>
> bash-4.1$ bitbake valgrind
>
> Loading cache: 100%
> |#######################################################################################|
> Time: 0:00:00
>
> Loaded 2753 entries from dependency cache.
>
> Parsing recipes: 100%
> |#####################################################################################|
> Time: 0:00:01
>
> Parsing of 2046 .bb files complete (2045 cached, 1 parsed). 2755 targets,
> 380 skipped, 6 masked, 0 errors.
>
> ERROR: Nothing PROVIDES 'valgrind'
>
> ERROR: valgrind was skipped: incompatible with host
> arm-openbmc-linux-gnueabi (not in COMPATIBLE_HOST)
>
>
> I tried to meddle with the COMPATIBLE_HOST variables in the bb file present
> in:
> import-layers/yocto-poky/meta/recipes-devtools/valgrind/valgrind_3.11.0.bb
>
> But it seems to throw some errors with respect to certain assembly
> instructions.
>
> Any pointers would be helpful.
>
> Thanks,
> Guhan

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-11-18  3:07 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-11-18  2:29 Valgrind support in OpenBMC guhan balasubramanian
2017-11-18  3:07 ` Xo Wang

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.