Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 828546 - sys-libs/glibc-2.34-r3 - rtld.c:(.text+<snip>): undefined reference to _dl_cet_check
Summary: sys-libs/glibc-2.34-r3 - rtld.c:(.text+<snip>): undefined reference to _dl_ce...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: glibc-2.34 822036
  Show dependency tree
 
Reported: 2021-12-08 08:15 UTC by Toralf Förster
Modified: 2022-01-02 21:31 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,15.46 KB, text/plain)
2021-12-08 08:15 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,1.34 KB, text/plain)
2021-12-08 08:15 UTC, Toralf Förster
Details
environment (environment,148.54 KB, text/plain)
2021-12-08 08:15 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,13.09 KB, application/x-bzip)
2021-12-08 08:15 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,10.86 KB, application/x-bzip)
2021-12-08 08:15 UTC, Toralf Förster
Details
sys-libs:glibc-2.34-r3:20211207-225613.log.bz2 (sys-libs:glibc-2.34-r3:20211207-225613.log.bz2,142.90 KB, application/x-bzip)
2021-12-08 08:15 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,184.64 KB, application/x-bzip)
2021-12-08 08:15 UTC, Toralf Förster
Details
emerge--info_gcc (emerge--info_gcc,17.56 KB, text/plain)
2021-12-08 11:25 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2021-12-08 08:15:41 UTC
too long lines were shrinked:

	  /var/tmp/portage/sys-libs/glibc-2.34-r3/work/build-x86-x86_64-pc-linux-gnu-nptl/elf/librtld.os -Wl,--version-script=/var/tmp/portage/sys-libs/glibc-2.34-r3/work/build-x86-x86_64-pc-linux-gnu-nptl/ld.map		\
	  -Wl,-soname=ld-linux.so.2			\
	  -Wl,-defsym=_begin=0
/usr/lib/gcc/x86_64-pc-linux-gnu/11.2.1/../../../../x86_64-pc-linux-gnu/bin/ld: /var/tmp/portage/sys-libs/glibc-2.34-r3/work/build-x86-x86_64-pc-linux-gnu-nptl/elf/librtld.os: in function `.L456':
rtld.c:(.text+0x385b): undefined reference to `_dl_cet_check'
/usr/lib/gcc/x86_64-pc-linux-gnu/11.2.1/../../../../x86_64-pc-linux-gnu/bin/ld: /var/tmp/portage/sys-libs/glibc-2.34-r3/work/build-x86-x86_64-pc-linux-gnu-nptl/elf/librtld.os: in function `dl_open_worker_begin':
dl-open.c:(.text+0x1455e): undefined reference to `_dl_cet_open_check'
/usr/lib/gcc/x86_64-pc-linux-gnu/11.2.1/../../../../x86_64-pc-linux-gnu/bin/ld: /var/tmp/portage/sys-libs/glibc-2.34-r3/work/build-x86-x86_64-pc-linux-gnu-nptl/elf/ld.so.new: hidden symbol `_dl_cet_open_check' isn't defined
/usr/lib/gcc/x86_64-pc-linux-gnu/11.2.1/../../../../x86_64-pc-linux-gnu/bin/ld: final link failed: bad value

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_systemd-j4-20211207-222955

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-11.2.1 *
/usr/lib/llvm/13
13.0.0
Python 3.9.9
Available Rust versions:
  [1]   rust-bin-1.56.1 *
php cli:

  HEAD of ::gentoo
commit e6fc25977edf3efd23571eee8fb1f7c70f0852d0
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Tue Dec 7 22:36:47 2021 +0000

    2021-12-07 22:36:45 UTC

emerge -qpvO sys-libs/glibc
[ebuild     U ] sys-libs/glibc-2.34-r3 [2.33-r7] USE="audit* clone3%* multiarch (multilib) profile* ssp (static-libs) systemd -caps (-cet) -compile-locales (-crypt) -custom-cflags -doc -gd -headers-only -multilib-bootstrap -nscd (-selinux) -static-pie -suid -systemtap -test (-vanilla)"
Comment 1 Toralf Förster gentoo-dev 2021-12-08 08:15:45 UTC
Created attachment 757663 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2021-12-08 08:15:46 UTC
Created attachment 757664 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2021-12-08 08:15:48 UTC
Created attachment 757665 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2021-12-08 08:15:49 UTC
Created attachment 757666 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2021-12-08 08:15:50 UTC
Created attachment 757667 [details]
logs.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2021-12-08 08:15:51 UTC
Created attachment 757668 [details]
sys-libs:glibc-2.34-r3:20211207-225613.log.bz2
Comment 7 Toralf Förster gentoo-dev 2021-12-08 08:15:53 UTC
Created attachment 757669 [details]
temp.tar.bz2
Comment 8 Toralf Förster gentoo-dev 2021-12-08 11:25:22 UTC
Created attachment 757730 [details]
emerge--info_gcc

emerge --info gcc
Comment 9 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-12-08 11:43:13 UTC
thanks toralf. On it.

https://github.com/gentoo/gentoo/commit/f0d33bb17d62d2dfe59e5f280ef222f176b6328e drops back to the patches from before yesterday for now, will need you to re-emerge gcc again (the memtest failures will still happen, but on that).
Comment 10 Larry the Git Cow gentoo-dev 2021-12-18 22:00:37 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/proj/gcc-patches.git/commit/?id=34cc4c2a7c835b5787ab1cd5d22ed72e3be2132b

commit 34cc4c2a7c835b5787ab1cd5d22ed72e3be2132b
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2021-12-09 02:40:05 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2021-12-18 22:00:28 +0000

    11.3.0: update CET patch to disable on 32-bit / missing CMOV, deux
    
    Bug: https://bugs.gentoo.org/828546
    Bug: https://bugs.gentoo.org/828549
    Bug: https://bugs.gentoo.org/828081
    Bug: https://bugs.gentoo.org/827880
    Bug: https://bugs.gentoo.org/827905
    Bug: https://bugs.gentoo.org/777117
    Signed-off-by: Sam James <sam@gentoo.org>

 11.3.0/gentoo/26_all_enable-cet.patch | 19 +++++++++++--------
 1 file changed, 11 insertions(+), 8 deletions(-)
Comment 11 Larry the Git Cow gentoo-dev 2021-12-18 22:03:37 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=58c2f6c4fb228ddc7b17698673fbf80400a452e9

commit 58c2f6c4fb228ddc7b17698673fbf80400a452e9
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2021-12-18 22:01:34 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2021-12-18 22:03:06 +0000

    sys-devel/gcc: switch patchset version for 11.2.1_p20211127 for CET fixes
    
    If hitting related issues before this, please try emerge -v1 sys-devel/gcc.
    
    Doesn't seem to have affected many people at all (just tinderbox?) so
    not worth a revbump (at this point, anyway).
    
    Also includes fix for i486 CET (unrelated).
    
    Closes: https://bugs.gentoo.org/828546
    Closes: https://bugs.gentoo.org/828549
    Closes: https://bugs.gentoo.org/828081
    Closes: https://bugs.gentoo.org/827880
    Closes: https://bugs.gentoo.org/827905
    Closes: https://bugs.gentoo.org/777117
    Signed-off-by: Sam James <sam@gentoo.org>

 sys-devel/gcc/Manifest                    | 2 +-
 sys-devel/gcc/gcc-11.2.1_p20211127.ebuild | 3 +--
 2 files changed, 2 insertions(+), 3 deletions(-)
Comment 12 Toralf Förster gentoo-dev 2022-01-02 16:37:29 UTC
pls see bug 830454