Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 924769 - sys-devel/gcc-14: miscompiles dev-lang/erlang-26.2.1 on arm(?) (fails to compile: make: otp.mk:136: yecc.beam] Segmentation fault0
Summary: sys-devel/gcc-14: miscompiles dev-lang/erlang-26.2.1 on arm(?) (fails to comp...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on: 924237
Blocks: gcc-14
  Show dependency tree
 
Reported: 2024-02-17 12:02 UTC by Agostino Sarubbo
Modified: 2024-03-15 04:24 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,550.48 KB, text/plain)
2024-02-17 12:02 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2024-02-17 12:02:11 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-lang/erlang-26.2.1 fails to compile.
Discovered on: arm (internal ref: tinderbox_arm)
System: GCC-14-SYSTEM (https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#GCC-14)

Info about the issue:
https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#CF0014
Comment 1 Agostino Sarubbo gentoo-dev 2024-02-17 12:02:12 UTC
Created attachment 885221 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2024-02-17 12:02:13 UTC
Error(s) that match a know pattern in addition to what has been reported in the summary:


make[3]: *** [/var/tmp/portage/dev-lang/erlang-26.2.1/work/otp-OTP-26.2.1/make/armv7a-unknown-linux-gnueabihf/otp.mk:136: ../ebin/leex.beam] Segmentation fault
make[3]: *** [/var/tmp/portage/dev-lang/erlang-26.2.1/work/otp-OTP-26.2.1/make/armv7a-unknown-linux-gnueabihf/otp.mk:136: ../ebin/yecc.beam] Segmentation fault
make[3]: *** [/var/tmp/portage/dev-lang/erlang-26.2.1/work/otp-OTP-26.2.1/make/armv7a-unknown-linux-gnueabihf/otp.mk:136: ../ebin/yeccparser.beam] Segmentation fault
make[3]: *** [/var/tmp/portage/dev-lang/erlang-26.2.1/work/otp-OTP-26.2.1/make/armv7a-unknown-linux-gnueabihf/otp.mk:136: ../ebin/yeccscan.beam] Segmentation fault
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-02-18 06:29:19 UTC
Not going to worry about this until bug 924237 is fixed.
Comment 4 Larry the Git Cow gentoo-dev 2024-02-19 00:08:24 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8b165bc3b9bfc3976fc97f95e20da59fa924440c

commit 8b165bc3b9bfc3976fc97f95e20da59fa924440c
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2024-02-19 00:05:08 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-02-19 00:06:59 +0000

    sys-devel/gcc: add 14.0.1_pre202402
    
    This has a workaround for bug #924237. bugs #924709, bug #924758, and
    bug #924769 may be the same.
    
    Bug: https://bugs.gentoo.org/924709
    Bug: https://bugs.gentoo.org/924758
    Bug: https://bugs.gentoo.org/924769
    Closes: https://bugs.gentoo.org/924237
    Signed-off-by: Sam James <sam@gentoo.org>

 sys-devel/gcc/Manifest                      |  2 +
 sys-devel/gcc/gcc-14.0.1_pre20240218.ebuild | 64 +++++++++++++++++++++++++++++
 2 files changed, 66 insertions(+)
Comment 5 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-03-15 04:24:27 UTC
This should be fine now.




commit f294934516cf497001ad114963a66adefda005ba
Author: Sam James <sam@gentoo.org>
Date:   Mon Mar 11 12:43:18 2024 +0000

    sys-devel/gcc: add 14.0.1_pre20240310

    Signed-off-by: Sam James <sam@gentoo.org>