Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
solved: glibc upgrade emerge problem
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
ngorelen
Tux's lil' helper
Tux's lil' helper


Joined: 11 Jan 2019
Posts: 76
Location: Princeton, NJ

PostPosted: Sun Nov 28, 2021 2:41 am    Post subject: solved: glibc upgrade emerge problem Reply with quote

I had this problem for quite a while, 3-4 years, which is that I could not upgrade glibc on my desktop. Instead i did such an upgrade on my laptop and then used glibc binary on my desktop (see https://forums.gentoo.org/viewtopic-t-1105778-highlight-glibc+struct+lax8664retval.html).
But recently a new set of issues came up having to do with "libxcrypt and libcrypt ... ". I know that there is a wiki page on how to do this "safely" but i thought maybe i can just ask this first: if i can emerge glibc on my desktop.

So please, maybe somebody can help me to resolve this, i.e. if there is a way to get rid of those annoing warning messages such as quoted below:


Quote:

-MD -MP -MF /var/tmp/portage/sys-libs/glibc-2.33-r1/work/build-x86-x86_64-pc-linux-gnu-nptl/cpu-features-offsets.h.dT \
-MT '/var/tmp/portage/sys-libs/glibc-2.33-r1/work/build-x86-x86_64-pc-linux-gnu-nptl/cpu-features-offsets.h.d /var/tmp/portage/sys-libs/glibc-2.33-r1/work/build-x86-x86_64-pc-linux-gnu-nptl/cpu-features-offsets.h'" \
../sysdeps/x86/cpu-features-offsets.sym > /var/tmp/portage/sys-libs/glibc-2.33-r1/work/build-x86-x86_64-pc-linux-gnu-nptl/cpu-features-offsets.hT
/bin/sh ../scripts/move-if-change /var/tmp/portage/sys-libs/glibc-2.33-r1/work/build-x86-x86_64-pc-linux-gnu-nptl/gnu/lib-names-x32.T /var/tmp/portage/sys-libs/glibc-2.33-r1/work/build-x86-x86_64-pc-linux-gnu-nptl/gnu/lib-names-x32.h
touch /var/tmp/portage/sys-libs/glibc-2.33-r1/work/build-x86-x86_64-pc-linux-gnu-nptl/gnu/lib-names-x32.stmp
if test -r /var/tmp/portage/sys-libs/glibc-2.33-r1/work/build-x86-x86_64-pc-linux-gnu-nptl/csu/abi-tag.h.new; then mv -f /var/tmp/portage/sys-libs/glibc-2.33-r1/work/build-x86-x86_64-pc-linux-gnu-nptl/csu/abi-tag.h.new /var/tmp/portage/sys-libs/glibc-2.33-r1/work/build-x86-x86_64-pc-linux-gnu-nptl/csu/abi-tag.h; \
else echo >&2 'This configuration not matched in ../abi-tags'; exit 1; fi
In file included from ../nptl/descr.h:24,
from ../sysdeps/x86_64/nptl/tls.h:124,
from ../sysdeps/unix/sysv/linux/x86_64/sysdep.h:24,
from ../sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h:22,
from <stdin>:1:
../include/setjmp.h:42:3: error: static assertion failed: "size of jmp_buf != 200"
42 | _Static_assert (sizeof (type) == size, \
| ^~~~~~~~~~~~~~
../include/setjmp.h:55:1: note: in expansion of macro ‘TEST_SIZE’
55 | TEST_SIZE (jmp_buf, JMP_BUF_SIZE);
| ^~~~~~~~~
../include/setjmp.h:42:3: error: static assertion failed: "size of sigjmp_buf != 200"
42 | _Static_assert (sizeof (type) == size, \
| ^~~~~~~~~~~~~~
../include/setjmp.h:56:1: note: in expansion of macro ‘TEST_SIZE’
56 | TEST_SIZE (sigjmp_buf, SIGJMP_BUF_SIZE);
| ^~~~~~~~~
../include/setjmp.h:46:3: error: static assertion failed: "align of jmp_buf != 8"
46 | _Static_assert (__alignof__ (type) == align , \
| ^~~~~~~~~~~~~~
../include/setjmp.h:59:1: note: in expansion of macro ‘TEST_ALIGN’
59 | TEST_ALIGN (jmp_buf, JMP_BUF_ALIGN);
| ^~~~~~~~~~
../include/setjmp.h:46:3: error: static assertion failed: "align of sigjmp_buf != 8"
46 | _Static_assert (__alignof__ (type) == align , \
| ^~~~~~~~~~~~~~
../include/setjmp.h:60:1: note: in expansion of macro ‘TEST_ALIGN’
60 | TEST_ALIGN (sigjmp_buf, SIGJMP_BUF_ALIGN);
| ^~~~~~~~~~
../include/setjmp.h:50:3: error: static assertion failed: "offset of __mask_was_saved field of struct __jmp_buf_tag != 64"
50 | _Static_assert (offsetof (type, member) == offset, \
| ^~~~~~~~~~~~~~
../include/setjmp.h:63:1: note: in expansion of macro ‘TEST_OFFSET’
63 | TEST_OFFSET (struct __jmp_buf_tag, __mask_was_saved,
| ^~~~~~~~~~~
../include/setjmp.h:50:3: error: static assertion failed: "offset of __saved_mask field of struct __jmp_buf_tag != 68"
50 | _Static_assert (offsetof (type, member) == offset, \
| ^~~~~~~~~~~~~~
../include/setjmp.h:65:1: note: in expansion of macro ‘TEST_OFFSET’
65 | TEST_OFFSET (struct __jmp_buf_tag, __saved_mask,
| ^~~~~~~~~~~
In file included from ../nptl/descr.h:24,
from ../sysdeps/x86_64/nptl/tls.h:124,
from ../include/link.h:51,
from ../include/dlfcn.h:4,
from ../sysdeps/generic/ldsodefs.h:32,
from ../sysdeps/x86/ldsodefs.h:65,
from ../sysdeps/gnu/ldsodefs.h:46,
from ../sysdeps/unix/sysv/linux/ldsodefs.h:25,
from <stdin>:2:
../include/setjmp.h:42:3: error: static assertion failed: "size of jmp_buf != 200"
42 | _Static_assert (sizeof (type) == size, \
| ^~~~~~~~~~~~~~
../include/setjmp.h:55:1: note: in expansion of macro ‘TEST_SIZE’
55 | TEST_SIZE (jmp_buf, JMP_BUF_SIZE);
| ^~~~~~~~~
../include/setjmp.h:42:3: error: static assertion failed: "size of sigjmp_buf != 200"
42 | _Static_assert (sizeof (type) == size, \
| ^~~~~~~~~~~~~~
../include/setjmp.h:56:1: note: in expansion of macro ‘TEST_SIZE’
56 | TEST_SIZE (sigjmp_buf, SIGJMP_BUF_SIZE);
| ^~~~~~~~~
../include/setjmp.h:46:3: error: static assertion failed: "align of jmp_buf != 8"
46 | _Static_assert (__alignof__ (type) == align , \
| ^~~~~~~~~~~~~~
../include/setjmp.h:59:1: note: in expansion of macro ‘TEST_ALIGN’
59 | TEST_ALIGN (jmp_buf, JMP_BUF_ALIGN);
| ^~~~~~~~~~
../include/setjmp.h:46:3: error: static assertion failed: "align of sigjmp_buf != 8"
46 | _Static_assert (__alignof__ (type) == align , \
| ^~~~~~~~~~~~~~
../include/setjmp.h:60:1: note: in expansion of macro ‘TEST_ALIGN’
60 | TEST_ALIGN (sigjmp_buf, SIGJMP_BUF_ALIGN);
| ^~~~~~~~~~
../include/setjmp.h:50:3: error: static assertion failed: "offset of __mask_was_saved field of struct __jmp_buf_tag != 64"
50 | _Static_assert (offsetof (type, member) == offset, \
| ^~~~~~~~~~~~~~
../include/setjmp.h:63:1: note: in expansion of macro ‘TEST_OFFSET’
63 | TEST_OFFSET (struct __jmp_buf_tag, __mask_was_saved,
| ^~~~~~~~~~~
../include/setjmp.h:50:3: error: static assertion failed: "offset of __saved_mask field of struct __jmp_buf_tag != 68"
50 | _Static_assert (offsetof (type, member) == offset, \
| ^~~~~~~~~~~~~~
../include/setjmp.h:65:1: note: in expansion of macro ‘TEST_OFFSET’
65 | TEST_OFFSET (struct __jmp_buf_tag, __saved_mask,
| ^~~~~~~~~~~
In file included from ../sysdeps/unix/sysv/linux/bits/types/stack_t.h:23,
from ../signal/signal.h:300,
from ../include/signal.h:2,
from <stdin>:2:
<stdin>: In function ‘dummy’:
<stdin>:12:36: error: ‘REG_RBP’ undeclared (first use in this function); did you mean ‘REG_EBP’?
<stdin>:11:26: note: in expansion of macro ‘ucontext’
<stdin>:12:20: note: in expansion of macro ‘mcontext’
<stdin>:13:66: note: in expansion of macro ‘mreg’
<stdin>:12:36: note: each undeclared identifier is reported only once for each function it appears in
<stdin>:11:26: note: in expansion of macro ‘ucontext’
<stdin>:12:20: note: in expansion of macro ‘mcontext’
<stdin>:13:66: note: in expansion of macro ‘mreg’
<stdin>:12:36: error: ‘REG_RSP’ undeclared (first use in this function); did you mean ‘REG_ESP’?
<stdin>:11:26: note: in expansion of macro ‘ucontext’
<stdin>:12:20: note: in expansion of macro ‘mcontext’
<stdin>:14:66: note: in expansion of macro ‘mreg’
<stdin>:12:36: error: ‘REG_RBX’ undeclared (first use in this function); did you mean ‘REG_EBX’?
<stdin>:11:26: note: in expansion of macro ‘ucontext’
<stdin>:12:20: note: in expansion of macro ‘mcontext’
<stdin>:15:66: note: in expansion of macro ‘mreg’
<stdin>:12:36: error: ‘REG_R8’ undeclared (first use in this function); did you mean ‘REG_SS’?
<stdin>:11:26: note: in expansion of macro ‘ucontext’
<stdin>:12:20: note: in expansion of macro ‘mcontext’
<stdin>:16:65: note: in expansion of macro ‘mreg’
<stdin>:12:36: error: ‘REG_R9’ undeclared (first use in this function); did you mean ‘REG_SS’?
<stdin>:11:26: note: in expansion of macro ‘ucontext’
<stdin>:12:20: note: in expansion of macro ‘mcontext’
<stdin>:17:65: note: in expansion of macro ‘mreg’
<stdin>:12:36: error: ‘REG_R10’ undeclared (first use in this function)
<stdin>:11:26: note: in expansion of macro ‘ucontext’
<stdin>:12:20: note: in expansion of macro ‘mcontext’
<stdin>:18:66: note: in expansion of macro ‘mreg’
<stdin>:12:36: error: ‘REG_R11’ undeclared (first use in this function)
<stdin>:11:26: note: in expansion of macro ‘ucontext’
<stdin>:12:20: note: in expansion of macro ‘mcontext’
<stdin>:19:66: note: in expansion of macro ‘mreg’
<stdin>:12:36: error: ‘REG_R12’ undeclared (first use in this function)
<stdin>:11:26: note: in expansion of macro ‘ucontext’
<stdin>:12:20: note: in expansion of macro ‘mcontext’
<stdin>:20:66: note: in expansion of macro ‘mreg’
<stdin>:12:36: error: ‘REG_R13’ undeclared (first use in this function)
<stdin>:11:26: note: in expansion of macro ‘ucontext’
<stdin>:12:20: note: in expansion of macro ‘mcontext’
<stdin>:21:66: note: in expansion of macro ‘mreg’
<stdin>:12:36: error: ‘REG_R14’ undeclared (first use in this function)
<stdin>:11:26: note: in expansion of macro ‘ucontext’
<stdin>:12:20: note: in expansion of macro ‘mcontext’
<stdin>:22:66: note: in expansion of macro ‘mreg’
<stdin>:12:36: error: ‘REG_R15’ undeclared (first use in this function)
<stdin>:11:26: note: in expansion of macro ‘ucontext’
<stdin>:12:20: note: in expansion of macro ‘mcontext’
<stdin>:23:66: note: in expansion of macro ‘mreg’
<stdin>:12:36: error: ‘REG_RDI’ undeclared (first use in this function); did you mean ‘REG_EDI’?
<stdin>:11:26: note: in expansion of macro ‘ucontext’
<stdin>:12:20: note: in expansion of macro ‘mcontext’
<stdin>:24:66: note: in expansion of macro ‘mreg’
<stdin>:12:36: error: ‘REG_RSI’ undeclared (first use in this function); did you mean ‘REG_ESI’?
<stdin>:11:26: note: in expansion of macro ‘ucontext’
<stdin>:12:20: note: in expansion of macro ‘mcontext’
<stdin>:25:66: note: in expansion of macro ‘mreg’
<stdin>:12:36: error: ‘REG_RDX’ undeclared (first use in this function); did you mean ‘REG_EDX’?
<stdin>:11:26: note: in expansion of macro ‘ucontext’
<stdin>:12:20: note: in expansion of macro ‘mcontext’
<stdin>:26:66: note: in expansion of macro ‘mreg’
<stdin>:12:36: error: ‘REG_RAX’ undeclared (first use in this function); did you mean ‘REG_EAX’?
<stdin>:11:26: note: in expansion of macro ‘ucontext’
<stdin>:12:20: note: in expansion of macro ‘mcontext’
<stdin>:27:66: note: in expansion of macro ‘mreg’
<stdin>:12:36: error: ‘REG_RCX’ undeclared (first use in this function); did you mean ‘REG_ECX’?
<stdin>:11:26: note: in expansion of macro ‘ucontext’
<stdin>:12:20: note: in expansion of macro ‘mcontext’
<stdin>:28:66: note: in expansion of macro ‘mreg’
<stdin>:12:36: error: ‘REG_RIP’ undeclared (first use in this function); did you mean ‘REG_EIP’?
<stdin>:11:26: note: in expansion of macro ‘ucontext’
<stdin>:12:20: note: in expansion of macro ‘mcontext’
<stdin>:29:66: note: in expansion of macro ‘mreg’
<stdin>:10:26: error: ‘struct _libc_fpstate’ has no member named ‘mxcsr’
<stdin>:34:68: note: in expansion of macro ‘ucontext’
Traceback (most recent call last):
File "/var/tmp/portage/sys-libs/glibc-2.33-r1/work/glibc-2.33/csu/../scripts/gen-as-const.py", line 120, in <module>
main()
File "/var/tmp/portage/sys-libs/glibc-2.33-r1/work/glibc-2.33/csu/../scripts/gen-as-const.py", line 116, in main
consts = glibcextract.compute_c_consts(sym_data, args.cc)
File "/var/tmp/portage/sys-libs/glibc-2.33-r1/work/glibc-2.33/scripts/glibcextract.py", line 62, in compute_c_consts
subprocess.check_call(cmd, shell=True)
File "/usr/lib/python3.9/subprocess.py", line 373, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command 'x86_64-pc-linux-gnu-gcc -m32 -march=native -pipe -O2 -Wl,-O1 -Wl,--as-needed -std=gnu11 -fgnu89-inline -march=native -pipe -O2 -Wall -Wwrite-strings -Wundef -fmerge-all-constants -frounding-math -fstack-protector-strong -Wstrict-prototypes -Wold-style-definition -fmath-errno -ftls-model=initial-exec -U_FORTIFY_SOURCE -I../include -I/var/tmp/portage/sys-libs/glibc-2.33-r1/work/build-x86-x86_64-pc-linux-gnu-nptl/csu -I/var/tmp/portage/sys-libs/glibc-2.33-r1/work/build-x86-x86_64-pc-linux-gnu-nptl -I../sysdeps/unix/sysv/linux/x86_64/x32 -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/x32/fpu -I../sysdeps/x86_64/x32 -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-32 -I../sysdeps/ieee754 -I../sysdeps/generic -I.. -I../libio -I. -nostdinc -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/10.3.0/include -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/10.3.0/include-fixed -isystem /usr/include -D_LIBC_REENTRANT -include /var/tmp/portage/sys-libs/glibc-2.33-r1/work/build-x86-x86_64-pc-linux-gnu-nptl/libc-modules.h -DMODULE_NAME=libc -include ../include/libc-symbols.h -DTOP_NAMESPACE=glibc -DGEN_AS_CONST_HEADERS -MD -MP -MF /var/tmp/portage/sys-libs/glibc-2.33-r1/work/build-x86-x86_64-pc-linux-gnu-nptl/ucontext_i.h.dT -MT '/var/tmp/portage/sys-libs/glibc-2.33-r1/work/build-x86-x86_64-pc-linux-gnu-nptl/ucontext_i.h.d /var/tmp/portage/sys-libs/glibc-2.33-r1/work/build-x86-x86_64-pc-linux-gnu-nptl/ucontext_i.h' -S -o /var/tmp/portage/sys-libs/glibc-2.33-r1/temp/tmpvj3vy5a4/test.s -x c - < /var/tmp/portage/sys-libs/glibc-2.33-r1/temp/tmpvj3vy5a4/test.c' returned non-zero exit status 1.
Traceback (most recent call last):
File "/var/tmp/portage/sys-libs/glibc-2.33-r1/work/glibc-2.33/csu/../scripts/gen-as-const.py", line 120, in <module>
main()
File "/var/tmp/portage/sys-libs/glibc-2.33-r1/work/glibc-2.33/csu/../scripts/gen-as-const.py", line 116, in main
consts = glibcextract.compute_c_consts(sym_data, args.cc)
File "/var/tmp/portage/sys-libs/glibc-2.33-r1/work/glibc-2.33/scripts/glibcextract.py", line 62, in compute_c_consts
subprocess.check_call(cmd, shell=True)
File "/usr/lib/python3.9/subprocess.py", line 373, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command 'x86_64-pc-linux-gnu-gcc -m32 -march=native -pipe -O2 -Wl,-O1 -Wl,--as-needed -std=gnu11 -fgnu89-inline -march=native -pipe -O2 -Wall -Wwrite-strings -Wundef -fmerge-all-constants -frounding-math -fstack-protector-strong -Wstrict-prototypes -Wold-style-definition -fmath-errno -ftls-model=initial-exec -U_FORTIFY_SOURCE -I../include -I/var/tmp/portage/sys-libs/glibc-2.33-r1/work/build-x86-x86_64-pc-linux-gnu-nptl/csu -I/var/tmp/portage/sys-libs/glibc-2.33-r1/work/build-x86-x86_64-pc-linux-gnu-nptl -I../sysdeps/unix/sysv/linux/x86_64/x32 -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/x32/fpu -I../sysdeps/x86_64/x32 -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-32 -I../sysdeps/ieee754 -I../sysdeps/generic -I.. -I../libio -I. -nostdinc -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/10.3.0/include -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/10.3.0/include-fixed -isystem /usr/include -D_LIBC_REENTRANT -include /var/tmp/portage/sys-libs/glibc-2.33-r1/work/build-x86-x86_64-pc-linux-gnu-nptl/libc-modules.h -DMODULE_NAME=libc -include ../include/libc-symbols.h -DTOP_NAMESPACE=glibc -DGEN_AS_CONST_HEADERS -MD -MP -MF /var/tmp/portage/sys-libs/glibc-2.33-r1/work/build-x86-x86_64-pc-linux-gnu-nptl/tcb-offsets.h.dT -MT '/var/tmp/portage/sys-libs/glibc-2.33-r1/work/build-x86-x86_64-pc-linux-gnu-nptl/tcb-offsets.h.d /var/tmp/portage/sys-libs/glibc-2.33-r1/work/build-x86-x86_64-pc-linux-gnu-nptl/tcb-offsets.h' -S -o /var/tmp/portage/sys-libs/glibc-2.33-r1/temp/tmpbndx04j4/test.s -x c - < /var/tmp/portage/sys-libs/glibc-2.33-r1/temp/tmpbndx04j4/test.c' returned non-zero exit status 1.
make[2]: *** [../Makerules:271: /var/tmp/portage/sys-libs/glibc-2.33-r1/work/build-x86-x86_64-pc-linux-gnu-nptl/ucontext_i.h] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: *** [../Makerules:271: /var/tmp/portage/sys-libs/glibc-2.33-r1/work/build-x86-x86_64-pc-linux-gnu-nptl/tcb-offsets.h] Error 1
In file included from ../nptl/descr.h:24,
from ../sysdeps/x86_64/nptl/tls.h:124,
from ../sysdeps/unix/sysv/linux/x86_64/sysdep.h:24,
from ../sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h:22,
from <stdin>:2:
../include/setjmp.h:42:3: error: static assertion failed: "size of jmp_buf != 200"
42 | _Static_assert (sizeof (type) == size, \
| ^~~~~~~~~~~~~~
../include/setjmp.h:55:1: note: in expansion of macro ‘TEST_SIZE’
55 | TEST_SIZE (jmp_buf, JMP_BUF_SIZE);
| ^~~~~~~~~
../include/setjmp.h:42:3: error: static assertion failed: "size of sigjmp_buf != 200"
42 | _Static_assert (sizeof (type) == size, \
| ^~~~~~~~~~~~~~
../include/setjmp.h:56:1: note: in expansion of macro ‘TEST_SIZE’
56 | TEST_SIZE (sigjmp_buf, SIGJMP_BUF_SIZE);
| ^~~~~~~~~
../include/setjmp.h:46:3: error: static assertion failed: "align of jmp_buf != 8"
46 | _Static_assert (__alignof__ (type) == align , \
| ^~~~~~~~~~~~~~
../include/setjmp.h:59:1: note: in expansion of macro ‘TEST_ALIGN’
59 | TEST_ALIGN (jmp_buf, JMP_BUF_ALIGN);
| ^~~~~~~~~~
../include/setjmp.h:46:3: error: static assertion failed: "align of sigjmp_buf != 8"
46 | _Static_assert (__alignof__ (type) == align , \
| ^~~~~~~~~~~~~~
../include/setjmp.h:60:1: note: in expansion of macro ‘TEST_ALIGN’
60 | TEST_ALIGN (sigjmp_buf, SIGJMP_BUF_ALIGN);
| ^~~~~~~~~~
../include/setjmp.h:50:3: error: static assertion failed: "offset of __mask_was_saved field of struct __jmp_buf_tag != 64"
50 | _Static_assert (offsetof (type, member) == offset, \
| ^~~~~~~~~~~~~~
../include/setjmp.h:63:1: note: in expansion of macro ‘TEST_OFFSET’
63 | TEST_OFFSET (struct __jmp_buf_tag, __mask_was_saved,
| ^~~~~~~~~~~
../include/setjmp.h:50:3: error: static assertion failed: "offset of __saved_mask field of struct __jmp_buf_tag != 68"
50 | _Static_assert (offsetof (type, member) == offset, \
| ^~~~~~~~~~~~~~
../include/setjmp.h:65:1: note: in expansion of macro ‘TEST_OFFSET’
65 | TEST_OFFSET (struct __jmp_buf_tag, __saved_mask,
| ^~~~~~~~~~~
Traceback (most recent call last):
File "/var/tmp/portage/sys-libs/glibc-2.33-r1/work/glibc-2.33/csu/../scripts/gen-as-const.py", line 120, in <module>
main()
File "/var/tmp/portage/sys-libs/glibc-2.33-r1/work/glibc-2.33/csu/../scripts/gen-as-const.py", line 116, in main
consts = glibcextract.compute_c_consts(sym_data, args.cc)
File "/var/tmp/portage/sys-libs/glibc-2.33-r1/work/glibc-2.33/scripts/glibcextract.py", line 62, in compute_c_consts
subprocess.check_call(cmd, shell=True)
File "/usr/lib/python3.9/subprocess.py", line 373, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command 'x86_64-pc-linux-gnu-gcc -m32 -march=native -pipe -O2 -Wl,-O1 -Wl,--as-needed -std=gnu11 -fgnu89-inline -march=native -pipe -O2 -Wall -Wwrite-strings -Wundef -fmerge-all-constants -frounding-math -fstack-protector-strong -Wstrict-prototypes -Wold-style-definition -fmath-errno -ftls-model=initial-exec -U_FORTIFY_SOURCE -I../include -I/var/tmp/portage/sys-libs/glibc-2.33-r1/work/build-x86-x86_64-pc-linux-gnu-nptl/csu -I/var/tmp/portage/sys-libs/glibc-2.33-r1/work/build-x86-x86_64-pc-linux-gnu-nptl -I../sysdeps/unix/sysv/linux/x86_64/x32 -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/x32/fpu -I../sysdeps/x86_64/x32 -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-32 -I../sysdeps/ieee754 -I../sysdeps/generic -I.. -I../libio -I. -nostdinc -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/10.3.0/include -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/10.3.0/include-fixed -isystem /usr/include -D_LIBC_REENTRANT -include /var/tmp/portage/sys-libs/glibc-2.33-r1/work/build-x86-x86_64-pc-linux-gnu-nptl/libc-modules.h -DMODULE_NAME=libc -include ../include/libc-symbols.h -DTOP_NAMESPACE=glibc -DGEN_AS_CONST_HEADERS -MD -MP -MF /var/tmp/portage/sys-libs/glibc-2.33-r1/work/build-x86-x86_64-pc-linux-gnu-nptl/rtld-offsets.h.dT -MT '/var/tmp/portage/sys-libs/glibc-2.33-r1/work/build-x86-x86_64-pc-linux-gnu-nptl/rtld-offsets.h.d /var/tmp/portage/sys-libs/glibc-2.33-r1/work/build-x86-x86_64-pc-linux-gnu-nptl/rtld-offsets.h' -S -o /var/tmp/portage/sys-libs/glibc-2.33-r1/temp/tmpwf_vd8fm/test.s -x c - < /var/tmp/portage/sys-libs/glibc-2.33-r1/temp/tmpwf_vd8fm/test.c' returned non-zero exit status 1.
In file included from ../nptl/descr.h:24,
from ../sysdeps/x86_64/nptl/tls.h:124,
from ../include/link.h:51,
from <stdin>:1:
../include/setjmp.h:42:3: error: static assertion failed: "size of jmp_buf != 200"
42 | _Static_assert (sizeof (type) == size, \
| ^~~~~~~~~~~~~~
../include/setjmp.h:55:1: note: in expansion of macro ‘TEST_SIZE’
55 | TEST_SIZE (jmp_buf, JMP_BUF_SIZE);
| ^~~~~~~~~
../include/setjmp.h:42:3: error: static assertion failed: "size of sigjmp_buf != 200"
42 | _Static_assert (sizeof (type) == size, \
| ^~~~~~~~~~~~~~
../include/setjmp.h:56:1: note: in expansion of macro ‘TEST_SIZE’
56 | TEST_SIZE (sigjmp_buf, SIGJMP_BUF_SIZE);
| ^~~~~~~~~
../include/setjmp.h:46:3: error: static assertion failed: "align of jmp_buf != 8"
46 | _Static_assert (__alignof__ (type) == align , \
| ^~~~~~~~~~~~~~
../include/setjmp.h:59:1: note: in expansion of macro ‘TEST_ALIGN’
59 | TEST_ALIGN (jmp_buf, JMP_BUF_ALIGN);
| ^~~~~~~~~~
../include/setjmp.h:46:3: error: static assertion failed: "align of sigjmp_buf != 8"
46 | _Static_assert (__alignof__ (type) == align , \
| ^~~~~~~~~~~~~~
../include/setjmp.h:60:1: note: in expansion of macro ‘TEST_ALIGN’
60 | TEST_ALIGN (sigjmp_buf, SIGJMP_BUF_ALIGN);
| ^~~~~~~~~~
../include/setjmp.h:50:3: error: static assertion failed: "offset of __mask_was_saved field of struct __jmp_buf_tag != 64"
50 | _Static_assert (offsetof (type, member) == offset, \
| ^~~~~~~~~~~~~~
../include/setjmp.h:63:1: note: in expansion of macro ‘TEST_OFFSET’
63 | TEST_OFFSET (struct __jmp_buf_tag, __mask_was_saved,
| ^~~~~~~~~~~
../include/setjmp.h:50:3: error: static assertion failed: "offset of __saved_mask field of struct __jmp_buf_tag != 68"
50 | _Static_assert (offsetof (type, member) == offset, \
| ^~~~~~~~~~~~~~
../include/setjmp.h:65:1: note: in expansion of macro ‘TEST_OFFSET’
65 | TEST_OFFSET (struct __jmp_buf_tag, __saved_mask,
| ^~~~~~~~~~~
make[2]: *** [../Makerules:271: /var/tmp/portage/sys-libs/glibc-2.33-r1/work/build-x86-x86_64-pc-linux-gnu-nptl/rtld-offsets.h] Error 1
In file included from ../nptl/descr.h:24,
from ../sysdeps/x86_64/nptl/tls.h:124,
from ../include/link.h:51,
from ../include/dlfcn.h:4,
from ../sysdeps/generic/ldsodefs.h:32,
from ../sysdeps/x86/ldsodefs.h:65,
from ../sysdeps/gnu/ldsodefs.h:46,
from ../sysdeps/unix/sysv/linux/ldsodefs.h:25,
from <stdin>:2:
../include/setjmp.h:42:3: error: static assertion failed: "size of jmp_buf != 200"
42 | _Static_assert (sizeof (type) == size, \
| ^~~~~~~~~~~~~~
../include/setjmp.h:55:1: note: in expansion of macro ‘TEST_SIZE’
55 | TEST_SIZE (jmp_buf, JMP_BUF_SIZE);
| ^~~~~~~~~
../include/setjmp.h:42:3: error: static assertion failed: "size of sigjmp_buf != 200"
42 | _Static_assert (sizeof (type) == size, \
| ^~~~~~~~~~~~~~
../include/setjmp.h:56:1: note: in expansion of macro ‘TEST_SIZE’
56 | TEST_SIZE (sigjmp_buf, SIGJMP_BUF_SIZE);
| ^~~~~~~~~
../include/setjmp.h:46:3: error: static assertion failed: "align of jmp_buf != 8"
46 | _Static_assert (__alignof__ (type) == align , \
| ^~~~~~~~~~~~~~
../include/setjmp.h:59:1: note: in expansion of macro ‘TEST_ALIGN’
59 | TEST_ALIGN (jmp_buf, JMP_BUF_ALIGN);
| ^~~~~~~~~~
../include/setjmp.h:46:3: error: static assertion failed: "align of sigjmp_buf != 8"
46 | _Static_assert (__alignof__ (type) == align , \
| ^~~~~~~~~~~~~~
../include/setjmp.h:60:1: note: in expansion of macro ‘TEST_ALIGN’
60 | TEST_ALIGN (sigjmp_buf, SIGJMP_BUF_ALIGN);
| ^~~~~~~~~~
../include/setjmp.h:50:3: error: static assertion failed: "offset of __mask_was_saved field of struct __jmp_buf_tag != 64"
50 | _Static_assert (offsetof (type, member) == offset, \
| ^~~~~~~~~~~~~~
../include/setjmp.h:63:1: note: in expansion of macro ‘TEST_OFFSET’
63 | TEST_OFFSET (struct __jmp_buf_tag, __mask_was_saved,
| ^~~~~~~~~~~
../include/setjmp.h:50:3: error: static assertion failed: "offset of __saved_mask field of struct __jmp_buf_tag != 68"
50 | _Static_assert (offsetof (type, member) == offset, \
| ^~~~~~~~~~~~~~
../include/setjmp.h:65:1: note: in expansion of macro ‘TEST_OFFSET’
65 | TEST_OFFSET (struct __jmp_buf_tag, __saved_mask,
| ^~~~~~~~~~~
Traceback (most recent call last):
File "/var/tmp/portage/sys-libs/glibc-2.33-r1/work/glibc-2.33/csu/../scripts/gen-as-const.py", line 120, in <module>
main()
File "/var/tmp/portage/sys-libs/glibc-2.33-r1/work/glibc-2.33/csu/../scripts/gen-as-const.py", line 116, in main
consts = glibcextract.compute_c_consts(sym_data, args.cc)
File "/var/tmp/portage/sys-libs/glibc-2.33-r1/work/glibc-2.33/scripts/glibcextract.py", line 62, in compute_c_consts
subprocess.check_call(cmd, shell=True)
File "/usr/lib/python3.9/subprocess.py", line 373, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command 'x86_64-pc-linux-gnu-gcc -m32 -march=native -pipe -O2 -Wl,-O1 -Wl,--as-needed -std=gnu11 -fgnu89-inline -march=native -pipe -O2 -Wall -Wwrite-strings -Wundef -fmerge-all-constants -frounding-math -fstack-protector-strong -Wstrict-prototypes -Wold-style-definition -fmath-errno -ftls-model=initial-exec -U_FORTIFY_SOURCE -I../include -I/var/tmp/portage/sys-libs/glibc-2.33-r1/work/build-x86-x86_64-pc-linux-gnu-nptl/csu -I/var/tmp/portage/sys-libs/glibc-2.33-r1/work/build-x86-x86_64-pc-linux-gnu-nptl -I../sysdeps/unix/sysv/linux/x86_64/x32 -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/x32/fpu -I../sysdeps/x86_64/x32 -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-32 -I../sysdeps/ieee754 -I../sysdeps/generic -I.. -I../libio -I. -nostdinc -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/10.3.0/include -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/10.3.0/include-fixed -isystem /usr/include -D_LIBC_REENTRANT -include /var/tmp/portage/sys-libs/glibc-2.33-r1/work/build-x86-x86_64-pc-linux-gnu-nptl/libc-modules.h -DMODULE_NAME=libc -include ../include/libc-symbols.h -DTOP_NAMESPACE=glibc -DGEN_AS_CONST_HEADERS -MD -MP -MF /var/tmp/portage/sys-libs/glibc-2.33-r1/work/build-x86-x86_64-pc-linux-gnu-nptl/tlsdesc.h.dT -MT '/var/tmp/portage/sys-libs/glibc-2.33-r1/work/build-x86-x86_64-pc-linux-gnu-nptl/tlsdesc.h.d /var/tmp/portage/sys-libs/glibc-2.33-r1/work/build-x86-x86_64-pc-linux-gnu-nptl/tlsdesc.h' -S -o /var/tmp/portage/sys-libs/glibc-2.33-r1/temp/tmpcdstbzbk/test.s -x c - < /var/tmp/portage/sys-libs/glibc-2.33-r1/temp/tmpcdstbzbk/test.c' returned non-zero exit status 1.
make[2]: *** [../Makerules:271: /var/tmp/portage/sys-libs/glibc-2.33-r1/work/build-x86-x86_64-pc-linux-gnu-nptl/tlsdesc.h] Error 1
<stdin>: In function ‘dummy’:
<stdin>:6:81: error: ‘La_x86_64_vector’ undeclared (first use in this function)
<stdin>:6:81: note: each undeclared identifier is reported only once for each function it appears in
Traceback (most recent call last):
File "/var/tmp/portage/sys-libs/glibc-2.33-r1/work/glibc-2.33/csu/../scripts/gen-as-const.py", line 120, in <module>
main()
File "/var/tmp/portage/sys-libs/glibc-2.33-r1/work/glibc-2.33/csu/../scripts/gen-as-const.py", line 116, in main
consts = glibcextract.compute_c_consts(sym_data, args.cc)
File "/var/tmp/portage/sys-libs/glibc-2.33-r1/work/glibc-2.33/scripts/glibcextract.py", line 62, in compute_c_consts
subprocess.check_call(cmd, shell=True)
File "/usr/lib/python3.9/subprocess.py", line 373, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command 'x86_64-pc-linux-gnu-gcc -m32 -march=native -pipe -O2 -Wl,-O1 -Wl,--as-needed -std=gnu11 -fgnu89-inline -march=native -pipe -O2 -Wall -Wwrite-strings -Wundef -fmerge-all-constants -frounding-math -fstack-protector-strong -Wstrict-prototypes -Wold-style-definition -fmath-errno -ftls-model=initial-exec -U_FORTIFY_SOURCE -I../include -I/var/tmp/portage/sys-libs/glibc-2.33-r1/work/build-x86-x86_64-pc-linux-gnu-nptl/csu -I/var/tmp/portage/sys-libs/glibc-2.33-r1/work/build-x86-x86_64-pc-linux-gnu-nptl -I../sysdeps/unix/sysv/linux/x86_64/x32 -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/x32/fpu -I../sysdeps/x86_64/x32 -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-32 -I../sysdeps/ieee754 -I../sysdeps/generic -I.. -I../libio -I. -nostdinc -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/10.3.0/include -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/10.3.0/include-fixed -isystem /usr/include -D_LIBC_REENTRANT -include /var/tmp/portage/sys-libs/glibc-2.33-r1/work/build-x86-x86_64-pc-linux-gnu-nptl/libc-modules.h -DMODULE_NAME=libc -include ../include/libc-symbols.h -DTOP_NAMESPACE=glibc -DGEN_AS_CONST_HEADERS -MD -MP -MF /var/tmp/portage/sys-libs/glibc-2.33-r1/work/build-x86-x86_64-pc-linux-gnu-nptl/cpu-features-offsets.h.dT -MT '/var/tmp/portage/sys-libs/glibc-2.33-r1/work/build-x86-x86_64-pc-linux-gnu-nptl/cpu-features-offsets.h.d /var/tmp/portage/sys-libs/glibc-2.33-r1/work/build-x86-x86_64-pc-linux-gnu-nptl/cpu-features-offsets.h' -S -o /var/tmp/portage/sys-libs/glibc-2.33-r1/temp/tmpytpty80w/test.s -x c - < /var/tmp/portage/sys-libs/glibc-2.33-r1/temp/tmpytpty80w/test.c' returned non-zero exit status 1.
<stdin>:7:78: error: ‘La_x86_64_xmm’ undeclared (first use in this function)
<stdin>:8:78: error: ‘La_x86_64_ymm’ undeclared (first use in this function)
make[2]: *** [../Makerules:271: /var/tmp/portage/sys-libs/glibc-2.33-r1/work/build-x86-x86_64-pc-linux-gnu-nptl/cpu-features-offsets.h] Error 1
<stdin>:9:78: error: ‘La_x86_64_zmm’ undeclared (first use in this function)
<stdin>:10:78: error: ‘__int128_t’ undeclared (first use in this function); did you mean ‘__int128__’?
<stdin>:11:77: error: invalid application of ‘sizeof’ to incomplete type ‘struct La_x86_64_regs’
In file included from ../sysdeps/nptl/libc-lockP.h:24,
from ../sysdeps/nptl/libc-lock.h:184,
from ../include/link.h:52,
from <stdin>:1:
<stdin>:12:75: error: invalid use of undefined type ‘struct La_x86_64_regs’
<stdin>:13:74: error: invalid use of undefined type ‘struct La_x86_64_regs’
<stdin>:14:74: error: invalid use of undefined type ‘struct La_x86_64_regs’
<stdin>:15:75: error: invalid use of undefined type ‘struct La_x86_64_regs’
<stdin>:16:75: error: invalid use of undefined type ‘struct La_x86_64_regs’
<stdin>:17:75: error: invalid use of undefined type ‘struct La_x86_64_regs’
<stdin>:18:75: error: invalid use of undefined type ‘struct La_x86_64_regs’
<stdin>:19:75: error: invalid use of undefined type ‘struct La_x86_64_regs’
<stdin>:20:75: error: invalid use of undefined type ‘struct La_x86_64_regs’
<stdin>:21:78: error: invalid use of undefined type ‘struct La_x86_64_regs’
<stdin>:25:78: error: invalid application of ‘sizeof’ to incomplete type ‘struct La_x86_64_retval’
In file included from ../sysdeps/nptl/libc-lockP.h:24,
from ../sysdeps/nptl/libc-lock.h:184,
from ../include/link.h:52,
from <stdin>:1:
<stdin>:26:76: error: invalid use of undefined type ‘struct La_x86_64_retval’
<stdin>:27:76: error: invalid use of undefined type ‘struct La_x86_64_retval’
<stdin>:28:77: error: invalid use of undefined type ‘struct La_x86_64_retval’
<stdin>:29:77: error: invalid use of undefined type ‘struct La_x86_64_retval’
<stdin>:30:76: error: invalid use of undefined type ‘struct La_x86_64_retval’
<stdin>:31:76: error: invalid use of undefined type ‘struct La_x86_64_retval’
<stdin>:32:80: error: invalid use of undefined type ‘struct La_x86_64_retval’
<stdin>:33:80: error: invalid use of undefined type ‘struct La_x86_64_retval’
Traceback (most recent call last):
File "/var/tmp/portage/sys-libs/glibc-2.33-r1/work/glibc-2.33/csu/../scripts/gen-as-const.py", line 120, in <module>
main()
File "/var/tmp/portage/sys-libs/glibc-2.33-r1/work/glibc-2.33/csu/../scripts/gen-as-const.py", line 116, in main
consts = glibcextract.compute_c_consts(sym_data, args.cc)
File "/var/tmp/portage/sys-libs/glibc-2.33-r1/work/glibc-2.33/scripts/glibcextract.py", line 62, in compute_c_consts
subprocess.check_call(cmd, shell=True)
File "/usr/lib/python3.9/subprocess.py", line 373, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command 'x86_64-pc-linux-gnu-gcc -m32 -march=native -pipe -O2 -Wl,-O1 -Wl,--as-needed -std=gnu11 -fgnu89-inline -march=native -pipe -O2 -Wall -Wwrite-strings -Wundef -fmerge-all-constants -frounding-math -fstack-protector-strong -Wstrict-prototypes -Wold-style-definition -fmath-errno -ftls-model=initial-exec -U_FORTIFY_SOURCE -I../include -I/var/tmp/portage/sys-libs/glibc-2.33-r1/work/build-x86-x86_64-pc-linux-gnu-nptl/csu -I/var/tmp/portage/sys-libs/glibc-2.33-r1/work/build-x86-x86_64-pc-linux-gnu-nptl -I../sysdeps/unix/sysv/linux/x86_64/x32 -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/x32/fpu -I../sysdeps/x86_64/x32 -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-32 -I../sysdeps/ieee754 -I../sysdeps/generic -I.. -I../libio -I. -nostdinc -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/10.3.0/include -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/10.3.0/include-fixed -isystem /usr/include -D_LIBC_REENTRANT -include /var/tmp/portage/sys-libs/glibc-2.33-r1/work/build-x86-x86_64-pc-linux-gnu-nptl/libc-modules.h -DMODULE_NAME=libc -include ../include/libc-symbols.h -DTOP_NAMESPACE=glibc -DGEN_AS_CONST_HEADERS -MD -MP -MF /var/tmp/portage/sys-libs/glibc-2.33-r1/work/build-x86-x86_64-pc-linux-gnu-nptl/link-defines.h.dT -MT '/var/tmp/portage/sys-libs/glibc-2.33-r1/work/build-x86-x86_64-pc-linux-gnu-nptl/link-defines.h.d /var/tmp/portage/sys-libs/glibc-2.33-r1/work/build-x86-x86_64-pc-linux-gnu-nptl/link-defines.h' -S -o /var/tmp/portage/sys-libs/glibc-2.33-r1/temp/tmprnt5tfp4/test.s -x c - < /var/tmp/portage/sys-libs/glibc-2.33-r1/temp/tmprnt5tfp4/test.c' returned non-zero exit status 1.
make[2]: *** [../Makerules:271: /var/tmp/portage/sys-libs/glibc-2.33-r1/work/build-x86-x86_64-pc-linux-gnu-nptl/link-defines.h] Error 1
make[2]: Leaving directory '/var/tmp/portage/sys-libs/glibc-2.33-r1/work/glibc-2.33/csu'
make[1]: *** [Makefile:480: csu/subdir_lib] Error 2
make[1]: Leaving directory '/var/tmp/portage/sys-libs/glibc-2.33-r1/work/glibc-2.33'
make: *** [Makefile:9: all] Error 2
make: Leaving directory '/var/tmp/portage/sys-libs/glibc-2.33-r1/work/build-x86-x86_64-pc-linux-gnu-nptl'
* ERROR: sys-libs/glibc-2.33-r1::gentoo failed (compile phase):
* emake failed
*
* If you need support, post the output of `emerge --info '=sys-libs/glibc-2.33-r1::gentoo'`,
* the complete build log and the output of `emerge -pqv '=sys-libs/glibc-2.33-r1::gentoo'`.
* The complete build log is located at '/var/tmp/portage/sys-libs/glibc-2.33-r1/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/sys-libs/glibc-2.33-r1/temp/environment'.
* Working directory: '/var/tmp/portage/sys-libs/glibc-2.33-r1/work/glibc-2.33'
* S: '/var/tmp/portage/sys-libs/glibc-2.33-r1/work/glibc-2.33'

>>> Failed to emerge sys-libs/glibc-2.33-r1, Log file:

>>> '/var/tmp/portage/sys-libs/glibc-2.33-r1/temp/build.log'

* Messages for package sys-libs/glibc-2.33-r1:

* ERROR: sys-libs/glibc-2.33-r1::gentoo failed (compile phase):
* emake failed
*
* If you need support, post the output of `emerge --info '=sys-libs/glibc-2.33-r1::gentoo'`,
* the complete build log and the output of `emerge -pqv '=sys-libs/glibc-2.33-r1::gentoo'`.
* The complete build log is located at '/var/tmp/portage/sys-libs/glibc-2.33-r1/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/sys-libs/glibc-2.33-r1/temp/environment'.
* Working directory: '/var/tmp/portage/sys-libs/glibc-2.33-r1/work/glibc-2.33'
* S: '/var/tmp/portage/sys-libs/glibc-2.33-r1/work/glibc-2.33'


The rest of my desktop system information follows.
If not i was thinking of trying to install a whole chain of needed binary packages to update glibc, but i am not so sure about this.

make.conf file:

Quote:


# These settings were set by the catalyst build script that automatically
# built this stage.
# Please consult /usr/share/portage/config/make.conf.example for a more
# detailed example.
CFLAGS="-march=native -O2 -pipe -fomit-frame-pointer"
CXXFLAGS="${CFLAGS}"
# WARNING: Changing your CHOST is not something that should be done lightly.
# Please consult http://www.gentoo.org/doc/en/change-chost.xml before changing.
CHOST="x86_64-pc-linux-gnu"
CHOST_x86="x86_64-pc-linux-gnu"
MAKEOPTS="-j8"
# These are the USE flags that were used in addition to what is provided by the
# profile used for building. qt4? kde qt4 qt3support
USE="X glamor mmx sse sse2 ssl -gtk -gnome dvd alsa cdr webkit svg\
sql extras policykit png opengl python dbus -consolekit -systemd elogind mng ogg\
vorbis libkms fortran udev jpeg jpeg2k latex emacs lyx unicode"
FEATURES="-preserve-libs"
#REQUIRED_USE=qt5
#PYTHON_TARGETS="python2_7 python3_4 python3_5"
#PYTHON_SINGLE_TARGET="python3_5"
LINGUAS="en ru"
INPUT_DEVICES="${INPUT_DEVICES} evdev"
VIDEO_CARDS="radeon radeonsi amdgpu" # amdgpu radeonsi
# Accept any license
ACCEPT_LICENSE="*"
ABI_X86="64" # 32 gives problems when using both: abi_x86_64 abi_x86_32

GENTOO_MIRRORS="ftp://mirrors.rit.edu/gentoo/ ftp://gentoo.cites.uiuc.edu/pub/gentoo/ ftp://ftp.gtlib.gatech.edu/pub/gentoo"

# Set PORTDIR for backward compatibility with various tools:
# gentoo-bashcomp - bug #478444
# euse - bug #474574
# euses and ufed - bug #478318
#PORTAGE_TMPDIR="/tmp/"
DISTDIR="/var/cache/distfiles"
PORTDIR="/var/db/repos/gentoo"
PKGDIR="/var/cache/binpkgs"
LC_MESSAGES=C

GRUB_PLATFORMS="efi-64"

GENTOO_MIRRORS="ftp://mirrors.rit.edu/gentoo/ http://www.gtlib.gatech.edu/pub/gentoo ftp://ftp.gtlib.gatech.edu/pub/gentoo"




emerge --info:

Quote:

Portage 3.0.28 (python 3.9.7-final-0, default/linux/amd64/17.1/desktop/plasma, gcc-10.3.0, glibc-2.33-r1, 5.10.61-gentoo x86_64)
=================================================================
System uname: Linux-5.10.61-gentoo-x86_64-Intel-R-_Core-TM-_i7-4790_CPU_@_3.60GHz-with-glibc2.33
KiB Mem: 8091264 total, 2472396 free
KiB Swap: 10485756 total, 10485756 free
Timestamp of repository gentoo: Wed, 24 Nov 2021 15:30:01 +0000
Head commit of repository gentoo: cdfcab5d246095245d15a509494e5cc0073bd2c2
sh bash 5.1_p8
ld GNU ld (Gentoo 2.37_p1 p0) 2.37
app-shells/bash: 5.1_p8::gentoo
dev-java/java-config: 2.3.1::gentoo
dev-lang/perl: 5.34.0-r3::gentoo
dev-lang/python: 2.7.18_p13::gentoo, 3.9.7_p1::gentoo
dev-lang/rust: 1.53.0::gentoo
dev-util/cmake: 3.20.5::gentoo
sys-apps/baselayout: 2.7::gentoo
sys-apps/openrc: 0.43.5::gentoo
sys-apps/sandbox: 2.24::gentoo
sys-devel/autoconf: 2.13-r1::gentoo, 2.69-r5::gentoo
sys-devel/automake: 1.16.4::gentoo
sys-devel/binutils: 2.32-r1::gentoo, 2.37_p1::gentoo
sys-devel/gcc: 10.3.0-r2::gentoo
sys-devel/gcc-config: 2.4::gentoo
sys-devel/libtool: 2.4.6-r6::gentoo
sys-devel/make: 4.3::gentoo
sys-kernel/linux-headers: 5.10-r1::gentoo (virtual/os-headers)
sys-libs/glibc: 2.33-r1::gentoo
Repositories:

gentoo
location: /var/db/repos/gentoo
sync-type: rsync
sync-uri: rsync://rsync.gentoo.org/gentoo-portage
priority: -1000
sync-rsync-verify-metamanifest: yes
sync-rsync-verify-max-age: 24
sync-rsync-verify-jobs: 1
sync-rsync-extra-opts:

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=native -O2 -pipe -fomit-frame-pointer"
DISTDIR="/var/cache/distfiles"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="ftp://mirrors.rit.edu/gentoo/ http://www.gtlib.gatech.edu/pub/gentoo ftp://ftp.gtlib.gatech.edu/pub/gentoo"
LANG="ru_RU.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en ru"
MAKEOPTS="-j8"
PKGDIR="/var/cache/binpkgs"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="X a52 aac acl acpi activities alsa amd64 bluetooth branding bzip2 cairo cdda cdr cli crypt cups dbus declarative dri dts dvd dvdr elogind emacs emboss encode exif extras flac fortran gdbm gif glamor gpm gui iconv icu ipv6 jpeg jpeg2k kde kipi kwallet latex lcms libglvnd libkms libnotify libtirpc lyx mad mmx mng mp3 mp4 mpeg multilib ncurses nls nptl ogg opengl openmp pam pango pcre pdf plasma png policykit ppds python qml qt5 readline sdl seccomp semantic-desktop spell split-usr sql sse sse2 ssl startup-notification svg tiff truetype udev udisks unicode upower usb vorbis webkit widgets wxwidgets x264 xattr xcb xml xv xvid zlib" ABI_X86="64" ADA_TARGET="gnat_2019" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="efi-64" INPUT_DEVICES="libinput evdev" KERNEL="linux" L10N="en ru" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-3 php7-4" POSTGRES_TARGETS="postgres12 postgres13" PYTHON_SINGLE_TARGET="python3_9" PYTHON_TARGETS="python3_9" RUBY_TARGETS="ruby26 ruby27" USERLAND="GNU" VIDEO_CARDS="radeon radeonsi amdgpu" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq proto steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset: CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, RUSTFLAGS


Last edited by ngorelen on Tue Nov 30, 2021 9:02 pm; edited 3 times in total
Back to top
View user's profile Send private message
sam_
Developer
Developer


Joined: 14 Aug 2020
Posts: 1685

PostPosted: Sun Nov 28, 2021 3:17 am    Post subject: Reply with quote

Oh boy, this is interesting.

I do wish you'd come to let somebody know earlier that you couldn't emerge glibc... but this issue does not seem related to libxcrypt.

- Can you please upload the full build.log?
- Drop 'CHOST_x86="x86_64-pc-linux-gnu"' from make.conf (you shouldn't need to set this)
- I'd drop FEATURES="-preserve-libs" as this isn't recommended anymore (see e.g. the recent libxcrypt news item).

I'm wondering if simply dropping that CHOST_x86 line is actually going to do the job: the default in profiles is CHOST_x86="i686-pc-linux-gnu" and your error is for -m32.

Please drop that and try re-emerging glibc: emerge -v1 glibc, and upload the build.log here if it fails. Thanks!
Back to top
View user's profile Send private message
ngorelen
Tux's lil' helper
Tux's lil' helper


Joined: 11 Jan 2019
Posts: 76
Location: Princeton, NJ

PostPosted: Mon Nov 29, 2021 1:18 am    Post subject: Reply with quote

Thank you Sam_ a lot. You made my day, actually evening.
But i believe i posted my problem and it was not solved at that time.
So i decided to limit myself to binaries updates from one box to another.

Ok, now i commented "CHOST_x86..." line in the make.config file and the whole emerge world goes through.
The gentoo is working through. Perhaps i will have more questions later at a point of emerging libxcrypt libcrypt ...

EDITs: completed the emerge world smoothly.
Back to top
View user's profile Send private message
sam_
Developer
Developer


Joined: 14 Aug 2020
Posts: 1685

PostPosted: Mon Nov 29, 2021 8:18 pm    Post subject: Reply with quote

ngorelen wrote:
Thank you Sam_ a lot. You made my day, actually evening.
But i believe i posted my problem and it was not solved at that time.
So i decided to limit myself to binaries updates from one box to another.

Ok, now i commented "CHOST_x86..." line in the make.config file and the whole emerge world goes through.
The gentoo is working through. Perhaps i will have more questions later at a point of emerging libxcrypt libcrypt ...

EDITs: completed the emerge world smoothly.


Excellent!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum