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

2013-11-09 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18885

Andrew Pinski pinskia at gcc dot gnu.org changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |WONTFIX
   Target Milestone|--- |4.9.0

--- Comment #5 from Andrew Pinski pinskia at gcc dot gnu.org ---
fmudflap support has been removed.


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

2011-02-08 Thread ludo at gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18885

Ludovic Courtès ludo at gnu dot org changed:

   What|Removed |Added

 CC||ludo at gnu dot org

--- Comment #4 from Ludovic Courtès ludo at gnu dot org 2011-02-08 15:58:22 
UTC ---
I can confirm the problem with 4.5.1 on x86_64-linux-gnu.

Indeed, the `mflib' spec lacks `-lmudflap':

$ gcc -dumpspecs |grep -A2 -E '(mflib|link_command)'
*mflib:
%{fmudflap|fmudflapth: -export-dynamic}

--
*link_command:
%{!fsyntax-only:%{!c:%{!M:%{!MM:%{!E:%{!S:%(linker)
%{fuse-linker-plugin: -plugin %(linker_plugin_file)
-plugin-opt=%(lto_wrapper) -plugin-opt=%(lto_gcc)
%{static|static-libgcc:-plugin-opt=-pass-through=%(lto_libgcc)}
%{static:-plugin-opt=-pass-through=-lc} %{O*:-plugin-opt=-O%*}
%{w:-plugin-opt=-w} %{f*:-plugin-opt=-f%*} %{m*:-plugin-opt=-m%*}
%{v:-plugin-opt=-v} } %{flto} %{fwhopr} %l %{pie:-pie} %X %{o*} %{A}
%{d} %{e*} %{m} %{N} %{n} %{r}%{s} %{t} %{u*} %{x} %{z} %{Z}
%{!A:%{!nostdlib:%{!nostartfiles:%S}}}%{static:} %{L*} %(mfwrap)
%(link_libgcc) %o   
%{fopenmp|ftree-parallelize-loops=*:%:include(libgomp.spec)%(link_gomp)}
%(mflib)%{fprofile-arcs|fprofile-generate*|coverage:-lgcov}   
%{!nostdlib:%{!nodefaultlibs:%(link_ssp) %(link_gcc_c_sequence)}}   
%{!A:%{!nostdlib:%{!nostartfiles:%E}}} %{T*} }}


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

2005-08-19 Thread ppluzhnikov at charter dot net

--- 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


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

2004-12-13 Thread micis at gmx dot de

--- Additional Comments From micis at gmx dot de  2004-12-13 10:29 ---
Maybe it never worked as stated in the documentation, but then either the 
manual should be changed or libmudflap should be automatically linked.

In my opinion libmudflap should be automatically linked, linker command lines 
are already long enough.

Michael Cieslinski

-- 


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


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

2004-12-08 Thread pinskia at gcc dot gnu dot org

--- Additional Comments From pinskia at gcc dot gnu dot org  2004-12-08 
15:32 ---
Confirmed, but I don't know it was removed.

-- 
   What|Removed |Added

 Status|UNCONFIRMED |NEW
 Ever Confirmed||1
   Last reconfirmed|-00-00 00:00:00 |2004-12-08 15:32:50
   date||
Summary|linker does not link|linker does not link
   |libmudflap automatically|libmudflap automatically
   |with -fmudflap  |with -fmudflap


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