[MacPorts] #28873: shogun @0.9.3 build failure

MacPorts noreply at macports.org
Wed May 8 15:18:30 PDT 2013


#28873: shogun @0.9.3 build failure
----------------------------+-------------------------
  Reporter:  tal.yarkoni@…  |      Owner:  jameskyle@…
      Type:  defect         |     Status:  new
  Priority:  Normal         |  Milestone:
 Component:  ports          |    Version:  1.9.2
Resolution:                 |   Keywords:
      Port:  shogun         |
----------------------------+-------------------------

Comment (by kthenriksson@…):

 I don't use shogun and can't comment on whether this is still a problem,
 but if so, the issue is that `gcc -march=native` with a newish machine
 outputs new AVX instructions to the assember, such as `vmovsd`. However,
 the assembler is terribly old, and does not understand those instructions.

 This is likely why jmr could not reproduce, because it is machine
 dependent. Ideally, the solution would be to install a newer assembler,
 but I don't believe it's possible. I can't find any way to install a newer
 version of the GNU assembler.

 Instead, add the flag `-mno-avx` to `CFLAGS` and `CXXFLAGS` any time this
 error occurs. It is unfortunate that this is necessary, because those
 instructions can offer notable performance improvements.

-- 
Ticket URL: <https://trac.macports.org/ticket/28873#comment:8>
MacPorts <http://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list