Bug#956967: 0ad: ftbfs with GCC-10

Matthias Klose doko at debian.org
Fri Apr 17 11:43:27 BST 2020


Package: src:0ad
Version: 0.0.23.1-4
Severity: normal
Tags: sid bullseye
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-10

Please keep this issue open in the bug tracker for the package it
was filed for.  If a fix in another package is required, please
file a bug for the other package (or clone), and add a block in this
package. Please keep the issue open until the package can be built in
a follow-up test rebuild.

The package fails to build in a test rebuild on at least amd64 with
gcc-10/g++-10, but succeeds to build with gcc-9/g++-9. The
severity of this report will be raised before the bullseye release,
so nothing has to be done for the buster release.

The full build log can be found at:
http://people.debian.org/~doko/logs/gcc10-20200225/0ad_0.0.23.1-4_unstable_gcc10.log
The last lines of the build log are at the end of this report.

To build with GCC 10, either set CC=gcc-10 CXX=g++-10 explicitly,
or install the gcc, g++, gfortran, ... packages from experimental.

  apt-get -t=experimental install g++ 

Common build failures are new warnings resulting in build failures with
-Werror turned on, or new/dropped symbols in Debian symbols files.
For other C/C++ related build failures see the porting guide at
http://gcc.gnu.org/gcc-10/porting_to.html

