[Bug build/32488] New: Glibc failed to build with CET enabled
hjl.tools at gmail dot com
sourceware-bugzilla@sourceware.org
Fri Dec 20 20:19:56 GMT 2024
https://sourceware.org/bugzilla/show_bug.cgi?id=32488
Bug ID: 32488
Summary: Glibc failed to build with CET enabled
Product: glibc
Version: 2.41
Status: NEW
Severity: normal
Priority: P2
Component: build
Assignee: unassigned at sourceware dot org
Reporter: hjl.tools at gmail dot com
CC: carlos at redhat dot com
Target Milestone: ---
Target: x86-64
I got
cc ../sysdeps/x86_64/dl-cet.c -c -std=gnu11 -fgnu89-inline -O2 -g -Wall
-Wwrite-strings -Wundef -Wimplicit-fallthrough -Werror -fmerge-all-constants
-frounding-math -fstack-protector-all -fno-common -U_FORTIFY_SOURCE
-Wstrict-prototypes -Wold-style-definition -fmath-errno -fPIC
-fno-stack-protector -DSTACK_PROTECTOR_LEVEL=0 -mno-mmx -fcf-protection
-ftls-model=initial-exec -I../include
-I/export/build/gnu/tools-build/glibc-cet/build-x86_64-linux/elf
-I/export/build/gnu/tools-build/glibc-cet/build-x86_64-linux
-I../sysdeps/unix/sysv/linux/x86_64/64
-I../sysdeps/unix/sysv/linux/x86_64/include -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. -D_LIBC_REENTRANT -include
/export/build/gnu/tools-build/glibc-cet/build-x86_64-linux/libc-modules.h
-DMODULE_NAME=rtld -include ../include/libc-symbols.h -DPIC -DSHARED
-DTOP_NAMESPACE=glibc -o
/export/build/gnu/tools-build/glibc-cet/build-x86_64-linux/elf/dl-cet.os -MD
-MP -MF
/export/build/gnu/tools-build/glibc-cet/build-x86_64-linux/elf/dl-cet.os.dt -MT
/export/build/gnu/tools-build/glibc-cet/build-x86_64-linux/elf/dl-cet.os
In file included from ../sysdeps/x86/ldsodefs.h:64,
from ../sysdeps/x86_64/ldsodefs.h:24,
from ../sysdeps/gnu/ldsodefs.h:46,
from ../sysdeps/unix/sysv/linux/ldsodefs.h:25,
from ../sysdeps/x86_64/dl-cet.c:21:
../sysdeps/x86_64/dl-cet.c: In function ‘dl_check_legacy_object’:
../sysdeps/generic/ldsodefs.h:299:32: error: ‘struct rtld_global’ has no member
named ‘_dl_rtld_map’; did you mean ‘_dl_profile_map’?
299 | # define GL(name) _rtld_local._##name
| ^
../sysdeps/x86_64/dl-cet.c:80:17: note: in expansion of macro ‘GL’
80 | if (l == &GL(dl_rtld_map)
| ^~
../sysdeps/generic/ldsodefs.h:299:32: error: ‘struct rtld_global’ has no member
named ‘_dl_rtld_map’; did you mean ‘_dl_profile_map’?
299 | # define GL(name) _rtld_local._##name
| ^
../sysdeps/x86_64/dl-cet.c:81:28: note: in expansion of macro ‘GL’
81 | || l->l_real == &GL(dl_rtld_map)
| ^
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the Glibc-bugs
mailing list