[...] alpha-unknown-linux-gnu-gcc -fno-strict-overflow -Wsign-compare -mieee -DNDEBUG -mieee -pipe -O2 -mcpu=ev4 -fwrapv -std=c11 -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -Wstrict-prototypes -Werror=implicit-function-declaration -fvisibility=hidden -I./Include/internal -I. -I./Include -I/usr/include/ncursesw -fPIC -DPy_BUILD_CORE_BUILTIN -c ./Modules/_stat.c -o Modules/_stat.o alpha-unknown-linux-gnu-gcc -fno-strict-overflow -Wsign-compare -mieee -DNDEBUG -mieee -pipe -O2 -mcpu=ev4 -fwrapv -std=c11 -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -Wstrict-prototypes -Werror=implicit-function-declaration -fvisibility=hidden -I./Include/internal -I. -I./Include -I/usr/include/ncursesw -fPIC -DPy_BUILD_CORE_BUILTIN -c ./Modules/symtablemodule.c -o Modules/symtablemodule.o alpha-unknown-linux-gnu-gcc -fno-strict-overflow -Wsign-compare -mieee -DNDEBUG -mieee -pipe -O2 -mcpu=ev4 -fwrapv -std=c11 -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -Wstrict-prototypes -Werror=implicit-function-declaration -fvisibility=hidden -I./Include/internal -I. -I./Include -I/usr/include/ncursesw -fPIC -DPy_BUILD_CORE_BUILTIN -c ./Modules/pwdmodule.c -o Modules/pwdmodule.o {standard input}: Assembler messages: {standard input}:1775: Error: duplicate !tlsgd!62 alpha-unknown-linux-gnu-gcc -c -fno-strict-overflow -Wsign-compare -mieee -DNDEBUG -mieee -pipe -O2 -mcpu=ev4 -fwrapv -std=c11 -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -Wstrict-prototypes -Werror=implicit-function-declaration -fvisibility=hidden -I./Include/internal -I. -I./Include -I/usr/include/ncursesw -fPIC -DPy_BUILD_CORE -o Programs/_freeze_module.o Programs/_freeze_module.c alpha-unknown-linux-gnu-gcc -c -fno-strict-overflow -Wsign-compare -mieee -DNDEBUG -mieee -pipe -O2 -mcpu=ev4 -fwrapv -std=c11 -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -Wstrict-prototypes -Werror=implicit-function-declaration -fvisibility=hidden -I./Include/internal -I. -I./Include -I/usr/include/ncursesw -fPIC -DPy_BUILD_CORE -o Modules/getpath_noop.o Modules/getpath_noop.c [...] make: *** [Makefile:2748: Python/dtoa.o] Error 1 make: *** Waiting for unfinished jobs.... [31;01m*[0m ERROR: dev-lang/python-3.12.4_p1::gentoo failed (compile phase): [31;01m*[0m emake failed
> {standard input}: Assembler messages: > {standard input}:1775: Error: duplicate !tlsgd!62 Isn't that a GCC bug? I honestly doubt Python carries any alpha assembly xP.
Right, it has to be a GCC bug. Please try to get preprocessed source (for dtoa).
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=57af460e0fee1aff9b47ded7f9873d06da93fa7d commit 57af460e0fee1aff9b47ded7f9873d06da93fa7d Author: Sam James <sam@gentoo.org> AuthorDate: 2024-07-21 00:40:59 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2024-07-21 00:41:38 +0000 sys-devel/gcc: add 14.1.1_p20240720 Will keyword soon for the alpha fix. Notably, this also has fixed costs for znver4. Bug: https://bugs.gentoo.org/934243 Signed-off-by: Sam James <sam@gentoo.org> sys-devel/gcc/Manifest | 2 ++ sys-devel/gcc/gcc-14.1.1_p20240720.ebuild | 55 +++++++++++++++++++++++++++++++ 2 files changed, 57 insertions(+)
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e04d5a7925b65fc1d325b97442bec3f8918e019c commit e04d5a7925b65fc1d325b97442bec3f8918e019c Author: Sam James <sam@gentoo.org> AuthorDate: 2024-07-21 17:29:52 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2024-07-21 17:31:14 +0000 sys-devel/gcc: keyword 14.1.1_p20240720 Closes: https://bugs.gentoo.org/934243 Signed-off-by: Sam James <sam@gentoo.org> sys-devel/gcc/gcc-14.1.1_p20240720.ebuild | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-)