Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] valgrind: Add support for MIPS architecture
@ 2014-03-28 16:46 Vicente Olivert Riera
  2014-03-28 18:16 ` Thomas De Schampheleire
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Vicente Olivert Riera @ 2014-03-28 16:46 UTC (permalink / raw)
  To: buildroot

Reviewed-by: Markos Chandras <markos.chandras@imgtec.com>
Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
---
 package/valgrind/Config.in |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/package/valgrind/Config.in b/package/valgrind/Config.in
index dacdd86..fd5649b 100644
--- a/package/valgrind/Config.in
+++ b/package/valgrind/Config.in
@@ -1,7 +1,8 @@
 config BR2_PACKAGE_VALGRIND
 	bool "valgrind"
 	depends on BR2_i386 || BR2_x86_64 || BR2_cortex_a8 || \
-		   BR2_cortex_a9 || BR2_powerpc
+		   BR2_cortex_a9 || BR2_powerpc || BR2_mips || \
+		   BR2_mipsel || BR2_mips64 || BR2_mips64el
 	help
 	  Tool for debugging and profiling Linux programs.
 
-- 
1.7.1

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

* [Buildroot] [PATCH] valgrind: Add support for MIPS architecture
  2014-03-28 16:46 [Buildroot] [PATCH] valgrind: Add support for MIPS architecture Vicente Olivert Riera
@ 2014-03-28 18:16 ` Thomas De Schampheleire
  2014-03-28 18:24   ` Vicente Olivert Riera
  2014-03-29  9:23 ` Thomas Petazzoni
  2014-03-29 15:47 ` Thomas Petazzoni
  2 siblings, 1 reply; 7+ messages in thread
From: Thomas De Schampheleire @ 2014-03-28 18:16 UTC (permalink / raw)
  To: buildroot

Hi Vicente,

Vicente Olivert Riera <Vincent.Riera@imgtec.com> schreef:
>Reviewed-by: Markos Chandras <markos.chandras@imgtec.com>
>Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
>---
> package/valgrind/Config.in |    3 ++-
> 1 files changed, 2 insertions(+), 1 deletions(-)
>
>diff --git a/package/valgrind/Config.in b/package/valgrind/Config.in
>index dacdd86..fd5649b 100644
>--- a/package/valgrind/Config.in
>+++ b/package/valgrind/Config.in
>@@ -1,7 +1,8 @@
> config BR2_PACKAGE_VALGRIND
> 	bool "valgrind"
> 	depends on BR2_i386 || BR2_x86_64 || BR2_cortex_a8 || \
>-		   BR2_cortex_a9 || BR2_powerpc
>+		   BR2_cortex_a9 || BR2_powerpc || BR2_mips || \
>+		   BR2_mipsel || BR2_mips64 || BR2_mips64el
> 	help
> 	  Tool for debugging and profiling Linux programs.
> 

Did you test this on target?
Do you have any idea why it wasn't enabled for mips before?

Thanks,
Thomas

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

* [Buildroot] [PATCH] valgrind: Add support for MIPS architecture
  2014-03-28 18:16 ` Thomas De Schampheleire
@ 2014-03-28 18:24   ` Vicente Olivert Riera
  2014-03-28 18:40     ` Thomas De Schampheleire
  0 siblings, 1 reply; 7+ messages in thread
From: Vicente Olivert Riera @ 2014-03-28 18:24 UTC (permalink / raw)
  To: buildroot

On 03/28/2014 06:16 PM, Thomas De Schampheleire wrote:
> Hi Vicente,
>
> Vicente Olivert Riera <Vincent.Riera@imgtec.com> schreef:
>> Reviewed-by: Markos Chandras <markos.chandras@imgtec.com>
>> Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
>> ---
>> package/valgrind/Config.in |    3 ++-
>> 1 files changed, 2 insertions(+), 1 deletions(-)
>>
>> diff --git a/package/valgrind/Config.in b/package/valgrind/Config.in
>> index dacdd86..fd5649b 100644
>> --- a/package/valgrind/Config.in
>> +++ b/package/valgrind/Config.in
>> @@ -1,7 +1,8 @@
>> config BR2_PACKAGE_VALGRIND
>> 	bool "valgrind"
>> 	depends on BR2_i386 || BR2_x86_64 || BR2_cortex_a8 || \
>> -		   BR2_cortex_a9 || BR2_powerpc
>> +		   BR2_cortex_a9 || BR2_powerpc || BR2_mips || \
>> +		   BR2_mipsel || BR2_mips64 || BR2_mips64el
>> 	help
>> 	  Tool for debugging and profiling Linux programs.
>>
>
> Did you test this on target?

