On Tue, Nov 29, 2016, at 07:15 AM, Barry Flanagan wrote: > On 29 November 2016 at 10:56, Jonathan H <[email protected]> wrote: > > > Any ideas why a VPS, cloned from another instance (DigitalOcean > > "droplets" if it matters), won't run on the new instance? > > > > Everything else is the same; region, memory, disk, hypervisor version etc. > > > > You probably need to select "DONT_OPTIMIZE" in make menuselect under > "Compiler Flags". This is generally required for VPS or any situation > where > the binary might be used on a slightly different CPU.
Close! The compiler flag to disable is BUILD_NATIVE. It instructs GCC to build optimized for the CPU, if the binary is moved to a CPU that differs - it may or may not work depending on how close they are. -- Joshua Colp Digium, Inc. | Senior Software Developer 445 Jan Davis Drive NW - Huntsville, AL 35806 - US Check us out at: www.digium.com & www.asterisk.org -- _____________________________________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- Check out the new Asterisk community forum at: https://community.asterisk.org/ New to Asterisk? Start here: https://wiki.asterisk.org/wiki/display/AST/Getting+Started asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
