-=| marius adrian popa, 20.01.2016 10:55:59 +0200 |=- > Firebird 2.5.x package fails to build with gcc 6 > > http://lists.alioth.debian.org/pipermail/pkg-firebird-general/2016q1/002716.html
The fix in r62830 http://sourceforge.net/p/firebird/code/62830/tree//firebird/branches/B2_5_Release/src/gpre/sqe.cpp?diff=50cc621834309d0a4876d914:62829 is not enough. Later on there are these errors: g++ -Wdate-time -D_FORTIFY_SOURCE=2 -DBOOT_BUILD -I../src/include/gen -I../src/include -I../src/vulcan -DNAMESPACE=Vulcan -DNDEBUG -ggdb -DFB_SEND_FLAGS=M SG_NOSIGNAL -DLINUX -DAMD64 -pipe -MMD -fPIC -fmessage-length=0 -O3 -fno-omit-frame-pointer -pthread -g -O2 -fstack-protector-strong -Wformat -Werror=for mat-security -fno-rtti -c ../src/common/classes/alloc.cpp -o ../temp/boot/common/classes/alloc.o ../src/common/classes/alloc.cpp: In function 'void* operator new(size_t)': ../src/common/classes/alloc.cpp:2107:7: error: declaration of 'void* operator new(size_t) throw (std::bad_alloc)' has a different exception specifier void* operator new(size_t s) THROW_BAD_ALLOC ^~~~~~~~ In file included from ../src/common/classes/alloc.cpp:32:0: ../src/include/../common/classes/alloc.h:495:7: note: from previous declaration 'void* operator new(std::size_t)' void* operator new(size_t s) THROW_BAD_ALLOC; ^~~~~~~~ ../src/common/classes/alloc.cpp: In function 'void* operator new [](size_t)': ../src/common/classes/alloc.cpp:2111:7: error: declaration of 'void* operator new [](size_t) throw (std::bad_alloc)' has a different exception specifier void* operator new[](size_t s) THROW_BAD_ALLOC ^~~~~~~~ In file included from ../src/common/classes/alloc.cpp:32:0: ../src/include/../common/classes/alloc.h:496:7: note: from previous declaration 'void* operator new [](std::size_t)' void* operator new[](size_t s) THROW_BAD_ALLOC; ^~~~~~~~ ../gen/make.rules:112: recipe for target '../temp/boot/common/classes/alloc.o' failed $ g++ -v Using built-in specs. COLLECT_GCC=/usr/bin/g++ COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/6/lto-wrapper Target: x86_64-linux-gnu Configured with: ../src/configure -v --with-pkgversion='Debian 6-20160117-1' --with-bugurl=file:///usr/share/doc/gcc-6/README.Bugs --enable-languages=c,ada,c++,java,go,d,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-6 --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-libmpx --enable-plugin --with-system-zlib --disable-browser-plugin --enable-java-awt=gtk --enable-gtk-cairo --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-6-amd64/jre --enable-java-home --with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-6-amd64 --with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-6-amd64 --with-arch-directory=amd64 --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --enable-objc-gc --enable-multiarch --with-arch-32=i586 --with-abi= m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu Thread model: posix gcc version 6.0.0 20160117 (experimental) [trunk revision 232481] (Debian 6-20160117-1) ------------------------------------------------------------------------------ Site24x7 APM Insight: Get Deep Visibility into Application Performance APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month Monitor end-to-end web transactions and take corrective actions now Troubleshoot faster and improve end-user experience. Signup Now! http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140 Firebird-Devel mailing list, web interface at https://lists.sourceforge.net/lists/listinfo/firebird-devel