Buildroot fails on MIPS32 in uclibc
Rob Landley
rob at landley.net
Mon Dec 8 23:45:15 UTC 2008
On Saturday 29 November 2008 15:44:20 Denys Vlasenko wrote:
> On Saturday 29 November 2008 18:18, Alexander Voropay wrote:
> > Hi!
> >
> > I have the same error under Linux (OpenSUSE) with current
> > uClibc snapshot and have no such probles with uClibc 0.9.29 release.
>
> libc/sysdeps/linux/mips/bits/socket.h needs libc_hidden_proto here:
>
>
> extern struct cmsghdr * __NTH (__cmsg_nxthdr (struct msghdr *__mhdr,
> struct cmsghdr *__cmsg)) __THROW;
> +libc_hidden_proto(__cmsg_nxthdr)
Is there any documentation on libc_hidden_proto()? I read the big comment
block in include/libc-symbols.h and I'm pretty sure PLT is Procedure Linkage
Table from the ELF spec and I vaguely recall weak symbols are ones that the
linker remembers but doesn't stop at, so it'll only use that linkage if it
doesn't find a non-weak definition of the same symbol later on. (Although if
weak symbols really worked then you could --as-needed libpthread, and you
can't. Although busybox should still be able to use --as-needed for libm
instead of the horrible "do we need to link in libm" dance the makefile
currently does, but that's a separate issue.)
Anyway, is there something I should be reading here to get properly up to
speed on this instead of being vaguely confused in passing, as I've been for a
while now? (I checked the uClibc docs directory, and it really might as well
not exist.)
Rob
More information about the uClibc
mailing list