[MacPorts] #46216: 0049-Enable-SPE-AltiVec-generation

MacPorts noreply at macports.org
Fri Dec 12 09:17:32 PST 2014


#46216: 0049-Enable-SPE-AltiVec-generation
-----------------------------+----------------------
  Reporter:  intermediadc@…  |      Owner:  larryv@…
      Type:  defect          |     Status:  assigned
  Priority:  Normal          |  Milestone:
 Component:  ports           |    Version:
Resolution:                  |   Keywords:
      Port:  gcc49           |
-----------------------------+----------------------

Comment (by intermediadc@…):

 Replying to [comment:1 larryv@…]:
 > That patch only makes a difference with `--target=powerpc-linux`, which
 is not applicable here.
 >
 > Could you elaborate on your problem? What was the last version of
 MacPorts’ GCC that could handle AltiVec?

 Exactly if i try to buid something that need altivec in souces the gcc
 exit with an error

 An example:
 idct_altivec.c:74:5: note: in expansion of macro 'VEC_S16'
      VEC_S16 (13623, 18895, 17799, 16019, 13623, 16019, 17799, 18895);
      ^
 idct_altivec.c:74:5: error: can't convert between vector values of
 different size
 make[4]: *** [libmpeg2arch_la-idct_altivec.lo] Error 1
 make[3]: *** [all-recursive] Error 1
 make[2]: *** [all-recursive] Error 1
 make[1]: *** [all-recursive] Error 1
 make: *** [all] Error 2

 It build without problems with gcc 4.2 and gcc 4.3 and gcc 4.6 from
 macports .

 Sorry i if was thinking the linux patch can help the macports too but was
 the first example where the gcc4.9 fail with altivec that i was find

 Thank you
 Luigi

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


More information about the macports-tickets mailing list