diff options
Diffstat (limited to 'open_issues/libc_variant_selection.mdwn')
-rw-r--r-- | open_issues/libc_variant_selection.mdwn | 25 |
1 files changed, 24 insertions, 1 deletions
diff --git a/open_issues/libc_variant_selection.mdwn b/open_issues/libc_variant_selection.mdwn index afcd9ae0..71370a43 100644 --- a/open_issues/libc_variant_selection.mdwn +++ b/open_issues/libc_variant_selection.mdwn @@ -1,4 +1,5 @@ -[[!meta copyright="Copyright © 2010, 2011 Free Software Foundation, Inc."]] +[[!meta copyright="Copyright © 2010, 2011, 2013 Free Software Foundation, +Inc."]] [[!meta license="""[[!toggle id="license" text="GFDL 1.2+"]][[!toggleable id="license" text="Permission is granted to copy, distribute and/or modify this @@ -28,6 +29,28 @@ On Thu, Oct 07, 2010 at 11:22:46AM +0200, Samuel Thibault wrote: > Yes, you need to copy it by hand. Same for libc0.3-i686, we just need to > steal the cpuid code from the kfreebsd port of glibc. + +# IRC, freenode, #hurd, 2013-06-30 + + <pinotree> other than that, the hwcap system is not working for us yet, + right? + <youpi> no but we'd like to use e.g. cpuid for that + <youpi> like kfreebsd does + <pinotree> do they use cpuid for that? + <pinotree> i kind of lost myself in glibc's loading internals, trying to + find out where the hwcap bits come from + <youpi> on linux it comes from the kernel + <youpi> on kfreebsd aiui they use cpuid to figure it out from the process + itself + <pinotree> do you have any pointer to the kfreebsd way? iirc i had a look + in their sysdeps, but found nothing related to that + <youpi> it's in local-sysdeps.diff aiui + <youpi> +dl_platform_kfreebsd_i386_init + <youpi> which fills dl_hwcap + <youpi> called at _dl_sysdep_start + <pinotree> interesting + + --- Having working CPUID code inside [[glibc]] is also a prerequisite for proper |