Message ID | 20230705143822.275049-1-fberat@redhat.com |
---|---|
Headers | show |
Series | Allow glibc to be built with _FORTIFY_SOURCE | expand |
https://build.opensuse.org/package/live_build_log/home:Andreas_Schwab:glibc/glibc/f/i586 gcc -shared -static-libgcc -Wl,-O1 -Wl,-z,defs -Wl,-dynamic-linker=/lib/ld-linux.so.2 -Wl,-z,pack-relative-relocs -B/home/abuild/rpmbuild/BUILD/glibc-2.37.9000.594.g5324d25842/cc-base/csu/ -Wl,--version-script=/home/abuild/rpmbuild/BUILD/glibc-2.37.9000.594.g5324d25842/cc-base/libc.map -Wl,-soname=libc.so.6 -Wl,-z,relro -Wl,-z,now -nostdlib -nostartfiles -e __libc_main -L/home/abuild/rpmbuild/BUILD/glibc-2.37.9000.594.g5324d25842/cc-base -L/home/abuild/rpmbuild/BUILD/glibc-2.37.9000.594.g5324d25842/cc-base/math -L/home/abuild/rpmbuild/BUILD/glibc-2.37.9000.594.g5324d25842/cc-base/elf -L/home/abuild/rpmbuild/BUILD/glibc-2.37.9000.594.g5324d25842/cc-base/dlfcn -L/home/abuild/rpmbuild/BUILD/glibc-2.37.9000.594.g5324d25842/cc-base/nss -L/home/abuild/rpmbuild/BUILD/glibc-2.37.9000.594.g5324d25842/cc-base/nis -L/home/abuild/rpmbuild/BUILD/glibc-2.37.9000.594.g5324d25842/cc-base/rt -L/home/abuild/rpmbuild/BUILD/glibc-2.37.9000.594.g5324d25842/cc-base/resolv -L/home/abuild/rpmbuild/BUILD/glibc-2.37.9000.594.g5324d25842/cc-base/mathvec -L/home/abuild/rpmbuild/BUILD/glibc-2.37.9000.594.g5324d25842/cc-base/support -L/home/abuild/rpmbuild/BUILD/glibc-2.37.9000.594.g5324d25842/cc-base/nptl -Wl,-rpath-link=/home/abuild/rpmbuild/BUILD/glibc-2.37.9000.594.g5324d25842/cc-base:/home/abuild/rpmbuild/BUILD/glibc-2.37.9000.594.g5324d25842/cc-base/math:/home/abuild/rpmbuild/BUILD/glibc-2.37.9000.594.g5324d25842/cc-base/elf:/home/abuild/rpmbuild/BUILD/glibc-2.37.9000.594.g5324d25842/cc-base/dlfcn:/home/abuild/rpmbuild/BUILD/glibc-2.37.9000.594.g5324d25842/cc-base/nss:/home/abuild/rpmbuild/BUILD/glibc-2.37.9000.594.g5324d25842/cc-base/nis:/home/abuild/rpmbuild/BUILD/glibc-2.37.9000.594.g5324d25842/cc-base/rt:/home/abuild/rpmbuild/BUILD/glibc-2.37.9000.594.g5324d25842/cc-base/resolv:/home/abuild/rpmbuild/BUILD/glibc-2.37.9000.594.g5324d25842/cc-base/mathvec:/home/abuild/rpmbuild/BUILD/glibc-2.37.9000.594.g5324d25842/cc-base/support:/home/abuild/rpmbuild/BUILD/glibc-2.37.9000.594.g5324d25842/cc-base/nptl -o /home/abuild/rpmbuild/BUILD/glibc-2.37.9000.594.g5324d25842/cc-base/libc.so /home/abuild/rpmbuild/BUILD/glibc-2.37.9000.594.g5324d25842/cc-base/csu/abi-note.o /home/abuild/rpmbuild/BUILD/glibc-2.37.9000.594.g5324d25842/cc-base/libc_pic.os.clean /home/abuild/rpmbuild/BUILD/glibc-2.37.9000.594.g5324d25842/cc-base/elf/interp.os /home/abuild/rpmbuild/BUILD/glibc-2.37.9000.594.g5324d25842/cc-base/elf/ld.so -lgcc /home/abuild/rpmbuild/BUILD/glibc-2.37.9000.594.g5324d25842/cc-base/elf/sofini.os /usr/lib/gcc/i586-suse-linux/13/../../../../i586-suse-linux/bin/ld: /home/abuild/rpmbuild/BUILD/glibc-2.37.9000.594.g5324d25842/cc-base/libc_pic.os.clean: in function `__GI_memmove': /home/abuild/rpmbuild/BUILD/glibc-2.37.9000.594.g5324d25842/libio/../string/bits/string_fortified.h:36: undefined reference to `__GI___memmove_chk' /usr/lib/gcc/i586-suse-linux/13/../../../../i586-suse-linux/bin/ld: /home/abuild/rpmbuild/BUILD/glibc-2.37.9000.594.g5324d25842/cc-base/libc_pic.os.clean: in function `__GI_memmove': /home/abuild/rpmbuild/BUILD/glibc-2.37.9000.594.g5324d25842/string/../string/bits/string_fortified.h:36: undefined reference to `__GI___memmove_chk' /usr/lib/gcc/i586-suse-linux/13/../../../../i586-suse-linux/bin/ld: /home/abuild/rpmbuild/BUILD/glibc-2.37.9000.594.g5324d25842/string/../string/bits/string_fortified.h:36: undefined reference to `__GI___memmove_chk' /usr/lib/gcc/i586-suse-linux/13/../../../../i586-suse-linux/bin/ld: /home/abuild/rpmbuild/BUILD/glibc-2.37.9000.594.g5324d25842/cc-base/libc_pic.os.clean: in function `__GI_memmove': /home/abuild/rpmbuild/BUILD/glibc-2.37.9000.594.g5324d25842/io/../string/bits/string_fortified.h:36: undefined reference to `__GI___memmove_chk' /usr/lib/gcc/i586-suse-linux/13/../../../../i586-suse-linux/bin/ld: /home/abuild/rpmbuild/BUILD/glibc-2.37.9000.594.g5324d25842/io/../string/bits/string_fortified.h:36: undefined reference to `__GI___memmove_chk' /usr/lib/gcc/i586-suse-linux/13/../../../../i586-suse-linux/bin/ld: /home/abuild/rpmbuild/BUILD/glibc-2.37.9000.594.g5324d25842/cc-base/libc_pic.os.clean:/home/abuild/rpmbuild/BUILD/glibc-2.37.9000.594.g5324d25842/io/../string/bits/string_fortified.h:36: more undefined references to `__GI___memmove_chk' follow collect2: error: ld returned 1 exit status make[2]: *** [../Makerules:647: /home/abuild/rpmbuild/BUILD/glibc-2.37.9000.594.g5324d25842/cc-base/libc.so] Error 1 make[2]: Leaving directory '/home/abuild/rpmbuild/BUILD/glibc-2.37.9000.594.g5324d25842/elf' make[1]: *** [Makefile:484: elf/subdir_lib] Error 2 make: *** [Makefile:9: all] Error 2
https://build.opensuse.org/package/live_build_log/home:Andreas_Schwab:glibc/glibc/s/s390x gcc ../sysdeps/s390/memmove-c.c -c -std=gnu11 -fgnu89-inline -O2 -Wall -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -Werror=return-type -g -Wall -Wwrite-strings -Wundef -Werror -fmerge-all-constants -frounding-math -fstack-protector-strong -fno-common -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wstrict-prototypes -Wold-style-definition -fmath-errno -mlong-double-128 -fPIE -ftls-model=initial-exec -I../include -I/home/abuild/rpmbuild/BUILD/glibc-2.37.9000.594.g5324d25842/cc-base/string -I/home/abuild/rpmbuild/BUILD/glibc-2.37.9000.594.g5324d25842/cc-base -I../sysdeps/unix/sysv/linux/s390/s390-64 -I../sysdeps/unix/sysv/linux/wordsize-64 -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-64 -I../sysdeps/wordsize-64 -I../sysdeps/s390/multiarch -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/abuild/rpmbuild/BUILD/glibc-2.37.9000.594.g5324d25842/cc-base/libc-modules.h -DMODULE_NAME=libc -include ../include/libc-symbols.h -DPIC -DTOP_NAMESPACE=glibc -o /home/abuild/rpmbuild/BUILD/glibc-2.37.9000.594.g5324d25842/cc-base/string/memmove-c.o -MD -MP -MF /home/abuild/rpmbuild/BUILD/glibc-2.37.9000.594.g5324d25842/cc-base/string/memmove-c.o.dt -MT /home/abuild/rpmbuild/BUILD/glibc-2.37.9000.594.g5324d25842/cc-base/string/memmove-c.o In file included from ../sysdeps/s390/memmove-c.c:36: ../string/memmove.c:44:1: error: optimization attribute on 'memmove' follows definition but the attribute doesn't match [-Werror=attributes] 44 | { | ^ In file included from ../include/sys/cdefs.h:10, from ../include/features.h:503, from ../posix/sys/types.h:25, from ../include/sys/types.h:1, from ../include/string.h:6, from ../string/memmove.c:20: ../string/bits/string_fortified.h:34:8: note: previous definition of 'memmove' with type 'void *(void *, const void *, size_t)' {aka 'void *(void *, const void *, long unsigned int)'} 34 | __NTH (memmove (void *__dest, const void *__src, size_t __len)) | ^~~~~~~ ../misc/sys/cdefs.h:81:62: note: in definition of macro '__NTH' 81 | # define __NTH(fct) __attribute__ ((__nothrow__ __LEAF)) fct | ^~~ cc1: all warnings being treated as errors
On Thu, Jul 6, 2023 at 3:15 PM Andreas Schwab <schwab@suse.de> wrote: > > https://build.opensuse.org/package/live_build_log/home:Andreas_Schwab:glibc/glibc/f/i586 > > gcc -shared -static-libgcc -Wl,-O1 -Wl,-z,defs > -Wl,-dynamic-linker=/lib/ld-linux.so.2 -Wl,-z,pack-relative-relocs > -B/home/abuild/rpmbuild/BUILD/glibc-2.37.9000.594.g5324d25842/cc-base/csu/ > -Wl,--version-script=/home/abuild/rpmbuild/BUILD/glibc-2.37.9000.594.g5324d25842/cc-base/libc.map > -Wl,-soname=libc.so.6 -Wl,-z,relro -Wl,-z,now -nostdlib -nostartfiles -e > __libc_main > -L/home/abuild/rpmbuild/BUILD/glibc-2.37.9000.594.g5324d25842/cc-base > -L/home/abuild/rpmbuild/BUILD/glibc-2.37.9000.594.g5324d25842/cc-base/math > -L/home/abuild/rpmbuild/BUILD/glibc-2.37.9000.594.g5324d25842/cc-base/elf > -L/home/abuild/rpmbuild/BUILD/glibc-2.37.9000.594.g5324d25842/cc-base/dlfcn > -L/home/abuild/rpmbuild/BUILD/glibc-2.37.9000.594.g5324d25842/cc-base/nss > -L/home/abuild/rpmbuild/BUILD/glibc-2.37.9000.594.g5324d25842/cc-base/nis > -L/home/abuild/rpmbuild/BUILD/glibc-2.37.9000.594.g5324d25842/cc-base/rt > -L/home/abuild/rpmbuild/BUILD/glibc-2.37.9000.594.g5324d25842/cc-base/resolv > -L/home/abuild/rpmbuild/BUILD/glibc-2.37.9000.594.g5324d25842/cc-base/mathvec > -L/home/abuild/rpmbuild/BUILD/glibc-2.37.9000.594.g5324d25842/cc-base/support > -L/home/abuild/rpmbuild/BUILD/glibc-2.37.9000.594.g5324d25842/cc-base/nptl > -Wl,-rpath-link=/home/abuild/rpmbuild/BUILD/glibc-2.37.9000.594.g5324d25842/cc-base:/home/abuild/rpmbuild/BUILD/glibc-2.37.9000.594.g5324d25842/cc-base/math:/home/abuild/rpmbuild/BUILD/glibc-2.37.9000.594.g5324d25842/cc-base/elf:/home/abuild/rpmbuild/BUILD/glibc-2.37.9000.594.g5324d25842/cc-base/dlfcn:/home/abuild/rpmbuild/BUILD/glibc-2.37.9000.594.g5324d25842/cc-base/nss:/home/abuild/rpmbuild/BUILD/glibc-2.37.9000.594.g5324d25842/cc-base/nis:/home/abuild/rpmbuild/BUILD/glibc-2.37.9000.594.g5324d25842/cc-base/rt:/home/abuild/rpmbuild/BUILD/glibc-2.37.9000.594.g5324d25842/cc-base/resolv:/home/abuild/rpmbuild/BUILD/glibc-2.37.9000.594.g5324d25842/cc-base/mathvec:/home/abuild/rpmbuild/BUILD/glibc-2.37.9000.594.g5324d25842/cc-base/support:/home/abuild/rpmbuild/BUILD/glibc-2.37.9000.594.g5324d25842/cc-base/nptl > -o > /home/abuild/rpmbuild/BUILD/glibc-2.37.9000.594.g5324d25842/cc-base/libc.so > /home/abuild/rpmbuild/BUILD/glibc-2.37.9000.594.g5324d25842/cc-base/csu/abi-note.o > /home/abuild/rpmbuild/BUILD/glibc-2.37.9000.594.g5324d25842/cc-base/libc_pic.os.clean > /home/abuild/rpmbuild/BUILD/glibc-2.37.9000.594.g5324d25842/cc-base/elf/interp.os > /home/abuild/rpmbuild/BUILD/glibc-2.37.9000.594.g5324d25842/cc-base/elf/ld.so > -lgcc > /home/abuild/rpmbuild/BUILD/glibc-2.37.9000.594.g5324d25842/cc-base/elf/sofini.os > /usr/lib/gcc/i586-suse-linux/13/../../../../i586-suse-linux/bin/ld: > /home/abuild/rpmbuild/BUILD/glibc-2.37.9000.594.g5324d25842/cc-base/libc_pic.os.clean: > in function `__GI_memmove': > /home/abuild/rpmbuild/BUILD/glibc-2.37.9000.594.g5324d25842/libio/../string/bits/string_fortified.h:36: > undefined reference to `__GI___memmove_chk' > /usr/lib/gcc/i586-suse-linux/13/../../../../i586-suse-linux/bin/ld: > /home/abuild/rpmbuild/BUILD/glibc-2.37.9000.594.g5324d25842/cc-base/libc_pic.os.clean: > in function `__GI_memmove': > /home/abuild/rpmbuild/BUILD/glibc-2.37.9000.594.g5324d25842/string/../string/bits/string_fortified.h:36: > undefined reference to `__GI___memmove_chk' > /usr/lib/gcc/i586-suse-linux/13/../../../../i586-suse-linux/bin/ld: > /home/abuild/rpmbuild/BUILD/glibc-2.37.9000.594.g5324d25842/string/../string/bits/string_fortified.h:36: > undefined reference to `__GI___memmove_chk' > /usr/lib/gcc/i586-suse-linux/13/../../../../i586-suse-linux/bin/ld: > /home/abuild/rpmbuild/BUILD/glibc-2.37.9000.594.g5324d25842/cc-base/libc_pic.os.clean: > in function `__GI_memmove': > /home/abuild/rpmbuild/BUILD/glibc-2.37.9000.594.g5324d25842/io/../string/bits/string_fortified.h:36: > undefined reference to `__GI___memmove_chk' > /usr/lib/gcc/i586-suse-linux/13/../../../../i586-suse-linux/bin/ld: > /home/abuild/rpmbuild/BUILD/glibc-2.37.9000.594.g5324d25842/io/../string/bits/string_fortified.h:36: > undefined reference to `__GI___memmove_chk' > /usr/lib/gcc/i586-suse-linux/13/../../../../i586-suse-linux/bin/ld: > /home/abuild/rpmbuild/BUILD/glibc-2.37.9000.594.g5324d25842/cc-base/libc_pic.os.clean:/home/abuild/rpmbuild/BUILD/glibc-2.37.9000.594.g5324d25842/io/../string/bits/string_fortified.h:36: > more undefined references to `__GI___memmove_chk' follow > collect2: error: ld returned 1 exit status > make[2]: *** [../Makerules:647: > /home/abuild/rpmbuild/BUILD/glibc-2.37.9000.594.g5324d25842/cc-base/libc.so] > Error 1 > make[2]: Leaving directory > '/home/abuild/rpmbuild/BUILD/glibc-2.37.9000.594.g5324d25842/elf' > make[1]: *** [Makefile:484: elf/subdir_lib] Error 2 > make: *** [Makefile:9: all] Error 2 > > Hello, Please open a ticket if not already done. A reproduction scenario/environment would be nice to have too. > -- > Andreas Schwab, SUSE Labs, schwab@suse.de > GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7 > "And now for something completely different." > >
On Jul 06 2023, Frederic Berat wrote:
> A reproduction scenario/environment would be nice to have too.
See the log.
On Thu, Jul 6, 2023 at 3:38 PM Andreas Schwab <schwab@suse.de> wrote: > > https://build.opensuse.org/package/live_build_log/home:Andreas_Schwab:glibc/glibc/s/s390x > > gcc ../sysdeps/s390/memmove-c.c -c -std=gnu11 -fgnu89-inline -O2 -Wall > -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection > -Werror=return-type -g -Wall -Wwrite-strings -Wundef -Werror > -fmerge-all-constants -frounding-math -fstack-protector-strong -fno-common > -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wstrict-prototypes > -Wold-style-definition -fmath-errno -mlong-double-128 -fPIE > -ftls-model=initial-exec -I../include > -I/home/abuild/rpmbuild/BUILD/glibc-2.37.9000.594.g5324d25842/cc-base/string > -I/home/abuild/rpmbuild/BUILD/glibc-2.37.9000.594.g5324d25842/cc-base > -I../sysdeps/unix/sysv/linux/s390/s390-64 > -I../sysdeps/unix/sysv/linux/wordsize-64 > -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-64 -I../sysdeps/wordsize-64 > -I../sysdeps/s390/multiarch -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/abuild/rpmbuild/BUILD/glibc-2.37.9000.594.g5324d25842/cc-base/libc-modules.h > -DMODULE_NAME=libc -include ../include/libc-symbols.h -DPIC > -DTOP_NAMESPACE=glibc -o > /home/abuild/rpmbuild/BUILD/glibc-2.37.9000.594.g5324d25842/cc-base/string/memmove-c.o > -MD -MP -MF > /home/abuild/rpmbuild/BUILD/glibc-2.37.9000.594.g5324d25842/cc-base/string/memmove-c.o.dt > -MT > /home/abuild/rpmbuild/BUILD/glibc-2.37.9000.594.g5324d25842/cc-base/string/memmove-c.o > In file included from ../sysdeps/s390/memmove-c.c:36: > ../string/memmove.c:44:1: error: optimization attribute on 'memmove' > follows definition but the attribute doesn't match [-Werror=attributes] > 44 | { > | ^ > In file included from ../include/sys/cdefs.h:10, > from ../include/features.h:503, > from ../posix/sys/types.h:25, > from ../include/sys/types.h:1, > from ../include/string.h:6, > from ../string/memmove.c:20: > ../string/bits/string_fortified.h:34:8: note: previous definition of > 'memmove' with type 'void *(void *, const void *, size_t)' {aka 'void > *(void *, const void *, long unsigned int)'} > 34 | __NTH (memmove (void *__dest, const void *__src, size_t __len)) > | ^~~~~~~ > ../misc/sys/cdefs.h:81:62: note: in definition of macro '__NTH' > 81 | # define __NTH(fct) __attribute__ ((__nothrow__ __LEAF)) fct > | ^~~ > cc1: all warnings being treated as errors > > Hello, Please review https://patchwork.sourceware.org/project/glibc/patch/20230707145425.535014-1-fberat@redhat.com/
On Thu, Jul 6, 2023 at 3:15 PM Andreas Schwab <schwab@suse.de> wrote: > > https://build.opensuse.org/package/live_build_log/home:Andreas_Schwab:glibc/glibc/f/i586 > > gcc -shared -static-libgcc -Wl,-O1 -Wl,-z,defs > -Wl,-dynamic-linker=/lib/ld-linux.so.2 -Wl,-z,pack-relative-relocs > -B/home/abuild/rpmbuild/BUILD/glibc-2.37.9000.594.g5324d25842/cc-base/csu/ > -Wl,--version-script=/home/abuild/rpmbuild/BUILD/glibc-2.37.9000.594.g5324d25842/cc-base/libc.map > -Wl,-soname=libc.so.6 -Wl,-z,relro -Wl,-z,now -nostdlib -nostartfiles -e > __libc_main > -L/home/abuild/rpmbuild/BUILD/glibc-2.37.9000.594.g5324d25842/cc-base > -L/home/abuild/rpmbuild/BUILD/glibc-2.37.9000.594.g5324d25842/cc-base/math > -L/home/abuild/rpmbuild/BUILD/glibc-2.37.9000.594.g5324d25842/cc-base/elf > -L/home/abuild/rpmbuild/BUILD/glibc-2.37.9000.594.g5324d25842/cc-base/dlfcn > -L/home/abuild/rpmbuild/BUILD/glibc-2.37.9000.594.g5324d25842/cc-base/nss > -L/home/abuild/rpmbuild/BUILD/glibc-2.37.9000.594.g5324d25842/cc-base/nis > -L/home/abuild/rpmbuild/BUILD/glibc-2.37.9000.594.g5324d25842/cc-base/rt > -L/home/abuild/rpmbuild/BUILD/glibc-2.37.9000.594.g5324d25842/cc-base/resolv > -L/home/abuild/rpmbuild/BUILD/glibc-2.37.9000.594.g5324d25842/cc-base/mathvec > -L/home/abuild/rpmbuild/BUILD/glibc-2.37.9000.594.g5324d25842/cc-base/support > -L/home/abuild/rpmbuild/BUILD/glibc-2.37.9000.594.g5324d25842/cc-base/nptl > -Wl,-rpath-link=/home/abuild/rpmbuild/BUILD/glibc-2.37.9000.594.g5324d25842/cc-base:/home/abuild/rpmbuild/BUILD/glibc-2.37.9000.594.g5324d25842/cc-base/math:/home/abuild/rpmbuild/BUILD/glibc-2.37.9000.594.g5324d25842/cc-base/elf:/home/abuild/rpmbuild/BUILD/glibc-2.37.9000.594.g5324d25842/cc-base/dlfcn:/home/abuild/rpmbuild/BUILD/glibc-2.37.9000.594.g5324d25842/cc-base/nss:/home/abuild/rpmbuild/BUILD/glibc-2.37.9000.594.g5324d25842/cc-base/nis:/home/abuild/rpmbuild/BUILD/glibc-2.37.9000.594.g5324d25842/cc-base/rt:/home/abuild/rpmbuild/BUILD/glibc-2.37.9000.594.g5324d25842/cc-base/resolv:/home/abuild/rpmbuild/BUILD/glibc-2.37.9000.594.g5324d25842/cc-base/mathvec:/home/abuild/rpmbuild/BUILD/glibc-2.37.9000.594.g5324d25842/cc-base/support:/home/abuild/rpmbuild/BUILD/glibc-2.37.9000.594.g5324d25842/cc-base/nptl > -o > /home/abuild/rpmbuild/BUILD/glibc-2.37.9000.594.g5324d25842/cc-base/libc.so > /home/abuild/rpmbuild/BUILD/glibc-2.37.9000.594.g5324d25842/cc-base/csu/abi-note.o > /home/abuild/rpmbuild/BUILD/glibc-2.37.9000.594.g5324d25842/cc-base/libc_pic.os.clean > /home/abuild/rpmbuild/BUILD/glibc-2.37.9000.594.g5324d25842/cc-base/elf/interp.os > /home/abuild/rpmbuild/BUILD/glibc-2.37.9000.594.g5324d25842/cc-base/elf/ld.so > -lgcc > /home/abuild/rpmbuild/BUILD/glibc-2.37.9000.594.g5324d25842/cc-base/elf/sofini.os > /usr/lib/gcc/i586-suse-linux/13/../../../../i586-suse-linux/bin/ld: > /home/abuild/rpmbuild/BUILD/glibc-2.37.9000.594.g5324d25842/cc-base/libc_pic.os.clean: > in function `__GI_memmove': > /home/abuild/rpmbuild/BUILD/glibc-2.37.9000.594.g5324d25842/libio/../string/bits/string_fortified.h:36: > undefined reference to `__GI___memmove_chk' > /usr/lib/gcc/i586-suse-linux/13/../../../../i586-suse-linux/bin/ld: > /home/abuild/rpmbuild/BUILD/glibc-2.37.9000.594.g5324d25842/cc-base/libc_pic.os.clean: > in function `__GI_memmove': > /home/abuild/rpmbuild/BUILD/glibc-2.37.9000.594.g5324d25842/string/../string/bits/string_fortified.h:36: > undefined reference to `__GI___memmove_chk' > /usr/lib/gcc/i586-suse-linux/13/../../../../i586-suse-linux/bin/ld: > /home/abuild/rpmbuild/BUILD/glibc-2.37.9000.594.g5324d25842/string/../string/bits/string_fortified.h:36: > undefined reference to `__GI___memmove_chk' > /usr/lib/gcc/i586-suse-linux/13/../../../../i586-suse-linux/bin/ld: > /home/abuild/rpmbuild/BUILD/glibc-2.37.9000.594.g5324d25842/cc-base/libc_pic.os.clean: > in function `__GI_memmove': > /home/abuild/rpmbuild/BUILD/glibc-2.37.9000.594.g5324d25842/io/../string/bits/string_fortified.h:36: > undefined reference to `__GI___memmove_chk' > /usr/lib/gcc/i586-suse-linux/13/../../../../i586-suse-linux/bin/ld: > /home/abuild/rpmbuild/BUILD/glibc-2.37.9000.594.g5324d25842/io/../string/bits/string_fortified.h:36: > undefined reference to `__GI___memmove_chk' > /usr/lib/gcc/i586-suse-linux/13/../../../../i586-suse-linux/bin/ld: > /home/abuild/rpmbuild/BUILD/glibc-2.37.9000.594.g5324d25842/cc-base/libc_pic.os.clean:/home/abuild/rpmbuild/BUILD/glibc-2.37.9000.594.g5324d25842/io/../string/bits/string_fortified.h:36: > more undefined references to `__GI___memmove_chk' follow > collect2: error: ld returned 1 exit status > make[2]: *** [../Makerules:647: > /home/abuild/rpmbuild/BUILD/glibc-2.37.9000.594.g5324d25842/cc-base/libc.so] > Error 1 > make[2]: Leaving directory > '/home/abuild/rpmbuild/BUILD/glibc-2.37.9000.594.g5324d25842/elf' > make[1]: *** [Makefile:484: elf/subdir_lib] Error 2 > make: *** [Makefile:9: all] Error 2 > > Hello, Please review https://patchwork.sourceware.org/project/glibc/patch/20230706172047.528695-1-fberat@redhat.com/ > -- > Andreas Schwab, SUSE Labs, schwab@suse.de > GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7 > "And now for something completely different." > >
https://build.opensuse.org/package/live_build_log/home:Andreas_Schwab:glibc/glibc:i686/f/i586 make[2]: Entering directory '/home/abuild/rpmbuild/BUILD/glibc-2.37.9000.604.g7f079fdc16/support' gcc -o /home/abuild/rpmbuild/BUILD/glibc-2.37.9000.604.g7f079fdc16/cc-base/support/test-run-command -nostdlib -nostartfiles -static -static-pie -Wl,-z,pack-relative-relocs /home/abuild/rpmbuild/BUILD/glibc-2.37.9000.604.g7f079fdc16/cc-base/csu/rcrt1.o /home/abuild/rpmbuild/BUILD/glibc-2.37.9000.604.g7f079fdc16/cc-base/csu/crti.o `gcc --print-file-name=crtbeginS.o` /home/abuild/rpmbuild/BUILD/glibc-2.37.9000.604.g7f079fdc16/cc-base/support/test-run-command.o /home/abuild/rpmbuild/BUILD/glibc-2.37.9000.604.g7f079fdc16/cc-base/elf/static-stubs.o /home/abuild/rpmbuild/BUILD/glibc-2.37.9000.604.g7f079fdc16/cc-base/support/libsupport_nonshared.a -Wl,-z,now -Wl,--start-group /home/abuild/rpmbuild/BUILD/glibc-2.37.9000.604.g7f079fdc16/cc-base/libc.a -lgcc -Wl,--end-group `gcc --print-file-name=crtendS.o` /home/abuild/rpmbuild/BUILD/glibc-2.37.9000.604.g7f079fdc16/cc-base/csu/crtn.o /usr/lib/gcc/i586-suse-linux/13/../../../../i586-suse-linux/bin/ld: /home/abuild/rpmbuild/BUILD/glibc-2.37.9000.604.g7f079fdc16/cc-base/libc.a(memset_chk-nonshared.o): unsupported non-PIC call to IFUNC `memset' /usr/lib/gcc/i586-suse-linux/13/../../../../i586-suse-linux/bin/ld: failed to set dynamic section sizes: bad value collect2: error: ld returned 1 exit status make[2]: *** [../Rules:290: /home/abuild/rpmbuild/BUILD/glibc-2.37.9000.604.g7f079fdc16/cc-base/support/test-run-command] Error 1 make[2]: Leaving directory '/home/abuild/rpmbuild/BUILD/glibc-2.37.9000.604.g7f079fdc16/support'
On Tue, Jul 11, 2023 at 10:44 AM Andreas Schwab <schwab@suse.de> wrote: > > https://build.opensuse.org/package/live_build_log/home:Andreas_Schwab:glibc/glibc:i686/f/i586 > > make[2]: Entering directory > '/home/abuild/rpmbuild/BUILD/glibc-2.37.9000.604.g7f079fdc16/support' > gcc -o > /home/abuild/rpmbuild/BUILD/glibc-2.37.9000.604.g7f079fdc16/cc-base/support/test-run-command > -nostdlib -nostartfiles -static -static-pie -Wl,-z,pack-relative-relocs > /home/abuild/rpmbuild/BUILD/glibc-2.37.9000.604.g7f079fdc16/cc-base/csu/rcrt1.o > /home/abuild/rpmbuild/BUILD/glibc-2.37.9000.604.g7f079fdc16/cc-base/csu/crti.o > `gcc --print-file-name=crtbeginS.o` > /home/abuild/rpmbuild/BUILD/glibc-2.37.9000.604.g7f079fdc16/cc-base/support/test-run-command.o > /home/abuild/rpmbuild/BUILD/glibc-2.37.9000.604.g7f079fdc16/cc-base/elf/static-stubs.o > /home/abuild/rpmbuild/BUILD/glibc-2.37.9000.604.g7f079fdc16/cc-base/support/libsupport_nonshared.a > -Wl,-z,now -Wl,--start-group > /home/abuild/rpmbuild/BUILD/glibc-2.37.9000.604.g7f079fdc16/cc-base/libc.a > -lgcc -Wl,--end-group `gcc --print-file-name=crtendS.o` > /home/abuild/rpmbuild/BUILD/glibc-2.37.9000.604.g7f079fdc16/cc-base/csu/crtn.o > /usr/lib/gcc/i586-suse-linux/13/../../../../i586-suse-linux/bin/ld: > /home/abuild/rpmbuild/BUILD/glibc-2.37.9000.604.g7f079fdc16/cc-base/libc.a(memset_chk-nonshared.o): > unsupported non-PIC call to IFUNC `memset' > /usr/lib/gcc/i586-suse-linux/13/../../../../i586-suse-linux/bin/ld: failed > to set dynamic section sizes: bad value > collect2: error: ld returned 1 exit status > make[2]: *** [../Rules:290: > /home/abuild/rpmbuild/BUILD/glibc-2.37.9000.604.g7f079fdc16/cc-base/support/test-run-command] > Error 1 > make[2]: Leaving directory > '/home/abuild/rpmbuild/BUILD/glibc-2.37.9000.604.g7f079fdc16/support' > > This one will take a bit more time to analyze, I finally succeeded to reproduce it at least and I'm trying to figure out what's going on.
This is fixed by commit ca230f5833.
On Wed, Jul 12, 2023 at 3:38 PM Andreas Schwab <schwab@suse.de> wrote: > This is fixed by commit ca230f5833. > > Great thanks ! > -- > Andreas Schwab, SUSE Labs, schwab@suse.de > GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7 > "And now for something completely different." > >