[MacPorts] #20973: asterisk: src/add.c:1: error: CPU you selected does not support x86-64 instruction set
#20973: asterisk: src/add.c:1: error: CPU you selected does not support x86-64 instruction set -------------------------------------+-------------------------------------- Reporter: ryandesign@… | Owner: mr_bond@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.0 Keywords: | Port: asterisk -------------------------------------+-------------------------------------- On Snow Leopard, which defaults to building with -arch x86_64 on Intel Core 2 Duo processors, building asterisk 1.6.1.1 in parallel (or [ticket:20967 1.6.1.5] in parallel or not) ends with: {{{ src/add.c:1: error: CPU you selected does not support x86-64 instruction set }}} which is of course false. Please see [http://lists.macosforge.org/pipermail/macports- users/2009-August/016413.html this thread on the mailing list]. -- Ticket URL: <http://trac.macports.org/ticket/20973> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20973: asterisk: src/add.c:1: error: CPU you selected does not support x86-64 instruction set -------------------------------------+-------------------------------------- Reporter: ryandesign@… | Owner: mr_bond@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.0 Keywords: | Port: asterisk -------------------------------------+-------------------------------------- Comment(by ryandesign@…): Husam Senussi [http://lists.macosforge.org/pipermail/macports- users/2009-August/016419.html said] he was able to build asterisk 64-bit by setting --host=x86_64-darwin. -- Ticket URL: <http://trac.macports.org/ticket/20973#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20973: asterisk: src/add.c:1: error: CPU you selected does not support x86-64 instruction set -------------------------------------+-------------------------------------- Reporter: ryandesign@… | Owner: mr_bond@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.0 Keywords: | Port: asterisk -------------------------------------+-------------------------------------- Comment(by snc@…): Will check on this fix after fixing the checksums (#20967). -- Ticket URL: <http://trac.macports.org/ticket/20973#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20973: asterisk: src/add.c:1: error: CPU you selected does not support x86-64 instruction set -------------------------------------+-------------------------------------- Reporter: ryandesign@… | Owner: mr_bond@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.0 Keywords: | Port: asterisk -------------------------------------+-------------------------------------- Comment(by snc@…): I had a compilation issue with muted.c where a constant was undefined. This might be a new issue since the stealth update. Can you confirm you have the same problem after doing this in 30 minutes: {{{ sudo port clean --all asterisk sudo port selfupdate sudo port install asterisk }}} -- Ticket URL: <http://trac.macports.org/ticket/20973#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20973: asterisk: src/add.c:1: error: CPU you selected does not support x86-64 instruction set -------------------------------------+-------------------------------------- Reporter: ryandesign@… | Owner: mr_bond@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.0 Keywords: | Port: asterisk -------------------------------------+-------------------------------------- Comment(by ryandesign@…): Replying to [comment:4 snc@…]:
Can you confirm you have the same problem after doing this in 30 minutes: Yes, the problem remains with your revised 1.6.1.1. As noted above, the problem remains with 1.6.1.5 as well.
-- Ticket URL: <http://trac.macports.org/ticket/20973#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20973: asterisk: src/add.c:1: error: CPU you selected does not support x86-64 instruction set -------------------------------------+-------------------------------------- Reporter: ryandesign@… | Owner: mr_bond@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.0 Keywords: | Port: asterisk -------------------------------------+-------------------------------------- Comment(by stefan.van.der.eijk@…): I've managed to build 1.6.1.8 on 10.6.1, with the following configure options: configure.args --without-h323 --without-zaptel --host=x86_64-darwin -- Ticket URL: <http://trac.macports.org/ticket/20973#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20973: asterisk: src/add.c:1: error: CPU you selected does not support x86-64 instruction set -------------------------------------+-------------------------------------- Reporter: ryandesign@… | Owner: mr_bond@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.0 Keywords: | Port: asterisk -------------------------------------+-------------------------------------- Changes (by snc@…): * cc: snc@… (added) Comment: Replying to [comment:6 stefan.van.der.eijk@…]:
I've managed to build 1.6.1.8 on 10.6.1, with the following configure options:
configure.args --without-h323 --without-zaptel --host=x86_64-darwin
Those flags produce a different error for me: {{{ src/add.c:1: error: bad value (x86) for -march= switch src/add.c:1: error: bad value (x86) for -mtune= switch }}} -- Ticket URL: <http://trac.macports.org/ticket/20973#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20973: asterisk: src/add.c:1: error: CPU you selected does not support x86-64 instruction set -------------------------------------+-------------------------------------- Reporter: ryandesign@… | Owner: mr_bond@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.0 Keywords: | Port: asterisk -------------------------------------+-------------------------------------- Comment(by stefan.van.der.eijk@…): Replying to [comment:7 snc@…]:
Replying to [comment:6 stefan.van.der.eijk@…]:
I've managed to build 1.6.1.8 on 10.6.1, with the following configure options:
configure.args --without-h323 --without-zaptel --host=x86_64-darwin
Those flags produce a different error for me: {{{ src/add.c:1: error: bad value (x86) for -march= switch src/add.c:1: error: bad value (x86) for -mtune= switch }}}
Interesting. This doesn't happen on my mac when building asterisk 1.6.1.11, see attachment: https://trac.macports.org/attachment/ticket/20973/asterisk.txt -- Ticket URL: <http://trac.macports.org/ticket/20973#comment:8> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20973: asterisk: src/add.c:1: error: CPU you selected does not support x86-64 instruction set --------------------------------------+------------------------------------- Reporter: ryandesign@… | Owner: mr_bond@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.8.0 Resolution: fixed | Keywords: Port: asterisk | --------------------------------------+------------------------------------- Changes (by jmr@…): * status: new => closed * resolution: => fixed Comment: Seems fine as of 1.6.2.10. -- Ticket URL: <https://trac.macports.org/ticket/20973#comment:9> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts