public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "dilfridge at gentoo dot org" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug build/31196] New: glibc-2.38 (tip of release branch) fails to build on s390 (gcc-13 to blame?)
Date: Thu, 28 Dec 2023 18:34:04 +0000	[thread overview]
Message-ID: <bug-31196-131@http.sourceware.org/bugzilla/> (raw)

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

            Bug ID: 31196
           Summary: glibc-2.38 (tip of release branch) fails to build on
                    s390 (gcc-13 to blame?)
           Product: glibc
           Version: 2.38
            Status: NEW
          Severity: normal
          Priority: P2
         Component: build
          Assignee: unassigned at sourceware dot org
          Reporter: dilfridge at gentoo dot org
                CC: carlos at redhat dot com
  Target Milestone: ---

This is a clone of https://bugs.gentoo.org/920899

Observed during 32bit s390 stage build (but the code has not really changed, so
maybe a gcc-13 update is at fault?):

s390-ibm-linux-gnu-gcc  -pipe -O2 -Wl,-O1 -Wl,--as-needed
../sysdeps/s390/strchrnul-c.c -c -std=gnu11 -fgnu89-inline  -pipe -O2 -Wall
-Wwrite-strings -Wundef -fmerge-all-constants -frounding-math
-fno-stack-protector -fno-common -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3
-Wstrict-prototypes -Wold-style-definition -fmath-errno  -mlong-double-128 
-fPIC     -ftls-model=initial-exec     -I../include
-I/var/tmp/portage/sys-libs/glibc-2.38-r8/work/build-s390-s390-ibm-linux-gnu-nptl/string

-I/var/tmp/portage/sys-libs/glibc-2.38-r8/work/build-s390-s390-ibm-linux-gnu-nptl
 -I../sysdeps/unix/sysv/linux/s390/s390-32 
-I../sysdeps/unix/sysv/linux/s390/fpu  -I../sysdeps/s390/fpu 
-I../sysdeps/unix/sysv/linux/s390  -I../sysdeps/s390/nptl 
-I../sysdeps/ieee754/ldbl-64-128  -I../sysdeps/ieee754/ldbl-opt 
-I../sysdeps/unix/sysv/linux/include -I../sysdeps/unix/sysv/linux 
-I../sysdeps/nptl  -I../sysdeps/pthread  -I../sysdeps/gnu 
-I../sysdeps/unix/inet  -I../sysdeps/unix/sysv  -I../sysdeps/unix 
-I../sysdeps/posix  -I../sysdeps/s390/s390-32  -I../sysdeps/wordsize-32 
-I../sysdeps/s390  -I../sysdeps/ieee754/ldbl-128  -I../sysdeps/ieee754/dbl-64 
-I../sysdeps/ieee754/flt-32  -I../sysdeps/ieee754  -I../sysdeps/generic  -I..
-I../libio -I. -nostdinc -isystem /usr/lib/gcc/s390-ibm-linux-gnu/13/include
-isystem /usr/lib/gcc/s390-ibm-linux-gnu/13/include-fixed -isystem /usr/include
-D_LIBC_REENTRANT -include
/var/tmp/portage/sys-libs/glibc-2.38-r8/work/build-s390-s390-ibm-linux-gnu-nptl/libc-modules.h
-DMODULE_NAME=libc -include ../include/libc-symbols.h  -DPIC -DSHARED    
-DTOP_NAMESPACE=glibc -o
/var/tmp/portage/sys-libs/glibc-2.38-r8/work/build-s390-s390-ibm-linux-gnu-nptl/string/strchrnul-c.os
-MD -MP -MF
/var/tmp/portage/sys-libs/glibc-2.38-r8/work/build-s390-s390-ibm-linux-gnu-nptl/string/strchrnul-c.os.dt
-MT
/var/tmp/portage/sys-libs/glibc-2.38-r8/work/build-s390-s390-ibm-linux-gnu-nptl/string/strchrnul-c.os
s390-ibm-linux-gnu-gcc  -pipe -O2 -Wl,-O1 -Wl,--as-needed
../sysdeps/s390/strrchr-vx.S -c    -I../include
-I/var/tmp/portage/sys-libs/glibc-2.38-r8/work/build-s390-s390-ibm-linux-gnu-nptl/string

-I/var/tmp/portage/sys-libs/glibc-2.38-r8/work/build-s390-s390-ibm-linux-gnu-nptl
 -I../sysdeps/unix/sysv/linux/s390/s390-32 
-I../sysdeps/unix/sysv/linux/s390/fpu  -I../sysdeps/s390/fpu 
-I../sysdeps/unix/sysv/linux/s390  -I../sysdeps/s390/nptl 
-I../sysdeps/ieee754/ldbl-64-128  -I../sysdeps/ieee754/ldbl-opt 
-I../sysdeps/unix/sysv/linux/include -I../sysdeps/unix/sysv/linux 
-I../sysdeps/nptl  -I../sysdeps/pthread  -I../sysdeps/gnu 
-I../sysdeps/unix/inet  -I../sysdeps/unix/sysv  -I../sysdeps/unix 
-I../sysdeps/posix  -I../sysdeps/s390/s390-32  -I../sysdeps/wordsize-32 
-I../sysdeps/s390  -I../sysdeps/ieee754/ldbl-128  -I../sysdeps/ieee754/dbl-64 
-I../sysdeps/ieee754/flt-32  -I../sysdeps/ieee754  -I../sysdeps/generic  -I..
-I../libio -I. -nostdinc -isystem /usr/lib/gcc/s390-ibm-linux-gnu/13/include
-isystem /usr/lib/gcc/s390-ibm-linux-gnu/13/include-fixed -isystem /usr/include
-D_LIBC_REENTRANT -include
/var/tmp/portage/sys-libs/glibc-2.38-r8/work/build-s390-s390-ibm-linux-gnu-nptl/libc-modules.h
-DMODULE_NAME=libc -include ../include/libc-symbols.h  -DPIC -DSHARED    
-DTOP_NAMESPACE=glibc -DASSEMBLER  -Werror=undef -Wa,--noexecstack 
-Werror=undef -Wa,--noexecstack   -o
/var/tmp/portage/sys-libs/glibc-2.38-r8/work/build-s390-s390-ibm-linux-gnu-nptl/string/strrchr-vx.os
-MD -MP -MF
/var/tmp/portage/sys-libs/glibc-2.38-r8/work/build-s390-s390-ibm-linux-gnu-nptl/string/strrchr-vx.os.dt
-MT
/var/tmp/portage/sys-libs/glibc-2.38-r8/work/build-s390-s390-ibm-linux-gnu-nptl/string/strrchr-vx.os
In file included from <command-line>:
../sysdeps/s390/strchrnul-c.c:28:49: error: ‘__strchrnul_c’ undeclared here
(not in a function); did you mean ‘__strchrnul’?
   28 | __hidden_ver1 (__strchrnul_c, __GI___strchrnul, __strchrnul_c);
      |                                                 ^~~~~~~~~~~~~
./../include/libc-symbols.h:470:27: note: in definition of macro
‘__hidden_ver2’
  470 |   extern thread __typeof (name) __EI_##name \
      |                           ^~~~
../sysdeps/s390/strchrnul-c.c:28:1: note: in expansion of macro ‘__hidden_ver1’
   28 | __hidden_ver1 (__strchrnul_c, __GI___strchrnul, __strchrnul_c);
      | ^~~~~~~~~~~~~
./../include/libc-symbols.h:472:33: error: ‘__EI___strchrnul_c’ aliased to
undefined symbol ‘__strchrnul_c’
  472 |   extern thread __typeof (name) __EI_##name \
      |                                 ^~~~~
./../include/libc-symbols.h:468:3: note: in expansion of macro ‘__hidden_ver2’
  468 |   __hidden_ver2 (, local, internal, name)
      |   ^~~~~~~~~~~~~
../sysdeps/s390/strchrnul-c.c:28:1: note: in expansion of macro ‘__hidden_ver1’
   28 | __hidden_ver1 (__strchrnul_c, __GI___strchrnul, __strchrnul_c);
      | ^~~~~~~~~~~~~
make[2]: ***
[/var/tmp/portage/sys-libs/glibc-2.38-r8/work/build-s390-s390-ibm-linux-gnu-nptl/sysd-rules:603:
/var/tmp/portage/sys-libs/glibc-2.38-r8/work/build-s390-s390-ibm-linux-gnu-nptl/string/strchrnul-c.os]
Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory
'/var/tmp/portage/sys-libs/glibc-2.38-r8/work/glibc-2.38/string'
make[1]: *** [Makefile:485: string/subdir_lib] Error 2
make[1]: Leaving directory
'/var/tmp/portage/sys-libs/glibc-2.38-r8/work/glibc-2.38'
make: *** [Makefile:9: all] Error 2

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

             reply	other threads:[~2023-12-28 18:34 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-12-28 18:34 dilfridge at gentoo dot org [this message]
2023-12-28 18:34 ` [Bug build/31196] " dilfridge at gentoo dot org
2023-12-28 18:35 ` dilfridge at gentoo dot org
2023-12-29 13:11 ` adhemerval.zanella at linaro dot org
2024-01-08 14:28 ` stli at linux dot ibm.com
2024-01-14 23:13 ` dilfridge at gentoo dot org
2024-01-27 21:41 ` sam at gentoo dot org
2024-01-29  1:36 ` dilfridge at gentoo dot org
2024-01-29  1:37 ` [Bug build/31196] master fails to build on s390 with --disable-multi-arch dilfridge at gentoo dot org
2024-01-29 12:54 ` adhemerval.zanella at linaro dot org
2024-01-29 13:31 ` stli at linux dot ibm.com
2024-01-29 21:16 ` jsm28 at gcc dot gnu.org
2024-01-30  8:46 ` sam at gentoo dot org
2024-01-31 12:12 ` stli at linux dot ibm.com
2024-01-31 12:33 ` dilfridge at gentoo dot org
2024-02-01  9:14 ` stli at linux dot ibm.com

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-31196-131@http.sourceware.org/bugzilla/ \
    --to=sourceware-bugzilla@sourceware.org \
    --cc=glibc-bugs@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).