public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug build/31629] New: powerpc64: Configuring with "--with-cpu=power10" and 'CFLAGS=-O2 -mcpu=power9' fails to build glibc
@ 2024-04-10 17:10 mmatti at linux dot vnet.ibm.com
  2024-04-10 17:14 ` [Bug build/31629] " mmatti at linux dot vnet.ibm.com
                   ` (14 more replies)
  0 siblings, 15 replies; 16+ messages in thread
From: mmatti at linux dot vnet.ibm.com @ 2024-04-10 17:10 UTC (permalink / raw)
  To: glibc-bugs

https://sourceware.org/bugzilla/show_bug.cgi?id=31629

            Bug ID: 31629
           Summary: powerpc64: Configuring with "--with-cpu=power10" and
                    'CFLAGS=-O2 -mcpu=power9' 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] Error 1
make[1]: Leaving directory '/glibc_prestine/glibc'
make: *** [Makefile:9: all] Error 2

How to reproduce :

$ ./configure 'CFLAGS=-O2 -mcpu=power9' --prefix=/usr
--with-headers=/usr/include --build=ppc64le-linux --with-cpu=power10
$ make

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2024-05-17  6:43 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-04-10 17:10 [Bug build/31629] New: powerpc64: Configuring with "--with-cpu=power10" and 'CFLAGS=-O2 -mcpu=power9' fails to build glibc mmatti at linux dot vnet.ibm.com
2024-04-10 17:14 ` [Bug build/31629] " mmatti at linux dot vnet.ibm.com
2024-04-10 17:16 ` mmatti at linux dot vnet.ibm.com
2024-04-10 17:21 ` mmatti at linux dot vnet.ibm.com
2024-04-10 17:29 ` mmatti at linux dot vnet.ibm.com
2024-04-10 18:48 ` bergner at linux dot ibm.com
2024-04-10 20:45 ` bergner at linux dot ibm.com
2024-04-10 20:54 ` bergner at linux dot ibm.com
2024-04-10 23:20 ` amodra at gmail dot com
2024-04-11  2:17 ` mmatti at linux dot vnet.ibm.com
2024-04-13 12:07 ` fweimer at redhat dot com
2024-04-13 12:12 ` fweimer at redhat dot com
2024-04-24  7:10 ` amodra at gmail dot com
2024-05-17  2:20 ` mmatti at linux dot vnet.ibm.com
2024-05-17  2:22 ` mmatti at linux dot vnet.ibm.com
2024-05-17  6:43 ` schwab@linux-m68k.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).