Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 722862 - dev-lang/c-intercal-31.0 fails tests, ICL997I ILLEGAL POSSESSION OF A CONTROLLED UNARY OPERATOR.
Summary: dev-lang/c-intercal-31.0 fails tests, ICL997I ILLEGAL POSSESSION OF A CONTROL...
Status: IN_PROGRESS
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Ulrich Müller
URL:
Whiteboard: ~arch only
Keywords: TESTFAILURE, UPSTREAM
: 729756 737070 (view as bug list)
Depends on:
Blocks: gcc-10
  Show dependency tree
 
Reported: 2020-05-13 14:51 UTC by Agostino Sarubbo
Modified: 2021-01-01 13:58 UTC (History)
0 users

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


Attachments
build.log (build.log,23.40 KB, text/plain)
2020-05-13 14:51 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 2020-05-13 14:51:34 UTC
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.

NOTE:
If you need further logs, feel free to ask..
Comment 1 Agostino Sarubbo gentoo-dev 2020-05-13 14:51:44 UTC
Created attachment 638608 [details]
build.log

build log and emerge --info
Comment 2 Ulrich Müller gentoo-dev 2020-05-13 17:07:44 UTC
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.
Comment 3 Larry the Git Cow gentoo-dev 2020-05-13 17:11:48 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8246f9809943bf639e34c201273994be63680480

commit 8246f9809943bf639e34c201273994be63680480
Author:     Ulrich Müller <ulm@gentoo.org>
AuthorDate: 2020-05-13 17:09:11 +0000
Commit:     Ulrich Müller <ulm@gentoo.org>
CommitDate: 2020-05-13 17:11:39 +0000

    dev-lang/c-intercal: Work around test failure with gcc 10.
    
    Bug: https://bugs.gentoo.org/722862
    Package-Manager: Portage-2.3.99, Repoman-2.3.22
    Signed-off-by: Ulrich Müller <ulm@gentoo.org>

 dev-lang/c-intercal/c-intercal-31.0.ebuild | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)
Comment 4 Ulrich Müller gentoo-dev 2020-05-13 17:17:34 UTC
Please report upstream, because this may indicate a deeper problem with the code.
Comment 5 Ulrich Müller gentoo-dev 2020-05-14 08:44:28 UTC
(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).
Comment 6 Ulrich Müller gentoo-dev 2020-05-14 09:45:17 UTC
Reported upstream:
https://gitlab.com/esr/intercal/-/issues/3
Comment 7 Ulrich Müller gentoo-dev 2020-06-26 19:53:34 UTC
*** Bug 729756 has been marked as a duplicate of this bug. ***
Comment 8 Ulrich Müller gentoo-dev 2020-08-14 08:08:26 UTC
*** Bug 737070 has been marked as a duplicate of this bug. ***