KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I have found in my actual program for ARM CortexA8 with linux a following issue: ´*** glibc detected *** ./PRUssExternal: double free or corruption (top): 0x00024fe8 ***´ I`m searching for that in the web and I found that the most usefull program to manage this is issue is Valgrind. How to track down a double free or corruption error in C++ with gdb Then I try to compile to my system in a cross compilation, with the following options in the configuration. I´m using Valgrind 3.8.1 @-virtual-machine:~/valgrind-3.8.1$ CC=arm-cortexa8-linux-gnueabi-gcc CFLAGS="-pipe -Os -mtune=cortex-a8 -march=armv7-a -mabi=aapcs-linux -msoft-float -I/opt/OSELAS.Toolchain-2011.11.3/arm-cortexa8-linux-gnueabi/gcc-4.6.2-glibc-2.14.1-binutils-2.21.1a-kernel-2.6.39-sanitez/sysroot-arm-cortexa8-linux-gnueabi/usr/include" LDFLAGS="-L/opt/OSELAS.Toolchain-2011.11.3/arm-cortexa8-linux-gnueabi/gcc-4.6.2-glibc-2.14.1-binutils-2.21.1a-kernel-2.6.39-sanitez/sysroot-arm-cortexa8-linux-gnueabi/usr/lib" ./configure -prefix=/opt/valgrid -host=arm-cortexa8-linux-gnueabi -target=arm-none-linux-gnueabi -build=x86_64-ubuntu-linux And the output of this configuration is: checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for arm-cortexa8-linux-gnueabi-strip... arm-cortexa8-linux-gnueabi-strip checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether to enable maintainer-specific portions of Makefiles... no checking whether ln -s works... yes checking for arm-cortexa8-linux-gnueabi-gcc... arm-cortexa8-linux-gnueabi-gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out ch
Tags (comma-separated)
Save Edits
Cancel