This is an auto-filled bug because dev-lang/c-intercal fails to compile.
The issue was originally discovered on amd64, but it may be reproducible on other arches as well.
If you think that a different summary clarifies the issue better, feel free to change it.
Attached build log and emerge --info.
If you need further logs, feel free to ask..
Created attachment 638608 [details]
build log and emerge --info
Fails tests with gcc-10.1.0 and -O1 (but succeeds with gcc-9.3.0).
Further investigation shows that the problem is triggered by the -fno-toplevel-reorder flag.
The bug has been referenced in the following commit(s):
Author: Ulrich Müller <firstname.lastname@example.org>
AuthorDate: 2020-05-13 17:09:11 +0000
Commit: Ulrich Müller <email@example.com>
CommitDate: 2020-05-13 17:11:39 +0000
dev-lang/c-intercal: Work around test failure with gcc 10.
Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Ulrich Müller <firstname.lastname@example.org>
dev-lang/c-intercal/c-intercal-31.0.ebuild | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
Please report upstream, because this may indicate a deeper problem with the code.
(In reply to Ulrich Müller from comment #2)
> Fails tests with gcc-10.1.0 and -O1 (but succeeds with gcc-9.3.0).
> Further investigation shows that the problem is triggered by the
> -fno-toplevel-reorder flag.
Actually, what I wanted to say is that -ftoplevel-reorder triggers the problem. Adding -fno-toplevel-reorder to CFLAGS fixes it (also with -O2 or -O3).
*** Bug 729756 has been marked as a duplicate of this bug. ***
*** Bug 737070 has been marked as a duplicate of this bug. ***