Julian or Philippe,

Can you please confirm if mabi=n32 is currently supported by valgrind or not in 
MIPS64 platform?  My Linux kernel is 64-bits, but our applications have to be 
built for 32-bits.  So I need to get valgrind with mabi=n32 to work in our 
platform.

Thanks,
Yanwen

-----Original Message-----
From: Zhu, Yanwen 
Sent: Monday, April 13, 2015 9:35 AM
To: 'jsew...@acm.org'; Philippe Waroquiers
Cc: valgrind-users@lists.sourceforge.net
Subject: RE: [Valgrind-users] valgrind out of memory error

Even if I build valgrind with page size of 4 which matches my kernel page size, 
I'm still seeing the same problem.

I am building valgrind with option -mabi=n32 for mips64.  In the thread below, 
someone says currently valgrind only supports -mabi=n64 for mips64, is that 
true?
http://valgrind.10908.n7.nabble.com/Valgrind-13854-Cross-compiling-for-Cavium-MIPS64-N32-ABI-td48980.html

Thanks,
Yanwen

-----Original Message-----
From: Julian Seward [mailto:jsew...@acm.org] 
Sent: Monday, April 13, 2015 7:17 AM
To: Philippe Waroquiers; Zhu, Yanwen
Cc: valgrind-users@lists.sourceforge.net
Subject: Re: [Valgrind-users] valgrind out of memory error


> A possible cause could be the page size: as I understand, mips have 
> different page size setup.
> If your valgrind has  been compiled with a  pagesize not matching your 
> kernel/setup, then maybe Valgrind might ask wrongly aligned mmap 
> requests, giving then this EINVAL

Yes, that would be my guess too.  At the time the failure happened there was 
still a block of 1759MB available:

| --1956:0:aspacem <<< SHOW_SEGMENTS: out_of_memory (13 segments, 1
[..]
| --1956:0:aspacem 6: 0011948000-007f880fff 1759m

so it is clearly not the case that it has really run out of memory.

J


------------------------------------------------------------------------------
BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
Develop your own process in accordance with the BPMN 2 standard
Learn Process modeling best practices with Bonita BPM through live exercises
http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF
_______________________________________________
Valgrind-users mailing list
Valgrind-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/valgrind-users

Reply via email to