On Thu, Jul 28, 2022 at 11:15 AM wrote: > > From: Sören Tempel > > On 32-bit systems, musl only defines SYS_timer_settime32 not > SYS_timer_settime. This causes the following compilation error: > > os_linux.go:251:30: error: reference to undefined name '_SYS_timer_settime' > 251 | return int32(syscall(_SYS_timer_settime, uintptr(timerid), uintptr(flags), uintptr(unsafe.Pointer(new)), uintptr(unsafe.Pointer(old)), 0, 0)) > | ^ > > This commit fixes this error by "aliasing" SYS_timer_settime to > SYS_timer_settime32 if the latter is defined. This is also what > musl does internally [1]. Committed a slight variant of this, as appended. Ian