Not yet, but it should work.

> Do you have any idea why it wasn't enabled for mips before?

Valgrind added support for MIPS on it's last release, 3.9.0:

http://sourceforge.net/p/valgrind/mailman/valgrind-announce/thread/52738DEF.1070801 at acm.org/

But you already knew that. The following message is yours:

"One of the new features of Valgrind 3.9.0 is the addition of MIPS
support. Maybe it would be good to enable Valgrind on these
architectures. I'm adding Vincente and Markos in the Cc list, since
they are our main MIPS contributors. They might probably be interested
in doing this work, after testing on MIPS hardware."

> Thanks,
> Thomas


-- 
Vincent

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

* [Buildroot] [PATCH] valgrind: Add support for MIPS architecture
  2014-03-28 18:24   ` Vicente Olivert Riera
@ 2014-03-28 18:40     ` Thomas De Schampheleire
  0 siblings, 0 replies; 7+ messages in thread
From: Thomas De Schampheleire @ 2014-03-28 18:40 UTC (permalink / raw)
  To: buildroot

Vicente Olivert Riera <Vincent.Riera@imgtec.com> schreef:
>On 03/28/2014 06:16 PM, Thomas De Schampheleire wrote:
>> Hi Vicente,
>>
>> Vicente Olivert Riera <Vincent.Riera@imgtec.com> schreef:
>>> Reviewed-by: Markos Chandras <markos.chandras@imgtec.com>
>>> Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
>>> ---
>>> package/valgrind/Config.in |    3 ++-
>>> 1 files changed, 2 insertions(+), 1 deletions(-)
>>>
>>> diff --git a/package/valgrind/Config.in b/package/valgrind/Config.in
>>> index dacdd86..fd5649b 100644
>>> --- a/package/valgrind/Config.in
>>> +++ b/package/valgrind/Config.in
>>> @@ -1,7 +1,8 @@
>>> config BR2_PACKAGE_VALGRIND
>>> 	bool "valgrind"
>>> 	depends on BR2_i386 || BR2_x86_64 || BR2_cortex_a8 || \
>>> -		   BR2_cortex_a9 || BR2_powerpc
>>> +		   BR2_cortex_a9 || BR2_powerpc || BR2_mips || \
>>> +		   BR2_mipsel || BR2_mips64 || BR2_mips64el
>>> 	help
>>> 	  Tool for debugging and profiling Linux programs.
>>>
>>
>> Did you test this on target?
>
>Not yet, but it should work.
>
>> Do you have any idea why it wasn't enabled for mips before?
>
>Valgrind added support for MIPS on it's last release, 3.9.0:
>
>http://sourceforge.net/p/valgrind/mailman/valgrind-announce/thread/52738DEF.1070801 at acm.org/
>
>But you already knew that. The following message is yours:
>
>"One of the new features of Valgrind 3.9.0 is the addition of MIPS
>support. Maybe it would be good to enable Valgrind on these
>architectures. I'm adding Vincente and Markos in the Cc list, since
>they are our main MIPS contributors. They might probably be interested
>in doing this work, after testing on MIPS hardware."

I think you are confusing the two Thomas'es, but that's ok :-).

Thanks for your explanation...

Best regards,
Thomas

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

