Open Bug 299814 Opened 20 years ago Updated 3 years ago

Add support for GCC's Mudflap pointer debugging

Categories

(Firefox Build System :: General, enhancement)

x86
Linux
enhancement

Tracking

(Not tracked)

People

(Reporter: bastiaan, Unassigned)

References

()

Details

(Keywords: helpwanted)

Attachments

(1 file, 1 obsolete file)

See also http://gcc.gnu.org/wiki/Mudflap%20Pointer%20Debugging Building with mudflap support needs the -fmudflapth C/CXXFLAGS (for threaded apps) and an -lmudflapth LDFLAG.
Attached patch patch for testing (obsolete) — Splinter Review
The following occurs when xpidl is run during build: ../../dist/bin/xpidl -m header -w -I/home/baafie/src/mozilla/xpcom/base -I../../dist/idl -o _xpidlgen/nsIConsoleListener /home/baafie/src/mozilla/xpcom/base/nsIConsoleListener.idl ../../dist/bin/xpidl: symbol lookup error: /opt/gcc-4.1/lib/libmudflapth.so.0: undefined symbol: main I'm not sure if this is caused by xpidl, mudflap or my patch, but my suspicions do exist in that order :)
Assignee: nobody → b.jacques
Status: NEW → ASSIGNED
the whole patch this time..
Attachment #188420 - Attachment is obsolete: true
Keywords: helpwanted
Assignee: b.jacques → nobody
Product: Core → Firefox Build System
No assignee, updating the status.
Status: ASSIGNED → NEW
No assignee, updating the status.
No assignee, updating the status.
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: