MCPcopy Create free account
hub / github.com/dmtcp/dmtcp / testStaticallyLinked

Function testStaticallyLinked

src/dmtcp_launch.cpp:686–706  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

684}
685
686void
687testStaticallyLinked(const char *pathname)
688{
689 if (Util::isStaticallyLinked(pathname)) {
690 JASSERT_STDERR <<
691 "*** WARNING: " ELF_INTERPRETER " --verify " << pathname << " returns\n"
692 << "*** nonzero status.\n"
693 << "*** This often means that " << pathname << " is\n"
694 <<
695 "*** a statically linked target. If so, you can confirm this with\n"
696 << "*** the 'file' command.\n"
697 << "*** The standard DMTCP only supports dynamically"
698 << " linked executables.\n"
699 <<
700 "*** If you cannot recompile dynamically, please talk to the"
701 << " developers about a\n"
702 <<
703 "*** custom DMTCP version for statically linked executables.\n"
704 << "*** Proceeding for now, and hoping for the best.\n\n";
705 }
706}
707
708// Test for 'screen' program, argvPtr is an in- and out- parameter
709static bool

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected