[Bug 256905] Missing clock_gettime VDSO on RISC-V

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 30 Jun 2021 14:30:23 +0000
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=256905

            Bug ID: 256905
           Summary: Missing clock_gettime VDSO on RISC-V
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: riscv
          Assignee: riscv_at_FreeBSD.org
          Reporter: arichardson_at_FreeBSD.org

I just ran truss on a Qt application and saw tons of clock_gettime syscalls.
Looking at it in GDB shows that __vdso_clock_gettime returns ENOSYS.

It appears that riscv_timer_timecount does not have a tc_fill_vdso_timehands
function, so the tc_fill_vdso_timehands() function will always return 0.

-- 
You are receiving this mail because:
You are the assignee for the bug.
Received on Wed Jun 30 2021 - 14:30:23 UTC

Original text of this message