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:
Created attachment 1943849 [details] preprocessed output from compilation
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.
(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.
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