Building lxc-5.0.2 in current rawhide yields an ICE (https://koji.fedoraproject.org/koji/taskinfo?taskID=96541621): *** 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 GIMPLE pass: dce ../src/lxc/attach.c: In function ‘lxc_attach’: ../src/lxc/attach.c:1433:5: internal compiler error: in eliminate_unnecessary_stmts, at tree-ssa-dce.cc:1512 1433 | int lxc_attach(struct lxc_container *container, lxc_attach_exec_t exec_function, | ^ Please submit a full bug report, with preprocessed source. See <http://bugzilla.redhat.com/bugzilla> for instructions. make: *** [/tmp/ccGHF4Wn.mk:8: /tmp/ccr1AcUS.ltrans2.ltrans.o] Error 1 make: *** Waiting for unfinished jobs.... lto-wrapper: fatal error: make returned 2 exit status compilation terminated. /usr/bin/ld.gold: fatal error: lto-wrapper failed collect2: error: ld returned 1 exit status Seems to happen on all archs. Perhaps related to https://gcc.gnu.org/bugzilla//show_bug.cgi?id=108449 ?
SRPM is here https://thm.fedorapeople.org/lxc-5.0.2-1.fc38.src.rpm .
The upstream PR has been fixed today, so I think it will be easiest to upgrade gcc in rawhide and retry. I'll need to figure out what to do with PR106746 / PR108463 though.
gcc-13.0.1-0.2.fc38 should have that fix in, can you please retry?
Doesn't seem to help: https://koji.fedoraproject.org/koji/taskinfo?taskID=96889566
Could be also https://gcc.gnu.org/PR108656 , the package uses inline returns_twice functions and one not explicitly inline, but with early conditionals on it, so it could very well be IPA split.
This bug appears to have been reported against 'rawhide' during the Fedora Linux 38 development cycle. Changing version to 38.
This message is a reminder that Fedora Linux 38 is nearing its end of life. Fedora will stop maintaining and issuing updates for Fedora Linux 38 on 2024-05-21. 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 'version' of '38'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, change the 'version' to a later Fedora Linux version. Note that the version field may be hidden. Click the "Show advanced fields" button if you do not see it. Thank you for reporting this issue and we are sorry that we were not able to fix it before Fedora Linux 38 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 Linux, you are encouraged to change the 'version' to a later version prior to this bug being closed.
Fedora Linux 38 entered end-of-life (EOL) status on 2024-05-21. Fedora Linux 38 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 Linux please feel free to reopen this bug against that version. Note that the version field may be hidden. Click the "Show advanced fields" button if you do not see the version field. If you are unable to reopen this bug, please file a new report against an active release. Thank you for reporting this bug and we are sorry it could not be fixed.