Bug 29780

Summary: possible parallel make issue in glibc-2.36 (siglist-aux.S: No such file or directory)
Product: glibc Reporter: Andreas K. Huettel <dilfridge>
Component: buildAssignee: Not yet assigned to anyone <unassigned>
Status: RESOLVED FIXED    
Severity: normal CC: carlos
Priority: P2    
Version: 2.36   
Target Milestone: 2.37   
Host: Target:
Build: Last reconfirmed:
Attachments: build log

Description Andreas K. Huettel 2022-11-12 21:01:56 UTC
Automated build testing in Gentoo found this error:

x86_64-pc-linux-gnu-gcc -m64 -pipe -march=native -fno-diagnostics-color -O2 -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 _itowa.c -c -std=gnu11 -fgnu89-inline  -pipe -march=native -fno-diagnostics-color -O2 -Wall -Wwrite-strings -Wundef -fmerge-all-constants -frounding-math -fstac
x86_64-pc-linux-gnu-gcc -m64 -pipe -march=native -fno-diagnostics-color -O2 -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 ../sysdeps/unix/sysv/linux/renameat.c -c -std=gnu11 -fgnu89-inline  -pipe -march=native -fno-diagnostics-color -O2 -Wall -Wwrite-strings -Wundef -fmerge-all-con
x86_64-pc-linux-gnu-gcc -m64 -pipe -march=native -fno-diagnostics-color -O2 -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 ../sysdeps/posix/cuserid.c -c -std=gnu11 -fgnu89-inline  -pipe -march=native -fno-diagnostics-color -O2 -Wall -Wwrite-strings -Wundef -fmerge-all-constants -fro
x86_64-pc-linux-gnu-gcc -m64 -pipe -march=native -fno-diagnostics-color -O2 -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 siglist.S -c  -U_FORTIFY_SOURCE   -I../include -I/var/tmp/portage/sys-libs/glibc-2.36-r5/work/build-amd64-x86_64-pc-linux-gnu-nptl/stdio-common  -I/var/tmp/port
siglist.S:4:11: fatal error: siglist-aux.S: No such file or directory
    4 | # include "siglist-aux.S"
      |           ^~~~~~~~~~~~~~~

Sources are given by the tag
https://gitweb.gentoo.org/fork/glibc.git/tree/?h=gentoo/glibc-2.36-5
(roughly release/2.36/master as of 15 October).
Comment 1 Andreas K. Huettel 2022-11-12 21:02:15 UTC
See also https://bugs.gentoo.org/880199
Comment 2 Andreas Schwab 2022-11-12 21:46:03 UTC
The comand lines are completely garbled.
Comment 3 Andreas K. Huettel 2022-11-12 22:09:22 UTC
Oops, sorry. From the original log:

x86_64-pc-linux-gnu-gcc -m64 -pipe -march=native -fno-diagnostics-color -O2 -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 ../sysdeps/unix/sysv/linux/renameat.c -c -std=gnu11 -fgnu89-inline
  -pipe -march=native -fno-diagnostics-color -O2 -Wall -Wwrite-strings -Wundef -fmerge-all-constants -frounding-math -fstack-protector-strong -fno-common -Wstrict-prototypes -Wold-style-definition -fmath-er
rno   -pg -fpie   -ftls-model=initial-exec   -U_FORTIFY_SOURCE   -I../include -I/var/tmp/portage/sys-libs/glibc-2.36-r5/work/build-amd64-x86_64-pc-linux-gnu-nptl/stdio-common  -I/var/tmp/portage/sys-libs/gl
ibc-2.36-r5/work/build-amd64-x86_64-pc-linux-gnu-nptl  -I../sysdeps/unix/sysv/linux/x86_64/64  -I../sysdeps/unix/sysv/linux/x86_64  -I../sysdeps/unix/sysv/linux/x86/include -I../sysdeps/unix/sysv/linux/x86 
 -I../sysdeps/x86/nptl  -I../sysdeps/unix/sysv/linux/wordsize-64  -I../sysdeps/x86_64/nptl 
 -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/x86_64  -I../sysdeps/unix  -I../sysdeps/posix  -I../sysdeps/x86_64/64  -I../sysdeps/x86_64/fpu/multiarch  -I../sysdeps/x86_64/fpu  -I../sysdeps/x86/fpu  -I../sysdeps/x86_64/multiarch  -I../sysdeps/x86_64  -I../sysdeps/x86/include -I../sysdeps/x86  -I../sysdeps/ieee754/float128  -I../sysdeps/ieee754/ldbl-96/include -I../sysdeps/ieee754/ldbl-96  -I../sysdeps/ieee754/dbl-64  -I../sysdeps/ieee754/flt-32  -I../sysdeps/wordsize-64  -I../sysdeps/ieee754  -I../sysdeps/generic  -I.. -I../libio -I. -nostdinc -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/12/include -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/12/include-fixed -isystem /usr/include -D_LIBC_REENTRANT -include /var/tmp/portage/sys-libs/glibc-2.36-r5/work/build-amd64-x86_64-pc-linux-gnu-nptl/libc-modules.h -DMODULE_NAME=libc -include ../include/libc-symbols.h  -DPROF -DPIC     -DTOP_NAMESPACE=glibc -D_IO_MTSAFE_IO -o /var/tmp/portage/sys-libs/glibc-2.36-r5/work/build-amd64-x86_64-pc-linux-gnu-nptl/stdio-common/renameat.op -MD -MP -MF /var/tmp/portage/sys-libs/glibc-2.36-r5/work/build-amd64-x86_64-pc-linux-gnu-nptl/stdio-common/renameat.op.dt -MT /var/tmp/portage/sys-libs/glibc-2.36-r5/work/build-amd64-x86_64-pc-linux-gnu-nptl/stdio-common/renameat.op
