* [Buildroot] Reg: Valgrind support for Aarch64 in buildroot 2019.02.02
@ 2019-04-30 6:15 ravi chandran
2019-04-30 6:56 ` Thomas Petazzoni
0 siblings, 1 reply; 4+ messages in thread
From: ravi chandran @ 2019-04-30 6:15 UTC (permalink / raw)
To: buildroot
Hi
Is valgrind support for aarch64 platform is available in buildroot
version 2019.02.02?
Thanks,
Ravi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20190430/389bce5b/attachment.html>
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Buildroot] Reg: Valgrind support for Aarch64 in buildroot 2019.02.02
2019-04-30 6:15 [Buildroot] Reg: Valgrind support for Aarch64 in buildroot 2019.02.02 ravi chandran
@ 2019-04-30 6:56 ` Thomas Petazzoni
2019-04-30 11:34 ` ravi chandran
0 siblings, 1 reply; 4+ messages in thread
From: Thomas Petazzoni @ 2019-04-30 6:56 UTC (permalink / raw)
To: buildroot
Hello,
On Tue, 30 Apr 2019 11:45:17 +0530
ravi chandran <ravigct27@gmail.com> wrote:
> Is valgrind support for aarch64 platform is available in buildroot
> version 2019.02.02?
config BR2_PACKAGE_VALGRIND_ARCH_SUPPORTS
bool
default y if BR2_aarch64
So, yes, Valgrind can be enabled on AArch64 in Buildroot 2019.02.
Why do you ask this question ? Did you try and encountered an issue ?
Best regards,
Thomas
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Buildroot] Reg: Valgrind support for Aarch64 in buildroot 2019.02.02
2019-04-30 6:56 ` Thomas Petazzoni
@ 2019-04-30 11:34 ` ravi chandran
2019-05-01 11:17 ` Arnout Vandecappelle
0 siblings, 1 reply; 4+ messages in thread
From: ravi chandran @ 2019-04-30 11:34 UTC (permalink / raw)
To: buildroot
Hi Thomas,
Thanks for your reply.
I am running a aarch64 platform with userspace in 32 bit mode, so probably
the reason for valgrind not shown in that list is the BR2_arm was not
exist in config BR2_PACKAGE_VALGRIND_ARCH_SUPPORTS .
After added the below line, i am able to choose valgrind support as part
of my target package. But i got below build error
checking for a supported CPU... no (arm)
configure: error: Unsupported host architecture. Sorry
valgrind-3.14.0 is what the version configured to use in valgrind.mk. I am
not sure if this particular version will support arm32.
config BR2_PACKAGE_VALGRIND_ARCH_SUPPORTS
bool
default y if BR2_aarch64
+ default y if BR2_arm
default y if BR2_ARM_CPU_ARMV7A
# MIPS32 R6 is unsupported
default y if BR2_mips && !BR2_mips_32r6
default y if BR2_mipsel && !BR2_mips_32r6
Thanks,
Ravi
On Tue, Apr 30, 2019 at 12:26 PM Thomas Petazzoni <
thomas.petazzoni@bootlin.com> wrote:
> Hello,
>
> On Tue, 30 Apr 2019 11:45:17 +0530
> ravi chandran <ravigct27@gmail.com> wrote:
>
> > Is valgrind support for aarch64 platform is available in buildroot
> > version 2019.02.02?
>
> config BR2_PACKAGE_VALGRIND_ARCH_SUPPORTS
> bool
> default y if BR2_aarch64
>
> So, yes, Valgrind can be enabled on AArch64 in Buildroot 2019.02.
>
> Why do you ask this question ? Did you try and encountered an issue ?
>
> Best regards,
>
> Thomas
> --
> Thomas Petazzoni, CTO, Bootlin
> Embedded Linux and Kernel engineering
> https://bootlin.com
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20190430/b18d013c/attachment.html>
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Buildroot] Reg: Valgrind support for Aarch64 in buildroot 2019.02.02
2019-04-30 11:34 ` ravi chandran
@ 2019-05-01 11:17 ` Arnout Vandecappelle
0 siblings, 0 replies; 4+ messages in thread
From: Arnout Vandecappelle @ 2019-05-01 11:17 UTC (permalink / raw)
To: buildroot
On 30/04/2019 13:34, ravi chandran wrote:
> checking for a supported CPU... no (arm)
> configure: error: Unsupported host architecture. Sorry?
>
> valgrind-3.14.0 is what the version configured to use in valgrind.mk
> <http://valgrind.mk>. I am not sure if this particular version will support arm32.
>
> config BR2_PACKAGE_VALGRIND_ARCH_SUPPORTS
> ? ? ? ? bool
> ? ? ? ? default y if BR2_aarch64
> ? ? ? ?+ default y if BR2_arm
> ? ? ? ? default y if BR2_ARM_CPU_ARMV7A
^^^^^^^^^^^^^^^^^^
As you can see, valgrind does support arm32, but only ARMv7-A (i.e. Cortex-A
class CPUs).
It might also support ARMv8 in 32-bit mode, however. Note that you'll need to
adapt the rewriting of GNU_TARGET_NAME in valgrind.mk if you want to try that.
Regards,
Arnout
> ? ? ? ? # MIPS32 R6 is unsupported
> ? ? ? ? default y if BR2_mips && !BR2_mips_32r6
> ? ? ? ? default y if BR2_mipsel && !BR2_mips_32r6
>
> Thanks,
> Ravi
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2019-05-01 11:17 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-04-30 6:15 [Buildroot] Reg: Valgrind support for Aarch64 in buildroot 2019.02.02 ravi chandran
2019-04-30 6:56 ` Thomas Petazzoni
2019-04-30 11:34 ` ravi chandran
2019-05-01 11:17 ` Arnout Vandecappelle
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox