Check the -M argument to ld to see where your malloc comes from (well, presumably from libc, but let's be sure). Supposedly your set_vtable stuff isn't working at all, and you need to put the gc libs higher in the linking order (before libc). Leslie -- To unsubscribe from this list: send the line "unsubscribe linux-c-programming" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html