x86_64-pc-linux-gnu-gcc -m64 -pipe -march=native -fno-diagnostics-color -O2 -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 ../sysdeps/posix/cuserid.c -c -std=gnu11 -fgnu89-inline  -pipe -march=native -fno-diagnostics-color -O2 -Wall -Wwrite-strings -Wundef -fmerge-all-constants -frounding-math -fstack-protector-strong -fno-common -Wstrict-prototypes -Wold-style-definition -fmath-errno   -pg -fpie -fexceptions  -ftls-model=initial-exec   -U_FORTIFY_SOURCE   -I../include -I/var/tmp/portage/sys-libs/glibc-2.36-r5/work/build-amd64-x86_64-pc-linux-gnu-nptl/stdio-common  -I/var/tmp/portage/sys-libs/glibc-2.36-r5/work/build-amd64-x86_64-pc-linux-gnu-nptl  -I../sysdeps/unix/sysv/linux/x86_64/64  -I../sysdeps/unix/sysv/linux/x86_64  -I../sysdeps/unix/sysv/linux/x86/include -I../sysdeps/unix/sysv/linux/x86  -I../sysdeps/x86/nptl  -I../sysdeps/unix/sysv/linux/wordsize-64  -I../sysdeps/x86_64/nptl  -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/x86_64  -I../sysdeps/unix  -I../sysdeps/posix  -I../sysdeps/x86_64/64  -I../sysdeps/x86_64/fpu/multiarch  -I../sysdeps/x86_64/fpu  -I../sysdeps/x86/fpu  -I../sysdeps/x86_64/multiarch  -I../sysdeps/x86_64  -I../sysdeps/x86/include -I../sysdeps/x86  -I../sysdeps/ieee754/float128  -I../sysdeps/ieee754/ldbl-96/include -I../sysdeps/ieee754/ldbl-96  -I../sysdeps/ieee754/dbl-64  -I../sysdeps/ieee754/flt-32  -I../sysdeps/wordsize-64  -I../sysdeps/ieee754  -I../sysdeps/generic  -I.. -I../libio -I. -nostdinc -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/12/include -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/12/include-fixed -isystem /usr/include -D_LIBC_REENTRANT -include /var/tmp/portage/sys-libs/glibc-2.36-r5/work/build-amd64-x86_64-pc-linux-gnu-nptl/libc-modules.h -DMODULE_NAME=libc -include ../include/libc-symbols.h  -DPROF -DPIC     -DTOP_NAMESPACE=glibc -D_IO_MTSAFE_IO -o /var/tmp/portage/sys-libs/glibc-2.36-r5/work/build-amd64-x86_64-pc-linux-gnu-nptl/stdio-common/cuserid.op -MD -MP -MF /var/tmp/portage/sys-libs/glibc-2.36-r5/work/build-amd64-x86_64-pc-linux-gnu-nptl/stdio-common/cuserid.op.dt -MT /var/tmp/portage/sys-libs/glibc-2.36-r5/work/build-amd64-x86_64-pc-linux-gnu-nptl/stdio-common/cuserid.op
x86_64-pc-linux-gnu-gcc -m64 -pipe -march=native -fno-diagnostics-color -O2 -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 siglist.S -c  -U_FORTIFY_SOURCE   -I../include -I/var/tmp/portage/sys-libs/glibc-2.36-r5/work/build-amd64-x86_64-pc-linux-gnu-nptl/stdio-common  -I/var/tmp/portage/sys-libs/glibc-2.36-r5/work/build-amd64-x86_64-pc-linux-gnu-nptl  -I../sysdeps/unix/sysv/linux/x86_64/64  -I../sysdeps/unix/sysv/linux/x86_64  -I../sysdeps/unix/sysv/linux/x86/include -I../sysdeps/unix/sysv/linux/x86  -I../sysdeps/x86/nptl  -I../sysdeps/unix/sysv/linux/wordsize-64  -I../sysdeps/x86_64/nptl  -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/x86_64  -I../sysdeps/unix  -I../sysdeps/posix  -I../sysdeps/x86_64/64  -I../sysdeps/x86_64/fpu/multiarch  -I../sysdeps/x86_64/fpu  -I../sysdeps/x86/fpu  -I../sysdeps/x86_64/multiarch  -I../sysdeps/x86_64  -I../sysdeps/x86/include -I../sysdeps/x86  -I../sysdeps/ieee754/float128  -I../sysdeps/ieee754/ldbl-96/include -I../sysdeps/ieee754/ldbl-96  -I../sysdeps/ieee754/dbl-64  -I../sysdeps/ieee754/flt-32  -I../sysdeps/wordsize-64  -I../sysdeps/ieee754  -I../sysdeps/generic  -I.. -I../libio -I. -nostdinc -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/12/include -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/12/include-fixed -isystem /usr/include -D_LIBC_REENTRANT -include /var/tmp/portage/sys-libs/glibc-2.36-r5/work/build-amd64-x86_64-pc-linux-gnu-nptl/libc-modules.h -DMODULE_NAME=libc -include ../include/libc-symbols.h  -DPROF -DPIC     -DTOP_NAMESPACE=glibc -D_IO_MTSAFE_IO -DASSEMBLER  -Werror=undef -Wa,--noexecstack  -Werror=undef -Wa,--noexecstack   -o /var/tmp/portage/sys-libs/glibc-2.36-r5/work/build-amd64-x86_64-pc-linux-gnu-nptl/stdio-common/siglist.op -MD -MP -MF /var/tmp/portage/sys-libs/glibc-2.36-r5/work/build-amd64-x86_64-pc-linux-gnu-nptl/stdio-common/siglist.op.dt -MT /var/tmp/portage/sys-libs/glibc-2.36-r5/work/build-amd64-x86_64-pc-linux-gnu-nptl/stdio-common/siglist.op
siglist.S:4:11: fatal error: siglist-aux.S: No such file or directory
    4 | # include "siglist-aux.S"
      |           ^~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [../o-iterator.mk:9: /var/tmp/portage/sys-libs/glibc-2.36-r5/work/build-amd64-x86_64-pc-linux-gnu-nptl/stdio-common/siglist.op] Error 1 shuffle=3019527605
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory '/var/tmp/portage/sys-libs/glibc-2.36-r5/work/glibc-2.36/stdio-common'
make[1]: *** [Makefile:485: stdio-common/subdir_lib] Error 2 shuffle=3019527605
make[1]: Leaving directory '/var/tmp/portage/sys-libs/glibc-2.36-r5/work/glibc-2.36'
make: *** [Makefile:9: all] Error 2 shuffle=3019527605
Comment 4 Andreas K. Huettel 2022-11-12 22:10:02 UTC
Created attachment 14453 [details]
build log
Comment 5 Andreas Schwab 2022-11-21 16:39:51 UTC
Fixed in 2.37.