bug-hurd
[Top][All Lists]
Advanced

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

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


From: Thomas Schwinge
Subject: Re: [PATCH 3/3] Find and link with -lmachuser -lhurduser
Date: Sun, 16 Feb 2014 08:49:13 +0100
User-agent: Notmuch/0.9-101-g81dad07 (http://notmuchmail.org) Emacs/23.4.1 (i486-pc-linux-gnu)

Hi!

On Fri, 7 Feb 2014 15:59:18 +0800, Yao Qi <yao@codesourcery.com> wrote:
> I see this link error when build native gdb for hurd.
> 
> /home/yao/Software/hurd-toolchain/bin/../lib/gcc/i686-pc-gnu/4.8.0/../../../../i686-pc-gnu/bin/ld:
>  gnu-nat.o: undefined reference to symbol 'mach_port_destroy'
> /home/yao/Software/hurd-toolchain/bin/../lib/gcc/i686-pc-gnu/4.8.0/../../../../i686-pc-gnu/bin/ld:
>  note: 'mach_port_destroy' is defined in DSO
> /home/yao/Software/hurd-toolchain/bin/../i686-pc-gnu/libc/lib/libmachuser.so.1
>  so try adding it to the linker command line
> /home/yao/Software/hurd-toolchain/bin/../i686-pc-gnu/libc/lib/libmachuser.so.1:
> could not read symbols: Invalid operation
> 
> This patch is to find and link GDB with -lmachuser and -lhurduser.

>       * configure.ac: Invoke AC_SEARCH_LIBS to search libmachuser and
>       libhurduser.

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.)

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
that this is a i686-pc-gnu toolchain that I once provided you with?


Grüße,
 Thomas

Attachment: pgpgqNsMG6ptm.pgp
Description: PGP signature


reply via email to

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