gcc bounds checking patch help needed
I have a program (which I didn't write) but to make a long story short, I'm trying to fix serious errors where pointers are going out of bounds and corrupting other data. Its written in C, and the gdb core dump is about worthless. Best information I get is when it does crash it glibc sends a corrupt pointer message to my screen. To help figure out where it is, since the program is pretty large, at least 100k lines of code, I created a boundschecking patched gcc on my linux box. I'm running SuSE 10. It compiles just fine, but once it starts linking I am spammed with "undefined reference to `__bounds_check_component_reference_obj'" and similar messages for several minutes, when its finally done processing all the object files it just errors out with an exit status of 1.
I'm using gcc version 4.0.2 and bounds checking patch version 4.0.2
If anyone out there can shed some light on what I need to do to get gcc to link properly it would be a huge help.
Thanks.
|