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

Bug 840517

Summary: sys-libs/glibc-2.35-r3 fails test on amd64 - FAIL: elf/check-cet
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Gentoo Toolchain Maintainers <toolchain>
Status: RESOLVED OBSOLETE    
Severity: normal Keywords: TESTFAILURE
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=899616
https://bugs.gentoo.org/show_bug.cgi?id=902441
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge-info.txt
emerge-history.txt
environment
etc.portage.tar.bz2
logs.tar.bz2
sys-libs:glibc-2.35-r3:20220423-221822.log.bz2
temp.tar.bz2

Description Toralf Förster gentoo-dev 2022-04-24 07:03:11 UTC
  > /var/tmp/portage/sys-libs/glibc-2.35-r3/work/build-x86-x86_64-pc-linux-gnu-nptl/subdir-tests.sum
scripts/merge-test-results.sh -t /var/tmp/portage/sys-libs/glibc-2.35-r3/work/build-x86-x86_64-pc-linux-gnu-nptl/ subdir-tests.sum \
  . argp assert catgets conform csu ctype debug dirent dlfcn elf gmon gnulib grp gshadow hesiod iconv iconvdata inet intl io libio locale localedata login malloc manual math mathvec misc nis nptl nptl_db nscd nss po posix pwd resolv resource rt setjmp shadow signal socket stdio-common stdlib string sunrpc support sysvipc termios time timezone wcsmbs wctype \
  > /var/tmp/portage/sys-libs/glibc-2.35-r3/work/build-x86-x86_64-pc-linux-gnu-nptl/tests.sum
FAIL: elf/check-cet
FAIL: elf/circleload1
FAIL: elf/constload1

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_hardened-j4_test-20220423-192942

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-11.3.0 *
clang/llvm (if any):
Python 3.9.12
php cli:

  HEAD of ::gentoo
commit 3bb4f475a04aa5529299dad70ec77d93735aa085
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sat Apr 23 21:49:09 2022 +0000

    2022-04-23 21:49:09 UTC

emerge -qpvO sys-libs/glibc
[ebuild     U ] sys-libs/glibc-2.35-r3 [2.34-r10] USE="cet* clone3%* multiarch (multilib) (ssp) (static-libs) systemtap* test* -audit -caps -compile-locales (-crypt) (-custom-cflags) -doc -experimental-loong% -gd -headers-only -multilib-bootstrap -nscd -profile (-selinux) -suid -systemd (-vanilla) (-static-pie%)"
Comment 1 Toralf Förster gentoo-dev 2022-04-24 07:03:13 UTC
Created attachment 773872 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-04-24 07:03:14 UTC
Created attachment 773875 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2022-04-24 07:03:15 UTC
Created attachment 773878 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2022-04-24 07:03:16 UTC
Created attachment 773881 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2022-04-24 07:03:17 UTC
Created attachment 773884 [details]
logs.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-04-24 07:03:19 UTC
Created attachment 773887 [details]
sys-libs:glibc-2.35-r3:20220423-221822.log.bz2
Comment 7 Toralf Förster gentoo-dev 2022-04-24 07:03:21 UTC
Created attachment 773890 [details]
temp.tar.bz2
Comment 8 Andreas K. Hüttel archtester gentoo-dev 2022-07-30 17:40:24 UTC
FAIL: elf/check-cet

check-cet.out: 

/var/tmp/portage/sys-libs/glibc-2.35-r3/work/build-x86-x86_64-pc-linux-gnu-nptl/elf/ld.so.note: *** no CET property found
/var/tmp/portage/sys-libs/glibc-2.35-r3/work/build-x86-x86_64-pc-linux-gnu-nptl/libc.so.note: *** no CET property found
/var/tmp/portage/sys-libs/glibc-2.35-r3/work/build-x86-x86_64-pc-linux-gnu-nptl/debug/libpcprofile.so.note: *** no CET property found
/var/tmp/portage/sys-libs/glibc-2.35-r3/work/build-x86-x86_64-pc-linux-gnu-nptl/dlfcn/libdl.so.note: *** no CET property found
...


FAIL: elf/circleload1

circleload1.out:

This is what is in memory now:
   Name
 --------------------------------------------------------
 linux-gate.so.1, count = 0
 /var/tmp/portage/sys-libs/glibc-2.35-r3/work/build-x86-x86_64-pc-linux-gnu-nptl/libc.so.6, count = 0
 /var/tmp/portage/sys-libs/glibc-2.35-r3/work/build-x86-x86_64-pc-linux-gnu-nptl/elf/ld-linux.so.2, count = 0
Loading shared object circlemod1a.so: RTLD_LAZY
   Name
 --------------------------------------------------------
 linux-gate.so.1, count = 0
 /var/tmp/portage/sys-libs/glibc-2.35-r3/work/build-x86-x86_64-pc-linux-gnu-nptl/libc.so.6, count = 0
 /var/tmp/portage/sys-libs/glibc-2.35-r3/work/build-x86-x86_64-pc-linux-gnu-nptl/elf/ld-linux.so.2, count = 0
 /var/tmp/portage/sys-libs/glibc-2.35-r3/work/build-x86-x86_64-pc-linux-gnu-nptl/elf/circlemod1a.so, count = 1
 /var/tmp/portage/sys-libs/glibc-2.35-r3/work/build-x86-x86_64-pc-linux-gnu-nptl/elf/circlemod2a.so, count = 0
 /var/tmp/portage/sys-libs/glibc-2.35-r3/work/build-x86-x86_64-pc-linux-gnu-nptl/elf/circlemod3a.so, count = 0