[...]
mkdir -p obj/lowlevel_Release
g++ -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -MMD -MP -DNDEBUG -DCONFIG_FINAL=1 -DLIB_STATIC_LINK -DINSTALLED_BINDIR=/usr/games -DINSTALLED_DATADIR=/usr/share/games/0ad -DINSTALLED_LIBDIR=/usr/lib/games/0ad -DUSING_PCH -I../../../source/pch/lowlevel -I../../../source -isystem /usr/include/x86_64-linux-gnu/SDL2 -isystem /usr/include/SDL2 -isystem ../../../libraries/source/valgrind/include -isystem ../../../libraries/source/cxxtest-4.4 -isystem /usr/X11R6/include/X11 -isystem /usr/X11R6/include -isystem /usr/local/include/X11 -isystem /usr/local/include -isystem /usr/include/X11 -O3 -g -Wall -Wextra -Wno-switch -Wno-reorder -Wno-invalid-offsetof -Wextra -Wno-missing-field-initializers -Wunused-parameter -Wredundant-decls -Wnon-virtual-dtor -Wundef -fstack-protector-all -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstrict-aliasing -fno-omit-frame-pointer -fpch-preprocess -fPIC -std=c++0x -fvisibility=hidden -D_REENTRANT -include obj/lowlevel_Release/precompiled.h -o "obj/lowlevel_Release/wsecure_crt.o" -MF "obj/lowlevel_Release/wsecure_crt.d" -c "../../../source/lib/wsecure_crt.cpp"
precompiled.cpp
mkdir -p obj/lowlevel_Release
g++ -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -MMD -MP -DNDEBUG -DCONFIG_FINAL=1 -DLIB_STATIC_LINK -DINSTALLED_BINDIR=/usr/games -DINSTALLED_DATADIR=/usr/share/games/0ad -DINSTALLED_LIBDIR=/usr/lib/games/0ad -DUSING_PCH -I../../../source/pch/lowlevel -I../../../source -isystem /usr/include/x86_64-linux-gnu/SDL2 -isystem /usr/include/SDL2 -isystem ../../../libraries/source/valgrind/include -isystem ../../../libraries/source/cxxtest-4.4 -isystem /usr/X11R6/include/X11 -isystem /usr/X11R6/include -isystem /usr/local/include/X11 -isystem /usr/local/include -isystem /usr/include/X11 -O3 -g -Wall -Wextra -Wno-switch -Wno-reorder -Wno-invalid-offsetof -Wextra -Wno-missing-field-initializers -Wunused-parameter -Wredundant-decls -Wnon-virtual-dtor -Wundef -fstack-protector-all -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstrict-aliasing -fno-omit-frame-pointer -fpch-preprocess -fPIC -std=c++0x -fvisibility=hidden -D_REENTRANT -include obj/lowlevel_Release/precompiled.h -o "obj/lowlevel_Release/precompiled.o" -MF "obj/lowlevel_Release/precompiled.d" -c "../../../source/pch/lowlevel/precompiled.cpp"
Linking lowlevel
mkdir -p ../../../binaries/system
ar -rcs "../../../binaries/system/liblowlevel.a" obj/lowlevel_Release/arena.o obj/lowlevel_Release/dynarray.o obj/lowlevel_Release/freelist.o obj/lowlevel_Release/headerless.o obj/lowlevel_Release/page_aligned.o obj/lowlevel_Release/pool.o obj/lowlevel_Release/shared_ptr.o obj/lowlevel_Release/unique_range.o obj/lowlevel_Release/app_hooks.o obj/lowlevel_Release/base32.o obj/lowlevel_Release/bits.o obj/lowlevel_Release/byte_order.o obj/lowlevel_Release/debug.o obj/lowlevel_Release/debug_stl.o obj/lowlevel_Release/dbghelp.o obj/lowlevel_Release/archive.o obj/lowlevel_Release/archive_zip.o obj/lowlevel_Release/codec.o obj/lowlevel_Release/codec_zlib.o obj/lowlevel_Release/stream.o obj/lowlevel_Release/file_loader.o obj/lowlevel_Release/file_stats.o obj/lowlevel_Release/real_directory.o obj/lowlevel_Release/trace.o obj/lowlevel_Release/file.o obj/lowlevel_Release/file_system.o obj/lowlevel_Release/io.o obj/lowlevel_Release/write_buffer.o obj/lowlevel_Release/vfs.o obj/lowlevel_Release/vfs_lookup.o obj/lowlevel_Release/vfs_path.o obj/lowlevel_Release/vfs_populate.o obj/lowlevel_Release/vfs_tree.o obj/lowlevel_Release/vfs_util.o obj/lowlevel_Release/fnv_hash.o obj/lowlevel_Release/frequency_filter.o obj/lowlevel_Release/input.o obj/lowlevel_Release/lib.o obj/lowlevel_Release/module_init.o obj/lowlevel_Release/ogl.o obj/lowlevel_Release/path.o obj/lowlevel_Release/posix.o obj/lowlevel_Release/rand.o obj/lowlevel_Release/regex.o obj/lowlevel_Release/cursor.o obj/lowlevel_Release/ogl_tex.o obj/lowlevel_Release/h_mgr.o obj/lowlevel_Release/secure_crt.o obj/lowlevel_Release/snd.o obj/lowlevel_Release/status.o obj/lowlevel_Release/svn_revision.o obj/lowlevel_Release/acpi.o obj/lowlevel_Release/amd64.o obj/lowlevel_Release/apic.o obj/lowlevel_Release/cache.o obj/lowlevel_Release/msr.o obj/lowlevel_Release/topology.o obj/lowlevel_Release/x86_x64.o obj/lowlevel_Release/cpu.o obj/lowlevel_Release/gfx.o obj/lowlevel_Release/dir_watch_inotify.o obj/lowlevel_Release/lcpu.o obj/lowlevel_Release/ldbg.o obj/lowlevel_Release/linux.o obj/lowlevel_Release/udbg.o obj/lowlevel_Release/ufilesystem.o obj/lowlevel_Release/unix.o obj/lowlevel_Release/unix_executable_pathname.o obj/lowlevel_Release/unuma.o obj/lowlevel_Release/uvm.o obj/lowlevel_Release/x.o obj/lowlevel_Release/os_cpu.o obj/lowlevel_Release/gcc.o obj/lowlevel_Release/smbios.o obj/lowlevel_Release/tex.o obj/lowlevel_Release/tex_bmp.o obj/lowlevel_Release/tex_codec.o obj/lowlevel_Release/tex_dds.o obj/lowlevel_Release/tex_png.o obj/lowlevel_Release/tex_tga.o obj/lowlevel_Release/timer.o obj/lowlevel_Release/utf8.o obj/lowlevel_Release/wsecure_crt.o obj/lowlevel_Release/precompiled.o 
==== Building mongoose (release) ====
mongoose.cpp
mkdir -p obj/mongoose_Release
g++ -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -MMD -MP -DNDEBUG -DCONFIG_FINAL=1 -DLIB_STATIC_LINK -DINSTALLED_BINDIR=/usr/games -DINSTALLED_DATADIR=/usr/share/games/0ad -DINSTALLED_LIBDIR=/usr/lib/games/0ad -I../../../source/pch/mongoose -I../../../source -isystem /usr/X11R6/include/X11 -isystem /usr/X11R6/include -isystem /usr/local/include/X11 -isystem /usr/local/include -isystem /usr/include/X11 -O3 -g -Wall -Wextra -Wno-switch -Wno-reorder -Wno-invalid-offsetof -Wextra -Wno-missing-field-initializers -Wunused-parameter -Wredundant-decls -Wnon-virtual-dtor -Wundef -fstack-protector-all -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstrict-aliasing -fno-omit-frame-pointer -fpch-preprocess -fPIC -std=c++0x -fvisibility=hidden  -o "obj/mongoose_Release/mongoose.o" -MF "obj/mongoose_Release/mongoose.d" -c "../../../source/third_party/mongoose/mongoose.cpp"
../../../source/third_party/mongoose/mongoose.cpp: In function ‘mg_context* mg_start(mg_callback_t, void*, const char**)’:
../../../source/third_party/mongoose/mongoose.cpp:4297:21: warning: cast between incompatible function types from ‘void (*)(mg_context*)’ to ‘mg_thread_func_t’ {aka ‘void* (*)(void*)’} [-Wcast-function-type]
 4297 |   start_thread(ctx, (mg_thread_func_t) master_thread, ctx);
      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../../source/third_party/mongoose/mongoose.cpp:4301:27: warning: cast between incompatible function types from ‘void (*)(mg_context*)’ to ‘mg_thread_func_t’ {aka ‘void* (*)(void*)’} [-Wcast-function-type]
 4301 |     if (start_thread(ctx, (mg_thread_func_t) worker_thread, ctx) != 0) {
      |                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Linking mongoose
mkdir -p ../../../binaries/system
ar -rcs "../../../binaries/system/libmongoose.a" obj/mongoose_Release/mongoose.o 
==== Building Collada (release) ====
precompiled.h
mkdir -p obj/Collada_Release
g++ -x c++-header -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -MMD -MP -DNDEBUG -DCONFIG_FINAL=1 -DLIB_STATIC_LINK -DINSTALLED_BINDIR=/usr/games -DINSTALLED_DATADIR=/usr/share/games/0ad -DINSTALLED_LIBDIR=/usr/lib/games/0ad -DUSING_PCH -DLINUX -I../../../source/collada -isystem ../../../libraries/source/fcollada/include -isystem /usr/include/libxml2 -isystem /usr/X11R6/include/X11 -isystem /usr/X11R6/include -isystem /usr/local/include/X11 -isystem /usr/local/include -isystem /usr/include/X11 -O3 -fPIC -g -Wall -Wextra -Wno-switch -Wno-reorder -Wno-invalid-offsetof -Wextra -Wno-missing-field-initializers -Wunused-parameter -Wredundant-decls -Wnon-virtual-dtor -Wundef -fstack-protector-all -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstrict-aliasing -fno-omit-frame-pointer -fpch-preprocess -fPIC -std=c++0x -fvisibility=hidden -fno-strict-aliasing -rdynamic -o "obj/Collada_Release/precompiled.h.gch" -MF "obj/Collada_Release/precompiled.h.d" -c "../../../source/collada/precompiled.h"
CommonConvert.cpp
DLL.cpp
Decompose.cpp
mkdir -p obj/Collada_Release
mkdir -p obj/Collada_Release
GeomReindex.cpp
mkdir -p obj/Collada_Release
mkdir -p obj/Collada_Release
g++ -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -MMD -MP -DNDEBUG -DCONFIG_FINAL=1 -DLIB_STATIC_LINK -DINSTALLED_BINDIR=/usr/games -DINSTALLED_DATADIR=/usr/share/games/0ad -DINSTALLED_LIBDIR=/usr/lib/games/0ad -DUSING_PCH -DLINUX -I../../../source/collada -isystem ../../../libraries/source/fcollada/include -isystem /usr/include/libxml2 -isystem /usr/X11R6/include/X11 -isystem /usr/X11R6/include -isystem /usr/local/include/X11 -isystem /usr/local/include -isystem /usr/include/X11 -O3 -fPIC -g -Wall -Wextra -Wno-switch -Wno-reorder -Wno-invalid-offsetof -Wextra -Wno-missing-field-initializers -Wunused-parameter -Wredundant-decls -Wnon-virtual-dtor -Wundef -fstack-protector-all -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstrict-aliasing -fno-omit-frame-pointer -fpch-preprocess -fPIC -std=c++0x -fvisibility=hidden -fno-strict-aliasing -rdynamic -include obj/Collada_Release/precompiled.h -o "obj/Collada_Release/DLL.o" -MF "obj/Collada_Release/DLL.d" -c "../../../source/collada/DLL.cpp"
g++ -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -MMD -MP -DNDEBUG -DCONFIG_FINAL=1 -DLIB_STATIC_LINK -DINSTALLED_BINDIR=/usr/games -DINSTALLED_DATADIR=/usr/share/games/0ad -DINSTALLED_LIBDIR=/usr/lib/games/0ad -DUSING_PCH -DLINUX -I../../../source/collada -isystem ../../../libraries/source/fcollada/include -isystem /usr/include/libxml2 -isystem /usr/X11R6/include/X11 -isystem /usr/X11R6/include -isystem /usr/local/include/X11 -isystem /usr/local/include -isystem /usr/include/X11 -O3 -fPIC -g -Wall -Wextra -Wno-switch -Wno-reorder -Wno-invalid-offsetof -Wextra -Wno-missing-field-initializers -Wunused-parameter -Wredundant-decls -Wnon-virtual-dtor -Wundef -fstack-protector-all -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstrict-aliasing -fno-omit-frame-pointer -fpch-preprocess -fPIC -std=c++0x -fvisibility=hidden -fno-strict-aliasing -rdynamic -include obj/Collada_Release/precompiled.h -o "obj/Collada_Release/CommonConvert.o" -MF "obj/Collada_Release/CommonConvert.d" -c "../../../source/collada/CommonConvert.cpp"
g++ -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -MMD -MP -DNDEBUG -DCONFIG_FINAL=1 -DLIB_STATIC_LINK -DINSTALLED_BINDIR=/usr/games -DINSTALLED_DATADIR=/usr/share/games/0ad -DINSTALLED_LIBDIR=/usr/lib/games/0ad -DUSING_PCH -DLINUX -I../../../source/collada -isystem ../../../libraries/source/fcollada/include -isystem /usr/include/libxml2 -isystem /usr/X11R6/include/X11 -isystem /usr/X11R6/include -isystem /usr/local/include/X11 -isystem /usr/local/include -isystem /usr/include/X11 -O3 -fPIC -g -Wall -Wextra -Wno-switch -Wno-reorder -Wno-invalid-offsetof -Wextra -Wno-missing-field-initializers -Wunused-parameter -Wredundant-decls -Wnon-virtual-dtor -Wundef -fstack-protector-all -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstrict-aliasing -fno-omit-frame-pointer -fpch-preprocess -fPIC -std=c++0x -fvisibility=hidden -fno-strict-aliasing -rdynamic -include obj/Collada_Release/precompiled.h -o "obj/Collada_Release/Decompose.o" -MF "obj/Collada_Release/Decompose.d" -c "../../../source/collada/Decompose.cpp"
g++ -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -MMD -MP -DNDEBUG -DCONFIG_FINAL=1 -DLIB_STATIC_LINK -DINSTALLED_BINDIR=/usr/games -DINSTALLED_DATADIR=/usr/share/games/0ad -DINSTALLED_LIBDIR=/usr/lib/games/0ad -DUSING_PCH -DLINUX -I../../../source/collada -isystem ../../../libraries/source/fcollada/include -isystem /usr/include/libxml2 -isystem /usr/X11R6/include/X11 -isystem /usr/X11R6/include -isystem /usr/local/include/X11 -isystem /usr/local/include -isystem /usr/include/X11 -O3 -fPIC -g -Wall -Wextra -Wno-switch -Wno-reorder -Wno-invalid-offsetof -Wextra -Wno-missing-field-initializers -Wunused-parameter -Wredundant-decls -Wnon-virtual-dtor -Wundef -fstack-protector-all -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstrict-aliasing -fno-omit-frame-pointer -fpch-preprocess -fPIC -std=c++0x -fvisibility=hidden -fno-strict-aliasing -rdynamic -include obj/Collada_Release/precompiled.h -o "obj/Collada_Release/GeomReindex.o" -MF "obj/Collada_Release/GeomReindex.d" -c "../../../source/collada/GeomReindex.cpp"
Maths.cpp
mkdir -p obj/Collada_Release
g++ -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -MMD -MP -DNDEBUG -DCONFIG_FINAL=1 -DLIB_STATIC_LINK -DINSTALLED_BINDIR=/usr/games -DINSTALLED_DATADIR=/usr/share/games/0ad -DINSTALLED_LIBDIR=/usr/lib/games/0ad -DUSING_PCH -DLINUX -I../../../source/collada -isystem ../../../libraries/source/fcollada/include -isystem /usr/include/libxml2 -isystem /usr/X11R6/include/X11 -isystem /usr/X11R6/include -isystem /usr/local/include/X11 -isystem /usr/local/include -isystem /usr/include/X11 -O3 -fPIC -g -Wall -Wextra -Wno-switch -Wno-reorder -Wno-invalid-offsetof -Wextra -Wno-missing-field-initializers -Wunused-parameter -Wredundant-decls -Wnon-virtual-dtor -Wundef -fstack-protector-all -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstrict-aliasing -fno-omit-frame-pointer -fpch-preprocess -fPIC -std=c++0x -fvisibility=hidden -fno-strict-aliasing -rdynamic -include obj/Collada_Release/precompiled.h -o "obj/Collada_Release/Maths.o" -MF "obj/Collada_Release/Maths.d" -c "../../../source/collada/Maths.cpp"
PMDConvert.cpp
mkdir -p obj/Collada_Release
g++ -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -MMD -MP -DNDEBUG -DCONFIG_FINAL=1 -DLIB_STATIC_LINK -DINSTALLED_BINDIR=/usr/games -DINSTALLED_DATADIR=/usr/share/games/0ad -DINSTALLED_LIBDIR=/usr/lib/games/0ad -DUSING_PCH -DLINUX -I../../../source/collada -isystem ../../../libraries/source/fcollada/include -isystem /usr/include/libxml2 -isystem /usr/X11R6/include/X11 -isystem /usr/X11R6/include -isystem /usr/local/include/X11 -isystem /usr/local/include -isystem /usr/include/X11 -O3 -fPIC -g -Wall -Wextra -Wno-switch -Wno-reorder -Wno-invalid-offsetof -Wextra -Wno-missing-field-initializers -Wunused-parameter -Wredundant-decls -Wnon-virtual-dtor -Wundef -fstack-protector-all -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstrict-aliasing -fno-omit-frame-pointer -fpch-preprocess -fPIC -std=c++0x -fvisibility=hidden -fno-strict-aliasing -rdynamic -include obj/Collada_Release/precompiled.h -o "obj/Collada_Release/PMDConvert.o" -MF "obj/Collada_Release/PMDConvert.d" -c "../../../source/collada/PMDConvert.cpp"
PSAConvert.cpp
mkdir -p obj/Collada_Release
g++ -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -MMD -MP -DNDEBUG -DCONFIG_FINAL=1 -DLIB_STATIC_LINK -DINSTALLED_BINDIR=/usr/games -DINSTALLED_DATADIR=/usr/share/games/0ad -DINSTALLED_LIBDIR=/usr/lib/games/0ad -DUSING_PCH -DLINUX -I../../../source/collada -isystem ../../../libraries/source/fcollada/include -isystem /usr/include/libxml2 -isystem /usr/X11R6/include/X11 -isystem /usr/X11R6/include -isystem /usr/local/include/X11 -isystem /usr/local/include -isystem /usr/include/X11 -O3 -fPIC -g -Wall -Wextra -Wno-switch -Wno-reorder -Wno-invalid-offsetof -Wextra -Wno-missing-field-initializers -Wunused-parameter -Wredundant-decls -Wnon-virtual-dtor -Wundef -fstack-protector-all -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstrict-aliasing -fno-omit-frame-pointer -fpch-preprocess -fPIC -std=c++0x -fvisibility=hidden -fno-strict-aliasing -rdynamic -include obj/Collada_Release/precompiled.h -o "obj/Collada_Release/PSAConvert.o" -MF "obj/Collada_Release/PSAConvert.d" -c "../../../source/collada/PSAConvert.cpp"
StdSkeletons.cpp
mkdir -p obj/Collada_Release
g++ -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -MMD -MP -DNDEBUG -DCONFIG_FINAL=1 -DLIB_STATIC_LINK -DINSTALLED_BINDIR=/usr/games -DINSTALLED_DATADIR=/usr/share/games/0ad -DINSTALLED_LIBDIR=/usr/lib/games/0ad -DUSING_PCH -DLINUX -I../../../source/collada -isystem ../../../libraries/source/fcollada/include -isystem /usr/include/libxml2 -isystem /usr/X11R6/include/X11 -isystem /usr/X11R6/include -isystem /usr/local/include/X11 -isystem /usr/local/include -isystem /usr/include/X11 -O3 -fPIC -g -Wall -Wextra -Wno-switch -Wno-reorder -Wno-invalid-offsetof -Wextra -Wno-missing-field-initializers -Wunused-parameter -Wredundant-decls -Wnon-virtual-dtor -Wundef -fstack-protector-all -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstrict-aliasing -fno-omit-frame-pointer -fpch-preprocess -fPIC -std=c++0x -fvisibility=hidden -fno-strict-aliasing -rdynamic -include obj/Collada_Release/precompiled.h -o "obj/Collada_Release/StdSkeletons.o" -MF "obj/Collada_Release/StdSkeletons.d" -c "../../../source/collada/StdSkeletons.cpp"
XMLFix.cpp
mkdir -p obj/Collada_Release
g++ -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -MMD -MP -DNDEBUG -DCONFIG_FINAL=1 -DLIB_STATIC_LINK -DINSTALLED_BINDIR=/usr/games -DINSTALLED_DATADIR=/usr/share/games/0ad -DINSTALLED_LIBDIR=/usr/lib/games/0ad -DUSING_PCH -DLINUX -I../../../source/collada -isystem ../../../libraries/source/fcollada/include -isystem /usr/include/libxml2 -isystem /usr/X11R6/include/X11 -isystem /usr/X11R6/include -isystem /usr/local/include/X11 -isystem /usr/local/include -isystem /usr/include/X11 -O3 -fPIC -g -Wall -Wextra -Wno-switch -Wno-reorder -Wno-invalid-offsetof -Wextra -Wno-missing-field-initializers -Wunused-parameter -Wredundant-decls -Wnon-virtual-dtor -Wundef -fstack-protector-all -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstrict-aliasing -fno-omit-frame-pointer -fpch-preprocess -fPIC -std=c++0x -fvisibility=hidden -fno-strict-aliasing -rdynamic -include obj/Collada_Release/precompiled.h -o "obj/Collada_Release/XMLFix.o" -MF "obj/Collada_Release/XMLFix.d" -c "../../../source/collada/XMLFix.cpp"
precompiled.cpp
mkdir -p obj/Collada_Release
g++ -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -MMD -MP -DNDEBUG -DCONFIG_FINAL=1 -DLIB_STATIC_LINK -DINSTALLED_BINDIR=/usr/games -DINSTALLED_DATADIR=/usr/share/games/0ad -DINSTALLED_LIBDIR=/usr/lib/games/0ad -DUSING_PCH -DLINUX -I../../../source/collada -isystem ../../../libraries/source/fcollada/include -isystem /usr/include/libxml2 -isystem /usr/X11R6/include/X11 -isystem /usr/X11R6/include -isystem /usr/local/include/X11 -isystem /usr/local/include -isystem /usr/include/X11 -O3 -fPIC -g -Wall -Wextra -Wno-switch -Wno-reorder -Wno-invalid-offsetof -Wextra -Wno-missing-field-initializers -Wunused-parameter -Wredundant-decls -Wnon-virtual-dtor -Wundef -fstack-protector-all -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstrict-aliasing -fno-omit-frame-pointer -fpch-preprocess -fPIC -std=c++0x -fvisibility=hidden -fno-strict-aliasing -rdynamic -include obj/Collada_Release/precompiled.h -o "obj/Collada_Release/precompiled.o" -MF "obj/Collada_Release/precompiled.d" -c "../../../source/collada/precompiled.cpp"
Linking Collada
mkdir -p ../../../binaries/system
g++ -o "../../../binaries/system/libCollada.so" obj/Collada_Release/CommonConvert.o obj/Collada_Release/DLL.o obj/Collada_Release/Decompose.o obj/Collada_Release/GeomReindex.o obj/Collada_Release/Maths.o obj/Collada_Release/PMDConvert.o obj/Collada_Release/PSAConvert.o obj/Collada_Release/StdSkeletons.o obj/Collada_Release/XMLFix.o obj/Collada_Release/precompiled.o   -Wl,-z,relro -Wl,-z,now -L../../../binaries/system -L../../../libraries/source/fcollada/lib -L/usr/X11R6/lib -shared -Wl,-soname=libCollada.so -Wl,--no-undefined -Wl,--as-needed -Wl,-z,relro -Wl,-rpath,/usr/lib/games/0ad -rdynamic -lFColladaSR -lxml2 -ldl
/usr/bin/ld: ../../../libraries/source/fcollada/lib/libFColladaSR.a(FAXInstanceExport.o): in function `FArchiveXML::WritePhysicsRigidBodyInstance(FCDObject*, _xmlNode*)':
./libraries/source/fcollada/src/FColladaPlugins/FArchiveXML/FAXInstanceExport.cpp:258: undefined reference to `_xmlNode* FArchiveXML::AddPhysicsParameter<FMVector3, 0>(_xmlNode*, char const*, FCDParameterAnimatableT<FMVector3, 0>&)'
/usr/bin/ld: ./libraries/source/fcollada/src/FColladaPlugins/FArchiveXML/FAXInstanceExport.cpp:259: undefined reference to `_xmlNode* FArchiveXML::AddPhysicsParameter<FMVector3, 0>(_xmlNode*, char const*, FCDParameterAnimatableT<FMVector3, 0>&)'
collect2: error: ld returned 1 exit status
make[3]: *** [Collada.make:98: ../../../binaries/system/libCollada.so] Error 1
make[2]: *** [Makefile:177: Collada] Error 2
make[2]: Leaving directory '/<<PKGBUILDDIR>>/build/workspaces/gcc'
make[1]: *** [debian/rules:38: override_dh_auto_build] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:19: binary] Error 2
dpkg-buildpackage: error: fakeroot debian/rules binary subprocess returned exit status 2



More information about the Pkg-games-devel mailing list