Bug 2169364 - internal compiler error: in gimplify_var_or_parm_decl, at gimplify.cc:3058 compiling ceph
Summary: internal compiler error: in gimplify_var_or_parm_decl, at gimplify.cc:3058 co...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: gcc
Version: rawhide
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: Jakub Jelinek
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-02-13 12:47 UTC by Kaleb KEITHLEY
Modified: 2023-04-24 12:04 UTC (History)
11 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-04-24 12:04:16 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
preprocessed output from compilation (13.90 MB, text/plain)
2023-02-13 12:55 UTC, Kaleb KEITHLEY
no flags Details


Links
System ID Private Priority Status Summary Last Updated
GNU Compiler Collection 108773 0 P3 UNCONFIRMED internal compiler error: in gimplify_var_or_parm_decl, at gimplify.cc:3058 compiling ceph 2023-02-13 13:03:26 UTC

Description Kaleb KEITHLEY 2023-02-13 12:47:29 UTC
Description of problem:

see https://koji.fedoraproject.org/koji/taskinfo?taskID=97426819

gcc throws compiler error during compilation of ...ceph/src/rgw/driver/rados/rgw_sync_trace.cc in ceph snapshot from https://1.chacra.ceph.com/r/ceph/main/9754cafc029e1da83f5ddd4332b69066fe6b3ffb/centos/8/flavors/default/SRPMS/ceph-18.0.0-2148.g9754cafc.el8.src.rpm


Version-Release number of selected component (if applicable):

13.0.1-0.2.fc38

How reproducible:

See preprocessed output in the attachment

Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 1 Kaleb KEITHLEY 2023-02-13 12:55:30 UTC
Created attachment 1943849 [details]
preprocessed output from compilation

Comment 2 Siddhesh Poyarekar 2023-02-13 15:33:54 UTC
I made sure that this is not due to _FORTIFY_SOURCE=3 by replacing all __bdos calls with __bos.  It is reproducible by attempting to build the preprocessed source with:

gcc/cc1plus -quiet /tmp/ceph.ii -std=c++20 -fno-strict-aliasing -o /dev/null

on gcc trunk as of Feb 6th.  Most likely a c++ issue.

Comment 3 Marek Polacek 2023-02-13 15:47:11 UTC
(In reply to Siddhesh Poyarekar from comment #2)
> I made sure that this is not due to _FORTIFY_SOURCE=3 by replacing all
> __bdos calls with __bos.  It is reproducible by attempting to build the
> preprocessed source with:
> 
> gcc/cc1plus -quiet /tmp/ceph.ii -std=c++20 -fno-strict-aliasing -o /dev/null
> 
> on gcc trunk as of Feb 6th.  Most likely a c++ issue.

Yes, it was bisected to a C++ FE change.

Comment 4 Kaleb KEITHLEY 2023-03-13 18:08:14 UTC
Can confirm that the fix included in gcc-13.0.1-07 works and I have now successfully built ceph in koji. 

https://koji.fedoraproject.org/koji/taskinfo?taskID=98654634


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