[asterisk-users] Any reason Asterisk won't start without a rebuild on a cloned VPS?
barryf-lists at flanagan.ie
Tue Nov 29 05:25:05 CST 2016
On 29 November 2016 at 11:19, Joshua Colp <jcolp at digium.com> wrote:
> On Tue, Nov 29, 2016, at 07:15 AM, Barry Flanagan wrote:
> > On 29 November 2016 at 10:56, Jonathan H <lardconcepts at gmail.com> 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
> > >
> > 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.
Aya! That'll be the one :-)
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the asterisk-users