[Bug libc/17263] New: [powerpc] __get_clockfreq broken for 32-bit non-power4 glibc

jsm28 at gcc dot gnu.org sourceware-bugzilla@sourceware.org
Tue Aug 12 21:29:00 GMT 2014


https://sourceware.org/bugzilla/show_bug.cgi?id=17263

            Bug ID: 17263
           Summary: [powerpc] __get_clockfreq broken for 32-bit non-power4
                    glibc
           Product: glibc
           Version: 2.19
            Status: NEW
          Severity: normal
          Priority: P2
         Component: libc
          Assignee: unassigned at sourceware dot org
          Reporter: jsm28 at gcc dot gnu.org
                CC: drepper.fsp at gmail dot com
              Host: powerpc*-*-*

sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c uses the VDSO to get an
hp_timing_t result.  The VDSO always provides a 64-bit result, but hp_timing_t
is 32-bit if the power4 sysdeps directories aren't used, resulting in only r3
(the high part of the result, = 0) being used, a value of 0 being returned and
test-gettimebasefreq failing.

-- 
You are receiving this mail because:
You are on the CC list for the bug.



More information about the Glibc-bugs mailing list