This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Add sparc64 tls and nptl support


On Wed, Apr 13, 2005 at 05:33:21PM -0700, David S. Miller wrote:
> 
> Ok Jakub, I think I've integrated all of the changes.
> How does this updated patch look?

> 	* sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
> 	Increase it to 2.4.21 for sparc.
> 	* sysdeps/unix/sysv/linx/configure: Regenerate.

I meant for sparc64 only, the kernel bug was solely for 64-bit binaries.

> --- sysdeps/unix/sysv/linux/configure.in	6 Jul 2004 04:11:40 -0000	1.66
> +++ sysdeps/unix/sysv/linux/configure.in	13 Apr 2005 23:25:41 -0000
> @@ -100,7 +100,7 @@ case "$machine" in
>      ;;
>    sparc*)
>      libc_cv_gcc_unwind_find_fde=yes
> -    arch_minimum_kernel=2.0.10
> +    arch_minimum_kernel=2.4.21
>      ;;
>    x86_64*)
>      arch_minimum_kernel=2.4.0

So I'd prefer:

    sparc/sparc64*)
      libc_cv_gcc_unwind_find_fde=yes
      arch_minimum_kernel=2.4.21
      ;;
    sparc*)
      libc_cv_gcc_unwind_find_fde=yes
      arch_minimum_kernel=2.0.10
      ;;

Can you change that and do just a configure test for both sparc and sparc64
plus check config.h's __LINUX_KERNEL_VERSION?
With that change (and s/cleaa/class/ in the ChangeLog entry) the patch
is ok.  Ulrich/Roland, can you please apply?

	Jakub


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]