[Top][All Lists]

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

Re: [PATCH 3/3] Find and link with -lmachuser -lhurduser

From: Yao Qi
Subject: Re: [PATCH 3/3] Find and link with -lmachuser -lhurduser
Date: Mon, 17 Feb 2014 10:15:35 +0800
User-agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130110 Thunderbird/17.0.2

On 02/16/2014 03:49 PM, Thomas Schwinge wrote:
> This should (currently) not be needed, for these two libraries are
> (currently) considered to be part of libc.
> (<http://www.gnu.org/software/hurd/open_issues/libmachuser_libhurduser_rpc_stubs.html>
> and the thread starting at
> <http://news.gmane.org/find-root.php?message_id=%3C20110329220143.GB5425%40const.famille.thibault.fr%3E>
> have some discussion about this.)

That is to say, this problem doesn't exist with toolchain using recent
libc.  However, this link error still exists when an old toolchain is
used and it sounds unfeasible to upgrade libc to fix the link error.
Link -lmachuser and -lhurduser explicitly, as a fallback, is no harm.

I don't have a strong opinion on this patch.

> Can you please post your toolchain's libc.so file (that is, the text file
> of a few lines, not the binary libc.so.0.3).  Am I assuming correctly

/* GNU ld script
   Use the shared library, but some functions are only in
   the static library, so try that secondarily.  */
GROUP ( /lib/libc.so.0.3 /usr/lib/libcrt_nonshared.a  AS_NEEDED (
/lib/ld.so.1 ) )

> that this is a i686-pc-gnu toolchain that I once provided you with?


Yao (齐尧)

reply via email to

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