2009-04-13 10:53:23     Regarding Mudflap compiler option in uclinux kernal in blackfin processor

Document created by Aaronwu Employee on Aug 14, 2013
Version 1Show Document
  • View in full screen mode

2009-04-13 10:53:23     Regarding Mudflap compiler option in uclinux kernal in blackfin processor

sasi kala (INDIA)

Message: 72595   

 

Hi,

 

      i'm using uclinux kernal in Blackfin processor(BF533).I'm tring to check the memory violation after enabling the mudflap compiler options in my application.But after enabling the mudflap options, warning messages for memory violation was not displayed

 

Following are done in my application

 

1.Enabled the -fmudflapth in compiler options in the makefile

 

2.Included the mudflap library using -lmudflapth in the makefile

 

3.-o and -g is also enabled in the makefile

 

4.Done few coding for memory violation in my application code.

 

After executing the forceful memory violation code,warning message for memory violation was not printed

 

when the same is done for testcode and compiled using the command bfin-linux-uclibc-gcc -o TestApp TestApp.c -g -fmudflap -lmudflap is working fine.After executing the memory violation in the testcode(TestApp.c),the warning message is displayed.But the same warning message is not displaying when the above four steps are done in my application code.Hope there is nothing to do with Application code.

 

Can anyone tell me any steps are need to be added apart from the above mentioned or let me know the reasons for not displaying the warning message?

 

 

QuoteReplyEditDelete

 

 

2009-04-13 11:11:41     Re: Regarding Mudflap compiler option in uclinux kernal in blackfin processor

Mike Frysinger (UNITED STATES)

Message: 72596   

 

is your application actually threaded ?  the threaded mudflap has known limitations, so if you arent using threads, you shouldnt be using the threaded version of mudflap.

 

QuoteReplyEditDelete

 

 

2009-04-14 23:28:18     Re: Regarding Mudflap compiler option in uclinux kernal in blackfin processor

sasi kala (INDIA)

Message: 72657   

 

Yes,my application is threaded.what are the known limitations of the threaded mudflap?

Attachments

    Outcomes