Jump to content

chrisf

Community Members
  • Content Count

    15
  • Joined

  • Last visited

  • Days Won

    1

Posts posted by chrisf

  1. I can't get past the menus at all now, experience either a segfault or some other bug. Probably worth me contacting the driver developer to see if he can shed any light on the issue.

     

    Reviving this topic, does anyone know of a way to shrink texture sizes on the fly? It seems textures are the issue here and otherwise it should run okay. I know on Android you can do this in GLTools but I don't know of an alternative for raspbian.

  2. Spoiler
    
    (generated 2016-04-04 19:19:12 UTC)
    
    OS             : Linux 4.1.19-v7+ (#858 SMP Tue Mar 15 15:56:00 GMT 2016)
    CPU            : armv7l, unknown
    Memory         : 798 MiB; 435 MiB free
    Graphics Card  : Broadcom Gallium 0.4 on VC4
    OpenGL Drivers : 2.1 Mesa 11.1.0; OpenGL 2.1 Mesa 11.1.0
    Video Mode     : 1920x1080:24
    Sound Card     : Unknown
    Sound Drivers  : Unknown
    
    OpenGL Extensions: 
    GL_ARB_multisample
    GL_EXT_abgr
    GL_EXT_bgra
    GL_EXT_blend_color
    GL_EXT_blend_minmax
    GL_EXT_blend_subtract
    GL_EXT_copy_texture
    GL_EXT_polygon_offset
    GL_EXT_subtexture
    GL_EXT_texture_object
    GL_EXT_vertex_array
    GL_EXT_compiled_vertex_array
    GL_EXT_texture
    GL_EXT_texture3D
    GL_IBM_rasterpos_clip
    GL_ARB_point_parameters
    GL_EXT_draw_range_elements
    GL_EXT_packed_pixels
    GL_EXT_point_parameters
    GL_EXT_rescale_normal
    GL_EXT_separate_specular_color
    GL_EXT_texture_edge_clamp
    GL_SGIS_generate_mipmap
    GL_SGIS_texture_border_clamp
    GL_SGIS_texture_edge_clamp
    GL_SGIS_texture_lod
    GL_ARB_framebuffer_sRGB
    GL_ARB_multitexture
    GL_EXT_framebuffer_sRGB
    GL_IBM_multimode_draw_arrays
    GL_IBM_texture_mirrored_repeat
    GL_ARB_texture_cube_map
    GL_ARB_texture_env_add
    GL_ARB_transpose_matrix
    GL_EXT_blend_func_separate
    GL_EXT_fog_coord
    GL_EXT_multi_draw_arrays
    GL_EXT_secondary_color
    GL_EXT_texture_env_add
    GL_EXT_texture_lod_bias
    GL_INGR_blend_func_separate
    GL_NV_blend_square
    GL_NV_light_max_exponent
    GL_NV_texgen_reflection
    GL_NV_texture_env_combine4
    GL_SUN_multi_draw_arrays
    GL_ARB_texture_border_clamp
    GL_ARB_texture_compression
    GL_EXT_framebuffer_object
    GL_EXT_texture_env_combine
    GL_EXT_texture_env_dot3
    GL_MESA_window_pos
    GL_NV_packed_depth_stencil
    GL_NV_texture_rectangle
    GL_ARB_depth_texture
    GL_ARB_occlusion_query
    GL_ARB_shadow
    GL_ARB_texture_env_combine
    GL_ARB_texture_env_crossbar
    GL_ARB_texture_env_dot3
    GL_ARB_texture_mirrored_repeat
    GL_ARB_window_pos
    GL_EXT_stencil_two_side
    GL_EXT_texture_cube_map
    GL_NV_fog_distance
    GL_APPLE_packed_pixels
    GL_APPLE_vertex_array_object
    GL_ARB_draw_buffers
    GL_ARB_fragment_program
    GL_ARB_fragment_shader
    GL_ARB_shader_objects
    GL_ARB_vertex_program
    GL_ARB_vertex_shader
    GL_ATI_draw_buffers
    GL_ATI_texture_env_combine3
    GL_EXT_shadow_funcs
    GL_EXT_stencil_wrap
    GL_MESA_pack_invert
    GL_ARB_fragment_program_shadow
    GL_ARB_half_float_pixel
    GL_ARB_occlusion_query2
    GL_ARB_point_sprite
    GL_ARB_shading_language_100
    GL_ARB_sync
    GL_ARB_texture_non_power_of_two
    GL_ARB_vertex_buffer_object
    GL_ATI_blend_equation_separate
    GL_EXT_blend_equation_separate
    GL_OES_read_format
    GL_ARB_color_buffer_float
    GL_ARB_pixel_buffer_object
    GL_ARB_texture_rectangle
    GL_EXT_pixel_buffer_object
    GL_EXT_texture_rectangle
    GL_EXT_texture_sRGB
    GL_ARB_framebuffer_object
    GL_EXT_framebuffer_blit
    GL_EXT_framebuffer_multisample
    GL_EXT_packed_depth_stencil
    GL_ARB_vertex_array_object
    GL_ATI_separate_stencil
    GL_EXT_gpu_program_parameters
    GL_EXT_texture_sRGB_decode
    GL_OES_EGL_image
    GL_ARB_copy_buffer
    GL_ARB_half_float_vertex
    GL_ARB_map_buffer_range
    GL_ARB_vertex_array_bgra
    GL_EXT_vertex_array_bgra
    GL_ARB_ES2_compatibility
    GL_ARB_debug_output
    GL_ARB_draw_elements_base_vertex
    GL_ARB_explicit_attrib_location
    GL_ARB_fragment_coord_conventions
    GL_ARB_provoking_vertex
    GL_ARB_sampler_objects
    GL_ARB_texture_multisample
    GL_EXT_provoking_vertex
    GL_ARB_get_program_binary
    GL_ARB_robustness
    GL_ARB_separate_shader_objects
    GL_ARB_compressed_texture_pixel_storage
    GL_ARB_internalformat_query
    GL_ARB_map_buffer_alignment
    GL_ARB_texture_storage
    GL_EXT_framebuffer_multisample_blit_scaled
    GL_AMD_shader_trinary_minmax
    GL_ARB_clear_buffer_object
    GL_ARB_explicit_uniform_location
    GL_ARB_invalidate_subdata
    GL_ARB_program_interface_query
    GL_ARB_texture_storage_multisample
    GL_ARB_vertex_attrib_binding
    GL_KHR_debug
    GL_ARB_buffer_storage
    GL_ARB_multi_bind
    GL_EXT_shader_integer_mix
    GL_ARB_get_texture_sub_image
    GL_KHR_context_flush_control 
    
    SMBIOS: 

     

     

  3. I complied the latest GIT successfully and to my amazement... you can actually get into the map! It's not without problems though... this is with the GPU memory set to 160mb (shared with 1GB of system ram). After a few minutes it freezes and hard locks the system. You can see it getting slower and slower... I should probably run some metrics.

    Interestingly textures work so I don't know if it's getting passed uncompressed from the game or if the driver is decompressing them. 

    This is actually my third attempt at running the game or so. The first time, as it was streaming the textures in, it actually loaded them all, but as higher quality versions started to appear, the game messed up as it does here. Is it possible to have a "low quality" setting which locks it to the muddy looking versions for testing?

    Next tasks:

    Proper profiling of RAM usage (GPU and System)

    Poring through logs etc to find out where the display driver is messing up (if it is)

    Filing bug reports (once I have useful feedback)

    • Like 2
  4.  

    Spoiler

     

    
    ./update-workspaces.sh -j5
    Updating bundled third-party dependencies...
    
    
    Building SpiderMonkey...
    
    SpiderMonkey build options: --enable-shared-js --enable-gcgenerational --disable-tests --without-intl-api         
    --enable-shared-js --enable-gcgenerational --disable-tests --without-intl-api
    patching file js/src/jit/BaselineCompiler.cpp
    Hunk #1 succeeded at 338 (offset 1 line).
    patching file js/src/vm/TraceLogging.cpp
    patching file js/src/vm/TraceLogging.h
    patching file js/src/jit/MCallOptimize.cpp
    Hunk #1 succeeded at 1734 (offset -55 lines).
    patching file js/src/builtin/TypedObject.cpp
    Hunk #6 succeeded at 2461 (offset 17 lines).
    patching file js/src/frontend/BytecodeCompiler.cpp
    patching file js/public/Utility.h
    Hunk #1 succeeded at 89 (offset 6 lines).
    patching file js/src/jsgcinlines.h
    patching file js/src/vm/Debugger.cpp
    creating cache ./config.cache
    checking host system type... armv7l-unknown-linux-gnueabihf
    checking target system type... armv7l-unknown-linux-gnueabihf
    checking build system type... armv7l-unknown-linux-gnueabihf
    checking for gawk... no
    checking for mawk... mawk
    checking for perl5... no
    checking for perl... /usr/bin/perl
    checking for gcc... gcc
    checking whether the C compiler (gcc  ) works... yes
    checking whether the C compiler (gcc  ) is a cross-compiler... no
    checking whether we are using GNU C... yes
    checking whether gcc accepts -g... yes
    checking for c++... c++
    checking whether the C++ compiler (c++ -DTRACE_LOG_DIR="\"/tmp/traces/\"" ) works... yes
    checking whether the C++ compiler (c++ -DTRACE_LOG_DIR="\"/tmp/traces/\"" ) is a cross-compiler... no
    checking whether we are using GNU C++... yes
    checking whether c++ accepts -g... yes
    checking for ranlib... ranlib
    checking for as... /usr/bin/as
    checking for ar... ar
    checking for ld... ld
    checking for strip... strip
    checking for windres... no
    checking how to run the C preprocessor... gcc -E
    checking how to run the C++ preprocessor... c++ -E
    checking for sb-conf... no
    checking for ve... no
    checking for a BSD compatible install... /usr/bin/install -c
    checking whether ln -s works... yes
    checking for tar archiver... checking for gnutar... no
    checking for gtar... no
    checking for tar... tar
    tar
    checking for minimum required perl version >= 5.006... 5.020002
    checking for full perl installation... yes
    checking for python2.7... /usr/bin/python2.7
    Creating Python environment
    New python executable in /home/pi/0ad/libraries/source/spidermonkey/mozjs31/js/src/build-debug/_virtualenv/bin/python2.7
    Also creating executable in /home/pi/0ad/libraries/source/spidermonkey/mozjs31/js/src/build-debug/_virtualenv/bin/python
    Installing setuptools, pip...done.
    WARNING: Python.h not found. Install Python development headers.
    Error processing command. Ignoring because optional. (optional:setup.py:python/psutil:build_ext:--inplace)
    checking Python environment is Mozilla virtualenv... yes
    checking for doxygen... :
    checking for autoconf... :
    checking for xargs... /usr/bin/xargs
    checking for make... /usr/bin/make
    checking for X... libraries , headers 
    checking for dnet_ntoa in -ldnet... no
    checking for dnet_ntoa in -ldnet_stub... no
    checking for gethostbyname... no
    checking for connect... no
    checking for remove... no
    checking for shmat... no
    checking for IceConnectionNumber in -lICE... yes
    checking for ARM SIMD support in compiler... yes
    checking ARM version support in compiler... 6
    checking for ARM NEON support in compiler... yes
    checking that static assertion macros used in autoconf tests work... yes
    checking for --noexecstack option to as... yes
    checking for -z noexecstack option to ld... yes
    checking for -z text option to ld... yes
    checking for --build-id option to ld... yes
    checking whether the C compiler supports -Werror=return-type... yes
    checking whether the C compiler supports -Werror=int-to-pointer-cast... yes
    checking whether the C compiler supports -Wempty-body... yes
    checking whether the C compiler supports -Wsign-compare... yes
    checking whether the C++ compiler supports -Werror=return-type... yes
    checking whether the C++ compiler supports -Werror=int-to-pointer-cast... yes
    checking whether the C++ compiler supports -Wtype-limits... yes
    checking whether the C++ compiler supports -Wempty-body... yes
    checking whether the C++ compiler supports -Werror=conversion-null... yes
    checking whether the C++ compiler supports -Wsign-compare... yes
    checking whether the C++ compiler supports -Wno-invalid-offsetof... yes
    checking whether ld has archive extraction flags... yes
    checking for 64-bit OS... no
    checking for custom <inttypes.h> implementation... none specified
    checking for valid debug flags... yes
    checking whether the C++ compiler (c++ -DTRACE_LOG_DIR="\"/tmp/traces/\"" -fno-rtti  -Wl,-z,noexecstack -Wl,-z,text -Wl,--build-id) actually is a C++ compiler... yes
    checking for ANSI C header files... yes
    checking for working const... yes
    checking for mode_t... yes
    checking for off_t... yes
    checking for pid_t... yes
    checking for size_t... yes
    checking for ssize_t... yes
    checking for st_blksize in struct stat... yes
    checking for siginfo_t... yes
    checking for endian.h... yes
    checking for machine/endian.h... no
    checking for sys/isa_defs.h... no
    checking for gcc c++0x headers bug without rtti... no
    checking for visibility(hidden) attribute... yes
    checking for visibility(default) attribute... yes
    checking for visibility pragma support... yes
    checking For gcc visibility bug with class-level attributes (GCC bug 26905)... yes
    checking For x86_64 gcc visibility bug with builtins (GCC bug 20297)... no
    checking for gcc PR49911... no
    checking for gcc pr39608... no
    checking for llvm pr8927... no
    checking for dirent.h that defines DIR... yes
    checking for opendir in -ldir... no
    checking for sys/byteorder.h... no
    checking for compat.h... no
    checking for getopt.h... yes
    checking for sys/bitypes.h... yes
    checking for memory.h... yes
    checking for unistd.h... yes
    checking for gnu/libc-version.h... yes
    checking for nl_types.h... yes
    checking for malloc.h... yes
    checking for X11/XKBlib.h... yes
    checking for io.h... no
    checking for cpuid.h... no
    checking for sys/statvfs.h... yes
    checking for sys/statfs.h... yes
    checking for sys/vfs.h... yes
    checking for sys/mount.h... yes
    checking for sys/quota.h... yes
    checking for linux/quota.h... yes
    checking for sys/cdefs.h... yes
    checking for linux/perf_event.h... yes
    checking for perf_event_open system call... yes
    checking for gethostbyname_r in -lc_r... no
    checking for library containing dlopen... -ldl
    checking for dlfcn.h... yes
    checking for socket in -lsocket... no
    checking for pthread_create in -lpthreads... no
    checking for pthread_create in -lpthread... yes
    checking whether gcc accepts -pthread... yes
    checking whether gcc needs -traditional... no
    checking for 8-bit clean memcmp... yes
    checking for getc_unlocked... yes
    checking for _getc_nolock... no
    checking for localtime_r... yes
    checking for sin in -lm... yes
    checking for log2... yes
    checking for log1p... yes
    checking for expm1... yes
    checking for sqrt1pm1... no
    checking for acosh... yes
    checking for asinh... yes
    checking for atanh... yes
    checking for trunc... yes
    checking for cbrt... yes
    checking for wcrtomb... yes
    checking for mbrtowc... yes
    checking for res_ninit()... yes
    checking for nl_langinfo and CODESET... yes
    checking for an implementation of va_copy()... yes
    checking whether va_list can be copied by value... yes
    checking for ARM EABI... yes
    checking whether the C++ "using" keyword resolves ambiguity... yes
    checking for C++ dynamic_cast to void*... yes
    checking whether C++ requires implementation of unused virtual methods... yes
    checking for trouble comparing to zero near std::operator!=()... no
    checking for __thread keyword for TLS variables... yes
    checking for __attribute__((always_inline))... yes
    checking for __attribute__((malloc))... yes
    checking for __attribute__((warn_unused_result))... yes
    checking for LC_MESSAGES... yes
    checking for localeconv... yes
    checking for gzread in -lz... yes
    checking for __cxa_demangle... yes
    checking for -pipe support... yes
    checking whether C compiler supports -fprofile-generate... yes
    checking for correct overload resolution with const and templates... no
    checking for tm_zone tm_gmtoff in struct tm... yes
    checking what kind of list files are supported by the linker... linkerscript
    checking what kind of ordering can be done with the linker... section-ordering-file
    checking for posix_fadvise... yes
    checking for posix_fallocate... yes
    checking for setlocale... yes
    checking for localeconv... (cached) yes
    updating cache ./config.cache
    creating ./config.status
    Reticulating splines...
    Finished reading 7 moz.build files in 0.03s
    Processed into 42 build config descriptors in 0.03s
    Backend executed in 0.29s
    39 total backend files; 39 created; 0 updated; 0 unchanged; 0 deleted; 6 -> 12 Makefile
    Total wall time: 0.37s; CPU time: 0.37s; Efficiency: 100%; Untracked: 0.01s
    make export
    if test -d dist/bin ; then touch dist/bin/.purgecaches ; fi
    make[1]: Entering directory '/home/pi/0ad/libraries/source/spidermonkey/mozjs31/js/src/build-debug'
    /home/pi/0ad/libraries/source/spidermonkey/mozjs31/js/src/build-debug/_virtualenv/bin/python -m mozbuild.action.process_install_manifest --no-remove dist/bin _build_manifests/install/dist_bin
    /home/pi/0ad/libraries/source/spidermonkey/mozjs31/js/src/build-debug/_virtualenv/bin/python -m mozbuild.action.process_install_manifest --no-remove dist/idl _build_manifests/install/dist_idl
    /home/pi/0ad/libraries/source/spidermonkey/mozjs31/js/src/build-debug/_virtualenv/bin/python -m mozbuild.action.process_install_manifest --no-remove dist/include _build_manifests/install/dist_include
    /home/pi/0ad/libraries/source/spidermonkey/mozjs31/js/src/build-debug/_virtualenv/bin/python -m mozbuild.action.process_install_manifest --no-remove dist/public _build_manifests/install/dist_public
    /home/pi/0ad/libraries/source/spidermonkey/mozjs31/js/src/build-debug/_virtualenv/bin/python -m mozbuild.action.process_install_manifest --no-remove dist/private _build_manifests/install/dist_private
    From dist/public: Kept 0 existing; Added/updated 0; Removed 0 files and 0 directories.
    /home/pi/0ad/libraries/source/spidermonkey/mozjs31/js/src/build-debug/_virtualenv/bin/python -m mozbuild.action.process_install_manifest --no-remove dist/sdk _build_manifests/install/dist_sdk
    From dist/include: Kept 0 existing; Added/updated 99; Removed 0 files and 0 directories.
    From dist/idl: Kept 0 existing; Added/updated 0; Removed 0 files and 0 directories.
    From dist/bin: Kept 0 existing; Added/updated 0; Removed 0 files and 0 directories.
    /home/pi/0ad/libraries/source/spidermonkey/mozjs31/js/src/build-debug/_virtualenv/bin/python -m mozbuild.action.process_install_manifest --no-remove _tests _build_manifests/install/tests
    From dist/private: Kept 0 existing; Added/updated 0; Removed 0 files and 0 directories.
    From dist/sdk: Kept 0 existing; Added/updated 0; Removed 0 files and 0 directories.
    From _tests: Kept 0 existing; Added/updated 0; Removed 0 files and 0 directories.
    make recurse_export
    make[2]: Entering directory '/home/pi/0ad/libraries/source/spidermonkey/mozjs31/js/src/build-debug'
    make[3]: Entering directory '/home/pi/0ad/libraries/source/spidermonkey/mozjs31/js/src/build-debug/config'
    mkdir -p '.deps/'
    host_nsinstall.o
    gcc -o host_nsinstall.o -c  -Wall -Wpointer-arith -Wdeclaration-after-statement -Werror=return-type -Werror=int-to-pointer-cast -Wempty-body -Wsign-compare -Wno-unused -std=gnu99 -fgnu89-inline -fno-math-errno -pthread -pipe  -DDEBUG -D_DEBUG -DTRACING -g  -DXP_UNIX -MD -MP -MF .deps/host_nsinstall.o.pp  -DUNICODE -D_UNICODE -I/home/pi/0ad/libraries/source/spidermonkey/mozjs31/config -I.  -I../dist/include  -I/usr/include/nspr        -I/usr/include/nspr  /home/pi/0ad/libraries/source/spidermonkey/mozjs31/config/nsinstall.c
    host_pathsub.o
    gcc -o host_pathsub.o -c  -Wall -Wpointer-arith -Wdeclaration-after-statement -Werror=return-type -Werror=int-to-pointer-cast -Wempty-body -Wsign-compare -Wno-unused -std=gnu99 -fgnu89-inline -fno-math-errno -pthread -pipe  -DDEBUG -D_DEBUG -DTRACING -g  -DXP_UNIX -MD -MP -MF .deps/host_pathsub.o.pp  -DUNICODE -D_UNICODE -I/home/pi/0ad/libraries/source/spidermonkey/mozjs31/config -I.  -I../dist/include  -I/usr/include/nspr        -I/usr/include/nspr  /home/pi/0ad/libraries/source/spidermonkey/mozjs31/config/pathsub.c
    nsinstall_real
    /home/pi/0ad/libraries/source/spidermonkey/mozjs31/js/src/build-debug/_virtualenv/bin/python /home/pi/0ad/libraries/source/spidermonkey/mozjs31/config/expandlibs_exec.py --depend .deps/nsinstall_real.pp --target nsinstall_real --  gcc -o nsinstall_real  -Wall -Wpointer-arith -Wdeclaration-after-statement -Werror=return-type -Werror=int-to-pointer-cast -Wempty-body -Wsign-compare -Wno-unused -std=gnu99 -fgnu89-inline -fno-math-errno -pthread -pipe  -DDEBUG -D_DEBUG -DTRACING -g  -DXP_UNIX -MD -MP -MF .deps/nsinstall_real.pp  -DUNICODE -D_UNICODE -lpthread  -Wl,-z,noexecstack -Wl,-z,text -Wl,--build-id -B /home/pi/0ad/libraries/source/spidermonkey/mozjs31/js/src/build-debug/build/unix/gold    -Wl,-rpath-link,../dist/bin -Wl,-rpath-link,/usr/local/lib host_nsinstall.o host_pathsub.o  
    cp nsinstall_real nsinstall.tmp
    mv nsinstall.tmp nsinstall
    /home/pi/0ad/libraries/source/spidermonkey/mozjs31/js/src/build-debug/_virtualenv/bin/python /home/pi/0ad/libraries/source/spidermonkey/mozjs31/config/nsinstall.py -t -m 755 'nsinstall' '../dist/bin'
    make[3]: Leaving directory '/home/pi/0ad/libraries/source/spidermonkey/mozjs31/js/src/build-debug/config'
    make[3]: Entering directory '/home/pi/0ad/libraries/source/spidermonkey/mozjs31/js/src/build-debug/mfbt'
    make[3]: Nothing to be done for 'export'.
    make[3]: Leaving directory '/home/pi/0ad/libraries/source/spidermonkey/mozjs31/js/src/build-debug/mfbt'
    make[3]: Entering directory '/home/pi/0ad/libraries/source/spidermonkey/mozjs31/js/src/build-debug/python'
    make[3]: Nothing to be done for 'export'.
    make[3]: Leaving directory '/home/pi/0ad/libraries/source/spidermonkey/mozjs31/js/src/build-debug/python'
    make[3]: Entering directory '/home/pi/0ad/libraries/source/spidermonkey/mozjs31/js/src/build-debug/js/src'
    ../../dist/bin/nsinstall -R -m 644 'js-config.h' '../../dist/include'
    /home/pi/0ad/libraries/source/spidermonkey/mozjs31/js/src/build-debug/_virtualenv/bin/python /home/pi/0ad/libraries/source/spidermonkey/mozjs31/js/src/builtin/embedjs.py -DIMPL_MFBT -DEXPORT_JS_API -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -DJS_STANDALONE='1' -DMOZILLA_VERSION='"31.2.0esr"' -DMOZILLA_VERSION_U='31.2.0esr' -DMOZILLA_UAVERSION='"31.0"' -DMOZJS_MAJOR_VERSION='31' -DMOZJS_MINOR_VERSION='2' -DHAVE_ARM_SIMD='1' -DHAVE_ARM_NEON='1' -DD_INO='d_ino' -DJS_CPU_ARM='1' -DJS_NUNBOX32='1' -DJS_ION='1' -DENABLE_YARR_JIT='1' -DMOZ_DEBUG_SYMBOLS='1' -DSTDC_HEADERS='1' -DHAVE_SSIZE_T='1' -DHAVE_ST_BLKSIZE='1' -DHAVE_SIGINFO_T='1' -DHAVE_ENDIAN_H='1' -DJS_HAVE_ENDIAN_H='1' -DHAVE_VISIBILITY_HIDDEN_ATTRIBUTE='1' -DHAVE_VISIBILITY_ATTRIBUTE='1' -DHAVE_DIRENT_H='1' -DHAVE_GETOPT_H='1' -DHAVE_SYS_BITYPES_H='1' -DHAVE_MEMORY_H='1' -DHAVE_UNISTD_H='1' -DHAVE_GNU_LIBC_VERSION_H='1' -DHAVE_NL_TYPES_H='1' -DHAVE_MALLOC_H='1' -DHAVE_X11_XKBLIB_H='1' -DHAVE_SYS_STATVFS_H='1' -DHAVE_SYS_STATFS_H='1' -DHAVE_SYS_VFS_H='1' -DHAVE_SYS_MOUNT_H='1' -DHAVE_SYS_QUOTA_H='1' -DHAVE_LINUX_QUOTA_H='1' -DHAVE_SYS_CDEFS_H='1' -DHAVE_DLOPEN='1' -D_REENTRANT='1' -DHAVE_GETC_UNLOCKED='1' -DHAVE_LOCALTIME_R='1' -DHAVE_LIBM='1' -DHAVE_LOG2='1' -DHAVE_LOG1P='1' -DHAVE_EXPM1='1' -DHAVE_ACOSH='1' -DHAVE_ASINH='1' -DHAVE_ATANH='1' -DHAVE_TRUNC='1' -DHAVE_CBRT='1' -DHAVE_WCRTOMB='1' -DHAVE_MBRTOWC='1' -DHAVE_RES_NINIT='1' -DHAVE_LANGINFO_CODESET='1' -DVA_COPY='va_copy' -DHAVE_VA_COPY='1' -DHAVE_CPP_AMBIGUITY_RESOLVING_USING='1' -DHAVE_CPP_DYNAMIC_CAST_TO_VOID_PTR='1' -DNEED_CPP_UNUSED_IMPLEMENTATIONS='1' -DHAVE_THREAD_TLS_KEYWORD='1' -DHAVE_I18N_LC_MESSAGES='1' -DHAVE_LOCALECONV='1' -DNS_ATTR_MALLOC='__attribute__((malloc))' -DNS_WARN_UNUSED_RESULT='__attribute__((warn_unused_result))' -DMOZ_UPDATE_CHANNEL='default' -DRELEASE_BUILD='1' -DJS_THREADSAFE='1' -DJSGC_INCREMENTAL='1' -DJSGC_GENERATIONAL='1' -DJSGC_USE_EXACT_ROOTING='1' -DJS_CODEGEN_ARM='1' -DJS_DEBUG='1' -DJS_GC_ZEAL='1' -DJS_CRASH_DIAGNOSTICS='1' -DHAVE___CXA_DEMANGLE='1' -DMOZ_DEMANGLE_SYMBOLS='1' -DJS_DEFAULT_JITREPORT_GRANULARITY='3' -DHAVE_TM_ZONE_TM_GMTOFF='1' -DCPP_THROW_NEW='throw()' -DEDITLINE='1' -DMOZ_DLL_SUFFIX='".so"' -DHAVE_POSIX_FADVISE='1' -DHAVE_POSIX_FALLOCATE='1' -DXP_UNIX='1' -DMOZ_REFLOW_PERF='1' -DMOZ_REFLOW_PERF_DSP='1' -DHAVE_SETLOCALE='1' -DHAVE_LOCALECONV='1' -DDEBUG -D_DEBUG -DTRACING \
      -p 'gcc -E' -m /home/pi/0ad/libraries/source/spidermonkey/mozjs31/js/src/js.msg -o selfhosted.out.h /home/pi/0ad/libraries/source/spidermonkey/mozjs31/js/src/builtin/Utilities.js /home/pi/0ad/libraries/source/spidermonkey/mozjs31/js/src/builtin/ParallelUtilities.js /home/pi/0ad/libraries/source/spidermonkey/mozjs31/js/src/builtin/Array.js /home/pi/0ad/libraries/source/spidermonkey/mozjs31/js/src/builtin/Date.js /home/pi/0ad/libraries/source/spidermonkey/mozjs31/js/src/builtin/Intl.js /home/pi/0ad/libraries/source/spidermonkey/mozjs31/js/src/builtin/IntlData.js /home/pi/0ad/libraries/source/spidermonkey/mozjs31/js/src/builtin/Iterator.js /home/pi/0ad/libraries/source/spidermonkey/mozjs31/js/src/builtin/Map.js /home/pi/0ad/libraries/source/spidermonkey/mozjs31/js/src/builtin/Number.js /home/pi/0ad/libraries/source/spidermonkey/mozjs31/js/src/builtin/String.js /home/pi/0ad/libraries/source/spidermonkey/mozjs31/js/src/builtin/Set.js /home/pi/0ad/libraries/source/spidermonkey/mozjs31/js/src/builtin/TypedObject.js 
    make[3]: Leaving directory '/home/pi/0ad/libraries/source/spidermonkey/mozjs31/js/src/build-debug/js/src'
    make[3]: Entering directory '/home/pi/0ad/libraries/source/spidermonkey/mozjs31/js/src/build-debug/js/src/shell'
    make[3]: Nothing to be done for 'export'.
    make[3]: Leaving directory '/home/pi/0ad/libraries/source/spidermonkey/mozjs31/js/src/build-debug/js/src/shell'
    make[2]: Leaving directory '/home/pi/0ad/libraries/source/spidermonkey/mozjs31/js/src/build-debug'
    make[1]: Leaving directory '/home/pi/0ad/libraries/source/spidermonkey/mozjs31/js/src/build-debug'
    make compile
    make[1]: Entering directory '/home/pi/0ad/libraries/source/spidermonkey/mozjs31/js/src/build-debug'
    make recurse_compile
    make[2]: Entering directory '/home/pi/0ad/libraries/source/spidermonkey/mozjs31/js/src/build-debug'
    make[3]: Entering directory '/home/pi/0ad/libraries/source/spidermonkey/mozjs31/js/src/build-debug/js/src'
    make[3]: Entering directory '/home/pi/0ad/libraries/source/spidermonkey/mozjs31/js/src/build-debug/config'
    make[3]: Nothing to be done for 'compile'.
    make[3]: Leaving directory '/home/pi/0ad/libraries/source/spidermonkey/mozjs31/js/src/build-debug/config'
    make[3]: Entering directory '/home/pi/0ad/libraries/source/spidermonkey/mozjs31/js/src/build-debug/mfbt'
    mkdir -p '.deps/'
    Compression.o
    make[3]: Entering directory '/home/pi/0ad/libraries/source/spidermonkey/mozjs31/js/src/build-debug/intl/icu'
    make export
    c++ -o Compression.o -c  -fvisibility=hidden -DIMPL_MFBT -DNO_NSPR_10_SUPPORT -I/home/pi/0ad/libraries/source/spidermonkey/mozjs31/mfbt -I.  -I../dist/include  -I/usr/include/nspr         -fPIC   -DMOZILLA_CLIENT -include ../js/src/js-confdefs.h -MD -MP -MF .deps/Compression.o.pp  -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -DTRACE_LOG_DIR="\"/tmp/traces/\"" -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe  -DDEBUG -D_DEBUG -DTRACING -g    -Wno-unused-function  /home/pi/0ad/libraries/source/spidermonkey/mozjs31/mfbt/Compression.cpp
    Decimal.oif test -d ../../dist/bin ; then touch ../../dist/bin/.purgecaches ; fi
    
    c++ -o Decimal.o -c  -fvisibility=hidden -DIMPL_MFBT -DNO_NSPR_10_SUPPORT -I/home/pi/0ad/libraries/source/spidermonkey/mozjs31/mfbt -I.  -I../dist/include  -I/usr/include/nspr         -fPIC   -DMOZILLA_CLIENT -include ../js/src/js-confdefs.h -MD -MP -MF .deps/Decimal.o.pp  -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -DTRACE_LOG_DIR="\"/tmp/traces/\"" -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe  -DDEBUG -D_DEBUG -DTRACING -g      /home/pi/0ad/libraries/source/spidermonkey/mozjs31/mfbt/decimal/Decimal.cpp
    FloatingPoint.o
    c++ -o FloatingPoint.o -c  -fvisibility=hidden -DIMPL_MFBT -DNO_NSPR_10_SUPPORT -I/home/pi/0ad/libraries/source/spidermonkey/mozjs31/mfbt -I.  -I../dist/include  -I/usr/include/nspr         -fPIC   -DMOZILLA_CLIENT -include ../js/src/js-confdefs.h -MD -MP -MF .deps/FloatingPoint.o.pp  -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -DTRACE_LOG_DIR="\"/tmp/traces/\"" -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe  -DDEBUG -D_DEBUG -DTRACING -g      /home/pi/0ad/libraries/source/spidermonkey/mozjs31/mfbt/FloatingPoint.cpp
    HashFunctions.o
    make[4]: Entering directory '/home/pi/0ad/libraries/source/spidermonkey/mozjs31/js/src/build-debug/intl/icu'
    make[4]: Nothing to be done for 'export'.
    make[4]: Leaving directory '/home/pi/0ad/libraries/source/spidermonkey/mozjs31/js/src/build-debug/intl/icu'
    make compile
    make[4]: Entering directory '/home/pi/0ad/libraries/source/spidermonkey/mozjs31/js/src/build-debug/intl/icu'
    make[4]: Nothing to be done for 'compile'.
    make[4]: Leaving directory '/home/pi/0ad/libraries/source/spidermonkey/mozjs31/js/src/build-debug/intl/icu'
    make libs
    make[4]: Entering directory '/home/pi/0ad/libraries/source/spidermonkey/mozjs31/js/src/build-debug/intl/icu'
    mkdir -p '.deps/'
    mkdir -p '.deps/'
    host_jskwgen.o
    c++ -o host_jskwgen.o -c  -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -DTRACE_LOG_DIR="\"/tmp/traces/\"" -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe  -DDEBUG -D_DEBUG -DTRACING -g  -std=gnu++0x -MD -MP -MF .deps/host_jskwgen.o.pp -I/home/pi/0ad/libraries/source/spidermonkey/mozjs31/js/src -I. -I/home/pi/0ad/libraries/source/spidermonkey/mozjs31/js/src/../../mfbt/double-conversion -I/home/pi/0ad/libraries/source/spidermonkey/mozjs31/intl/icu/source/common -I/home/pi/0ad/libraries/source/spidermonkey/mozjs31/intl/icu/source/i18n -I../../dist/include  -I/usr/include/nspr        -I/usr/include/nspr  /home/pi/0ad/libraries/source/spidermonkey/mozjs31/js/src/jskwgen.cpp
    make[4]: Leaving directory '/home/pi/0ad/libraries/source/spidermonkey/mozjs31/js/src/build-debug/intl/icu'
    make tools
    make[4]: Entering directory '/home/pi/0ad/libraries/source/spidermonkey/mozjs31/js/src/build-debug/intl/icu'
    make[4]: Nothing to be done for 'tools'.
    make[4]: Leaving directory '/home/pi/0ad/libraries/source/spidermonkey/mozjs31/js/src/build-debug/intl/icu'
    make[3]: Leaving directory '/home/pi/0ad/libraries/source/spidermonkey/mozjs31/js/src/build-debug/intl/icu'
    c++ -o HashFunctions.o -c  -fvisibility=hidden -DIMPL_MFBT -DNO_NSPR_10_SUPPORT -I/home/pi/0ad/libraries/source/spidermonkey/mozjs31/mfbt -I.  -I../dist/include  -I/usr/include/nspr         -fPIC   -DMOZILLA_CLIENT -include ../js/src/js-confdefs.h -MD -MP -MF .deps/HashFunctions.o.pp  -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -DTRACE_LOG_DIR="\"/tmp/traces/\"" -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe  -DDEBUG -D_DEBUG -DTRACING -g      /home/pi/0ad/libraries/source/spidermonkey/mozjs31/mfbt/HashFunctions.cpp
    Poison.o
    c++ -o Poison.o -c  -fvisibility=hidden -DIMPL_MFBT -DNO_NSPR_10_SUPPORT -I/home/pi/0ad/libraries/source/spidermonkey/mozjs31/mfbt -I.  -I../dist/include  -I/usr/include/nspr         -fPIC   -DMOZILLA_CLIENT -include ../js/src/js-confdefs.h -MD -MP -MF .deps/Poison.o.pp  -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -DTRACE_LOG_DIR="\"/tmp/traces/\"" -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe  -DDEBUG -D_DEBUG -DTRACING -g      /home/pi/0ad/libraries/source/spidermonkey/mozjs31/mfbt/Poison.cpp
    SHA1.o
    host_jskwgen
    /home/pi/0ad/libraries/source/spidermonkey/mozjs31/js/src/build-debug/_virtualenv/bin/python /home/pi/0ad/libraries/source/spidermonkey/mozjs31/config/expandlibs_exec.py --depend .deps/host_jskwgen.pp --target host_jskwgen --  c++ -o host_jskwgen  -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -DTRACE_LOG_DIR="\"/tmp/traces/\"" -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe  -DDEBUG -D_DEBUG -DTRACING -g  -std=gnu++0x -MD -MP -MF .deps/host_jskwgen.pp -I/home/pi/0ad/libraries/source/spidermonkey/mozjs31/js/src -I. -I/home/pi/0ad/libraries/source/spidermonkey/mozjs31/js/src/../../mfbt/double-conversion -I/home/pi/0ad/libraries/source/spidermonkey/mozjs31/intl/icu/source/common -I/home/pi/0ad/libraries/source/spidermonkey/mozjs31/intl/icu/source/i18n -I../../dist/include  -I/usr/include/nspr        host_jskwgen.o  
    c++ -o SHA1.o -c  -fvisibility=hidden -DIMPL_MFBT -DNO_NSPR_10_SUPPORT -I/home/pi/0ad/libraries/source/spidermonkey/mozjs31/mfbt -I.  -I../dist/include  -I/usr/include/nspr         -fPIC   -DMOZILLA_CLIENT -include ../js/src/js-confdefs.h -MD -MP -MF .deps/SHA1.o.pp  -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -DTRACE_LOG_DIR="\"/tmp/traces/\"" -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe  -DDEBUG -D_DEBUG -DTRACING -g      /home/pi/0ad/libraries/source/spidermonkey/mozjs31/mfbt/SHA1.cpp
    bignum-dtoa.o
    c++ -o bignum-dtoa.o -c  -fvisibility=hidden -DIMPL_MFBT -DNO_NSPR_10_SUPPORT -I/home/pi/0ad/libraries/source/spidermonkey/mozjs31/mfbt -I.  -I../dist/include  -I/usr/include/nspr         -fPIC   -DMOZILLA_CLIENT -include ../js/src/js-confdefs.h -MD -MP -MF .deps/bignum-dtoa.o.pp  -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -DTRACE_LOG_DIR="\"/tmp/traces/\"" -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe  -DDEBUG -D_DEBUG -DTRACING -g      /home/pi/0ad/libraries/source/spidermonkey/mozjs31/mfbt/double-conversion/bignum-dtoa.cc
    bignum.o
    ./host_jskwgen /home/pi/0ad/libraries/source/spidermonkey/mozjs31/js/src/build-debug/js/src/jsautokw.h
    RegExp.o
    c++ -o RegExp.o -c  -fvisibility=hidden -DIMPL_MFBT -DEXPORT_JS_API -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I/home/pi/0ad/libraries/source/spidermonkey/mozjs31/js/src -I. -I/home/pi/0ad/libraries/source/spidermonkey/mozjs31/js/src/../../mfbt/double-conversion -I/home/pi/0ad/libraries/source/spidermonkey/mozjs31/intl/icu/source/common -I/home/pi/0ad/libraries/source/spidermonkey/mozjs31/intl/icu/source/i18n -I../../dist/include  -I/usr/include/nspr         -fPIC   -DMOZILLA_CLIENT -include ../../js/src/js-confdefs.h -MD -MP -MF .deps/RegExp.o.pp  -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -DTRACE_LOG_DIR="\"/tmp/traces/\"" -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe  -DDEBUG -D_DEBUG -DTRACING -g      /home/pi/0ad/libraries/source/spidermonkey/mozjs31/js/src/builtin/RegExp.cpp
    Parser.o
    c++ -o bignum.o -c  -fvisibility=hidden -DIMPL_MFBT -DNO_NSPR_10_SUPPORT -I/home/pi/0ad/libraries/source/spidermonkey/mozjs31/mfbt -I.  -I../dist/include  -I/usr/include/nspr         -fPIC   -DMOZILLA_CLIENT -include ../js/src/js-confdefs.h -MD -MP -MF .deps/bignum.o.pp  -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -DTRACE_LOG_DIR="\"/tmp/traces/\"" -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe  -DDEBUG -D_DEBUG -DTRACING -g      /home/pi/0ad/libraries/source/spidermonkey/mozjs31/mfbt/double-conversion/bignum.cc
    cached-powers.o
    c++ -o cached-powers.o -c  -fvisibility=hidden -DIMPL_MFBT -DNO_NSPR_10_SUPPORT -I/home/pi/0ad/libraries/source/spidermonkey/mozjs31/mfbt -I.  -I../dist/include  -I/usr/include/nspr         -fPIC   -DMOZILLA_CLIENT -include ../js/src/js-confdefs.h -MD -MP -MF .deps/cached-powers.o.pp  -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -DTRACE_LOG_DIR="\"/tmp/traces/\"" -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe  -DDEBUG -D_DEBUG -DTRACING -g      /home/pi/0ad/libraries/source/spidermonkey/mozjs31/mfbt/double-conversion/cached-powers.cc
    diy-fp.o
    c++ -o diy-fp.o -c  -fvisibility=hidden -DIMPL_MFBT -DNO_NSPR_10_SUPPORT -I/home/pi/0ad/libraries/source/spidermonkey/mozjs31/mfbt -I.  -I../dist/include  -I/usr/include/nspr         -fPIC   -DMOZILLA_CLIENT -include ../js/src/js-confdefs.h -MD -MP -MF .deps/diy-fp.o.pp  -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -DTRACE_LOG_DIR="\"/tmp/traces/\"" -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe  -DDEBUG -D_DEBUG -DTRACING -g      /home/pi/0ad/libraries/source/spidermonkey/mozjs31/mfbt/double-conversion/diy-fp.cc
    double-conversion.o
    c++ -o double-conversion.o -c  -fvisibility=hidden -DIMPL_MFBT -DNO_NSPR_10_SUPPORT -I/home/pi/0ad/libraries/source/spidermonkey/mozjs31/mfbt -I.  -I../dist/include  -I/usr/include/nspr         -fPIC   -DMOZILLA_CLIENT -include ../js/src/js-confdefs.h -MD -MP -MF .deps/double-conversion.o.pp  -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -DTRACE_LOG_DIR="\"/tmp/traces/\"" -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe  -DDEBUG -D_DEBUG -DTRACING -g      /home/pi/0ad/libraries/source/spidermonkey/mozjs31/mfbt/double-conversion/double-conversion.cc
    fast-dtoa.o
    c++ -o fast-dtoa.o -c  -fvisibility=hidden -DIMPL_MFBT -DNO_NSPR_10_SUPPORT -I/home/pi/0ad/libraries/source/spidermonkey/mozjs31/mfbt -I.  -I../dist/include  -I/usr/include/nspr         -fPIC   -DMOZILLA_CLIENT -include ../js/src/js-confdefs.h -MD -MP -MF .deps/fast-dtoa.o.pp  -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -DTRACE_LOG_DIR="\"/tmp/traces/\"" -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe  -DDEBUG -D_DEBUG -DTRACING -g      /home/pi/0ad/libraries/source/spidermonkey/mozjs31/mfbt/double-conversion/fast-dtoa.cc
    fixed-dtoa.o
    c++ -o fixed-dtoa.o -c  -fvisibility=hidden -DIMPL_MFBT -DNO_NSPR_10_SUPPORT -I/home/pi/0ad/libraries/source/spidermonkey/mozjs31/mfbt -I.  -I../dist/include  -I/usr/include/nspr         -fPIC   -DMOZILLA_CLIENT -include ../js/src/js-confdefs.h -MD -MP -MF .deps/fixed-dtoa.o.pp  -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -DTRACE_LOG_DIR="\"/tmp/traces/\"" -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe  -DDEBUG -D_DEBUG -DTRACING -g      /home/pi/0ad/libraries/source/spidermonkey/mozjs31/mfbt/double-conversion/fixed-dtoa.cc
    strtod.o
    c++ -o strtod.o -c  -fvisibility=hidden -DIMPL_MFBT -DNO_NSPR_10_SUPPORT -I/home/pi/0ad/libraries/source/spidermonkey/mozjs31/mfbt -I.  -I../dist/include  -I/usr/include/nspr         -fPIC   -DMOZILLA_CLIENT -include ../js/src/js-confdefs.h -MD -MP -MF .deps/strtod.o.pp  -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -DTRACE_LOG_DIR="\"/tmp/traces/\"" -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe  -DDEBUG -D_DEBUG -DTRACING -g      /home/pi/0ad/libraries/source/spidermonkey/mozjs31/mfbt/double-conversion/strtod.cc
    c++ -o Parser.o -c  -fvisibility=hidden -DIMPL_MFBT -DEXPORT_JS_API -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I/home/pi/0ad/libraries/source/spidermonkey/mozjs31/js/src -I. -I/home/pi/0ad/libraries/source/spidermonkey/mozjs31/js/src/../../mfbt/double-conversion -I/home/pi/0ad/libraries/source/spidermonkey/mozjs31/intl/icu/source/common -I/home/pi/0ad/libraries/source/spidermonkey/mozjs31/intl/icu/source/i18n -I../../dist/include  -I/usr/include/nspr         -fPIC   -DMOZILLA_CLIENT -include ../../js/src/js-confdefs.h -MD -MP -MF .deps/Parser.o.pp  -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -DTRACE_LOG_DIR="\"/tmp/traces/\"" -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe  -DDEBUG -D_DEBUG -DTRACING -g      /home/pi/0ad/libraries/source/spidermonkey/mozjs31/js/src/frontend/Parser.cpp
    jsarray.o
    c++ -o jsarray.o -c  -fvisibility=hidden -DIMPL_MFBT -DEXPORT_JS_API -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I/home/pi/0ad/libraries/source/spidermonkey/mozjs31/js/src -I. -I/home/pi/0ad/libraries/source/spidermonkey/mozjs31/js/src/../../mfbt/double-conversion -I/home/pi/0ad/libraries/source/spidermonkey/mozjs31/intl/icu/source/common -I/home/pi/0ad/libraries/source/spidermonkey/mozjs31/intl/icu/source/i18n -I../../dist/include  -I/usr/include/nspr         -fPIC   -DMOZILLA_CLIENT -include ../../js/src/js-confdefs.h -MD -MP -MF .deps/jsarray.o.pp  -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -DTRACE_LOG_DIR="\"/tmp/traces/\"" -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe  -DDEBUG -D_DEBUG -DTRACING -g      /home/pi/0ad/libraries/source/spidermonkey/mozjs31/js/src/jsarray.cpp
    jsatom.o
    c++ -o jsatom.o -c  -fvisibility=hidden -DIMPL_MFBT -DEXPORT_JS_API -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I/home/pi/0ad/libraries/source/spidermonkey/mozjs31/js/src -I. -I/home/pi/0ad/libraries/source/spidermonkey/mozjs31/js/src/../../mfbt/double-conversion -I/home/pi/0ad/libraries/source/spidermonkey/mozjs31/intl/icu/source/common -I/home/pi/0ad/libraries/source/spidermonkey/mozjs31/intl/icu/source/i18n -I../../dist/include  -I/usr/include/nspr         -fPIC   -DMOZILLA_CLIENT -include ../../js/src/js-confdefs.h -MD -MP -MF .deps/jsatom.o.pp  -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -DTRACE_LOG_DIR="\"/tmp/traces/\"" -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe  -DDEBUG -D_DEBUG -DTRACING -g      /home/pi/0ad/libraries/source/spidermonkey/mozjs31/js/src/jsatom.cpp
    jsmath.o
    make[3]: Leaving directory '/home/pi/0ad/libraries/source/spidermonkey/mozjs31/js/src/build-debug/mfbt'
    c++ -o jsmath.o -c  -fvisibility=hidden -DIMPL_MFBT -DEXPORT_JS_API -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I/home/pi/0ad/libraries/source/spidermonkey/mozjs31/js/src -I. -I/home/pi/0ad/libraries/source/spidermonkey/mozjs31/js/src/../../mfbt/double-conversion -I/home/pi/0ad/libraries/source/spidermonkey/mozjs31/intl/icu/source/common -I/home/pi/0ad/libraries/source/spidermonkey/mozjs31/intl/icu/source/i18n -I../../dist/include  -I/usr/include/nspr         -fPIC   -DMOZILLA_CLIENT -include ../../js/src/js-confdefs.h -MD -MP -MF .deps/jsmath.o.pp  -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -DTRACE_LOG_DIR="\"/tmp/traces/\"" -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe  -DDEBUG -D_DEBUG -DTRACING -g      /home/pi/0ad/libraries/source/spidermonkey/mozjs31/js/src/jsmath.cpp
    jsutil.o
    c++: internal compiler error: Killed (program cc1plus)
    Please submit a full bug report,
    with preprocessed source if appropriate.
    See <file:///usr/share/doc/gcc-4.9/README.Bugs> for instructions.
    /home/pi/0ad/libraries/source/spidermonkey/mozjs31/config/rules.mk:1001: recipe for target 'RegExp.o' failed
    make[3]: *** [RegExp.o] Error 4
    make[3]: *** Deleting file 'RegExp.o'
    make[3]: *** Waiting for unfinished jobs....
    c++: internal compiler error: Killed (program cc1plus)
    Please submit a full bug report,
    with preprocessed source if appropriate.
    See <file:///usr/share/doc/gcc-4.9/README.Bugs> for instructions.
    /home/pi/0ad/libraries/source/spidermonkey/mozjs31/config/rules.mk:1001: recipe for target 'Parser.o' failed
    make[3]: *** [Parser.o] Error 4
    make[3]: *** Deleting file 'Parser.o'
    make[3]: Leaving directory '/home/pi/0ad/libraries/source/spidermonkey/mozjs31/js/src/build-debug/js/src'
    /home/pi/0ad/libraries/source/spidermonkey/mozjs31/config/recurse.mk:95: recipe for target 'js/src/compile' failed
    make[2]: *** [js/src/compile] Error 2
    make[2]: Leaving directory '/home/pi/0ad/libraries/source/spidermonkey/mozjs31/js/src/build-debug'
    /home/pi/0ad/libraries/source/spidermonkey/mozjs31/config/recurse.mk:39: recipe for target 'compile' failed
    make[1]: *** [compile] Error 2
    make[1]: Leaving directory '/home/pi/0ad/libraries/source/spidermonkey/mozjs31/js/src/build-debug'
    /home/pi/0ad/libraries/source/spidermonkey/mozjs31/config/rules.mk:592: recipe for target 'default' failed
    make: *** [default] Error 2
    ERROR: SpiderMonkey build failed
    

    This is what I get when trying to compile 0 A.D from Git... works great on Ubuntu on the desktop PC. Looking around the web suggests SpiderMonkey is a pain to compile on arm.

    Can't try using make until this part gets sorted. Will let you know.

  5. Here's the important business from the Terminal:

     

    ERROR: CRenderer::EndFrame: GL errors 1285 occurred
    WARNING: Fancy Effects framebuffer object incomplete: 0x8CDD
    GL_OUT_OF_MEMORY
    OpenGL error(s) occurred: 0505
    GL_INVALID_VALUE
    OpenGL error(s) occurred: 0501
    Draw call returned Invalid argument.  Expect corruption.
    Segmentation fault

    I've currently got 64mb VRAM set so I'll increase this and see if it helps. I remember it also not working at 224mb though...
     

    Also left a post over at the Xonotic forums for DivVerent who created S2TC (the free encoder/decoder for S3TC) as he might be able to help me come up with some on-the-fly decoding solution for the S3TC textures 0 A.D uses.

    EDIT1: Here's the link:

    http://forums.xonotic.org/showthread.php?tid=6080

    The game crashes with any VRAM amount set. I think it's not just a texture problem because on the OpenMW forum they found that their game DOES run but with pink shapes:

    https://forum.openmw.org/viewtopic.php?f=8&t=2850&start=10

    I'm going to do some more research over the next few days and see if it's bugs in the driver, handling shaders, etc. Does anyone have a low resolution texture pack for 0.A.D I could try?

    • Like 2
  6. Would the easiest thing right now simply to be to implement uncompressed textures and different texture quality modes? I'm sure there's a way to force ETC on the VideoCore IV. I'm going to fire the Pi3 back up again later tonight and copy the error messages in here. Does anyone else have experience of compiling 0A.D for the Raspberry Pi? I'd like to test with Alpha 19. Also, when the game crashes where does it store crashlogs?

     

    Kind regards.

    • Like 1
  7. Okay, I got hold of a Raspberry Pi 3. There's now an experimental Gallium VC4 driver for the Broadcom VideoCore4 graphics chip in this device.

    OpenArena runs perfectly as you might expect as it is a common test case and complete. Anyway, there was 0.A.D in the Raspbian repository, albeit an old version, so I thought why not give this a go?

    It runs! At least through the menus, when you try to load a map it complains in the terminal about GL errors (this is with all effects disabled and quick and ugly water selected and closes.

    Not bad though eh? The open source driver that I'm using here supports desktop OpenGL 2.1 according to glxinfo as well as OpenGL ES. However I believe the hardware does not support S3TC and only supports... EGL? Whatever the compression Android uses is.

    Just thought I'd leave this here for someone to enjoy.

    Kind regards.

    2016-03-14-135514_1920x1080_scrot.png

    • Like 6
×
×
  • Create New...