bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH,HURD] Fix link with gold


From: Samuel Thibault
Subject: Re: [PATCH,HURD] Fix link with gold
Date: Wed, 30 Mar 2011 00:20:00 +0200
User-agent: Mutt/1.5.12-2006-07-14

Roland McGrath, le Tue 29 Mar 2011 15:11:59 -0700, a écrit :
> Note that address@hidden is an obsolete address.

Oops, I indeed took an old mail without checking the actual address.

> That's the --no-add-needed default.  Some systems have gone to passing that
> in the standard ld command from gcc, even using BFD ld (i.e. Fedora has).

Debian has too, that's why the patch :)

> I actually think that it's arguably a feature and that Hurd-specific
> programs that are using direct RPCs should probably start using -lhurduser
> and/or -lmachuser as appropriate.

Ah.

> I'm still open to being convinced otherwise.

Well, the thing is: we need to patch a fair number of applications
then (Xorg, gdb, ...) since the dependency used to be brought in
automatically (even explicitly, in the case of libc.a), so it looked
like it was a libc-provided feature.

> But expressing your actual dependencies is a good thing, and
> IMHO it makes sense to have "average" programs just using POSIXy interfaces
> depend only on -lc and Hurdish programs explicitly depend on what they use.

I don't really have any strong opinion either way, except that we'd need
to patch applications to fix them.

Samuel



reply via email to

[Prev in Thread] Current Thread [Next in Thread]