* [Buildroot] [PATCH] valgrind: Add support for MIPS architecture
  2014-03-28 16:46 [Buildroot] [PATCH] valgrind: Add support for MIPS architecture Vicente Olivert Riera
  2014-03-28 18:16 ` Thomas De Schampheleire
@ 2014-03-29  9:23 ` Thomas Petazzoni
  2014-03-29 15:47 ` Thomas Petazzoni
  2 siblings, 0 replies; 7+ messages in thread
From: Thomas Petazzoni @ 2014-03-29  9:23 UTC (permalink / raw)
  To: buildroot

Dear Vicente Olivert Riera,

On Fri, 28 Mar 2014 16:46:49 +0000, Vicente Olivert Riera wrote:
> Reviewed-by: Markos Chandras <markos.chandras@imgtec.com>
> Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
> ---
>  package/valgrind/Config.in |    3 ++-
>  1 files changed, 2 insertions(+), 1 deletions(-)

Applied, thanks.

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

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

* [Buildroot] [PATCH] valgrind: Add support for MIPS architecture
  2014-03-28 16:46 [Buildroot] [PATCH] valgrind: Add support for MIPS architecture Vicente Olivert Riera
  2014-03-28 18:16 ` Thomas De Schampheleire
  2014-03-29  9:23 ` Thomas Petazzoni
@ 2014-03-29 15:47 ` Thomas Petazzoni
  2014-03-31  8:58   ` Vicente Olivert Riera
  2 siblings, 1 reply; 7+ messages in thread
From: Thomas Petazzoni @ 2014-03-29 15:47 UTC (permalink / raw)
  To: buildroot

Dear Vicente Olivert Riera,

On Fri, 28 Mar 2014 16:46:49 +0000, Vicente Olivert Riera wrote:
> Reviewed-by: Markos Chandras <markos.chandras@imgtec.com>
> Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
> ---
>  package/valgrind/Config.in |    3 ++-
>  1 files changed, 2 insertions(+), 1 deletions(-)
> 
> diff --git a/package/valgrind/Config.in b/package/valgrind/Config.in
> index dacdd86..fd5649b 100644
> --- a/package/valgrind/Config.in
> +++ b/package/valgrind/Config.in
> @@ -1,7 +1,8 @@
>  config BR2_PACKAGE_VALGRIND
>  	bool "valgrind"
>  	depends on BR2_i386 || BR2_x86_64 || BR2_cortex_a8 || \
> -		   BR2_cortex_a9 || BR2_powerpc
> +		   BR2_cortex_a9 || BR2_powerpc || BR2_mips || \
> +		   BR2_mipsel || BR2_mips64 || BR2_mips64el
>  	help
>  	  Tool for debugging and profiling Linux programs.

This breaks the build on MIPS64:

  http://autobuild.buildroot.org/results/213/21352bcbe1b309fef0f996c275cdfcda08619d96/build-end.log

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

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

* [Buildroot] [PATCH] valgrind: Add support for MIPS architecture
  2014-03-29 15:47 ` Thomas Petazzoni
@ 2014-03-31  8:58   ` Vicente Olivert Riera
  0 siblings, 0 replies; 7+ messages in thread
From: Vicente Olivert Riera @ 2014-03-31  8:58 UTC (permalink / raw)
  To: buildroot

On 03/29/2014 03:47 PM, Thomas Petazzoni wrote:
> Dear Vicente Olivert Riera,
>
> On Fri, 28 Mar 2014 16:46:49 +0000, Vicente Olivert Riera wrote:
>> Reviewed-by: Markos Chandras <markos.chandras@imgtec.com>
>> Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
>> ---
>>   package/valgrind/Config.in |    3 ++-
>>   1 files changed, 2 insertions(+), 1 deletions(-)
>>
>> diff --git a/package/valgrind/Config.in b/package/valgrind/Config.in
>> index dacdd86..fd5649b 100644
>> --- a/package/valgrind/Config.in
>> +++ b/package/valgrind/Config.in
>> @@ -1,7 +1,8 @@
>>   config BR2_PACKAGE_VALGRIND
>>   	bool "valgrind"
>>   	depends on BR2_i386 || BR2_x86_64 || BR2_cortex_a8 || \
>> -		   BR2_cortex_a9 || BR2_powerpc
>> +		   BR2_cortex_a9 || BR2_powerpc || BR2_mips || \
>> +		   BR2_mipsel || BR2_mips64 || BR2_mips64el
>>   	help
>>   	  Tool for debugging and profiling Linux programs.
>
> This breaks the build on MIPS64:
>
>    http://autobuild.buildroot.org/results/213/21352bcbe1b309fef0f996c275cdfcda08619d96/build-end.log
>
> Thomas
>

Yeah, I sent a patch to upstream few weeks ago, and it was applied. I 
will send it to BR today.

Thanks for reminding me this problem.

-- 
Vincent

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

end of thread, other threads:[~2014-03-31  8:58 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-03-28 16:46 [Buildroot] [PATCH] valgrind: Add support for MIPS architecture Vicente Olivert Riera
2014-03-28 18:16 ` Thomas De Schampheleire
2014-03-28 18:24   ` Vicente Olivert Riera
2014-03-28 18:40     ` Thomas De Schampheleire
2014-03-29  9:23 ` Thomas Petazzoni
2014-03-29 15:47 ` Thomas Petazzoni
2014-03-31  8:58   ` Vicente Olivert Riera

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox