Bug 1217667 - gcc ICE: mariadb 11.x fails to build on i586 (builds on x86_64_
Summary: gcc ICE: mariadb 11.x fails to build on i586 (builds on x86_64_
Status: RESOLVED FIXED
Alias: None
Product: openSUSE Tumbleweed
Classification: openSUSE
Component: Development (show other bugs)
Version: Current
Hardware: Other Other
: P5 - None : Normal (vote)
Target Milestone: ---
Assignee: Richard Biener
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-11-29 15:56 UTC by Dominique Leuenberger
Modified: 2024-06-19 12:30 UTC (History)
3 users (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dominique Leuenberger 2023-11-29 15:56:22 UTC
Thia was identified while trying to update mariadb to version 11.x for Tumbleweed.

It fails with an ICE:
[ 2110s] /home/abuild/rpmbuild/BUILD/mariadb-11.1.2/sql/item.cc: In member function '__ct_base ':
[ 2110s] /home/abuild/rpmbuild/BUILD/mariadb-11.1.2/sql/item.cc:3105:1: internal compiler error: in find_oldest_value_reg, at regcprop.cc:460
[ 2110s]  3105 | }
[ 2110s]       | ^
[ 2110s] 0x8ee8def internal_error(char const*, ...)
[ 2110s] 	???:0
[ 2110s] 0x8ee8ed9 fancy_abort(char const*, int, char const*)
[ 2110s] 	???:0
[ 2110s] 0x947b56a copyprop_hardreg_forward_bb_without_debug_insn(basic_block_def*)
[ 2110s] 	???:0
[ 2110s] 0x90d44dc try_shrink_wrapping(edge_def**, rtx_insn*)
[ 2110s] 	???:0
[ 2110s] 0x8ff6d27 thread_prologue_and_epilogue_insns()
[ 2110s] 	???:0
[ 2110s] Please submit a full bug report, with preprocessed source (by using -freport-bug).
[ 2110s] Please include the complete backtrace with any bug report.
[ 2110s] See <https://bugs.opensuse.org/> for instructions.

Full log available at https://build.opensuse.org/build/server:database/openSUSE_Tumbleweed/i586/mariadb/_log

Filip already helped identify this as being fixed in gcc/trunk, based on this upstream bug report:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111497

Any chance to get this backported into the openSUSE Tumbleweed gcc package to unblock mariadb updates?
Comment 1 Dominique Leuenberger 2023-11-29 15:57:09 UTC
Relevant commit according upstream bug report:

https://gcc.gnu.org/git/gitweb.cgi?p=gcc.git;h=3c23defed384cf17518ad6c817d94463a445d21b
Comment 2 OBSbugzilla Bot 2023-12-01 07:55:04 UTC
This is an autogenerated message for OBS integration:
This bug (1217667) was mentioned in
https://build.opensuse.org/request/show/1130160 Factory / gcc13
Comment 3 Richard Biener 2023-12-01 14:22:28 UTC
Fixed.
Comment 4 Dominique Leuenberger 2023-12-01 14:24:27 UTC
(In reply to Richard Biener from comment #3)
> Fixed.

Thank you very much - staging in progress; once merged, we will get mariadb resubmitted and stagged
Comment 6 Maintenance Automation 2024-04-12 08:30:09 UTC
SUSE-RU-2024:1253-1: An update that has nine fixes can now be installed.

Category: recommended (moderate)
Bug References: 1210959, 1214934, 1217450, 1217667, 1218492, 1219031, 1219520, 1220724, 1221239
Maintenance Incident: [SUSE:Maintenance:33128](https://smelt.suse.de/incident/33128/)
Sources used:
openSUSE Leap Micro 5.3 (src):
 gcc13-13.2.1+git8285-150000.1.9.1
openSUSE Leap Micro 5.4 (src):
 gcc13-13.2.1+git8285-150000.1.9.1
openSUSE Leap 15.5 (src):
 gcc13-13.2.1+git8285-150000.1.9.1, cross-nvptx-gcc13-13.2.1+git8285-150000.1.9.1
SUSE Linux Enterprise Server 15 SP2 (src):
 gcc13-13.2.1+git8285-150000.1.9.1
SUSE Linux Enterprise Server 15 SP3 (src):
 gcc13-13.2.1+git8285-150000.1.9.1
SUSE Linux Enterprise High Performance Computing 15 SP4 (src):
 gcc13-13.2.1+git8285-150000.1.9.1
SUSE Linux Enterprise Server 15 SP4 (src):
 gcc13-13.2.1+git8285-150000.1.9.1
SUSE Manager Server 4.3 (src):
 gcc13-13.2.1+git8285-150000.1.9.1
SUSE Linux Enterprise Server for SAP Applications 15 SP4 (src):
 gcc13-13.2.1+git8285-150000.1.9.1, cross-nvptx-gcc13-13.2.1+git8285-150000.1.9.1
SUSE Linux Enterprise Desktop 15 SP4 (src):
 gcc13-13.2.1+git8285-150000.1.9.1
SUSE Manager Retail Branch Server 4.3 (src):
 gcc13-13.2.1+git8285-150000.1.9.1
SUSE Manager Proxy 4.3 (src):
 gcc13-13.2.1+git8285-150000.1.9.1
SUSE Linux Enterprise High Performance Computing 15 SP5 (src):
 gcc13-13.2.1+git8285-150000.1.9.1
SUSE Linux Enterprise Server 15 SP5 (src):
 gcc13-13.2.1+git8285-150000.1.9.1
SUSE Linux Enterprise Server for SAP Applications 15 SP5 (src):
 gcc13-13.2.1+git8285-150000.1.9.1
SUSE Linux Enterprise Desktop 15 SP5 (src):
 gcc13-13.2.1+git8285-150000.1.9.1
SUSE Linux Enterprise Micro for Rancher 5.3 (src):
 gcc13-13.2.1+git8285-150000.1.9.1
SUSE Linux Enterprise Micro 5.3 (src):
 gcc13-13.2.1+git8285-150000.1.9.1
SUSE Linux Enterprise Micro for Rancher 5.4 (src):
 gcc13-13.2.1+git8285-150000.1.9.1
SUSE Linux Enterprise Micro 5.4 (src):
 gcc13-13.2.1+git8285-150000.1.9.1
SUSE Linux Enterprise Micro 5.5 (src):
 gcc13-13.2.1+git8285-150000.1.9.1
Basesystem Module 15-SP5 (src):
 gcc13-13.2.1+git8285-150000.1.9.1
Development Tools Module 15-SP5 (src):
 gcc13-13.2.1+git8285-150000.1.9.1, cross-nvptx-gcc13-13.2.1+git8285-150000.1.9.1
SUSE Package Hub 15 15-SP5 (src):
 gcc13-13.2.1+git8285-150000.1.9.1
SUSE Linux Enterprise High Performance Computing 15 SP2 LTSS 15-SP2 (src):
 gcc13-13.2.1+git8285-150000.1.9.1, cross-nvptx-gcc13-13.2.1+git8285-150000.1.9.1
SUSE Linux Enterprise High Performance Computing LTSS 15 SP3 (src):
 gcc13-13.2.1+git8285-150000.1.9.1, cross-nvptx-gcc13-13.2.1+git8285-150000.1.9.1
SUSE Linux Enterprise High Performance Computing ESPOS 15 SP4 (src):
 gcc13-13.2.1+git8285-150000.1.9.1, cross-nvptx-gcc13-13.2.1+git8285-150000.1.9.1
SUSE Linux Enterprise High Performance Computing LTSS 15 SP4 (src):
 gcc13-13.2.1+git8285-150000.1.9.1, cross-nvptx-gcc13-13.2.1+git8285-150000.1.9.1
SUSE Linux Enterprise Desktop 15 SP4 LTSS 15-SP4 (src):
 gcc13-13.2.1+git8285-150000.1.9.1, cross-nvptx-gcc13-13.2.1+git8285-150000.1.9.1
SUSE Linux Enterprise Server 15 SP2 LTSS 15-SP2 (src):
 gcc13-13.2.1+git8285-150000.1.9.1, cross-nvptx-gcc13-13.2.1+git8285-150000.1.9.1
SUSE Linux Enterprise Server 15 SP3 LTSS 15-SP3 (src):
 gcc13-13.2.1+git8285-150000.1.9.1, cross-nvptx-gcc13-13.2.1+git8285-150000.1.9.1
SUSE Linux Enterprise Server 15 SP4 LTSS 15-SP4 (src):
 gcc13-13.2.1+git8285-150000.1.9.1, cross-nvptx-gcc13-13.2.1+git8285-150000.1.9.1
SUSE Linux Enterprise Server for SAP Applications 15 SP2 (src):
 gcc13-13.2.1+git8285-150000.1.9.1, cross-nvptx-gcc13-13.2.1+git8285-150000.1.9.1
SUSE Linux Enterprise Server for SAP Applications 15 SP3 (src):
 gcc13-13.2.1+git8285-150000.1.9.1, cross-nvptx-gcc13-13.2.1+git8285-150000.1.9.1
SUSE Enterprise Storage 7.1 (src):
 gcc13-13.2.1+git8285-150000.1.9.1, cross-nvptx-gcc13-13.2.1+git8285-150000.1.9.1
SUSE Linux Enterprise Micro 5.1 (src):
 gcc13-13.2.1+git8285-150000.1.9.1
SUSE Linux Enterprise Micro 5.2 (src):
 gcc13-13.2.1+git8285-150000.1.9.1
SUSE Linux Enterprise Micro for Rancher 5.2 (src):
 gcc13-13.2.1+git8285-150000.1.9.1

NOTE: This line indicates an update has been released for the listed product(s). At times this might be only a partial fix. If you have questions please reach out to maintenance coordination.
Comment 8 Maintenance Automation 2024-06-19 12:30:11 UTC
SUSE-RU-2024:2087-1: An update that has 10 fixes can now be installed.

Category: recommended (moderate)
Bug References: 1188441, 1210959, 1214934, 1217450, 1217667, 1218492, 1219031, 1219520, 1220724, 1221239
Maintenance Incident: [SUSE:Maintenance:34272](https://smelt.suse.de/incident/34272/)
Sources used:
Toolchain Module 12 (src):
 cross-nvptx-gcc13-13.3.0+git8781-1.13.1, gcc13-13.3.0+git8781-1.13.1
SUSE Linux Enterprise High Performance Computing 12 SP5 (src):
 gcc13-13.3.0+git8781-1.13.1
SUSE Linux Enterprise Server 12 SP5 (src):
 gcc13-13.3.0+git8781-1.13.1
SUSE Linux Enterprise Server for SAP Applications 12 SP5 (src):
 gcc13-13.3.0+git8781-1.13.1

NOTE: This line indicates an update has been released for the listed product(s). At times this might be only a partial fix. If you have questions please reach out to maintenance coordination.