This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] sparc64: relax tls linking test
- From: David Miller <davem at davemloft dot net>
- To: vapier at gentoo dot org
- Cc: libc-alpha at sourceware dot org
- Date: Thu, 10 Mar 2011 00:39:17 -0800 (PST)
- Subject: Re: [PATCH] sparc64: relax tls linking test
- References: <1299742447-13539-1-git-send-email-vapier@gentoo.org>
From: Mike Frysinger <vapier@gentoo.org>
Date: Thu, 10 Mar 2011 02:34:07 -0500
> The TLS test attempts to link an assembly program, but this implicitly
> pulls in start objects. This obviously causes problems when attempting
> to cross-compile glibc for the first time since glibc itself provides
> these start files. So tweak the test to skip these bits which are
> irrelevant to the test at hand.
>
> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
>
> 2011-03-10 Mike Frysinger <vapier@gentoo.org>
>
> * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
> $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
> to _start.
> * sysdeps/sparc/sparc64/elf/configure: Regenerate.
Looks great, applied!