From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 67B86385840E; Tue, 4 Jan 2022 12:11:14 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 67B86385840E From: "fweimer at redhat dot com" To: glibc-bugs@sourceware.org Subject: [Bug dynamic-link/28745] _dl_find_object miscompilation on powerpc64le Date: Tue, 04 Jan 2022 12:11:14 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: dynamic-link X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: fweimer at redhat 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: Tue, 04 Jan 2022 12:11:14 -0000 https://sourceware.org/bugzilla/show_bug.cgi?id=3D28745 --- Comment #2 from Florian Weimer --- The acquire load doesn't have a memory clobber: static inline uint64_t __atomic_wide_counter_load_acquire (__atomic_wide_counter *c) { return ({ __typeof (*(&c->__value64)) __atg101_val =3D ({ __typeof ((__ty= peof (*(&c->__value64))) *(&c->__value64)) __atg100_val; __asm ("" : "=3Dr" (__atg100_val) : "0" (*(&c->__value64))); __atg100_val; }); __asm ("lwsync"= ::: "memory"); __atg101_val; }); } So it's unordered with regards to the defensive copy. No GCC bug. --=20 You are receiving this mail because: You are on the CC list for the bug.=