From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 167E23858C50; Mon, 15 Aug 2022 01:31:01 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 167E23858C50 From: "michael.hudson at canonical dot com" To: glibc-bugs@sourceware.org Subject: [Bug math/29488] New: test-ibm128-llround fails on ppc64el when built with gcc-12 and -O2 or higher Date: Mon, 15 Aug 2022 01:31:00 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: math X-Bugzilla-Version: 2.36 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: michael.hudson at canonical dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: 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: Mon, 15 Aug 2022 01:31:01 -0000 https://sourceware.org/bugzilla/show_bug.cgi?id=3D29488 Bug ID: 29488 Summary: test-ibm128-llround fails on ppc64el when built with gcc-12 and -O2 or higher Product: glibc Version: 2.36 Status: UNCONFIRMED Severity: normal Priority: P2 Component: math Assignee: unassigned at sourceware dot org Reporter: michael.hudson at canonical dot com Target Milestone: --- root@kinetic:~/build# ./elf/ld.so --library-path .:math ./math/test-ibm128-llround testing long double (without inline functions) Failure: llround (0x7fffffffffffffff.8p0): Exception "Invalid operation" not set Failure: llround_downward (0x7fffffffffffffff.8p0): Exception "Invalid operation" not set Failure: llround_towardzero (0x7fffffffffffffff.8p0): Exception "Invalid operation" not set Failure: llround_upward (0x7fffffffffffffff.8p0): Exception "Invalid operat= ion" not set Test suite completed: 1156 test cases plus 656 tests for exception flags and 656 tests for errno executed. 4 errors occurred. Recompiling math/s_llroundl.os with gcc-11 or with gcc-12 -O1 is enough to = fix this. Looking at the disassembly though I'm completely confused, feraiseexc= ept (FE_INVALID); is still getting called in the failing case and the code that runs after that looks the same (I've spent far too long trying to debug thi= s). I've uploaded the .o files to https://people.canonical.com/~mwh/good.o and https://people.canonical.com/~mwh/bad.o -- good luck to the next person! --=20 You are receiving this mail because: You are on the CC list for the bug.=