Re: [Valgrind-users] Compilation fails on ARM

2023-03-01 Thread Leon Pollak
Yes, you are right, John. The error message comes from glibc, but I didn't look in this direction. For those coming after me with this task, below is the way to do this. To cross-compile Valgrind 3.20.0 I used the following script: export CC=arm-linux-gnueabihf-gcc export CXX=arm-linux-gnueabihf-

Re: [Valgrind-users] Compilation fails on ARM

2023-02-28 Thread John Reiser
On 2/28/2023, Leon Pollak wrote: I recall my previous mail about cross-compilation. When i did exactly what is recommended, I managed to cross-compile. The unexpected issue appeared when I run wvalgrind myappw: FATAL: kernel too old My kernel is 2.6.37 and seemed to be ok. Is it final or can I do

Re: [Valgrind-users] Compilation fails on ARM

2023-02-28 Thread Leon Pollak
Thank you, John for your humor...:-))) This is ARMv7 (Cortex-A8) the TI TMS320DM8148 CPU with 1GB RAM and there is no chance to switch to something else. The Valgrind manual says that it supports Linux 2.6.31 and younger, 2.6.37 seems to be younger...:-) Why are you so pessimistic...:-) On Tue, 28

Re: [Valgrind-users] Compilation fails on ARM

2023-02-28 Thread John Reiser
On 2/28/2023, Leon Pollak wrote: I recall my previous mail about cross-compilation. When i did exactly what is recommended, I managed to cross-compile. The unexpected issue appeared when I run wvalgrind myappw: FATAL: kernel too old My kernel is 2.6.37 and seemed to be ok. Is it final or can I do

Re: [Valgrind-users] Compilation fails on ARM

2023-02-28 Thread Leon Pollak
I recall my previous mail about cross-compilation. When i did exactly what is recommended, I managed to cross-compile. The unexpected issue appeared when I run wvalgrind myappw: FATAL: kernel too old My kernel is 2.6.37 and seemed to be ok. Is it final or can I do something further? Old Valgrind ve

Re: [Valgrind-users] Compilation fails on ARM

2023-02-28 Thread Leon Pollak
Thank you, Paul - you were right - I missed the autogen.sh script. Doing it and trying to satisfy its and configure requirements brought me to so many incompatible version errors, that I gave up on "native" compilation (for DM8148 arm Cortex-A8, Linux 2.6.37) and decided to switch to cross-compilat

Re: [Valgrind-users] Compilation fails on ARM

2023-02-27 Thread Paul Floyd
On 27-02-23 22:11, Leon Pollak wrote: Hello, all. I am trying to compile Valgrind 3.20.0 on ARMv7 Linux 2.6.37 (not cross!). At first, compilation produced a lot of errors with binary constants in the form 0b, but I replaced them with normal numbers and compilation continued. It failed w

[Valgrind-users] Compilation fails on ARM

2023-02-27 Thread Leon Pollak
Hello, all. I am trying to compile Valgrind 3.20.0 on ARMv7 Linux 2.6.37 (not cross!). At first, compilation produced a lot of errors with binary constants in the form 0b, but I replaced them with normal numbers and compilation continued. It failed with: ../coregrind/link_tool_exe_linux 0x58000