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

Re: [patches] RTLD_SINGLE_THREAD_P build problem




On Mar 27, 2007, at 6:27 PM, Joseph S. Myers wrote:

On Tue, 27 Mar 2007, Khem Raj wrote:

Archan Paul wrote:
Hi,

While compiling eglibc (svn snapshot) for ARM, I am getting following error.

dl-lookup.c: In function 'add_dependency':
dl-lookup.c:104: error: 'RTLD_SINGLE_THREAD_P' undeclared (first use
in this function)
dl-lookup.c:104: error: (Each undeclared identifier is reported only once
dl-lookup.c:104: error: for each function it appears in.)

According to the following email post, this issue is already resolved.
http://sources.redhat.com/ml/libc-ports/2006-10/msg00070.html

so far this patch is not backported to eglibc 2.5 branch

To which patch do you refer - the patch to libc that broke things, or the
ports patch that fixed things?


Earlier I thought Archan is compiling glibc-2.5 but when I looked a bit more into the makefile he posted he was indeed using trunk and not 2.5 branch. So there is not problem either on trunk or on 2.5 branch

However his problem is in Archan's makefile where it should have
arm-linux-gnueabi for TARGET and it has arm-linux-gnuabi (missing 'e')

Secondly it is also not specifying PATH correctly when building eglibc.


EGLIBC 2.5 definitely works fine on ARM right now.  As far as I know,
neither patch is on EGLIBC 2.5, while both are on EGLIBC trunk - obviously
you need to get libc, ports and localedef from the same branch.

--
Joseph S. Myers
joseph@xxxxxxxxxxxxxxxx




Khem Raj <kraj@xxxxxxxxxx>
MontaVista Software Inc.