UnLoading shared object circlemod1a.so
   Name
 --------------------------------------------------------
 linux-gate.so.1, count = 0
 /var/tmp/portage/sys-libs/glibc-2.35-r3/work/build-x86-x86_64-pc-linux-gnu-nptl/libc.so.6, count = 0
 /var/tmp/portage/sys-libs/glibc-2.35-r3/work/build-x86-x86_64-pc-linux-gnu-nptl/elf/ld-linux.so.2, count = 0

This is what is in memory now:
   Name
 --------------------------------------------------------
 linux-gate.so.1, count = 0
 /var/tmp/portage/sys-libs/glibc-2.35-r3/work/build-x86-x86_64-pc-linux-gnu-nptl/libc.so.6, count = 0
 /var/tmp/portage/sys-libs/glibc-2.35-r3/work/build-x86-x86_64-pc-linux-gnu-nptl/elf/ld-linux.so.2, count = 0
Loading shared object circlemod1a.so: RTLD_NOW
   Name
 --------------------------------------------------------
 linux-gate.so.1, count = 0
 /var/tmp/portage/sys-libs/glibc-2.35-r3/work/build-x86-x86_64-pc-linux-gnu-nptl/libc.so.6, count = 0
 /var/tmp/portage/sys-libs/glibc-2.35-r3/work/build-x86-x86_64-pc-linux-gnu-nptl/elf/ld-linux.so.2, count = 0
 /var/tmp/portage/sys-libs/glibc-2.35-r3/work/build-x86-x86_64-pc-linux-gnu-nptl/elf/circlemod1a.so, count = 1
 /var/tmp/portage/sys-libs/glibc-2.35-r3/work/build-x86-x86_64-pc-linux-gnu-nptl/elf/circlemod2a.so, count = 0
 /var/tmp/portage/sys-libs/glibc-2.35-r3/work/build-x86-x86_64-pc-linux-gnu-nptl/elf/circlemod3a.so, count = 0
UnLoading shared object circlemod1a.so
   Name
 --------------------------------------------------------
 linux-gate.so.1, count = 0
 /var/tmp/portage/sys-libs/glibc-2.35-r3/work/build-x86-x86_64-pc-linux-gnu-nptl/libc.so.6, count = 0
 /var/tmp/portage/sys-libs/glibc-2.35-r3/work/build-x86-x86_64-pc-linux-gnu-nptl/elf/ld-linux.so.2, count = 0

This is what is in memory now:
   Name
 --------------------------------------------------------
 linux-gate.so.1, count = 0
 /var/tmp/portage/sys-libs/glibc-2.35-r3/work/build-x86-x86_64-pc-linux-gnu-nptl/libc.so.6, count = 0
 /var/tmp/portage/sys-libs/glibc-2.35-r3/work/build-x86-x86_64-pc-linux-gnu-nptl/elf/ld-linux.so.2, count = 0
Loading shared object circlemod1.so: RTLD_LAZY
ERRORS: dlopen shouldn't fail for RTLD_LAZY
dlopen: /var/tmp/portage/sys-libs/glibc-2.35-r3/work/build-x86-x86_64-pc-linux-gnu-nptl/elf/circlemod2.so: undefined symbol: circlemod2_undefined
   Name
 --------------------------------------------------------
 linux-gate.so.1, count = 0
 /var/tmp/portage/sys-libs/glibc-2.35-r3/work/build-x86-x86_64-pc-linux-gnu-nptl/libc.so.6, count = 0
 /var/tmp/portage/sys-libs/glibc-2.35-r3/work/build-x86-x86_64-pc-linux-gnu-nptl/elf/ld-linux.so.2, count = 0

This is what is in memory now:
   Name
 --------------------------------------------------------
 linux-gate.so.1, count = 0
 /var/tmp/portage/sys-libs/glibc-2.35-r3/work/build-x86-x86_64-pc-linux-gnu-nptl/libc.so.6, count = 0
 /var/tmp/portage/sys-libs/glibc-2.35-r3/work/build-x86-x86_64-pc-linux-gnu-nptl/elf/ld-linux.so.2, count = 0
Loading shared object circlemod1.so: RTLD_NOW
dlopen: /var/tmp/portage/sys-libs/glibc-2.35-r3/work/build-x86-x86_64-pc-linux-gnu-nptl/elf/circlemod2.so: undefined symbol: circlemod2_undefined
   Name
 --------------------------------------------------------
 linux-gate.so.1, count = 0
 /var/tmp/portage/sys-libs/glibc-2.35-r3/work/build-x86-x86_64-pc-linux-gnu-nptl/libc.so.6, count = 0
 /var/tmp/portage/sys-libs/glibc-2.35-r3/work/build-x86-x86_64-pc-linux-gnu-nptl/elf/ld-linux.so.2, count = 0
1 errors found


FAIL: elf/constload1

[output is empty]
Comment 9 Andreas K. Hüttel archtester gentoo-dev 2022-07-30 17:50:28 UTC
I can't reproduce this, let's hope it is fixed by now. Unblocking...