AnsweredAssumed Answered

Mudflap

Question asked by c.b. on Nov 11, 2011
Latest reply on Nov 14, 2011 by c.b.

Hi --

 

I'm running 2010R1 kernel and distro (just pulled a few hours ago) and am trying to get Mudflap running to help debug some memory issues in my application.

 

I compile a simple application:

bfin-linux-uclibc-gcc -o mud mud.c -g -fmudflap -lmudflap

 

TFTP it to my board and run it:

root:/> tftp -g -r mud 10.0.1.2
root:/> chmod +x mud
root:/> ./mud
./mud: can't load library 'libmudflap.so.0'

 

I know Mudflap is a compiler extension, and I don't see any options to build Mudflap in the user configuration. I also don't see any source files in the distribution that appear to be a part of Mudflap:

 

cameron@camlinux:~/src/blackfin/uclinux-dist$ find -name '*mud*'
./romfs/lib/libmudflap.so.0
./romfs/lib/libmudflapth.so.0
./openswan/nat-t/include/net/xfrmudp.h.os2_6
./user/rsyslog/plugins/imudp
./user/rsyslog/plugins/imudp/imudp.c
./user/openvpn/openvpn-2.0.9/mudp.c
./user/openvpn/openvpn-2.0.9/mudp.h
./user/openvpn/openvpn-2.0.5/mudp.c
./user/openvpn/openvpn-2.0.5/mudp.h
cameron@camlinux:~/src/blackfin/uclinux-dist$

 

 

What am I missing here?

Outcomes