This fails to link, unfortunately:
[414/488] LINK ./crashpad_database_util
FAILED: crashpad_database_util
g++ -Wl,--as-needed -Wl,-z,noexecstack -pthread -m64 -Wl,-O1 -Wl,--gc-sections -pie -o "./crashpad_database_util" -Wl,--start-group obj/tools/crashpad_database_util.crashpad_database_util.o obj/tools/tool_support.tool_support.o obj/compat/libcompat.a obj/util/libutil.a obj/third_party/mini_chromium/mini_chromium/base/libbase.a -Wl,--end-group -ldl -lz
/gcc-10.3.0/bin/../lib/gcc/x86_64-pc-linux-gnu/10.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: obj/tools/crashpad_database_util.crashpad_database_util.o: in function `std::unique_ptr<crashpad::CrashReportDatabase::NewReport, std::default_delete<crashpad::CrashReportDatabase::NewReport> >::~unique_ptr()':
crashpad_database_util.cc:(.text._ZNSt10unique_ptrIN8crashpad19CrashReportDatabase9NewReportESt14default_deleteIS2_EED2Ev[_ZNSt10unique_ptrIN8crashpad19CrashReportDatabase9NewReportESt14default_deleteIS2_EED5Ev]+0x21): undefined reference to `crashpad::CrashReportDatabase::NewReport::~NewReport()'
/gcc-10.3.0/bin/../lib/gcc/x86_64-pc-linux-gnu/10.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: obj/tools/crashpad_database_util.crashpad_database_util.o: in function `crashpad::(anonymous namespace)::DatabaseUtilMain(int, char**)':
crashpad_database_util.cc:(.text._ZN8crashpad12_GLOBAL__N_116DatabaseUtilMainEiPPc+0x765): undefined reference to `crashpad::CrashReportDatabase::Initialize(base::FilePath const&)'
/gcc-10.3.0/bin/../lib/gcc/x86_64-pc-linux-gnu/10.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: crashpad_database_util.cc:(.text._ZN8crashpad12_GLOBAL__N_116DatabaseUtilMainEiPPc+0x8e4): undefined reference to `crashpad::CrashReportDatabase::Report::Report()'
/gcc-10.3.0/bin/../lib/gcc/x86_64-pc-linux-gnu/10.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: crashpad_database_util.cc:(.text._ZN8crashpad12_GLOBAL__N_116DatabaseUtilMainEiPPc+0xa06): undefined reference to `crashpad::CrashReportDatabase::InitializeWithoutCreating(base::FilePath const&)'
/gcc-10.3.0/bin/../lib/gcc/x86_64-pc-linux-gnu/10.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: crashpad_database_util.cc:(.text._ZN8crashpad12_GLOBAL__N_116DatabaseUtilMainEiPPc+0xa52): undefined reference to `crashpad::Settings::GetClientID(crashpad::UUID*)'
/gcc-10.3.0/bin/../lib/gcc/x86_64-pc-linux-gnu/10.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: crashpad_database_util.cc:(.text._ZN8crashpad12_GLOBAL__N_116DatabaseUtilMainEiPPc+0xb66): undefined reference to `crashpad::Settings::SetLastUploadAttemptTime(long)'
/gcc-10.3.0/bin/../lib/gcc/x86_64-pc-linux-gnu/10.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: crashpad_database_util.cc:(.text._ZN8crashpad12_GLOBAL__N_116DatabaseUtilMainEiPPc+0xd3d): undefined reference to `crashpad::Settings::GetUploadsEnabled(bool*)'
/gcc-10.3.0/bin/../lib/gcc/x86_64-pc-linux-gnu/10.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: crashpad_database_util.cc:(.text._ZN8crashpad12_GLOBAL__N_116DatabaseUtilMainEiPPc+0xdd2): undefined reference to `crashpad::Settings::GetLastUploadAttemptTime(long*)'
/gcc-10.3.0/bin/../lib/gcc/x86_64-pc-linux-gnu/10.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: crashpad_database_util.cc:(.text._ZN8crashpad12_GLOBAL__N_116DatabaseUtilMainEiPPc+0xfd5): undefined reference to `crashpad::Settings::SetUploadsEnabled(bool)'
collect2: error: ld returned 1 exit status
Do I need to convert any other Crashpad modules besides client to a loadable_module? Or are there any other compiler flags I need to specify?