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.  */
OUTPUT_FORMAT(elf32-i386)
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?

Yes.

-- 
Yao (齐尧)

Reply via email to