Opened 12 years ago
Last modified 12 years ago
#37402 new defect
phantomjs: cc1plus: error: unrecognized command line option "-mavx"
Reported by: | ryandesign (Ryan Carsten Schmidt) | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.1.2 |
Keywords: | snowleopard | Cc: | |
Port: | phantomjs |
Description
While phantomjs 1.8.0 builds on the Lion and Mountain Lion buildbots, it fails to build on the Snow Leopard buildbot:
g++ -c -pipe -mavx -O2 -Wall -W -I../../../mkspecs/macx-g++ -I. -o avx.o avx.cpp cc1plus: error: unrecognized command line option "-mavx"
This was observed with 1.7.0 as well.
Change History (2)
comment:1 Changed 12 years ago by maenuleu@…
comment:2 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)
It's a bug that phantomjs takes your compiler selection into account; it should not; see #36747.
Note: See
TracTickets for help on using
tickets.
I successfully installed phantomjs by using mp-gcc45.
Select compiler:
and install: