From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 086E23851C0C; Fri, 12 Feb 2021 13:45:40 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 086E23851C0C From: "hjl.tools at gmail dot com" To: glibc-bugs@sourceware.org Subject: [Bug libc/27398] x86: Sporadic failures in tst-cpu-features-cpuinfo Date: Fri, 12 Feb 2021 13:45:40 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: libc X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: hjl.tools at gmail dot com X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: glibc-bugs@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Glibc-bugs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Feb 2021 13:45:41 -0000 https://sourceware.org/bugzilla/show_bug.cgi?id=3D27398 --- Comment #4 from H.J. Lu --- (In reply to Siddhesh Poyarekar from comment #1) > The failures become deterministic and numerous (18 failures in all) when = the > test is run under valgrind. That may have something to do with valgrind's > emulation but noting it here anyway since it seems relevant. Importantly, > valgrind does not report any errors. >=20 > valgrind --trace-children=3Dyes ./testrun.sh elf/tst-cpu-features-cpuinfo > --direct >=20 > >=20 > Checking HAS_CPU_FEATURE (ACPI): > HAS_CPU_FEATURE (ACPI): 1 > cpuinfo (acpi): 1 > Checking HAS_CPU_FEATURE (ADX): > HAS_CPU_FEATURE (ADX): 0 > cpuinfo (adx): 1 > *** failure *** This is because valgrind changes CPUID value: https://stackoverflow.com/questions/48697579/valgrind-changes-cpuid-value --=20 You are receiving this mail because: You are on the CC list for the bug.=