Closed stanriders closed 6 years ago
Are you able to attach gdb to get a backtrace?
I haven't tested it myself in a while, but the version I last compiled on Linux is still running fine for https://github.com/SteamDatabase/GameTracking-Dota2 on the current game version.
Thread 1 "dota2" received signal SIGSEGV, Segmentation fault.
0x00007fffff409e72 in do_lookup_x (undef_name=undef_name@entry=0x7ffff66d63f5 "CreateInterface",
new_hash=new_hash@entry=727571850, old_hash=old_hash@entry=0x7fffff7df090, ref=0x0,
result=result@entry=0x7fffff7df0a0, scope=0x97382b8, i=0, version=0x0, flags=2, skip=0x0, type_class=0,
undef_map=0x9738000) at dl-lookup.c:355
355 dl-lookup.c: No such file or directory.
If i can get something more out of gdb please tell me how, I'm absolutely not familiar with it
That snippet already gives a hint of where it's going wrong, but at that same prompt, typing bt
should give you a backtrace.
I'm also currently updating my test server so that I can see if I can replicate the issue with the shipped bins.
(gdb) bt
#0 0x00007fffff409e72 in do_lookup_x (undef_name=undef_name@entry=0x7ffff66d63f5 "CreateInterface",
new_hash=new_hash@entry=727571850, old_hash=old_hash@entry=0x7fffff7df090, ref=0x0,
result=result@entry=0x7fffff7df0a0, scope=0x97382b8, i=0, version=0x0, flags=2, skip=0x0, type_class=0,
undef_map=0x9738000) at dl-lookup.c:355
#1 0x00007fffff40ab1f in _dl_lookup_symbol_x (undef_name=0x7ffff66d63f5 "CreateInterface", undef_map=0x9738000,
ref=0x7fffff7df178, symbol_scope=0x9738388, version=0x0, type_class=0, flags=2, skip_map=0x0) at dl-lookup.c:829
#2 0x00007ffffe9838b3 in do_sym (handle=0x9738000, name=0x7ffff66d63f5 "CreateInterface", who=<optimized out>,
vers=vers@entry=0x0, flags=flags@entry=2) at dl-sym.c:168
#3 0x00007ffffe983d5d in _dl_sym (handle=<optimized out>, name=<optimized out>, who=<optimized out>) at dl-sym.c:273
#4 0x00007ffffefa1034 in dlsym_doit (a=a@entry=0x7fffff7df380) at dlsym.c:50
#5 0x00007fffff410564 in _dl_catch_error (objname=0x84a5050, errstring=0x84a5058, mallocedp=0x84a5048,
operate=0x7ffffefa1020 <dlsym_doit>, args=0x7fffff7df380) at dl-error.c:187
#6 0x00007ffffefa1571 in _dlerror_run (operate=operate@entry=0x7ffffefa1020 <dlsym_doit>,
args=args@entry=0x7fffff7df380) at dlerror.c:163
#7 0x00007ffffefa1088 in __dlsym (handle=<optimized out>, name=<optimized out>) at dlsym.c:70
#8 0x00007ffff66d59dd in mm_GetLibAddress (lib=0x9738000, name=0x7ffff66d63f5 "CreateInterface")
at /mnt/c/Projects/Stuff/metamod/loader/utility.cpp:326
#9 0x00007ffff66d32e7 in mm_GameDllRequest (name=0x7ffffda97f2a "Source2ServerConfig001", ret=0x7ffffffdc8b0)
at /mnt/c/Projects/Stuff/metamod/loader/gamedll.cpp:773
#10 0x00007ffff66d1ba6 in CreateInterface (name=0x7ffffda97f2a "Source2ServerConfig001", ret=0x7ffffffdc8b0)
at /mnt/c/Projects/Stuff/metamod/loader/loader.cpp:178
#11 0x00007ffff66d3315 in mm_GameDllRequest (name=0x7ffffda97f2a "Source2ServerConfig001", ret=0x7ffffffdc8b0)
at /mnt/c/Projects/Stuff/metamod/loader/gamedll.cpp:776
#12 0x00007ffff66d1ba6 in CreateInterface (name=0x7ffffda97f2a "Source2ServerConfig001", ret=0x7ffffffdc8b0)
at /mnt/c/Projects/Stuff/metamod/loader/loader.cpp:178
#13 0x00007ffff66d3315 in mm_GameDllRequest (name=0x7ffffda97f2a "Source2ServerConfig001", ret=0x7ffffffdc8b0)
at /mnt/c/Projects/Stuff/metamod/loader/gamedll.cpp:776
#14 0x00007ffff66d1ba6 in CreateInterface (name=0x7ffffda97f2a "Source2ServerConfig001", ret=0x7ffffffdc8b0)
at /mnt/c/Projects/Stuff/metamod/loader/loader.cpp:178
---Type <return> to continue, or q <return> to quit---
If I'm following what's going on correctly, lib name seems to be empty
(gdb) print name
$2 = '\000' <repeats 32 times>
Updated backtrace
I can repro the issue. I also see our packaging is broken for Dota. We should be shipping the bins in addons/metamod/bin/linuxsteamrt64 instead of addons/metamod/bin/linux64.
Working on a fix for both.
The issue was due to MM:S thinking its server binary was the official one, going into a pattern of load > find real server bin (instead finding self) > load real server bin (self) > repeat. #38 fixes it.
[168] c++ -pipe -fno-strict-aliasing -Wall -Werror -Wno-uninitialized -Wno-unused -Wno-switch -msse -fvisibility=hidden -mfpmath=sse -O3 -m64 -fPIC -std=c++11 -fvisibility-inlines-hidden -fno-exceptions -fno-rtti -fno-threadsafe-statics -Wno-non-virtual-dtor -Wno-overloaded-virtual -Wno-delete-non-virtual-dtor -Dstricmp=strcasecmp -D_stricmp=strcasecmp -D_snprintf=snprintf -D_vsnprintf=vsnprintf -DHAVE_STDINT_H -DGNUC -DNDEBUG -D_LINUX -DPOSIX -D_FILE_OFFSET_BITS=64 -DMMS_USE_VERSIONLIB -DMMS_GENERATED_BUILD -DLIB_PREFIX="lib" -DLIB_SUFFIX=".so" -I /mnt/c/Projects/Stuff/metamod/public -I /mnt/c/Projects/Stuff/metamod/obj-linux-x64/includes -I /mnt/c/Projects/Stuff/metamod/versionlib -I /mnt/c/Projects/Stuff/metamod/core/sourcehook -H -c /mnt/c/Projects/Stuff/metamod/loader/gamedll.cpp -o gamedll.o
/mnt/c/Projects/Stuff/metamod/loader/gamedll.cpp: In function ‘bool mm_DetectGameInformation()’:
/mnt/c/Projects/Stuff/metamod/loader/gamedll.cpp:133:36: error: ignoring return value of ‘char* getcwd(char*, size_t)’, declared with attribute warn_unused_result [-Werror=unused-result]
getcwd(cur_path, sizeof(cur_path));
^
cc1plus: all warnings being treated as errors
[151] c++ -pipe -fno-strict-aliasing -Wall -Werror -Wno-uninitialized -Wno-unused -Wno-switch -msse -fvisibility=hidden -mfpmath=sse -O3 -m64 -fPIC -std=c++11 -fvisibility-inlines-hidden -fno-exceptions -fno-rtti -fno-threadsafe-statics -Wno-non-virtual-dtor -Wno-overloaded-virtual -Wno-delete-non-virtual-dtor -Dstricmp=strcasecmp -D_stricmp=strcasecmp -D_snprintf=snprintf -D_vsnprintf=vsnprintf -DHAVE_STDINT_H -DGNUC -DNDEBUG -D_LINUX -DPOSIX -D_FILE_OFFSET_BITS=64 -DMMS_USE_VERSIONLIB -DMMS_GENERATED_BUILD -DSE_LEFT4DEAD=12 -DSE_BLADE=18 -DSE_EPISODEONE=1 -DSE_NUCLEARDAWN=13 -DSE_DOI=20 -DSE_CONTAGION=14 -DSE_LEFT4DEAD2=15 -DSE_DARKMESSIAH=2 -DSE_CSGO=21 -DSE_INSURGENCY=19 -DSE_SDK2013=9 -DSE_TF2=11 -DSE_EYE=5 -DSE_BMS=10 -DSE_ORANGEBOX=3 -DSE_PORTAL2=17 -DSE_HL2DM=7 -DSE_ALIENSWARM=16 -DSE_DOTA=22 -DSE_BLOODYGOODTIME=4 -DSE_DODS=8 -DSE_CSS=6 -DSOURCE_ENGINE=22 -DCOMPILER_GCC -DX64BITS -DPLATFORM_64BITS -DNO_HOOK_MALLOC -DNO_MALLOC_OVERRIDE -I /mnt/c/Projects/Stuff/metamod/public -I /mnt/c/Projects/Stuff/metamod/obj-linux-x64/includes -I /mnt/c/Projects/Stuff/metamod/versionlib -I /mnt/c/Projects/Stuff/metamod/core -I /mnt/c/Projects/Stuff/metamod/core/sourcehook -I /mnt/c/Projects/Stuff/metamod/loader -I /mnt/c/Projects/Stuff/hl2sdk-dota/public -I /mnt/c/Projects/Stuff/hl2sdk-dota/public/engine -I /mnt/c/Projects/Stuff/hl2sdk-dota/public/mathlib -I /mnt/c/Projects/Stuff/hl2sdk-dota/public/vstdlib -I /mnt/c/Projects/Stuff/hl2sdk-dota/public/tier0 -I /mnt/c/Projects/Stuff/hl2sdk-dota/public/tier1 -I /mnt/c/Projects/Stuff/hl2sdk-dota/public/game/server -I /mnt/c/Projects/Stuff/hl2sdk-dota/game/shared -I /mnt/c/Projects/Stuff/hl2sdk-dota/common -H -c /mnt/c/Projects/Stuff/metamod/core/metamod.cpp -o metamod.o
/mnt/c/Projects/Stuff/metamod/core/metamod.cpp: In function ‘void InitializeVSP()’:
/mnt/c/Projects/Stuff/metamod/core/metamod.cpp:378:35: error: ignoring return value of ‘char* realpath(const char*, char*)’, declared with attribute warn_unused_result [-Werror=unused-result]
abspath(engine_path, engine_file);
^
cc1plus: all warnings being treated as errors
[156] c++ -pipe -fno-strict-aliasing -Wall -Werror -Wno-uninitialized -Wno-unused -Wno-switch -msse -fvisibility=hidden -mfpmath=sse -O3 -m64 -fPIC -std=c++11 -fvisibility-inlines-hidden -fno-exceptions -fno-rtti -fno-threadsafe-statics -Wno-non-virtual-dtor -Wno-overloaded-virtual -Wno-delete-non-virtual-dtor -Dstricmp=strcasecmp -D_stricmp=strcasecmp -D_snprintf=snprintf -D_vsnprintf=vsnprintf -DHAVE_STDINT_H -DGNUC -DNDEBUG -D_LINUX -DPOSIX -D_FILE_OFFSET_BITS=64 -DMMS_USE_VERSIONLIB -DMMS_GENERATED_BUILD -DLIB_PREFIX="lib" -DLIB_SUFFIX=".so" -I /mnt/c/Projects/Stuff/metamod/public -I /mnt/c/Projects/Stuff/metamod/obj-linux-x64/includes -I /mnt/c/Projects/Stuff/metamod/versionlib -I /mnt/c/Projects/Stuff/metamod/core/sourcehook -H -c /mnt/c/Projects/Stuff/metamod/loader/gamedll.cpp -o gamedll.o
/mnt/c/Projects/Stuff/metamod/loader/gamedll.cpp: In function ‘bool mm_DetectGameInformation()’:
/mnt/c/Projects/Stuff/metamod/loader/gamedll.cpp:133:36: error: ignoring return value of ‘char* getcwd(char*, size_t)’, declared with attribute warn_unused_result [-Werror=unused-result]
getcwd(cur_path, sizeof(cur_path));
^
cc1plus: all warnings being treated as errors
Build failed.
Doesn't build now without disabling -Werror
None of those functions are used in the code that was added. You're likely using a different compiler or compiler version than you were before. It does build fine on Clang, but I'll look into the warnings that GCC is throwing.
What exact compiler and version are you using? I assumed GCC, but I can't reproduce that warning with the stock AMBuild file on GCC 7.2.0.
GCC 5.4.0
I still can't reproduce those warnings/errors on a fresh clone of everything, using GCC 5.4.0 (on Ubuntu 16.04 LTS).
nshastings@linfra01:~/metamod-source/build$ python ../configure.py --sdks=dota --target-arch=x64
Checking CC compiler (vendor test gcc)... ['cc', 'test.c', '-o', 'test']
found gcc version 5.4
Checking CXX compiler (vendor test gcc)... ['c++', 'test.cpp', '-o', 'testp']
found gcc version 5.4
nshastings@linfra01:~/metamod-source/build$ ambuild
[create] mkdir -p includes
[create] mkdir -p versionlib
[create] mkdir -p versionlib/version.x64
[create] mkdir -p loader
[create] mkdir -p loader/libserver.x64
[create] mkdir -p loader/server.x64
[create] mkdir -p core
[create] mkdir -p core/metamod.2.dota.x64
[create] mkdir -p package
[create] mkdir -p package/addons
[create] mkdir -p package/addons/metamod
[create] mkdir -p package/addons/metamod/bin
[create] mkdir -p package/addons/metamod/bin/linux64
Spawned taskmaster (pid: 24934)
Spawned worker (pid: 24938)
Spawned worker (pid: 24940)
[24940] cp "/home/nshastings/metamod-source/support/metaplugins.ini" "./package/addons/metamod/metaplugins.ini"
[24938] cp "/home/nshastings/metamod-source/support/README.txt" "./package/addons/metamod/README.txt"
[24940] cp "/home/nshastings/metamod-source/support/metamod.vdf" "./package/addons/metamod.vdf"
[24940] ln -s /home/nshastings/hl2sdk-dota/lib/linux64/libtier0.so core/metamod.2.dota.x64/libtier0.so
[24938] cp "/home/nshastings/metamod-source/support/metamod_linux64.vdf" "./package/addons/metamod_x64.vdf"
[24940] ln -s /home/nshastings/hl2sdk-dota/lib/linux64/libvstdlib.so core/metamod.2.dota.x64/libvstdlib.so
Spawned worker (pid: 24941)
Spawned worker (pid: 24939)
Spawned worker (pid: 24942)
[24938] /usr/bin/python /home/nshastings/metamod-source/support/buildbot/generate_headers.py /home/nshastings/metamod-source /home/nshastings/metamod-source/build/includes
[24942] c++ -pipe -fno-strict-aliasing -Wall -Werror -Wno-uninitialized -Wno-unused -Wno-switch -msse -fvisibility=hidden -mfpmath=sse -m64 -fPIC -std=c++11 -fvisibility-inlines-hidden -fno-exceptions -fno-rtti -fno-threadsafe-statics -Wno-non-virtual-dtor -Wno-overloaded-virtual -Wno-delete-non-virtual-dtor -Dstricmp=strcasecmp -D_stricmp=strcasecmp -D_snprintf=snprintf -D_vsnprintf=vsnprintf -DHAVE_STDINT_H -DGNUC -D_LINUX -DPOSIX -D_FILE_OFFSET_BITS=64 -DMMS_USE_VERSIONLIB -DMMS_GENERATED_BUILD -DSE_INSURGENCY=19 -DSE_SDK2013=9 -DSE_DARKMESSIAH=2 -DSE_TF2=11 -DSE_EYE=5 -DSE_LEFT4DEAD2=15 -DSE_ORANGEBOX=3 -DSE_ALIENSWARM=16 -DSE_LEFT4DEAD=12 -DSE_CSS=6 -DSE_HL2DM=7 -DSE_PORTAL2=17 -DSE_NUCLEARDAWN=13 -DSE_CSGO=21 -DSE_BMS=10 -DSE_DOTA=22 -DSE_EPISODEONE=1 -DSE_DOI=20 -DSE_CONTAGION=14 -DSE_BLADE=18 -DSE_DODS=8 -DSE_BLOODYGOODTIME=4 -DSOURCE_ENGINE=22 -DCOMPILER_GCC -DX64BITS -DPLATFORM_64BITS -DNO_HOOK_MALLOC -DNO_MALLOC_OVERRIDE -I /home/nshastings/metamod-source/public -I /home/nshastings/metamod-source/build/includes -I /home/nshastings/metamod-source/versionlib -I /home/nshastings/metamod-source/core -I /home/nshastings/metamod-source/core/sourcehook -I /home/nshastings/metamod-source/loader -I /home/nshastings/hl2sdk-dota/public -I /home/nshastings/hl2sdk-dota/public/engine -I /home/nshastings/hl2sdk-dota/public/mathlib -I /home/nshastings/hl2sdk-dota/public/vstdlib -I /home/nshastings/hl2sdk-dota/public/tier0 -I /home/nshastings/hl2sdk-dota/public/tier1 -I /home/nshastings/hl2sdk-dota/public/game/server -I /home/nshastings/hl2sdk-dota/game/shared -I /home/nshastings/hl2sdk-dota/common -H -c /home/nshastings/metamod-source/core/metamod_oslink.cpp -o metamod_oslink.o
[24941] c++ -pipe -fno-strict-aliasing -Wall -Werror -Wno-uninitialized -Wno-unused -Wno-switch -msse -fvisibility=hidden -mfpmath=sse -m64 -fPIC -std=c++11 -fvisibility-inlines-hidden -fno-exceptions -fno-rtti -fno-threadsafe-statics -Wno-non-virtual-dtor -Wno-overloaded-virtual -Wno-delete-non-virtual-dtor -Dstricmp=strcasecmp -D_stricmp=strcasecmp -D_snprintf=snprintf -D_vsnprintf=vsnprintf -DHAVE_STDINT_H -DGNUC -D_LINUX -DPOSIX -D_FILE_OFFSET_BITS=64 -DMMS_USE_VERSIONLIB -DMMS_GENERATED_BUILD -DLIB_PREFIX="lib" -DLIB_SUFFIX=".so" -I /home/nshastings/metamod-source/public -I /home/nshastings/metamod-source/build/includes -I /home/nshastings/metamod-source/versionlib -I /home/nshastings/metamod-source/core/sourcehook -H -c /home/nshastings/metamod-source/loader/serverplugin.cpp -o serverplugin.o
[24942] c++ -pipe -fno-strict-aliasing -Wall -Werror -Wno-uninitialized -Wno-unused -Wno-switch -msse -fvisibility=hidden -mfpmath=sse -m64 -fPIC -std=c++11 -fvisibility-inlines-hidden -fno-exceptions -fno-rtti -fno-threadsafe-statics -Wno-non-virtual-dtor -Wno-overloaded-virtual -Wno-delete-non-virtual-dtor -Dstricmp=strcasecmp -D_stricmp=strcasecmp -D_snprintf=snprintf -D_vsnprintf=vsnprintf -DHAVE_STDINT_H -DGNUC -D_LINUX -DPOSIX -D_FILE_OFFSET_BITS=64 -DMMS_USE_VERSIONLIB -DMMS_GENERATED_BUILD -DLIB_PREFIX="lib" -DLIB_SUFFIX=".so" -I /home/nshastings/metamod-source/public -I /home/nshastings/metamod-source/build/includes -I /home/nshastings/metamod-source/versionlib -I /home/nshastings/metamod-source/core/sourcehook -H -c /home/nshastings/metamod-source/loader/gamedll.cpp -o gamedll.o
[24941] c++ -pipe -fno-strict-aliasing -Wall -Werror -Wno-uninitialized -Wno-unused -Wno-switch -msse -fvisibility=hidden -mfpmath=sse -m64 -fPIC -std=c++11 -fvisibility-inlines-hidden -fno-exceptions -fno-rtti -fno-threadsafe-statics -Wno-non-virtual-dtor -Wno-overloaded-virtual -Wno-delete-non-virtual-dtor -Dstricmp=strcasecmp -D_stricmp=strcasecmp -D_snprintf=snprintf -D_vsnprintf=vsnprintf -DHAVE_STDINT_H -DGNUC -D_LINUX -DPOSIX -D_FILE_OFFSET_BITS=64 -DMMS_USE_VERSIONLIB -DMMS_GENERATED_BUILD -DLIB_PREFIX="lib" -DLIB_SUFFIX=".so" -I /home/nshastings/metamod-source/public -I /home/nshastings/metamod-source/build/includes -I /home/nshastings/metamod-source/versionlib -I /home/nshastings/metamod-source/core/sourcehook -H -c /home/nshastings/metamod-source/loader/loader.cpp -o loader.o
[24942] c++ -pipe -fno-strict-aliasing -Wall -Werror -Wno-uninitialized -Wno-unused -Wno-switch -msse -fvisibility=hidden -mfpmath=sse -m64 -fPIC -std=c++11 -fvisibility-inlines-hidden -fno-exceptions -fno-rtti -fno-threadsafe-statics -Wno-non-virtual-dtor -Wno-overloaded-virtual -Wno-delete-non-virtual-dtor -Dstricmp=strcasecmp -D_stricmp=strcasecmp -D_snprintf=snprintf -D_vsnprintf=vsnprintf -DHAVE_STDINT_H -DGNUC -D_LINUX -DPOSIX -D_FILE_OFFSET_BITS=64 -DMMS_USE_VERSIONLIB -DMMS_GENERATED_BUILD -DLIB_PREFIX="lib" -DLIB_SUFFIX=".so" -I /home/nshastings/metamod-source/public -I /home/nshastings/metamod-source/build/includes -I /home/nshastings/metamod-source/versionlib -I /home/nshastings/metamod-source/core/sourcehook -H -c /home/nshastings/metamod-source/loader/utility.cpp -o utility.o
[24941] c++ -pipe -fno-strict-aliasing -Wall -Werror -Wno-uninitialized -Wno-unused -Wno-switch -msse -fvisibility=hidden -mfpmath=sse -m64 -fPIC -std=c++11 -fvisibility-inlines-hidden -fno-exceptions -fno-rtti -fno-threadsafe-statics -Wno-non-virtual-dtor -Wno-overloaded-virtual -Wno-delete-non-virtual-dtor -Dstricmp=strcasecmp -D_stricmp=strcasecmp -D_snprintf=snprintf -D_vsnprintf=vsnprintf -DHAVE_STDINT_H -DGNUC -D_LINUX -DPOSIX -D_FILE_OFFSET_BITS=64 -DMMS_USE_VERSIONLIB -DMMS_GENERATED_BUILD -DLIB_PREFIX="lib" -DLIB_SUFFIX=".so" -I /home/nshastings/metamod-source/public -I /home/nshastings/metamod-source/build/includes -I /home/nshastings/metamod-source/versionlib -I /home/nshastings/metamod-source/core/sourcehook -H -c /home/nshastings/metamod-source/loader/serverplugin.cpp -o serverplugin.o
[24942] c++ -pipe -fno-strict-aliasing -Wall -Werror -Wno-uninitialized -Wno-unused -Wno-switch -msse -fvisibility=hidden -mfpmath=sse -m64 -fPIC -std=c++11 -fvisibility-inlines-hidden -fno-exceptions -fno-rtti -fno-threadsafe-statics -Wno-non-virtual-dtor -Wno-overloaded-virtual -Wno-delete-non-virtual-dtor -Dstricmp=strcasecmp -D_stricmp=strcasecmp -D_snprintf=snprintf -D_vsnprintf=vsnprintf -DHAVE_STDINT_H -DGNUC -D_LINUX -DPOSIX -D_FILE_OFFSET_BITS=64 -DMMS_USE_VERSIONLIB -DMMS_GENERATED_BUILD -DLIB_PREFIX="lib" -DLIB_SUFFIX=".so" -I /home/nshastings/metamod-source/public -I /home/nshastings/metamod-source/build/includes -I /home/nshastings/metamod-source/versionlib -I /home/nshastings/metamod-source/core/sourcehook -H -c /home/nshastings/metamod-source/loader/gamedll.cpp -o gamedll.o
[24941] c++ -pipe -fno-strict-aliasing -Wall -Werror -Wno-uninitialized -Wno-unused -Wno-switch -msse -fvisibility=hidden -mfpmath=sse -m64 -fPIC -std=c++11 -fvisibility-inlines-hidden -fno-exceptions -fno-rtti -fno-threadsafe-statics -Wno-non-virtual-dtor -Wno-overloaded-virtual -Wno-delete-non-virtual-dtor -Dstricmp=strcasecmp -D_stricmp=strcasecmp -D_snprintf=snprintf -D_vsnprintf=vsnprintf -DHAVE_STDINT_H -DGNUC -D_LINUX -DPOSIX -D_FILE_OFFSET_BITS=64 -DMMS_USE_VERSIONLIB -DMMS_GENERATED_BUILD -DLIB_PREFIX="lib" -DLIB_SUFFIX=".so" -I /home/nshastings/metamod-source/public -I /home/nshastings/metamod-source/build/includes -I /home/nshastings/metamod-source/versionlib -I /home/nshastings/metamod-source/core/sourcehook -H -c /home/nshastings/metamod-source/loader/loader.cpp -o loader.o
[24941] c++ -pipe -fno-strict-aliasing -Wall -Werror -Wno-uninitialized -Wno-unused -Wno-switch -msse -fvisibility=hidden -mfpmath=sse -m64 -fPIC -std=c++11 -fvisibility-inlines-hidden -fno-exceptions -fno-rtti -fno-threadsafe-statics -Wno-non-virtual-dtor -Wno-overloaded-virtual -Wno-delete-non-virtual-dtor -Dstricmp=strcasecmp -D_stricmp=strcasecmp -D_snprintf=snprintf -D_vsnprintf=vsnprintf -DHAVE_STDINT_H -DGNUC -D_LINUX -DPOSIX -D_FILE_OFFSET_BITS=64 -DMMS_GENERATED_BUILD -I /home/nshastings/metamod-source/public -I /home/nshastings/metamod-source/build/includes -I /home/nshastings/metamod-source/versionlib -H -c /home/nshastings/metamod-source/versionlib/versionlib.cpp -o versionlib.o
[24941] ar rcs libversion.a versionlib.o
[24942] c++ -pipe -fno-strict-aliasing -Wall -Werror -Wno-uninitialized -Wno-unused -Wno-switch -msse -fvisibility=hidden -mfpmath=sse -m64 -fPIC -std=c++11 -fvisibility-inlines-hidden -fno-exceptions -fno-rtti -fno-threadsafe-statics -Wno-non-virtual-dtor -Wno-overloaded-virtual -Wno-delete-non-virtual-dtor -Dstricmp=strcasecmp -D_stricmp=strcasecmp -D_snprintf=snprintf -D_vsnprintf=vsnprintf -DHAVE_STDINT_H -DGNUC -D_LINUX -DPOSIX -D_FILE_OFFSET_BITS=64 -DMMS_USE_VERSIONLIB -DMMS_GENERATED_BUILD -DLIB_PREFIX="lib" -DLIB_SUFFIX=".so" -I /home/nshastings/metamod-source/public -I /home/nshastings/metamod-source/build/includes -I /home/nshastings/metamod-source/versionlib -I /home/nshastings/metamod-source/core/sourcehook -H -c /home/nshastings/metamod-source/loader/utility.cpp -o utility.o
[24941] c++ loader.o gamedll.o serverplugin.o utility.o -static-libgcc -m64 ../../versionlib/version.x64/libversion.a -shared -o server.so
[24941] cp "loader/server.x64/server.so" "./package/addons/metamod/bin/linux64/server.so"
[24942] c++ loader.o gamedll.o serverplugin.o utility.o -static-libgcc -m64 ../../versionlib/version.x64/libversion.a -shared -o libserver.so
[24942] cp "loader/libserver.x64/libserver.so" "./package/addons/metamod/bin/linux64/libserver.so"
[24940] c++ -pipe -fno-strict-aliasing -Wall -Werror -Wno-uninitialized -Wno-unused -Wno-switch -msse -fvisibility=hidden -mfpmath=sse -m64 -fPIC -std=c++11 -fvisibility-inlines-hidden -fno-exceptions -fno-rtti -fno-threadsafe-statics -Wno-non-virtual-dtor -Wno-overloaded-virtual -Wno-delete-non-virtual-dtor -Dstricmp=strcasecmp -D_stricmp=strcasecmp -D_snprintf=snprintf -D_vsnprintf=vsnprintf -DHAVE_STDINT_H -DGNUC -D_LINUX -DPOSIX -D_FILE_OFFSET_BITS=64 -DMMS_USE_VERSIONLIB -DMMS_GENERATED_BUILD -DSE_INSURGENCY=19 -DSE_SDK2013=9 -DSE_DARKMESSIAH=2 -DSE_TF2=11 -DSE_EYE=5 -DSE_LEFT4DEAD2=15 -DSE_ORANGEBOX=3 -DSE_ALIENSWARM=16 -DSE_LEFT4DEAD=12 -DSE_CSS=6 -DSE_HL2DM=7 -DSE_PORTAL2=17 -DSE_NUCLEARDAWN=13 -DSE_CSGO=21 -DSE_BMS=10 -DSE_DOTA=22 -DSE_EPISODEONE=1 -DSE_DOI=20 -DSE_CONTAGION=14 -DSE_BLADE=18 -DSE_DODS=8 -DSE_BLOODYGOODTIME=4 -DSOURCE_ENGINE=22 -DCOMPILER_GCC -DX64BITS -DPLATFORM_64BITS -DNO_HOOK_MALLOC -DNO_MALLOC_OVERRIDE -I /home/nshastings/metamod-source/public -I /home/nshastings/metamod-source/build/includes -I /home/nshastings/metamod-source/versionlib -I /home/nshastings/metamod-source/core -I /home/nshastings/metamod-source/core/sourcehook -I /home/nshastings/metamod-source/loader -I /home/nshastings/hl2sdk-dota/public -I /home/nshastings/hl2sdk-dota/public/engine -I /home/nshastings/hl2sdk-dota/public/mathlib -I /home/nshastings/hl2sdk-dota/public/vstdlib -I /home/nshastings/hl2sdk-dota/public/tier0 -I /home/nshastings/hl2sdk-dota/public/tier1 -I /home/nshastings/hl2sdk-dota/public/game/server -I /home/nshastings/hl2sdk-dota/game/shared -I /home/nshastings/hl2sdk-dota/common -H -c /home/nshastings/metamod-source/core/metamod_console.cpp -o metamod_console.o
[24938] c++ -pipe -fno-strict-aliasing -Wall -Werror -Wno-uninitialized -Wno-unused -Wno-switch -msse -fvisibility=hidden -mfpmath=sse -m64 -fPIC -std=c++11 -fvisibility-inlines-hidden -fno-exceptions -fno-rtti -fno-threadsafe-statics -Wno-non-virtual-dtor -Wno-overloaded-virtual -Wno-delete-non-virtual-dtor -Dstricmp=strcasecmp -D_stricmp=strcasecmp -D_snprintf=snprintf -D_vsnprintf=vsnprintf -DHAVE_STDINT_H -DGNUC -D_LINUX -DPOSIX -D_FILE_OFFSET_BITS=64 -DMMS_USE_VERSIONLIB -DMMS_GENERATED_BUILD -DSE_INSURGENCY=19 -DSE_SDK2013=9 -DSE_DARKMESSIAH=2 -DSE_TF2=11 -DSE_EYE=5 -DSE_LEFT4DEAD2=15 -DSE_ORANGEBOX=3 -DSE_ALIENSWARM=16 -DSE_LEFT4DEAD=12 -DSE_CSS=6 -DSE_HL2DM=7 -DSE_PORTAL2=17 -DSE_NUCLEARDAWN=13 -DSE_CSGO=21 -DSE_BMS=10 -DSE_DOTA=22 -DSE_EPISODEONE=1 -DSE_DOI=20 -DSE_CONTAGION=14 -DSE_BLADE=18 -DSE_DODS=8 -DSE_BLOODYGOODTIME=4 -DSOURCE_ENGINE=22 -DCOMPILER_GCC -DX64BITS -DPLATFORM_64BITS -DNO_HOOK_MALLOC -DNO_MALLOC_OVERRIDE -I /home/nshastings/metamod-source/public -I /home/nshastings/metamod-source/build/includes -I /home/nshastings/metamod-source/versionlib -I /home/nshastings/metamod-source/core -I /home/nshastings/metamod-source/core/sourcehook -I /home/nshastings/metamod-source/loader -I /home/nshastings/hl2sdk-dota/public -I /home/nshastings/hl2sdk-dota/public/engine -I /home/nshastings/hl2sdk-dota/public/mathlib -I /home/nshastings/hl2sdk-dota/public/vstdlib -I /home/nshastings/hl2sdk-dota/public/tier0 -I /home/nshastings/hl2sdk-dota/public/tier1 -I /home/nshastings/hl2sdk-dota/public/game/server -I /home/nshastings/hl2sdk-dota/game/shared -I /home/nshastings/hl2sdk-dota/common -H -c /home/nshastings/metamod-source/core/metamod_plugins.cpp -o metamod_plugins.o
[24938] c++ -pipe -fno-strict-aliasing -Wall -Werror -Wno-uninitialized -Wno-unused -Wno-switch -msse -fvisibility=hidden -mfpmath=sse -m64 -fPIC -std=c++11 -fvisibility-inlines-hidden -fno-exceptions -fno-rtti -fno-threadsafe-statics -Wno-non-virtual-dtor -Wno-overloaded-virtual -Wno-delete-non-virtual-dtor -Dstricmp=strcasecmp -D_stricmp=strcasecmp -D_snprintf=snprintf -D_vsnprintf=vsnprintf -DHAVE_STDINT_H -DGNUC -D_LINUX -DPOSIX -D_FILE_OFFSET_BITS=64 -DMMS_USE_VERSIONLIB -DMMS_GENERATED_BUILD -DSE_INSURGENCY=19 -DSE_SDK2013=9 -DSE_DARKMESSIAH=2 -DSE_TF2=11 -DSE_EYE=5 -DSE_LEFT4DEAD2=15 -DSE_ORANGEBOX=3 -DSE_ALIENSWARM=16 -DSE_LEFT4DEAD=12 -DSE_CSS=6 -DSE_HL2DM=7 -DSE_PORTAL2=17 -DSE_NUCLEARDAWN=13 -DSE_CSGO=21 -DSE_BMS=10 -DSE_DOTA=22 -DSE_EPISODEONE=1 -DSE_DOI=20 -DSE_CONTAGION=14 -DSE_BLADE=18 -DSE_DODS=8 -DSE_BLOODYGOODTIME=4 -DSOURCE_ENGINE=22 -DCOMPILER_GCC -DX64BITS -DPLATFORM_64BITS -DNO_HOOK_MALLOC -DNO_MALLOC_OVERRIDE -I /home/nshastings/metamod-source/public -I /home/nshastings/metamod-source/build/includes -I /home/nshastings/metamod-source/versionlib -I /home/nshastings/metamod-source/core -I /home/nshastings/metamod-source/core/sourcehook -I /home/nshastings/metamod-source/loader -I /home/nshastings/hl2sdk-dota/public -I /home/nshastings/hl2sdk-dota/public/engine -I /home/nshastings/hl2sdk-dota/public/mathlib -I /home/nshastings/hl2sdk-dota/public/vstdlib -I /home/nshastings/hl2sdk-dota/public/tier0 -I /home/nshastings/hl2sdk-dota/public/tier1 -I /home/nshastings/hl2sdk-dota/public/game/server -I /home/nshastings/hl2sdk-dota/game/shared -I /home/nshastings/hl2sdk-dota/common -H -c /home/nshastings/metamod-source/core/sourcehook/sourcehook_impl_cproto.cpp -o sourcehook_sourcehook_impl_cproto.o
[24939] c++ -pipe -fno-strict-aliasing -Wall -Werror -Wno-uninitialized -Wno-unused -Wno-switch -msse -fvisibility=hidden -mfpmath=sse -m64 -fPIC -std=c++11 -fvisibility-inlines-hidden -fno-exceptions -fno-rtti -fno-threadsafe-statics -Wno-non-virtual-dtor -Wno-overloaded-virtual -Wno-delete-non-virtual-dtor -Dstricmp=strcasecmp -D_stricmp=strcasecmp -D_snprintf=snprintf -D_vsnprintf=vsnprintf -DHAVE_STDINT_H -DGNUC -D_LINUX -DPOSIX -D_FILE_OFFSET_BITS=64 -DMMS_USE_VERSIONLIB -DMMS_GENERATED_BUILD -DSE_INSURGENCY=19 -DSE_SDK2013=9 -DSE_DARKMESSIAH=2 -DSE_TF2=11 -DSE_EYE=5 -DSE_LEFT4DEAD2=15 -DSE_ORANGEBOX=3 -DSE_ALIENSWARM=16 -DSE_LEFT4DEAD=12 -DSE_CSS=6 -DSE_HL2DM=7 -DSE_PORTAL2=17 -DSE_NUCLEARDAWN=13 -DSE_CSGO=21 -DSE_BMS=10 -DSE_DOTA=22 -DSE_EPISODEONE=1 -DSE_DOI=20 -DSE_CONTAGION=14 -DSE_BLADE=18 -DSE_DODS=8 -DSE_BLOODYGOODTIME=4 -DSOURCE_ENGINE=22 -DCOMPILER_GCC -DX64BITS -DPLATFORM_64BITS -DNO_HOOK_MALLOC -DNO_MALLOC_OVERRIDE -I /home/nshastings/metamod-source/public -I /home/nshastings/metamod-source/build/includes -I /home/nshastings/metamod-source/versionlib -I /home/nshastings/metamod-source/core -I /home/nshastings/metamod-source/core/sourcehook -I /home/nshastings/metamod-source/loader -I /home/nshastings/hl2sdk-dota/public -I /home/nshastings/hl2sdk-dota/public/engine -I /home/nshastings/hl2sdk-dota/public/mathlib -I /home/nshastings/hl2sdk-dota/public/vstdlib -I /home/nshastings/hl2sdk-dota/public/tier0 -I /home/nshastings/hl2sdk-dota/public/tier1 -I /home/nshastings/hl2sdk-dota/public/game/server -I /home/nshastings/hl2sdk-dota/game/shared -I /home/nshastings/hl2sdk-dota/common -H -c /home/nshastings/metamod-source/core/metamod.cpp -o metamod.o
[24940] c++ -pipe -fno-strict-aliasing -Wall -Werror -Wno-uninitialized -Wno-unused -Wno-switch -msse -fvisibility=hidden -mfpmath=sse -m64 -fPIC -std=c++11 -fvisibility-inlines-hidden -fno-exceptions -fno-rtti -fno-threadsafe-statics -Wno-non-virtual-dtor -Wno-overloaded-virtual -Wno-delete-non-virtual-dtor -Dstricmp=strcasecmp -D_stricmp=strcasecmp -D_snprintf=snprintf -D_vsnprintf=vsnprintf -DHAVE_STDINT_H -DGNUC -D_LINUX -DPOSIX -D_FILE_OFFSET_BITS=64 -DMMS_USE_VERSIONLIB -DMMS_GENERATED_BUILD -DSE_INSURGENCY=19 -DSE_SDK2013=9 -DSE_DARKMESSIAH=2 -DSE_TF2=11 -DSE_EYE=5 -DSE_LEFT4DEAD2=15 -DSE_ORANGEBOX=3 -DSE_ALIENSWARM=16 -DSE_LEFT4DEAD=12 -DSE_CSS=6 -DSE_HL2DM=7 -DSE_PORTAL2=17 -DSE_NUCLEARDAWN=13 -DSE_CSGO=21 -DSE_BMS=10 -DSE_DOTA=22 -DSE_EPISODEONE=1 -DSE_DOI=20 -DSE_CONTAGION=14 -DSE_BLADE=18 -DSE_DODS=8 -DSE_BLOODYGOODTIME=4 -DSOURCE_ENGINE=22 -DCOMPILER_GCC -DX64BITS -DPLATFORM_64BITS -DNO_HOOK_MALLOC -DNO_MALLOC_OVERRIDE -I /home/nshastings/metamod-source/public -I /home/nshastings/metamod-source/build/includes -I /home/nshastings/metamod-source/versionlib -I /home/nshastings/metamod-source/core -I /home/nshastings/metamod-source/core/sourcehook -I /home/nshastings/metamod-source/loader -I /home/nshastings/hl2sdk-dota/public -I /home/nshastings/hl2sdk-dota/public/engine -I /home/nshastings/hl2sdk-dota/public/mathlib -I /home/nshastings/hl2sdk-dota/public/vstdlib -I /home/nshastings/hl2sdk-dota/public/tier0 -I /home/nshastings/hl2sdk-dota/public/tier1 -I /home/nshastings/hl2sdk-dota/public/game/server -I /home/nshastings/hl2sdk-dota/game/shared -I /home/nshastings/hl2sdk-dota/common -H -c /home/nshastings/metamod-source/core/sourcehook/sourcehook_impl_cvfnptr.cpp -o sourcehook_sourcehook_impl_cvfnptr.o
[24939] c++ -pipe -fno-strict-aliasing -Wall -Werror -Wno-uninitialized -Wno-unused -Wno-switch -msse -fvisibility=hidden -mfpmath=sse -m64 -fPIC -std=c++11 -fvisibility-inlines-hidden -fno-exceptions -fno-rtti -fno-threadsafe-statics -Wno-non-virtual-dtor -Wno-overloaded-virtual -Wno-delete-non-virtual-dtor -Dstricmp=strcasecmp -D_stricmp=strcasecmp -D_snprintf=snprintf -D_vsnprintf=vsnprintf -DHAVE_STDINT_H -DGNUC -D_LINUX -DPOSIX -D_FILE_OFFSET_BITS=64 -DMMS_USE_VERSIONLIB -DMMS_GENERATED_BUILD -DSE_INSURGENCY=19 -DSE_SDK2013=9 -DSE_DARKMESSIAH=2 -DSE_TF2=11 -DSE_EYE=5 -DSE_LEFT4DEAD2=15 -DSE_ORANGEBOX=3 -DSE_ALIENSWARM=16 -DSE_LEFT4DEAD=12 -DSE_CSS=6 -DSE_HL2DM=7 -DSE_PORTAL2=17 -DSE_NUCLEARDAWN=13 -DSE_CSGO=21 -DSE_BMS=10 -DSE_DOTA=22 -DSE_EPISODEONE=1 -DSE_DOI=20 -DSE_CONTAGION=14 -DSE_BLADE=18 -DSE_DODS=8 -DSE_BLOODYGOODTIME=4 -DSOURCE_ENGINE=22 -DCOMPILER_GCC -DX64BITS -DPLATFORM_64BITS -DNO_HOOK_MALLOC -DNO_MALLOC_OVERRIDE -I /home/nshastings/metamod-source/public -I /home/nshastings/metamod-source/build/includes -I /home/nshastings/metamod-source/versionlib -I /home/nshastings/metamod-source/core -I /home/nshastings/metamod-source/core/sourcehook -I /home/nshastings/metamod-source/loader -I /home/nshastings/hl2sdk-dota/public -I /home/nshastings/hl2sdk-dota/public/engine -I /home/nshastings/hl2sdk-dota/public/mathlib -I /home/nshastings/hl2sdk-dota/public/vstdlib -I /home/nshastings/hl2sdk-dota/public/tier0 -I /home/nshastings/hl2sdk-dota/public/tier1 -I /home/nshastings/hl2sdk-dota/public/game/server -I /home/nshastings/hl2sdk-dota/game/shared -I /home/nshastings/hl2sdk-dota/common -H -c /home/nshastings/metamod-source/core/sourcehook/sourcehook_impl_chookidman.cpp -o sourcehook_sourcehook_impl_chookidman.o
[24938] c++ -pipe -fno-strict-aliasing -Wall -Werror -Wno-uninitialized -Wno-unused -Wno-switch -msse -fvisibility=hidden -mfpmath=sse -m64 -fPIC -std=c++11 -fvisibility-inlines-hidden -fno-exceptions -fno-rtti -fno-threadsafe-statics -Wno-non-virtual-dtor -Wno-overloaded-virtual -Wno-delete-non-virtual-dtor -Dstricmp=strcasecmp -D_stricmp=strcasecmp -D_snprintf=snprintf -D_vsnprintf=vsnprintf -DHAVE_STDINT_H -DGNUC -D_LINUX -DPOSIX -D_FILE_OFFSET_BITS=64 -DMMS_USE_VERSIONLIB -DMMS_GENERATED_BUILD -DSE_INSURGENCY=19 -DSE_SDK2013=9 -DSE_DARKMESSIAH=2 -DSE_TF2=11 -DSE_EYE=5 -DSE_LEFT4DEAD2=15 -DSE_ORANGEBOX=3 -DSE_ALIENSWARM=16 -DSE_LEFT4DEAD=12 -DSE_CSS=6 -DSE_HL2DM=7 -DSE_PORTAL2=17 -DSE_NUCLEARDAWN=13 -DSE_CSGO=21 -DSE_BMS=10 -DSE_DOTA=22 -DSE_EPISODEONE=1 -DSE_DOI=20 -DSE_CONTAGION=14 -DSE_BLADE=18 -DSE_DODS=8 -DSE_BLOODYGOODTIME=4 -DSOURCE_ENGINE=22 -DCOMPILER_GCC -DX64BITS -DPLATFORM_64BITS -DNO_HOOK_MALLOC -DNO_MALLOC_OVERRIDE -I /home/nshastings/metamod-source/public -I /home/nshastings/metamod-source/build/includes -I /home/nshastings/metamod-source/versionlib -I /home/nshastings/metamod-source/core -I /home/nshastings/metamod-source/core/sourcehook -I /home/nshastings/metamod-source/loader -I /home/nshastings/hl2sdk-dota/public -I /home/nshastings/hl2sdk-dota/public/engine -I /home/nshastings/hl2sdk-dota/public/mathlib -I /home/nshastings/hl2sdk-dota/public/vstdlib -I /home/nshastings/hl2sdk-dota/public/tier0 -I /home/nshastings/hl2sdk-dota/public/tier1 -I /home/nshastings/hl2sdk-dota/public/game/server -I /home/nshastings/hl2sdk-dota/game/shared -I /home/nshastings/hl2sdk-dota/common -H -c /home/nshastings/metamod-source/core/sourcehook/sourcehook_impl_chookmaninfo.cpp -o sourcehook_sourcehook_impl_chookmaninfo.o
[24942] c++ -pipe -fno-strict-aliasing -Wall -Werror -Wno-uninitialized -Wno-unused -Wno-switch -msse -fvisibility=hidden -mfpmath=sse -m64 -fPIC -std=c++11 -fvisibility-inlines-hidden -fno-exceptions -fno-rtti -fno-threadsafe-statics -Wno-non-virtual-dtor -Wno-overloaded-virtual -Wno-delete-non-virtual-dtor -Dstricmp=strcasecmp -D_stricmp=strcasecmp -D_snprintf=snprintf -D_vsnprintf=vsnprintf -DHAVE_STDINT_H -DGNUC -D_LINUX -DPOSIX -D_FILE_OFFSET_BITS=64 -DMMS_USE_VERSIONLIB -DMMS_GENERATED_BUILD -DSE_INSURGENCY=19 -DSE_SDK2013=9 -DSE_DARKMESSIAH=2 -DSE_TF2=11 -DSE_EYE=5 -DSE_LEFT4DEAD2=15 -DSE_ORANGEBOX=3 -DSE_ALIENSWARM=16 -DSE_LEFT4DEAD=12 -DSE_CSS=6 -DSE_HL2DM=7 -DSE_PORTAL2=17 -DSE_NUCLEARDAWN=13 -DSE_CSGO=21 -DSE_BMS=10 -DSE_DOTA=22 -DSE_EPISODEONE=1 -DSE_DOI=20 -DSE_CONTAGION=14 -DSE_BLADE=18 -DSE_DODS=8 -DSE_BLOODYGOODTIME=4 -DSOURCE_ENGINE=22 -DCOMPILER_GCC -DX64BITS -DPLATFORM_64BITS -DNO_HOOK_MALLOC -DNO_MALLOC_OVERRIDE -I /home/nshastings/metamod-source/public -I /home/nshastings/metamod-source/build/includes -I /home/nshastings/metamod-source/versionlib -I /home/nshastings/metamod-source/core -I /home/nshastings/metamod-source/core/sourcehook -I /home/nshastings/metamod-source/loader -I /home/nshastings/hl2sdk-dota/public -I /home/nshastings/hl2sdk-dota/public/engine -I /home/nshastings/hl2sdk-dota/public/mathlib -I /home/nshastings/hl2sdk-dota/public/vstdlib -I /home/nshastings/hl2sdk-dota/public/tier0 -I /home/nshastings/hl2sdk-dota/public/tier1 -I /home/nshastings/hl2sdk-dota/public/game/server -I /home/nshastings/hl2sdk-dota/game/shared -I /home/nshastings/hl2sdk-dota/common -H -c /home/nshastings/metamod-source/core/gamedll_bridge.cpp -o gamedll_bridge.o
[24941] c++ -pipe -fno-strict-aliasing -Wall -Werror -Wno-uninitialized -Wno-unused -Wno-switch -msse -fvisibility=hidden -mfpmath=sse -m64 -fPIC -std=c++11 -fvisibility-inlines-hidden -fno-exceptions -fno-rtti -fno-threadsafe-statics -Wno-non-virtual-dtor -Wno-overloaded-virtual -Wno-delete-non-virtual-dtor -Dstricmp=strcasecmp -D_stricmp=strcasecmp -D_snprintf=snprintf -D_vsnprintf=vsnprintf -DHAVE_STDINT_H -DGNUC -D_LINUX -DPOSIX -D_FILE_OFFSET_BITS=64 -DMMS_USE_VERSIONLIB -DMMS_GENERATED_BUILD -DSE_INSURGENCY=19 -DSE_SDK2013=9 -DSE_DARKMESSIAH=2 -DSE_TF2=11 -DSE_EYE=5 -DSE_LEFT4DEAD2=15 -DSE_ORANGEBOX=3 -DSE_ALIENSWARM=16 -DSE_LEFT4DEAD=12 -DSE_CSS=6 -DSE_HL2DM=7 -DSE_PORTAL2=17 -DSE_NUCLEARDAWN=13 -DSE_CSGO=21 -DSE_BMS=10 -DSE_DOTA=22 -DSE_EPISODEONE=1 -DSE_DOI=20 -DSE_CONTAGION=14 -DSE_BLADE=18 -DSE_DODS=8 -DSE_BLOODYGOODTIME=4 -DSOURCE_ENGINE=22 -DCOMPILER_GCC -DX64BITS -DPLATFORM_64BITS -DNO_HOOK_MALLOC -DNO_MALLOC_OVERRIDE -I /home/nshastings/metamod-source/public -I /home/nshastings/metamod-source/build/includes -I /home/nshastings/metamod-source/versionlib -I /home/nshastings/metamod-source/core -I /home/nshastings/metamod-source/core/sourcehook -I /home/nshastings/metamod-source/loader -I /home/nshastings/hl2sdk-dota/public -I /home/nshastings/hl2sdk-dota/public/engine -I /home/nshastings/hl2sdk-dota/public/mathlib -I /home/nshastings/hl2sdk-dota/public/vstdlib -I /home/nshastings/hl2sdk-dota/public/tier0 -I /home/nshastings/hl2sdk-dota/public/tier1 -I /home/nshastings/hl2sdk-dota/public/game/server -I /home/nshastings/hl2sdk-dota/game/shared -I /home/nshastings/hl2sdk-dota/common -H -c /home/nshastings/metamod-source/core/vsp_bridge.cpp -o vsp_bridge.o
[24942] c++ -pipe -fno-strict-aliasing -Wall -Werror -Wno-uninitialized -Wno-unused -Wno-switch -msse -fvisibility=hidden -mfpmath=sse -m64 -fPIC -std=c++11 -fvisibility-inlines-hidden -fno-exceptions -fno-rtti -fno-threadsafe-statics -Wno-non-virtual-dtor -Wno-overloaded-virtual -Wno-delete-non-virtual-dtor -Dstricmp=strcasecmp -D_stricmp=strcasecmp -D_snprintf=snprintf -D_vsnprintf=vsnprintf -DHAVE_STDINT_H -DGNUC -D_LINUX -DPOSIX -D_FILE_OFFSET_BITS=64 -DMMS_USE_VERSIONLIB -DMMS_GENERATED_BUILD -DSE_INSURGENCY=19 -DSE_SDK2013=9 -DSE_DARKMESSIAH=2 -DSE_TF2=11 -DSE_EYE=5 -DSE_LEFT4DEAD2=15 -DSE_ORANGEBOX=3 -DSE_ALIENSWARM=16 -DSE_LEFT4DEAD=12 -DSE_CSS=6 -DSE_HL2DM=7 -DSE_PORTAL2=17 -DSE_NUCLEARDAWN=13 -DSE_CSGO=21 -DSE_BMS=10 -DSE_DOTA=22 -DSE_EPISODEONE=1 -DSE_DOI=20 -DSE_CONTAGION=14 -DSE_BLADE=18 -DSE_DODS=8 -DSE_BLOODYGOODTIME=4 -DSOURCE_ENGINE=22 -DCOMPILER_GCC -DX64BITS -DPLATFORM_64BITS -DNO_HOOK_MALLOC -DNO_MALLOC_OVERRIDE -I /home/nshastings/metamod-source/public -I /home/nshastings/metamod-source/build/includes -I /home/nshastings/metamod-source/versionlib -I /home/nshastings/metamod-source/core -I /home/nshastings/metamod-source/core/sourcehook -I /home/nshastings/metamod-source/loader -I /home/nshastings/hl2sdk-dota/public -I /home/nshastings/hl2sdk-dota/public/engine -I /home/nshastings/hl2sdk-dota/public/mathlib -I /home/nshastings/hl2sdk-dota/public/vstdlib -I /home/nshastings/hl2sdk-dota/public/tier0 -I /home/nshastings/hl2sdk-dota/public/tier1 -I /home/nshastings/hl2sdk-dota/public/game/server -I /home/nshastings/hl2sdk-dota/game/shared -I /home/nshastings/hl2sdk-dota/common -H -c /home/nshastings/metamod-source/core/metamod_util.cpp -o metamod_util.o
[24940] c++ -pipe -fno-strict-aliasing -Wall -Werror -Wno-uninitialized -Wno-unused -Wno-switch -msse -fvisibility=hidden -mfpmath=sse -m64 -fPIC -std=c++11 -fvisibility-inlines-hidden -fno-exceptions -fno-rtti -fno-threadsafe-statics -Wno-non-virtual-dtor -Wno-overloaded-virtual -Wno-delete-non-virtual-dtor -Dstricmp=strcasecmp -D_stricmp=strcasecmp -D_snprintf=snprintf -D_vsnprintf=vsnprintf -DHAVE_STDINT_H -DGNUC -D_LINUX -DPOSIX -D_FILE_OFFSET_BITS=64 -DMMS_USE_VERSIONLIB -DMMS_GENERATED_BUILD -DSE_INSURGENCY=19 -DSE_SDK2013=9 -DSE_DARKMESSIAH=2 -DSE_TF2=11 -DSE_EYE=5 -DSE_LEFT4DEAD2=15 -DSE_ORANGEBOX=3 -DSE_ALIENSWARM=16 -DSE_LEFT4DEAD=12 -DSE_CSS=6 -DSE_HL2DM=7 -DSE_PORTAL2=17 -DSE_NUCLEARDAWN=13 -DSE_CSGO=21 -DSE_BMS=10 -DSE_DOTA=22 -DSE_EPISODEONE=1 -DSE_DOI=20 -DSE_CONTAGION=14 -DSE_BLADE=18 -DSE_DODS=8 -DSE_BLOODYGOODTIME=4 -DSOURCE_ENGINE=22 -DCOMPILER_GCC -DX64BITS -DPLATFORM_64BITS -DNO_HOOK_MALLOC -DNO_MALLOC_OVERRIDE -I /home/nshastings/metamod-source/public -I /home/nshastings/metamod-source/build/includes -I /home/nshastings/metamod-source/versionlib -I /home/nshastings/metamod-source/core -I /home/nshastings/metamod-source/core/sourcehook -I /home/nshastings/metamod-source/loader -I /home/nshastings/hl2sdk-dota/public -I /home/nshastings/hl2sdk-dota/public/engine -I /home/nshastings/hl2sdk-dota/public/mathlib -I /home/nshastings/hl2sdk-dota/public/vstdlib -I /home/nshastings/hl2sdk-dota/public/tier0 -I /home/nshastings/hl2sdk-dota/public/tier1 -I /home/nshastings/hl2sdk-dota/public/game/server -I /home/nshastings/hl2sdk-dota/game/shared -I /home/nshastings/hl2sdk-dota/common -H -c /home/nshastings/metamod-source/core/sourcehook/sourcehook.cpp -o sourcehook_sourcehook.o
[24938] c++ -pipe -fno-strict-aliasing -Wall -Werror -Wno-uninitialized -Wno-unused -Wno-switch -msse -fvisibility=hidden -mfpmath=sse -m64 -fPIC -std=c++11 -fvisibility-inlines-hidden -fno-exceptions -fno-rtti -fno-threadsafe-statics -Wno-non-virtual-dtor -Wno-overloaded-virtual -Wno-delete-non-virtual-dtor -Dstricmp=strcasecmp -D_stricmp=strcasecmp -D_snprintf=snprintf -D_vsnprintf=vsnprintf -DHAVE_STDINT_H -DGNUC -D_LINUX -DPOSIX -D_FILE_OFFSET_BITS=64 -DMMS_USE_VERSIONLIB -DMMS_GENERATED_BUILD -DSE_INSURGENCY=19 -DSE_SDK2013=9 -DSE_DARKMESSIAH=2 -DSE_TF2=11 -DSE_EYE=5 -DSE_LEFT4DEAD2=15 -DSE_ORANGEBOX=3 -DSE_ALIENSWARM=16 -DSE_LEFT4DEAD=12 -DSE_CSS=6 -DSE_HL2DM=7 -DSE_PORTAL2=17 -DSE_NUCLEARDAWN=13 -DSE_CSGO=21 -DSE_BMS=10 -DSE_DOTA=22 -DSE_EPISODEONE=1 -DSE_DOI=20 -DSE_CONTAGION=14 -DSE_BLADE=18 -DSE_DODS=8 -DSE_BLOODYGOODTIME=4 -DSOURCE_ENGINE=22 -DCOMPILER_GCC -DX64BITS -DPLATFORM_64BITS -DNO_HOOK_MALLOC -DNO_MALLOC_OVERRIDE -I /home/nshastings/metamod-source/public -I /home/nshastings/metamod-source/build/includes -I /home/nshastings/metamod-source/versionlib -I /home/nshastings/metamod-source/core -I /home/nshastings/metamod-source/core/sourcehook -I /home/nshastings/metamod-source/loader -I /home/nshastings/hl2sdk-dota/public -I /home/nshastings/hl2sdk-dota/public/engine -I /home/nshastings/hl2sdk-dota/public/mathlib -I /home/nshastings/hl2sdk-dota/public/vstdlib -I /home/nshastings/hl2sdk-dota/public/tier0 -I /home/nshastings/hl2sdk-dota/public/tier1 -I /home/nshastings/hl2sdk-dota/public/game/server -I /home/nshastings/hl2sdk-dota/game/shared -I /home/nshastings/hl2sdk-dota/common -H -c /home/nshastings/metamod-source/core/provider/console.cpp -o provider_console.o
[24939] c++ -pipe -fno-strict-aliasing -Wall -Werror -Wno-uninitialized -Wno-unused -Wno-switch -msse -fvisibility=hidden -mfpmath=sse -m64 -fPIC -std=c++11 -fvisibility-inlines-hidden -fno-exceptions -fno-rtti -fno-threadsafe-statics -Wno-non-virtual-dtor -Wno-overloaded-virtual -Wno-delete-non-virtual-dtor -Dstricmp=strcasecmp -D_stricmp=strcasecmp -D_snprintf=snprintf -D_vsnprintf=vsnprintf -DHAVE_STDINT_H -DGNUC -D_LINUX -DPOSIX -D_FILE_OFFSET_BITS=64 -DMMS_USE_VERSIONLIB -DMMS_GENERATED_BUILD -DSE_INSURGENCY=19 -DSE_SDK2013=9 -DSE_DARKMESSIAH=2 -DSE_TF2=11 -DSE_EYE=5 -DSE_LEFT4DEAD2=15 -DSE_ORANGEBOX=3 -DSE_ALIENSWARM=16 -DSE_LEFT4DEAD=12 -DSE_CSS=6 -DSE_HL2DM=7 -DSE_PORTAL2=17 -DSE_NUCLEARDAWN=13 -DSE_CSGO=21 -DSE_BMS=10 -DSE_DOTA=22 -DSE_EPISODEONE=1 -DSE_DOI=20 -DSE_CONTAGION=14 -DSE_BLADE=18 -DSE_DODS=8 -DSE_BLOODYGOODTIME=4 -DSOURCE_ENGINE=22 -DCOMPILER_GCC -DX64BITS -DPLATFORM_64BITS -DNO_HOOK_MALLOC -DNO_MALLOC_OVERRIDE -I /home/nshastings/metamod-source/public -I /home/nshastings/metamod-source/build/includes -I /home/nshastings/metamod-source/versionlib -I /home/nshastings/metamod-source/core -I /home/nshastings/metamod-source/core/sourcehook -I /home/nshastings/metamod-source/loader -I /home/nshastings/hl2sdk-dota/public -I /home/nshastings/hl2sdk-dota/public/engine -I /home/nshastings/hl2sdk-dota/public/mathlib -I /home/nshastings/hl2sdk-dota/public/vstdlib -I /home/nshastings/hl2sdk-dota/public/tier0 -I /home/nshastings/hl2sdk-dota/public/tier1 -I /home/nshastings/hl2sdk-dota/public/game/server -I /home/nshastings/hl2sdk-dota/game/shared -I /home/nshastings/hl2sdk-dota/common -H -c /home/nshastings/metamod-source/core/provider/provider_ep2.cpp -o provider_provider_ep2.o
[24939] c++ metamod.o metamod_console.o metamod_oslink.o metamod_plugins.o metamod_util.o provider_console.o provider_provider_ep2.o sourcehook_sourcehook.o sourcehook_sourcehook_impl_chookidman.o sourcehook_sourcehook_impl_chookmaninfo.o sourcehook_sourcehook_impl_cproto.o sourcehook_sourcehook_impl_cvfnptr.o gamedll_bridge.o vsp_bridge.o libvstdlib.so libtier0.so -static-libgcc -m64 ../../versionlib/version.x64/libversion.a /home/nshastings/hl2sdk-dota/lib/linux64/tier1.a /home/nshastings/hl2sdk-dota/lib/linux64/interfaces.a -shared -o metamod.2.dota.so
[24939] cp "core/metamod.2.dota.x64/metamod.2.dota.so" "./package/addons/metamod/bin/linux64/metamod.2.dota.so"
Build succeeded.
Hmm, it resolved itself, sorry ¯_(ツ)_/¯ Thanks for the help anyway
Hi, I'm trying to run dota 2 dedicated server with metamod on ubuntu 16.04 (x64) but when i try to start server with metamod added it dies almost immediately with "Segmentation fault (core dumped)" error. If I remove mm binaries server starts without any problems.
I've tried using clean system as well as rebuilding metamod myself (without any errors) with no luck. I'm not too good with linux debugging so I can't track the error myself. Do you have any idea what's going on?
Complete log using WSL (same happens on a real machine):