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] glibc-2.38 (tip of release branch) fails to build on s390 (gcc-13 to blame?) Date: Mon, 29 Jan 2024 01:36:45 +0000 [thread overview] Message-ID: <bug-31196-131-y12c7Z5lJq@http.sourceware.org/bugzilla/> (raw) In-Reply-To: <bug-31196-131@http.sourceware.org/bugzilla/> https://sourceware.org/bugzilla/show_bug.cgi?id=31196 --- Comment #4 from Andreas K. Huettel <dilfridge at gentoo dot org> --- So, after a lot of trying I found the culprit: --disable-multi-arch Without that, all builds fine. With that, I get the same failure with current master. gcc version 13.2.1 20231216 (Gentoo 13.2.1_p20231216 p11) GNU assembler version 2.41.0 (s390-ibm-linux-gnu) using BFD version (Gentoo 2.41 p4) 2.41.0 Linux lgentoo3 6.0.9-gentoo #1 SMP Thu Nov 24 15:51:23 EST 2022 s390 8561 IBM GNU/Linux master at ae49a7b29acc184b03c2a6bd6ac01b5e08efd54f ../glibc/configure --prefix=/usr --enable-fortify-source --disable-multi-arch [...] gcc ../sysdeps/s390/strchrnul-vx.S -c -I../include -I/home/dilfridge/Gentoo/misc/glibc-build/string -I/home/dilfridge/Gentoo/misc/glibc-build -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. -D_LIBC_REENTRANT -include /home/dilfridge/Gentoo/misc/glibc-build/libc-modules.h -DMODULE_NAME=libc -include ../include/libc-symbols.h -DPIC -DSHARED -DTOP_NAMESPACE=glibc -DASSEMBLER -g -Werror=undef -Wa,--noexecstack -o /home/dilfridge/Gentoo/misc/glibc-build/string/strchrnul-vx.os -MD -MP -MF /home/dilfridge/Gentoo/misc/glibc-build/string/strchrnul-vx.os.dt -MT /home/dilfridge/Gentoo/misc/glibc-build/string/strchrnul-vx.os gcc ../sysdeps/s390/strchrnul-c.c -c -std=gnu11 -fgnu89-inline -g -O2 -Wall -Wwrite-strings -Wundef -Werror -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/home/dilfridge/Gentoo/misc/glibc-build/string -I/home/dilfridge/Gentoo/misc/glibc-build -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. -D_LIBC_REENTRANT -include /home/dilfridge/Gentoo/misc/glibc-build/libc-modules.h -DMODULE_NAME=libc -include ../include/libc-symbols.h -DPIC -DSHARED -DTOP_NAMESPACE=glibc -o /home/dilfridge/Gentoo/misc/glibc-build/string/strchrnul-c.os -MD -MP -MF /home/dilfridge/Gentoo/misc/glibc-build/string/strchrnul-c.os.dt -MT /home/dilfridge/Gentoo/misc/glibc-build/string/strchrnul-c.os gcc ../sysdeps/s390/strrchr-vx.S -c -I../include -I/home/dilfridge/Gentoo/misc/glibc-build/string -I/home/dilfridge/Gentoo/misc/glibc-build -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. -D_LIBC_REENTRANT -include /home/dilfridge/Gentoo/misc/glibc-build/libc-modules.h -DMODULE_NAME=libc -include ../include/libc-symbols.h -DPIC -DSHARED -DTOP_NAMESPACE=glibc -DASSEMBLER -g -Werror=undef -Wa,--noexecstack -o /home/dilfridge/Gentoo/misc/glibc-build/string/strrchr-vx.os -MD -MP -MF /home/dilfridge/Gentoo/misc/glibc-build/string/strrchr-vx.os.dt -MT /home/dilfridge/Gentoo/misc/glibc-build/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]: *** [/home/dilfridge/Gentoo/misc/glibc-build/sysd-rules:603: /home/dilfridge/Gentoo/misc/glibc-build/string/strchrnul-c.os] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: Leaving directory '/home/dilfridge/Gentoo/misc/glibc/string' make[1]: *** [Makefile:484: string/subdir_lib] Error 2 make[1]: Leaving directory '/home/dilfridge/Gentoo/misc/glibc' make: *** [Makefile:9: all] Error 2 -- You are receiving this mail because: You are on the CC list for the bug.
next prev parent reply other threads:[~2024-01-29 1:36 UTC|newest] Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top 2023-12-28 18:34 [Bug build/31196] New: " dilfridge at gentoo dot org 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 [this message] 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-y12c7Z5lJq@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: linkBe 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).