[Bug libmudflap/18885] linker does not link libmudflap automatically with -fmudflap

ppluzhnikov at charter dot net gcc-bugzilla@gcc.gnu.org
Fri Aug 19 14:51:00 GMT 2005


------- Additional Comments From ppluzhnikov at charter dot net  2005-08-19 14:48 -------
Note that threaded programs need -lmudflapth instead of -lmudflap.

The driver should add correct version of libmudflap automatically, or you'll
get bug reports from users who link the wrong version in.

Alternatively, libmudflap could use weak unresolved pthread_* symbols, so that
a single version of libmudflap works in both threaded and non-threaded
environment.

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18885



More information about the Gcc-bugs mailing list