https://tracker.ceph.com/https://tracker.ceph.com/favicon.ico2017-11-22T04:45:22ZCeph RADOS - Bug #22220: osd/ReplicatedPG.h:1667:14: internal compiler error: in force_type_die, at dwarf2out.c:25128https://tracker.ceph.com/issues/22220?journal_id=1026342017-11-22T04:45:22ZPrashant D
<ul><li><strong>Assignee</strong> set to <i>Brad Hubbard</i></li></ul> RADOS - Bug #22220: osd/ReplicatedPG.h:1667:14: internal compiler error: in force_type_die, at dwarf2out.c:25128https://tracker.ceph.com/issues/22220?journal_id=1026372017-11-22T05:16:02ZBrad Hubbardbhubbard@redhat.com
<ul><li><strong>Project</strong> changed from <i>mgr</i> to <i>RADOS</i></li><li><strong>Category</strong> deleted (<del><i>Build</i></del>)</li><li><strong>Component(RADOS)</strong> <i>OSD</i> added</li></ul><p>Also effects fc27.</p>
<p>This is a gcc bug <a class="external" href="https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82155">https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82155</a> so this just a place-holder tracker.</p>
<p>fc26 BZ <a class="external" href="https://bugzilla.redhat.com/show_bug.cgi?id=1516577">https://bugzilla.redhat.com/show_bug.cgi?id=1516577</a><br />fc27 BZ <a class="external" href="https://bugzilla.redhat.com/show_bug.cgi?id=1516576">https://bugzilla.redhat.com/show_bug.cgi?id=1516576</a></p> RADOS - Bug #22220: osd/ReplicatedPG.h:1667:14: internal compiler error: in force_type_die, at dwarf2out.c:25128https://tracker.ceph.com/issues/22220?journal_id=1029442017-11-29T17:05:21ZGreg Farnumgfarnum@redhat.com
<ul><li><strong>Status</strong> changed from <i>New</i> to <i>15</i></li></ul> RADOS - Bug #22220: osd/ReplicatedPG.h:1667:14: internal compiler error: in force_type_die, at dwarf2out.c:25128https://tracker.ceph.com/issues/22220?journal_id=1035892017-12-13T00:57:24ZNathan Cutlerncutler@suse.cz
<ul><li><strong>Priority</strong> changed from <i>Low</i> to <i>High</i></li></ul><p>Raising priority because this error is now affecting (all?) Jewel PRs. See e.g. <a class="external" href="https://github.com/ceph/ceph/pull/19457">https://github.com/ceph/ceph/pull/19457</a></p>
<p>Is there a workaround? (Downgrade gcc in the Jenkins CI environment?)</p> RADOS - Bug #22220: osd/ReplicatedPG.h:1667:14: internal compiler error: in force_type_die, at dwarf2out.c:25128https://tracker.ceph.com/issues/22220?journal_id=1035902017-12-13T01:05:31ZBrad Hubbardbhubbard@redhat.com
<ul></ul><p>Is Jenkins using Fedora? If not I'd suggest we create a bug against the appropriate OS and component. I suspect this is developer-toolset 7 on CentOS? If so I'd suggest a bug against it and the corresponding rhel also if rhel is similarly afflicted. This is just a tracker bug to track the compiler issue. I have no insight into the build system Jenkins uses I'm afraid.</p> RADOS - Bug #22220: osd/ReplicatedPG.h:1667:14: internal compiler error: in force_type_die, at dwarf2out.c:25128https://tracker.ceph.com/issues/22220?journal_id=1035942017-12-13T01:22:35ZBrad Hubbardbhubbard@redhat.com
<ul></ul><pre>
# cat /etc/os-release
NAME="CentOS Linux"
VERSION="7 (Core)"
ID="centos"
ID_LIKE="rhel fedora"
VERSION_ID="7"
PRETTY_NAME="CentOS Linux 7 (Core)"
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:centos:centos:7"
HOME_URL="https://www.centos.org/"
BUG_REPORT_URL="https://bugs.centos.org/"
CENTOS_MANTISBT_PROJECT="CentOS-7"
CENTOS_MANTISBT_PROJECT_VERSION="7"
REDHAT_SUPPORT_PRODUCT="centos"
REDHAT_SUPPORT_PRODUCT_VERSION="7"
# g++ -v
Using built-in specs.
COLLECT_GCC=g++
COLLECT_LTO_WRAPPER=/opt/rh/devtoolset-7/root/usr/libexec/gcc/x86_64-redhat-linux/7/lto-wrapper
Target: x86_64-redhat-linux
Configured with: ../configure --enable-bootstrap --enable-languages=c,c++,fortran,lto --prefix=/opt/rh/devtoolset-7/root/usr --mandir=/opt/rh/devtoolset-7/root/usr/share/man --infodir=/opt/rh/devtoolset-7/root/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-shared --enable-threads=posix --enable-checking=release --enable-multilib --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-linker-build-id --with-gcc-major-version-only --enable-plugin --with-linker-hash-style=gnu --enable-initfini-array --with-default-libstdcxx-abi=gcc4-compatible --with-isl=/builddir/build/BUILD/gcc-7.2.1-20170829/obj-x86_64-redhat-linux/isl-install --enable-libmpx --enable-gnu-indirect-function --with-tune=generic --with-arch_32=i686 --build=x86_64-redhat-linux
Thread model: posix
gcc version 7.2.1 20170829 (Red Hat 7.2.1-1) (GCC)
# rpm -qa devtoolset-7-gcc-c++
devtoolset-7-gcc-c++-7.2.1-1.el7.x86_64
# cat << EOF >reproducer.ii
template <typename a> struct b { a c; };
template <typename d> struct e { d *operator->(); };
template <typename d> class f {
public:
typedef e<d> g;
};
class h {
protected:
h(int);
};
class j {
public:
virtual ~j();
struct k : h {
int l;
k() : h(l) {
struct m : j {
m() {}
};
}
};
};
struct n {
n() {
for (f<b<b<j *>>>::g i;;)
delete i->c.c;
}
};
void o() { n(); }
EOF
# g++ -c -O2 -g reproducer.ii
reproducer.ii: In destructor ‘virtual j::k::k()::m::~m()’:
reproducer.ii:17:14: internal compiler error: in force_type_die, at dwarf2out.c:25099
struct m : j {
^
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://bugzilla.redhat.com/bugzilla> for instructions.
Preprocessed source stored into /tmp/cc9yXqgf.out file, please attach this to your bugreport.
</pre>
<p>Confirmed on CentOS with latest devtoolset. Checking RHEL.</p> RADOS - Bug #22220: osd/ReplicatedPG.h:1667:14: internal compiler error: in force_type_die, at dwarf2out.c:25128https://tracker.ceph.com/issues/22220?journal_id=1035962017-12-13T02:07:46ZBrad Hubbardbhubbard@redhat.com
<ul></ul><pre>
# cat /etc/os-release
NAME="Red Hat Enterprise Linux Server"
VERSION="7.4 (Maipo)"
ID="rhel"
ID_LIKE="fedora"
VARIANT="Server"
VARIANT_ID="server"
VERSION_ID="7.4"
PRETTY_NAME="Employee SKU"
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:redhat:enterprise_linux:7.4:GA:server"
HOME_URL="https://www.redhat.com/"
BUG_REPORT_URL="https://bugzilla.redhat.com/"
REDHAT_BUGZILLA_PRODUCT="Red Hat Enterprise Linux 7"
REDHAT_BUGZILLA_PRODUCT_VERSION=7.4
REDHAT_SUPPORT_PRODUCT="Red Hat Enterprise Linux"
REDHAT_SUPPORT_PRODUCT_VERSION="7.4"
# g++ -v
Using built-in specs.
COLLECT_GCC=g++
COLLECT_LTO_WRAPPER=/opt/rh/devtoolset-7/root/usr/libexec/gcc/x86_64-redhat-linux/7/lto-wrapper
Target: x86_64-redhat-linux
Configured with: ../configure --enable-bootstrap --enable-languages=c,c++,fortran,lto --prefix=/opt/rh/devtoolset-7/root/usr --mandir=/opt/rh/devtoolset-7/root/usr/share/man --infodir=/opt/rh/devtoolset-7/root/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-shared --enable-threads=posix --enable-checking=release --enable-multilib --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-linker-build-id --with-gcc-major-version-only --enable-plugin --with-linker-hash-style=gnu --enable-initfini-array --with-default-libstdcxx-abi=gcc4-compatible --with-isl=/builddir/build/BUILD/gcc-7.2.1-20170829/obj-x86_64-redhat-linux/isl-install --enable-libmpx --enable-gnu-indirect-function --with-tune=generic --with-arch_32=i686 --build=x86_64-redhat-linux
Thread model: posix
gcc version 7.2.1 20170829 (Red Hat 7.2.1-1) (GCC)
# rpm -qa devtoolset-7-gcc-c++
devtoolset-7-gcc-c++-7.2.1-1.el7.x86_64
# cat << EOF >reproducer.ii
template <typename a> struct b { a c; };
template <typename d> struct e { d *operator->(); };
template <typename d> class f {
public:
typedef e<d> g;
};
class h {
protected:
h(int);
};
class j {
public:
virtual ~j();
struct k : h {
int l;
k() : h(l) {
struct m : j {
m() {}
};
}
};
};
struct n {
n() {
for (f<b<b<j *>>>::g i;;)
delete i->c.c;
}
};
void o() { n(); }
EOF
# g++ -c -O2 -g reproducer.ii
reproducer.ii: In destructor ‘virtual j::k::k()::m::~m()’:
reproducer.ii:17:14: internal compiler error: in force_type_die, at dwarf2out.c:25099
struct m : j {
^
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://bugzilla.redhat.com/bugzilla> for instructions.
Preprocessed source stored into /tmp/ccrRQS6V.out file, please attach this to your bugreport.
</pre>
<p>Confirmed on RHEL 7.4 and new bug created against Red Hat Developer Toolset <a class="external" href="https://bugzilla.redhat.com/show_bug.cgi?id=1525304">https://bugzilla.redhat.com/show_bug.cgi?id=1525304</a></p> RADOS - Bug #22220: osd/ReplicatedPG.h:1667:14: internal compiler error: in force_type_die, at dwarf2out.c:25128https://tracker.ceph.com/issues/22220?journal_id=1035982017-12-13T03:57:02ZKefu Chaitchaikov@gmail.com
<ul></ul><p>please see <a class="external" href="https://github.com/ceph/ceph/pull/19426">https://github.com/ceph/ceph/pull/19426</a>. that's why it popped up recently.</p>
<p>Nathan, to downgrade the GCC in building servers is an option, but it complicates our complicated building process, to be specific, the xenial building servers are shared by master (mimic-dev1) and jewel, the latter requires an older GCC, but the former wants GCC-7. so we need to revert the change i made in install-deps.sh for master after the building process completes. that's a pain.</p>
<p>i'd suggest just work around this issue in jewel.</p>
<p>will prepare a patch.</p> RADOS - Bug #22220: osd/ReplicatedPG.h:1667:14: internal compiler error: in force_type_die, at dwarf2out.c:25128https://tracker.ceph.com/issues/22220?journal_id=1035992017-12-13T03:58:55ZBrad Hubbardbhubbard@redhat.com
<ul></ul><p>The build in <a class="external" href="https://github.com/ceph/ceph/pull/19457">https://github.com/ceph/ceph/pull/19457</a> was done on Ubuntu :(</p> RADOS - Bug #22220: osd/ReplicatedPG.h:1667:14: internal compiler error: in force_type_die, at dwarf2out.c:25128https://tracker.ceph.com/issues/22220?journal_id=1036002017-12-13T04:36:10ZKefu Chaitchaikov@gmail.com
<ul><li><strong>Status</strong> changed from <i>15</i> to <i>Fix Under Review</i></li></ul><p><a class="external" href="https://github.com/ceph/ceph/pull/19461">https://github.com/ceph/ceph/pull/19461</a></p> RADOS - Bug #22220: osd/ReplicatedPG.h:1667:14: internal compiler error: in force_type_die, at dwarf2out.c:25128https://tracker.ceph.com/issues/22220?journal_id=1036082017-12-13T11:29:59ZNathan Cutlerncutler@suse.cz
<ul></ul><p>@Kefu: thanks for the quick fix!</p> RADOS - Bug #22220: osd/ReplicatedPG.h:1667:14: internal compiler error: in force_type_die, at dwarf2out.c:25128https://tracker.ceph.com/issues/22220?journal_id=1037222017-12-14T02:20:08ZBrad Hubbardbhubbard@redhat.com
<ul></ul><p>How does <a class="external" href="https://github.com/ceph/ceph/pull/19461">https://github.com/ceph/ceph/pull/19461</a> fix the bug in gcc7?</p> RADOS - Bug #22220: osd/ReplicatedPG.h:1667:14: internal compiler error: in force_type_die, at dwarf2out.c:25128https://tracker.ceph.com/issues/22220?journal_id=1037332017-12-14T07:14:45ZKefu Chaitchaikov@gmail.com
<ul><li><strong>Status</strong> changed from <i>Fix Under Review</i> to <i>15</i></li></ul> RADOS - Bug #22220: osd/ReplicatedPG.h:1667:14: internal compiler error: in force_type_die, at dwarf2out.c:25128https://tracker.ceph.com/issues/22220?journal_id=1044472018-01-06T01:29:15ZBrad Hubbardbhubbard@redhat.com
<ul></ul><p>For DTS this should be fixed in the 7.1 release.</p> RADOS - Bug #22220: osd/ReplicatedPG.h:1667:14: internal compiler error: in force_type_die, at dwarf2out.c:25128https://tracker.ceph.com/issues/22220?journal_id=1071092018-02-07T23:09:22ZBrad Hubbardbhubbard@redhat.com
<ul></ul><p>Fixed by gcc-7.3.1-2.fc26 gcc-7.3.1-2.fc27 in fc27</p> RADOS - Bug #22220: osd/ReplicatedPG.h:1667:14: internal compiler error: in force_type_die, at dwarf2out.c:25128https://tracker.ceph.com/issues/22220?journal_id=1095962018-03-27T01:35:08ZBrad Hubbardbhubbard@redhat.com
<ul><li><strong>Status</strong> changed from <i>15</i> to <i>Resolved</i></li></ul><p>Resolved for Fedora and just waiting on next DTS to ship on rhel/CentOS.</p> RADOS - Bug #22220: osd/ReplicatedPG.h:1667:14: internal compiler error: in force_type_die, at dwarf2out.c:25128https://tracker.ceph.com/issues/22220?journal_id=1125192018-05-03T05:21:48ZBrad Hubbardbhubbard@redhat.com
<ul></ul><p><a class="external" href="https://access.redhat.com/errata/RHBA-2018:1293">https://access.redhat.com/errata/RHBA-2018:1293</a></p>