From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 1447538845A4; Wed, 10 Apr 2024 17:21:34 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 1447538845A4 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1712769694; bh=Uv1onE8uGy0Q7ZRzlMEETjPQmgnLC7iT+QkQMdVcbSY=; h=From:To:Subject:Date:In-Reply-To:References:From; b=cN9BxkQn6p2SwORrlaJY40vUp5u875rF6xpN78gjsWK6UW4siLjsxe0JuEIsVYfDw sO3425/1Fq4SnqIqQQ2uPEufiOGynjQEVK5fxr4D81rozP3u84uR7NKVJmu2lq3X7W 010bJLamsTa4dKPjijDXgeVxnSehkAoNxlj6wfE8= From: "mmatti at linux dot vnet.ibm.com" To: glibc-bugs@sourceware.org Subject: [Bug build/31629] powerpc64: Configuring with "--with-cpu=power10" and 'CFLAGS=-O2 -mcpu=power9' fails to build glibc Date: Wed, 10 Apr 2024 17:21:32 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: build X-Bugzilla-Version: 2.40 X-Bugzilla-Keywords: X-Bugzilla-Severity: critical X-Bugzilla-Who: mmatti at linux dot vnet.ibm.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: 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 List-Id: https://sourceware.org/bugzilla/show_bug.cgi?id=3D31629 --- Comment #1 from Manjunath S Matti --- Disassembly of section .text: 0000000000000000 <__GI_acct>: # if SYSCALL_ULONG_ARG_1 T_PSEUDO (SYSCALL_SYMBOL, SYSCALL_NAME, SYSCALL_NARGS, SYSCALL_ULONG_ARG_1, SYSCALL_ULONG_ARG_2) # else T_PSEUDO (SYSCALL_SYMBOL, SYSCALL_NAME, SYSCALL_NARGS) 0: 00 00 4c 3c addis r2,r12,0 0: R_PPC64_REL16_HA .TOC. 4: 00 00 42 38 addi r2,r2,0 4: R_PPC64_REL16_LO .TOC.+0x4 8: 33 00 00 38 li r0,51 c: d1 ff 21 f8 stdu r1,-48(r1) 10: 20 00 e1 fb std r31,32(r1) 14: 98 8f ed eb ld r31,-28776(r13) 18: 10 00 ff 77 andis. r31,r31,16 1c: 1c 00 82 41 beq 38 <__GI_acct+0x38> 20: a6 02 28 7d mflr r9 24: 40 00 21 f9 std r9,64(r1) 28: 01 00 00 44 scv 0 2c: 40 00 21 e9 ld r9,64(r1) 30: a6 03 28 7d mtlr r9 34: 08 00 00 48 b 3c <__GI_acct+0x3c> 38: 02 00 00 44 sc # endif ret 3c: 00 00 bf 2e cmpdi cr5,r31,0 40: 20 00 e1 eb ld r31,32(r1) 44: 30 00 21 38 addi r1,r1,48 48: 18 00 96 41 beq cr5,60 <__GI_acct+0x60> 4c: 01 f0 20 39 li r9,-4095 50: 40 48 23 7c cmpld r3,r9 54: 20 00 e0 4d bltlr+ 58: d0 00 63 7c neg r3,r3 5c: 08 00 00 48 b 64 <__GI_acct+0x64> 60: 20 00 e3 4c bnslr+ 64: 00 00 00 48 b 64 <__GI_acct+0x64> 64: R_PPC64_REL24 __syscall_error <-- this is causing the issue ... 70: 40 20 0c 00 .long 0xc2040 74: 68 00 00 00 .long 0x68 78: 04 00 61 63 ori r1,r27,4 7c: 63 74 00 00 .long 0x7463 --=20 You are receiving this mail because: You are on the CC list for the bug.=