Bug 1910777 - internal compiler error: in extract_insn, at recog.c:2294
Summary: internal compiler error: in extract_insn, at recog.c:2294
Keywords:
Status: CLOSED EOL
Alias: None
Product: Fedora
Classification: Fedora
Component: gcc
Version: 33
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Jakub Jelinek
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 1910792
TreeView+ depends on / blocked
 
Reported: 2020-12-24 14:44 UTC by Germano Massullo (Thetra)
Modified: 2022-01-07 13:24 UTC (History)
12 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2021-11-30 17:30:39 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Germano Massullo (Thetra) 2020-12-24 14:44:30 UTC
Description of problem:
xmmintrin.h exists for x86 and ppc but not for any other arches
See build failure log
https://kojipkgs.fedoraproject.org//work/tasks/9767/58189767/build.log
of build
https://koji.fedoraproject.org/koji/taskinfo?taskID=58189767

Version-Release number of selected component (if applicable):
gcc-10.2.1-9.fc33.x86_64

Comment 1 Jakub Jelinek 2020-12-24 14:47:56 UTC
How could it exist on other arches?  The header is for x86 intrinsics.
The fact that ppc64le decided to emulate (very small portion of) it doesn't mean it can or should be emulated on other architectures.
Other architectures have their own intrinsics with their own headers, or you can use e.g. generic vector support in the compiler.

Comment 2 Tom Hughes 2020-12-24 14:48:56 UTC
Sorry there was some confusion on IRC and I didn't intend the xmmintrin.h issue to be reported here.

There are actually two separate issues - the code is non portable in that it requires xmmintrin.h which causes the build to fail on aarch64. That is not a gcc issue.

The second is an ICE on ppc64le which is a gcc and is what this bug was intended to report. The log for that is https://kojipkgs.fedoraproject.org//work/tasks/9768/58189768/build.log and the actual error is:

/builddir/build/BUILD/darktable-3.4.0/src/iop/denoiseprofile.c:3140:17: note: the layout of aggregates containing vectors with 8-byte alignment has changed in GCC 5
 3140 | static gboolean denoiseprofile_draw(GtkWidget *widget, cairo_t *crf, gpointer user_data)
      |                 ^~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/darktable-3.4.0/src/iop/channelmixerrgb.c: In function 'process':
/builddir/build/BUILD/darktable-3.4.0/src/iop/channelmixerrgb.c:1114:1: error: unrecognizable insn:
 1114 | }
      | ^
(insn 356 355 357 19 (set (reg:DI 366)
        (unlt:DI (reg:CCFP 365)
            (const_int 0 [0]))) "/builddir/build/BUILD/darktable-3.4.0/src/common/illuminants.h":405:8 -1
     (nil))
*** WARNING *** there are active plugins, do not report this as a bug unless you can reproduce it without enabling any plugins.
Event                            | Plugins
PLUGIN_FINISH_UNIT               | annobin: Generate final annotations
PLUGIN_START_UNIT                | annobin: Generate global annotations
PLUGIN_ALL_PASSES_START          | annobin: Generate per-function annotations
PLUGIN_ALL_PASSES_END            | annobin: Register per-function end symbols
during RTL pass: vregs
/builddir/build/BUILD/darktable-3.4.0/src/iop/channelmixerrgb.c:1114:1: internal compiler error: in extract_insn, at recog.c:2294
[ 67%] Linking C shared module libfilmicrgb.so
cd /builddir/build/BUILD/darktable-3.4.0/ppc64le-redhat-linux-gnu/lib64/darktable/plugins && /usr/bin/cmake -E cmake_link_script CMakeFiles/filmicrgb.dir/link.txt --verbose=1
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://bugzilla.redhat.com/bugzilla> for instructions.
make[3]: *** [/tmp/cc7sePFd.mk:2: /tmp/libchannelmixerrgb.so.yVpgPf.ltrans0.ltrans.o] Error 1

Comment 3 Germano Massullo (Thetra) 2020-12-24 14:50:20 UTC
Yes I am sorry I made a mistake switching two different bugs we were speaking about in #fedora-devel , about ppc and aarch64 darktable 3.4.0 build failures.

Comment 4 Germano Massullo (Thetra) 2020-12-24 14:56:04 UTC
(bugzilla mid air collision :-( )

Comment 5 Ben Cotton 2021-11-04 16:27:55 UTC
This message is a reminder that Fedora 33 is nearing its end of life.
Fedora will stop maintaining and issuing updates for Fedora 33 on 2021-11-30.
It is Fedora's policy to close all bug reports from releases that are no longer
maintained. At that time this bug will be closed as EOL if it remains open with a
Fedora 'version' of '33'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 33 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 6 Ben Cotton 2021-11-30 17:30:39 UTC
Fedora 33 changed to end-of-life (EOL) status on 2021-11-30. Fedora 33 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.

Comment 7 Dan Horák 2022-01-07 13:24:28 UTC
If I can tell, then it has been already fixed in some of the 11.2.1 updates. gcc-11.2.1-1.fc34 from F-34 updates still has the problem, but gcc-11.2.1-7.fc36 in Rawhide has not.


Note You need to log in before you can comment on or make changes to this bug.