<div dir="ltr">Hi,<div><br></div><div>When trying to build sfx2 module with debugging symbols , I get the following build error:</div><div><br></div><div>make sfx2.clean && make sfx2 debug=t<br></div><div><br></div><div>*********************************************************************</div><div><ol style="color:rgb(102,102,102);list-style:decimal-leading-zero;font-family:monospace;font-size:13.3333px"><li class="" style="color:rgb(131,131,131)"><div class="" style="color:black;display:inline"><span class="">[</span>CXX<span class="">]</span> sfx2/source/appl/appinit.cxx</div></li><li class="" style="color:rgb(131,131,131)"><div class="" style="color:black;display:inline"><span class="">[</span>CXX<span class="">]</span> sfx2/source/appl/appmain.cxx</div></li><li class="" style="color:rgb(131,131,131)"><div class="" style="color:black;display:inline"><span class="">[</span>CXX<span class="">]</span> sfx2/source/appl/appmisc.cxx</div></li><li class="" style="color:rgb(131,131,131)"><div class="" style="color:black;display:inline"><span class="">[</span>CXX<span class="">]</span> sfx2/source/appl/appopen.cxx</div></li><li class="" style="color:rgb(131,131,131);font-weight:bold"><div class="" style="color:black;font-weight:normal;display:inline"><span class="">[</span>CXX<span class="">]</span> sfx2/source/appl/appquit.cxx</div></li><li class="" style="color:rgb(131,131,131)"><div class="" style="color:black;display:inline"><span class="">[</span>CXX<span class="">]</span> sfx2/source/appl/appreg.cxx</div></li><li class="" style="color:rgb(131,131,131)"><div class="" style="color:black;display:inline"><span class="">[</span>CXX<span class="">]</span> sfx2/source/appl/appserv.cxx</div></li><li class="" style="color:rgb(131,131,131)"><div class="" style="color:black;display:inline">In file included from /home/pranav/Development/libreoffice/sfx2/source/appl/appmisc.cxx:<span class="">87</span>:<span class="">0</span>:</div></li><li class="" style="color:rgb(131,131,131)"><div class="" style="color:black;display:inline">/home/pranav/Development/libreoffice/workdir/SdiTarget/sfx2/sdi/sfxslots.hxx:<span class="">1246</span>:<span class="">5</span>:   in constexpr expansion of ‘operator|<SfxSlotMode><span class="">(</span><span class="">(</span>SfxSlotMode<span class="">)</span><span class="">32</span>, <span class="">(</span>SfxSlotMode<span class="">)</span><span class="">1024</span><span class="">)</span>’</div></li><li class="" style="color:rgb(131,131,131);font-weight:bold"><div class="" style="color:black;font-weight:normal;display:inline">/home/pranav/Development/libreoffice/workdir/SdiTarget/sfx2/sdi/sfxslots.hxx:<span class="">1805</span>:<span class="">1</span>: internal compiler error: Segmentation fault</div></li><li class="" style="color:rgb(131,131,131)"><div class="" style="color:black;display:inline"> <span class="">}</span>;</div></li><li class="" style="color:rgb(131,131,131)"><div class="" style="color:black;display:inline"> ^</div></li><li class="" style="color:rgb(131,131,131)"><div class="" style="color:black;display:inline">Please submit a full bug report,</div></li><li class="" style="color:rgb(131,131,131)"><div class="" style="color:black;display:inline">with preprocessed source if appropriate.</div></li><li class="" style="color:rgb(131,131,131);font-weight:bold"><div class="" style="color:black;font-weight:normal;display:inline">See <<a href="https://bugs.archlinux.org/">https://bugs.archlinux.org/</a>> for instructions.</div></li><li class="" style="color:rgb(131,131,131)"><div class="" style="color:black;display:inline">/home/pranav/Development/libreoffice/solenv/gbuild/LinkTarget.mk:<span class="">189</span>: recipe for target '/home/pranav/Development/libreoffice/workdir/CxxObject/sfx2/source/appl/appmisc.o' failed</div></li><li class="" style="color:rgb(131,131,131)"><div class="" style="color:black;display:inline">make<span class="">[</span><span class="">1</span><span class="">]</span>: *** <span class="">[</span>/home/pranav/Development/libreoffice/workdir/CxxObject/sfx2/source/appl/appmisc.o<span class="">]</span> Error<span class="">1</span></div></li><li class="" style="color:rgb(131,131,131)"><div class="" style="color:black;display:inline">make<span class="">[</span><span class="">1</span><span class="">]</span>: *** Waiting for unfinished jobs....</div></li><li class="" style="color:rgb(131,131,131)"><div class="" style="color:black;display:inline">Makefile:<span class="">102</span>: recipe for target 'sfx2' failed</div></li><li class="" style="color:rgb(131,131,131);font-weight:bold;background:rgb(255,255,221)"><div class="" style="color:black;font-weight:normal;display:inline">make: *** <span class="">[</span>sfx2<span class="">]</span> Error <span class="">2</span></div></li></ol><div><font color="#000000" face="monospace"><span style="font-size:13.3333px">***************************************************</span></font></div></div><div><font color="#000000" face="monospace"><span style="font-size:13.3333px"><br></span></font></div><div><font color="#000000" face="monospace"><span style="font-size:13.3333px">Seems to be related to this gcc bug:</span></font></div><div><font color="#000000" face="monospace"><span style="font-size:13.3333px"><br></span></font></div><div><font color="#000000" face="monospace"><span style="font-size:13.3333px"><a href="https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69149">https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69149</a><br></span></font></div><div><font color="#000000" face="monospace"><br></font></div><div><font color="#000000" face="monospace">without debug , sfx2 module builds fine.</font></div><div><font color="#000000" face="monospace"><br></font></div><div><font color="#000000" face="monospace">My GCC version is 5.3.0 and I am building it on 64-bit Archlinux.</font></div><div><font color="#000000" face="monospace"><br></font></div><div><font color="#000000" face="monospace">Does anyone know what can be the solution for it?</font></div><div><font color="#000000" face="monospace"><br></font></div><div><font color="#000000" face="monospace">Regards,</font></div><div><font color="#000000" face="monospace">Pranav</font></div><div><font color="#000000" face="monospace"><br></font></div></div>