This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: -fmudflapth on head
- From: fche at redhat dot com (Frank Ch. Eigler)
- To: Eyal Lebedinsky <eyal at eyal dot emu dot id dot au>
- Cc: gcc list <gcc at gcc dot gnu dot org>
- Date: 10 Jun 2004 10:29:07 -0400
- Subject: Re: -fmudflapth on head
- References: <40C84491.5050509@eyal.emu.id.au>
> I find that on head one has to explicitly give
> -lmudflapth -lpthread
> while on tree-ssa branch this was already implied by
> -fmudflapth
> [...]
> Is this intentional?
Yes. The reason is that the gcc.c specs mechanism did not make it
straightforward to pass any dependencies of -lmudflap* into the
constructed linker command line at the ideal spot. This can happen
for example during static linkage with -lmudflap* with odd
dependencies like -ldl. libmudflap / dependencies would sometimes
show up too early or too late (after -lc, or before the user objects, IIRC).
- FChE