Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 911681

Summary: sys-libs/glibc-2.38[-multiarch] - (.text+<snip>): undefined reference to _GI_memset_chk
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Gentoo Toolchain Maintainers <toolchain>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 911592    
Attachments: emerge-info.txt
emerge-history.txt
environment
etc.clang.tar.xz
etc.portage.tar.xz
logs.tar.xz
sys-libs:glibc-2.38:20230803-170550.log.xz
temp.tar.xz

Description Toralf Förster gentoo-dev 2023-08-03 17:57:10 UTC
too long lines were shrinked:

  | gawk '($7 ~ /^UND(|EF)$/ && $1 != "0:" && $4 != "REGISTER") { print; p=1 } END { exit p != 0 }'
mv -f /var/tmp/portage/sys-libs/glibc-2.38/work/build-amd64-x86_64-pc-linux-gnu-nptl/elf/ld.so.new /var/tmp/portage/sys-libs/glibc-2.38/work/build-amd64-x86_64-pc-linux-gnu-nptl/elf/ld.so
rm -f /var/tmp/portage/sys-libs/glibc-2.38/work/build-amd64-x86_64-pc-linux-gnu-nptl/elf/ld-linux-x86-64.so.2.new
x86_64-pc-linux-gnu-gcc -m64 -pipe -march=native -fno-diagnostics-color -O2 -fcf-protection=none -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,--defsym=__gentoo_check_ldflags__=0 -Wl,--hash-style=both -Wl,--hash-style=both -Wl,--hash-style=both -Wl,--hash-style=both -Wl,-O1 -Wl,--as-needed
/bin/sh ../scripts/rellns-sh /var/tmp/portage/sys-libs/glibc-2.38/work/build-amd64-x86_64-pc-linux-gnu-nptl/elf/ld.so /var/tmp/portage/sys-libs/glibc-2.38/work/build-amd64-x86_64-pc-linux-gnu-nptl/elf/ld-linux-x86-64.so.2.new
/usr/libexec/gcc/x86_64-pc-linux-gnu/ld: /var/tmp/portage/sys-libs/glibc-2.38/work/build-amd64-x86_64-pc-linux-gnu-nptl/libc_pic.os.clean: in function `__GI___gconv_open':
(.text+0x9a7): undefined reference to `__GI___memset_chk'
/usr/libexec/gcc/x86_64-pc-linux-gnu/ld: /var/tmp/portage/sys-libs/glibc-2.38/work/build-amd64-x86_64-pc-linux-gnu-nptl/libc_pic.os.clean: in function `add_module':
gconv_conf.c:(.text+0x297e): undefined reference to `__GI___memcpy_chk'

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 23.0_desktop_gnome_systemd-20230803-052004

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-13 *
clang/llvm (if any):
clang version 16.0.6
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/16/bin
Configuration file: /etc/clang/clang.cfg
/usr/lib/llvm/16
16.0.6
Python 3.11.4
Available Ruby profiles:
  [1]   ruby31 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.71.0 *
php cli (if any):

  HEAD of ::gentoo
commit d40009a099a24972c29acd1f08360c311a62f7e6
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Thu Aug 3 05:16:36 2023 +0000

    2023-08-03 05:16:36 UTC

emerge -qpvO sys-libs/glibc
[ebuild     U ] sys-libs/glibc-2.38 [2.37-r3] USE="gd* hash-sysv-compat* (multilib) perl* ssp stack-realign (static-libs) suid* systemd systemtap* -audit -caps (-cet) -compile-locales (-crypt) (-custom-cflags) -doc -headers-only -multiarch* -multilib-bootstrap -nscd -profile (-selinux) -test (-vanilla)"
Comment 1 Toralf Förster gentoo-dev 2023-08-03 17:57:10 UTC
Created attachment 866969 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-08-03 17:57:11 UTC
Created attachment 866970 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2023-08-03 17:57:13 UTC
Created attachment 866971 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2023-08-03 17:57:14 UTC
Created attachment 866972 [details]
etc.clang.tar.xz
Comment 5 Toralf Förster gentoo-dev 2023-08-03 17:57:14 UTC
Created attachment 866973 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2023-08-03 17:57:15 UTC
Created attachment 866974 [details]
logs.tar.xz
Comment 7 Toralf Förster gentoo-dev 2023-08-03 17:57:17 UTC
Created attachment 866975 [details]
sys-libs:glibc-2.38:20230803-170550.log.xz
Comment 8 Toralf Förster gentoo-dev 2023-08-03 17:57:18 UTC
Created attachment 866976 [details]
temp.tar.xz
Comment 9 Andreas K. Hüttel archtester gentoo-dev 2023-08-04 19:46:30 UTC

*** This bug has been marked as a duplicate of bug 911580 ***