Asterisk
  1. Asterisk
  2. ASTERISK-20128

Virtualized asterisk.org 1.8.14.0 no longer runs in a KVM virtualized environment. Compiles without error, but fails with Illegal instruction on launch Regression since 1.8.13.0 Last good 1.8.12.2

    Details

    • Type: Bug Bug
    • Status: Open
    • Severity: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 1.8.13.0, 1.8.14.0
    • Target Release Version/s: None
    • Component/s: .Release/Targets
    • Security Level: None
    • Labels:
      None
    • Environment:
    • Frequency of Occurrence:
      Constant

      Description

      We are running asterisk 1.8.X instances in virtual machines.
      The asterisk virtual machines are running Centos 6.2 and 6.3.
      Kernel of virtual machines is : 2.6.32-279.1.1.el6.x86_64 #1 SMP Tue Jul 10 13:47:21 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux
      KVM Hypervisor / host is a Fedora 16 with the latest kernel : 3.4.4-4.fc16.x86_64 #1 SMP Thu Jul 5 20:01:38 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux
      Hardware is HP ProLiant N40L MicroServer

      Any asterisk version higher than 1.8.12.2 fails with a "illegal instruction" on launch of asterisk.

        Issue Links

          Activity

          Hide
          PowerPBX added a comment - - edited

          I just had this happen again with Asterisk v1.11.4.0 on brand new Intel Xeon hardware using KVM with CentOS 6. I think perhaps the default compile flag is set too aggressively on recent version of Asterisk. Please consider changing this default. I think using -mtune=generic or -mtune=native would be a better choice. -mtune=native corrected the issue for me again.

          Show
          PowerPBX added a comment - - edited I just had this happen again with Asterisk v1.11.4.0 on brand new Intel Xeon hardware using KVM with CentOS 6. I think perhaps the default compile flag is set too aggressively on recent version of Asterisk. Please consider changing this default. I think using -mtune=generic or -mtune=native would be a better choice. -mtune=native corrected the issue for me again.
          Hide
          Tzafrir Cohen added a comment -

          Anybody has performance numbers regarding -march=native vs. -mtune=native on various environments?

          Show
          Tzafrir Cohen added a comment - Anybody has performance numbers regarding -march=native vs. -mtune=native on various environments?
          Hide
          PowerPBX added a comment - - edited

          I added an improvement request to change this default.
          ASTERISK-21967

          Show
          PowerPBX added a comment - - edited I added an improvement request to change this default. ASTERISK-21967
          Hide
          scgm11 added a comment -

          Just to inform with the latest version of Asterisk 10 and Amazon virtual machine on Ubuntu 12.04 same problem

          Show
          scgm11 added a comment - Just to inform with the latest version of Asterisk 10 and Amazon virtual machine on Ubuntu 12.04 same problem
          Hide
          Private Name added a comment -

          I am affected by this bug
          searching I found the issue, and it is described here
          http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52411
          "the asterisk makefile detecting and using incorrect compilation flags

          ifeq ($(OSARCH),linux-gnu)
          ifeq ($(PROC),x86_64)

          1. You must have GCC 3.4 to use k8, otherwise use athlon
          2. PROC=k8
            PROC=nocona
            #PROC=athlon
            endif
            "
          Show
          Private Name added a comment - I am affected by this bug searching I found the issue, and it is described here http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52411 "the asterisk makefile detecting and using incorrect compilation flags ifeq ($(OSARCH),linux-gnu) ifeq ($(PROC),x86_64) You must have GCC 3.4 to use k8, otherwise use athlon PROC=k8 PROC=nocona #PROC=athlon endif "

            People

            • Watchers:
              12 Start watching this issue

              Dates

              • Created:
                Updated:

                Development