Compiler crash when building libreoffice with debug

Pranav Ganorkar pranavg189 at gmail.com
Sat Mar 5 16:38:38 UTC 2016


Hi,

When trying to build sfx2 module with debugging symbols , I get the
following build error:

make sfx2.clean && make sfx2 debug=t

*********************************************************************

   1. [CXX] sfx2/source/appl/appinit.cxx
   2. [CXX] sfx2/source/appl/appmain.cxx
   3. [CXX] sfx2/source/appl/appmisc.cxx
   4. [CXX] sfx2/source/appl/appopen.cxx
   5. [CXX] sfx2/source/appl/appquit.cxx
   6. [CXX] sfx2/source/appl/appreg.cxx
   7. [CXX] sfx2/source/appl/appserv.cxx
   8. In file included from
   /home/pranav/Development/libreoffice/sfx2/source/appl/appmisc.cxx:87:0:
   9.
   /home/pranav/Development/libreoffice/workdir/SdiTarget/sfx2/sdi/sfxslots.hxx:
   1246:5:   in constexpr expansion of ‘operator|<SfxSlotMode>((SfxSlotMode)
   32, (SfxSlotMode)1024)’
   10.
   /home/pranav/Development/libreoffice/workdir/SdiTarget/sfx2/sdi/sfxslots.hxx:
   1805:1: internal compiler error: Segmentation fault
   11.  };
   12.  ^
   13. Please submit a full bug report,
   14. with preprocessed source if appropriate.
   15. See <https://bugs.archlinux.org/> for instructions.
   16. /home/pranav/Development/libreoffice/solenv/gbuild/LinkTarget.mk:189:
   recipe for target
   '/home/pranav/Development/libreoffice/workdir/CxxObject/sfx2/source/appl/appmisc.o'
   failed
   17. make[1]: *** [
   /home/pranav/Development/libreoffice/workdir/CxxObject/sfx2/source/appl/appmisc.o
   ] Error1
   18. make[1]: *** Waiting for unfinished jobs....
   19. Makefile:102: recipe for target 'sfx2' failed
   20. make: *** [sfx2] Error 2

***************************************************

Seems to be related to this gcc bug:

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69149

without debug , sfx2 module builds fine.

My GCC version is 5.3.0 and I am building it on 64-bit Archlinux.

Does anyone know what can be the solution for it?

Regards,
Pranav
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice/attachments/20160305/b9df6a6a/attachment.html>


More information about the LibreOffice mailing list