packagers note: do not run ld directly

Josh Boyer jwboyer at jdub.homelinux.org
Thu Aug 9 01:01:04 UTC 2007


On Wed,  8 Aug 2007 13:56:33 -0700 (PDT)
Roland McGrath <roland at redhat.com> wrote:

> An easy mistake sometimes made in packages' build setup is to run ld
> directly rather than via gcc, e.g. when creating a shared library.
> It is always wrong to run ld directly when a linking user-mode
> executable or shared library.  This rule is not Fedora-specific, so
> be sure to get the makefile fixes upstream.

Not questioning you, but I'm curious as to why exactly.  I've seen this
in many projects over the years and while it always made me nervous, I
didn't really see any problems pop out.

josh




More information about the Fedora-maintainers mailing list