AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Coding MM:S Plugins & SM Extensions (https://forums.alliedmods.net/forumdisplay.php?f=75)
-   -   Solved Compiling SM build succeeds but build does not load or error. (Ubuntu 18.04) (https://forums.alliedmods.net/showthread.php?t=311141)

Puppetmaster 10-05-2018 09:37

Compiling SM build succeeds but build does not load or error. (Ubuntu 18.04)
 
Hey everyone,

I rebuilt my build server with ubuntu 18.04 LTS a few weeks ago and have only gotten around to recompiling an optimized version of sourcemod today however when I compile and run ambuild it gets all the way through the build process and says 'Build succeeded.' but when I replace the sourcemod files it does not load.

Running the following gives this in the console:
meta list
Listing 1 plugin:
[01] <FAILED>

I am building via:
python ../configure.py --enable-optimize --sdks csgo
and then ambuild

I have no idea why it is not working now, I did a bit of googling and some people seem to have had issues with GCC7.3 however I would have expected to have seen errors somewhere along the way. Has anyone else experienced anything like this?

psychonic 10-05-2018 10:04

Re: Compiling SM build succeeds but build does not load or error. (Ubuntu 18.04)
 
It's probably not finding tier0/vstdlib due to the linking order bug with GCC. Manually using the meta load command should give a more specific error, or you can check for that issue with ldd. If that is the issue, easiest workaround is to just build with Clang. That's what we use for the first-party builds.


All times are GMT -4. The time now is 16:18.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.