[asterisk-bugs] [JIRA] (ASTERISK-22931) Impossible to execute Asterisk because if illegal instruction

Matt Jordan (JIRA) noreply at issues.asterisk.org
Fri Dec 6 12:15:03 CST 2013


     [ https://issues.asterisk.org/jira/browse/ASTERISK-22931?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Matt Jordan closed ASTERISK-22931.
----------------------------------

    Resolution: Duplicate

Closing out as a duplicate of ASTERISK-20128.

As noted on that issue, previously Asterisk would pick the wrong CPU architecture which - since it did it 'automatically' - could not be configured or undone. You can deselect {{BUILD_NATIVE}} in menuselect to get Asterisk to not pass {{-march=native}} and use {{CFLAGS}} to otherwise tune the build process. While this may not be ideal, no one has proposed a better patch to the build system to work around this.
                
> Impossible to execute Asterisk because if illegal instruction
> -------------------------------------------------------------
>
>                 Key: ASTERISK-22931
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-22931
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Core/BuildSystem
>    Affects Versions: 11.6.0, 12.0.0-beta2
>         Environment: 2.6.32-358.23.2.el6.x86_64
>            Reporter: Private Name
>            Severity: Blocker
>
> I am affected by this bug. I cannot execute a compilation of asterisk 11 or 12 on Intel Nehalem,
> Searching, I found the issue describe 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

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.asterisk.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira



More information about the asterisk-bugs mailing list