Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 934243 - sys-devel/gcc-14 regression: dev-lang/python-3.12.4_p1 fails to build on alpha (stage3 build, milou)
Summary: sys-devel/gcc-14 regression: dev-lang/python-3.12.4_p1 fails to build on alph...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: Alpha Linux
: Normal normal
Assignee: Gentoo Toolchain Maintainers
URL: https://gcc.gnu.org/bugzilla/show_bug...
Whiteboard:
Keywords:
Depends on:
Blocks: gcc-14
  Show dependency tree
 
Reported: 2024-06-14 10:43 UTC by Andreas K. Hüttel
Modified: 2024-07-21 17:31 UTC (History)
4 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas K. Hüttel archtester gentoo-dev 2024-06-14 10:43:12 UTC
[...]
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
Comment 1 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2024-06-14 12:23:35 UTC
> {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.
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-06-16 08:13:30 UTC
Right, it has to be a GCC bug. Please try to get preprocessed source (for dtoa).
Comment 3 Larry the Git Cow gentoo-dev 2024-07-21 00:42:46 UTC
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(+)
Comment 4 Larry the Git Cow gentoo-dev 2024-07-21 17:31:40 UTC
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(-)