From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 216893871037; Wed, 10 Apr 2024 17:10:27 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 216893871037 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1712769027; bh=llRVTd2ZAKm+PRrDUYGCKyBHtMojQQ+xkeFjz91iJu0=; h=From:To:Subject:Date:From; b=sd+eIP8HjJNcVO6xHDB3x1ppPCWylmIc2iiKX8jITQvCiPMRXMmqjJ06L8KfQWw/C 3ehZdbh064chwQSHpC7ck7W4FaMEhTSn+HKQrsu29bj2B0QyrsGDTtCkEcU0lnHFIG 4vzSKx8Xdg0wjdZPOMAh4v7pOJqHYE4mbs1+HktQ= From: "mmatti at linux dot vnet.ibm.com" To: glibc-bugs@sourceware.org Subject: [Bug build/31629] New: powerpc64: Configuring with "--with-cpu=power10" and 'CFLAGS=-O2 -mcpu=power9' fails to build glibc Date: Wed, 10 Apr 2024 17:10:25 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new 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: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter cc 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 List-Id: https://sourceware.org/bugzilla/show_bug.cgi?id=3D31629 Bug ID: 31629 Summary: powerpc64: Configuring with "--with-cpu=3Dpower10" and 'CFLAGS=3D-O2 -mcpu=3Dpower9' fails to build glibc Product: glibc Version: 2.40 Status: UNCONFIRMED Severity: critical Priority: P2 Component: build Assignee: unassigned at sourceware dot org Reporter: mmatti at linux dot vnet.ibm.com CC: carlos at redhat dot com Target Milestone: --- Attempting to build a glibc POWER10 multilib, fails with the following error /glibc_prestine/new_build/linkobj/libc_pic.a(acct.os): in function `acct': (.text+0x64): call to `__syscall_error' lacks nop, can't restore toc; (toc save/adjust stub) /usr/bin/ld: final link failed: bad value collect2: error: ld returned 1 exit status make[1]: *** [Makerules:656: /glibc_prestine/new_build/linkobj/libc.so] Err= or 1 make[1]: Leaving directory '/glibc_prestine/glibc' make: *** [Makefile:9: all] Error 2 How to reproduce : $ ./configure 'CFLAGS=3D-O2 -mcpu=3Dpower9' --prefix=3D/usr --with-headers=3D/usr/include --build=3Dppc64le-linux --with-cpu=3Dpower10 $ make --=20 You are receiving this mail because: You are on the CC list for the bug.=