Bug#812058: gargoyle-free: FTBFS with GCC 6: error: exception cleanup for this

Martin Michlmayr tbm at hpe.com
Wed Jan 20 04:56:57 UTC 2016


Package: gargoyle-free
Version: 2011.1a-3
Severity: important
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-6

This package fails to build with GCC 6.  GCC 6 has not been released
yet, but it's expected that GCC 6 will become the default compiler for
stretch.

Note that only the first error is reported; there might be more.  You
can find a snapshot of GCC 6 in experimental.  To build with GCC 6,
you can set CC=gcc-6 CXX=g++-6 explicitly.

You may be able to find out more about this issue at
https://gcc.gnu.org/gcc-6/changes.html

> sbuild (Debian sbuild) 0.67.0 (26 Dec 2015) on dl580gen9-02.hlinux
...
> C++ build/linux.release/tads/vmvec.o 
> In file included from tads/tads3/vmobj.cpp:35:0:
> tads/tads3/vmlst.h: In member function 'virtual void CVmMetaclassList::create_for_image_load(vm_obj_id_t)':
> tads/tads3/vmlst.h:659:34: error: exception cleanup for this placement new selects non-placement operator delete [-fpermissive]
>          new (vmg_ id) CVmObjList();
>                                   ^
> 
> <built-in>: note: 'void operator delete(void*, long unsigned int)' is a usual (non-placement) deallocation function in C++14 (or with -fsized-deallocation)
> tads/tads3/vmlst.h: In member function 'virtual void CVmMetaclassList::create_for_restore(vm_obj_id_t)':
> tads/tads3/vmlst.h:666:34: error: exception cleanup for this placement new selects non-placement operator delete [-fpermissive]
>          new (vmg_ id) CVmObjList();
>                                   ^
> 
> <built-in>: note: 'void operator delete(void*, long unsigned int)' is a usual (non-placement) deallocation function in C++14 (or with -fsized-deallocation)
> In file included from tads/tads3/vmobj.cpp:36:0:
> tads/tads3/vmstr.h: In member function 'virtual void CVmMetaclassString::create_for_image_load(vm_obj_id_t)':
> tads/tads3/vmstr.h:416:36: error: exception cleanup for this placement new selects non-placement operator delete [-fpermissive]
>          new (vmg_ id) CVmObjString();
>                                     ^
> 
> <built-in>: note: 'void operator delete(void*, long unsigned int)' is a usual (non-placement) deallocation function in C++14 (or with -fsized-deallocation)
> tads/tads3/vmstr.h: In member function 'virtual void CVmMetaclassString::create_for_restore(vm_obj_id_t)':
> tads/tads3/vmstr.h:423:36: error: exception cleanup for this placement new selects non-placement operator delete [-fpermissive]
>          new (vmg_ id) CVmObjString();
>                                     ^
> 
> <built-in>: note: 'void operator delete(void*, long unsigned int)' is a usual (non-placement) deallocation function in C++14 (or with -fsized-deallocation)
> In file included from tads/tads3/vmobj.cpp:37:0:
> tads/tads3/vmintcls.h: In member function 'virtual void CVmMetaclassClass::create_for_image_load(vm_obj_id_t)':
> tads/tads3/vmintcls.h:246:35: error: exception cleanup for this placement new selects non-placement operator delete [-fpermissive]
>          new (vmg_ id) CVmObjClass();
>                                    ^
> 
> <built-in>: note: 'void operator delete(void*, long unsigned int)' is a usual (non-placement) deallocation function in C++14 (or with -fsized-deallocation)
> tads/tads3/vmintcls.h: In member function 'virtual void CVmMetaclassClass::create_for_restore(vm_obj_id_t)':
> tads/tads3/vmintcls.h:253:35: error: exception cleanup for this placement new selects non-placement operator delete [-fpermissive]
>          new (vmg_ id) CVmObjClass();
>                                    ^
> 
> <built-in>: note: 'void operator delete(void*, long unsigned int)' is a usual (non-placement) deallocation function in C++14 (or with -fsized-deallocation)
> In file included from tads/tads3/vmtobj.cpp:31:0:
> tads/tads3/vmtobj.h: In member function 'virtual void CVmMetaclassTads::create_for_image_load(vm_obj_id_t)':
> tads/tads3/vmtobj.h:625:34: error: exception cleanup for this placement new selects non-placement operator delete [-fpermissive]
>          new (vmg_ id) CVmObjTads();
>                                   ^
> 
> <built-in>: note: 'void operator delete(void*, long unsigned int)' is a usual (non-placement) deallocation function in C++14 (or with -fsized-deallocation)
> tads/tads3/vmtobj.h: In member function 'virtual void CVmMetaclassTads::create_for_restore(vm_obj_id_t)':
> tads/tads3/vmtobj.h:632:34: error: exception cleanup for this placement new selects non-placement operator delete [-fpermissive]
>          new (vmg_ id) CVmObjTads();
>                                   ^
> 
> <built-in>: note: 'void operator delete(void*, long unsigned int)' is a usual (non-placement) deallocation function in C++14 (or with -fsized-deallocation)
> tads/tads3/vmtobj.h: In member function 'virtual void CVmMetaclassIntClsMod::create_for_image_load(vm_obj_id_t)':
> tads/tads3/vmtobj.h:740:39: error: exception cleanup for this placement new selects non-placement operator delete [-fpermissive]
>          new (vmg_ id) CVmObjIntClsMod();
>                                        ^
> 
> <built-in>: note: 'void operator delete(void*, long unsigned int)' is a usual (non-placement) deallocation function in C++14 (or with -fsized-deallocation)
> tads/tads3/vmtobj.h: In member function 'virtual void CVmMetaclassIntClsMod::create_for_restore(vm_obj_id_t)':
> tads/tads3/vmtobj.h:747:39: error: exception cleanup for this placement new selects non-placement operator delete [-fpermissive]
>          new (vmg_ id) CVmObjIntClsMod();
>                                        ^
> 
> <built-in>: note: 'void operator delete(void*, long unsigned int)' is a usual (non-placement) deallocation function in C++14 (or with -fsized-deallocation)
> C++ build/linux.release/tads/vmintcls.o 
> In file included from tads/tads3/vmstrcmp.cpp:27:0:
> tads/tads3/vmstrcmp.h: In member function 'virtual void CVmMetaclassStrComp::create_for_image_load(vm_obj_id_t)':
> tads/tads3/vmstrcmp.h:295:37: error: exception cleanup for this placement new selects non-placement operator delete [-fpermissive]
>          new (vmg_ id) CVmObjStrComp();
>                                      ^
> 
> <built-in>: note: 'void operator delete(void*, long unsigned int)' is a usual (non-placement) deallocation function in C++14 (or with -fsized-deallocation)
> tads/tads3/vmstrcmp.h: In member function 'virtual void CVmMetaclassStrComp::create_for_restore(vm_obj_id_t)':
> tads/tads3/vmstrcmp.h:302:37: error: exception cleanup for this placement new selects non-placement operator delete [-fpermissive]
>          new (vmg_ id) CVmObjStrComp();
>                                      ^
> 
> <built-in>: note: 'void operator delete(void*, long unsigned int)' is a usual (non-placement) deallocation function in C++14 (or with -fsized-deallocation)
> In file included from tads/tads3/vmobj.cpp:42:0:
> tads/tads3/vmtobj.h: In member function 'virtual void CVmMetaclassTads::create_for_image_load(vm_obj_id_t)':
> tads/tads3/vmtobj.h:625:34: error: exception cleanup for this placement new selects non-placement operator delete [-fpermissive]
>          new (vmg_ id) CVmObjTads();
>                                   ^
> 
> <built-in>: note: 'void operator delete(void*, long unsigned int)' is a usual (non-placement) deallocation function in C++14 (or with -fsized-deallocation)
> tads/tads3/vmtobj.h: In member function 'virtual void CVmMetaclassTads::create_for_restore(vm_obj_id_t)':
> tads/tads3/vmtobj.h:632:34: error: exception cleanup for this placement new selects non-placement operator delete [-fpermissive]
>          new (vmg_ id) CVmObjTads();
>                                   ^
> 
> <built-in>: note: 'void operator delete(void*, long unsigned int)' is a usual (non-placement) deallocation function in C++14 (or with -fsized-deallocation)
> tads/tads3/vmtobj.h: In member function 'virtual void CVmMetaclassIntClsMod::create_for_image_load(vm_obj_id_t)':
> tads/tads3/vmtobj.h:740:39: error: exception cleanup for this placement new selects non-placement operator delete [-fpermissive]
>          new (vmg_ id) CVmObjIntClsMod();
>                                        ^
> 
> <built-in>: note: 'void operator delete(void*, long unsigned int)' is a usual (non-placement) deallocation function in C++14 (or with -fsized-deallocation)
> tads/tads3/vmtobj.h: In member function 'virtual void CVmMetaclassIntClsMod::create_for_restore(vm_obj_id_t)':
> tads/tads3/vmtobj.h:747:39: error: exception cleanup for this placement new selects non-placement operator delete [-fpermissive]
>          new (vmg_ id) CVmObjIntClsMod();
>                                        ^
> 
> <built-in>: note: 'void operator delete(void*, long unsigned int)' is a usual (non-placement) deallocation function in C++14 (or with -fsized-deallocation)
> In file included from tads/tads3/vmstrcmp.cpp:31:0:
> tads/tads3/vmlst.h: In member function 'virtual void CVmMetaclassList::create_for_image_load(vm_obj_id_t)':
> tads/tads3/vmlst.h:659:34: error: exception cleanup for this placement new selects non-placement operator delete [-fpermissive]
>          new (vmg_ id) CVmObjList();
>                                   ^



More information about the Pkg-games-devel mailing list