From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 4B9C0388E82F; Wed, 10 Apr 2024 17:29:20 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 4B9C0388E82F DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1712770160; bh=OFc1WR/uNEoodtZ+0a+zr6xZDG5seyB9iw2o8wCX4PM=; h=From:To:Subject:Date:In-Reply-To:References:From; b=Kz1tIRNvGYXvbO3hkwHcRpxyE1vmKZ8MrSKQpz1SexB83ITkw8psxtbDbdapu2/Vc HipHzyDvk4b0uiDs/iUdGkctKxt6oXESyz7wcaJBQKgQi7tJ+PLduwVsOcVNCNTADY G4Uij4/lzq5ymo4uzsNpP/EvfkbqjI/gGHm6hSvE= 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:29:18 +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 #2 from Manjunath S Matti --- If glibc is configured without 'CFLAGS=3D-O2 -mcpu=3Dpower9', i.e. $ ./configure --prefix=3D/usr --with-headers=3D/usr/include --build=3Dppc64= le-linux --with-cpu=3Dpower10 $ make=20 This successfully builds glibc. Comparing the pass case with the fail case = of acct.os we get=20 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_NOTOC __syscall_error + 64: R_PPC64_REL24 __syscall_error ... 70: 40 20 0c 00 .long 0xc2040 74: 68 00 00 00 .long 0x68 The build goes through because R_PPC64_REL24_NOTOC is generated. --=20 You are receiving this mail because: You are on the CC list for the bug.=