Bug 1981013

Summary: glibc: Restore clock_gettime, gettimeofday, time vDSO optimization on i686
Product: Red Hat Enterprise Linux 9 Reporter: Florian Weimer <fweimer>
Component: glibcAssignee: Florian Weimer <fweimer>
Status: CLOSED CURRENTRELEASE QA Contact: Sergey Kolosov <skolosov>
Severity: medium Docs Contact:
Priority: high    
Version: CentOS StreamCC: ashankar, bstinson, codonell, dj, fweimer, jwboyer, mhlavink, mnewsome, pfrankli, sipoyare, skolosov
Target Milestone: betaKeywords: Bugfix, Patch, Regression, Triaged
Target Release: ---   
Hardware: i686   
OS: Unspecified   
Whiteboard:
Fixed In Version: glibc-2.33.9000-42.el9 Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-12-07 21:42:00 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1980039    
Bug Blocks: 1980990, 1981001    

Description Florian Weimer 2021-07-10 14:55:13 UTC
The upstream time64 work removed vDSO acceleration from these functions. We should restore it.

Note that it is unclear whether upstream will accept this patch.

Comment 1 Florian Weimer 2021-07-10 17:22:23 UTC
Upstream patch proposal: Patch posted: https://sourceware.org/pipermail/libc-alpha/2021-July/128902.html

Let me stress again that upstream acceptance is unclear at this point.

Comment 2 Florian Weimer 2021-07-13 12:55:11 UTC
A different patch was accepted upstream, which I believe is equivalent.

I believe the second issue (errno clobber) can be validated using a scratch build of dovecot. This is also covered by new test cases in the upstream glibc test suite.

Comment 4 Michal Hlavinka 2021-07-19 11:55:38 UTC
Any ETA when this will be in build root? It blocks dovecot's builds

Comment 5 Florian Weimer 2021-07-19 14:36:41 UTC
(In reply to Michal Hlavinka from comment #4)
> Any ETA when this will be in build root? It blocks dovecot's builds

glibc-2.33.9000-42.el9 has been tagged, so it will land in the buildroots in a few minutes.