#7861: altivec compilation broken starting with gcc 8.3
-------------------------------------+-------------------------------------
             Reporter:  q66          |                     Type:  defect
               Status:  new          |                 Priority:  normal
            Component:  swscale      |                  Version:  git-
             Keywords:  altivec,     |  master
  ppc64, power                       |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
 Starting with gcc 8.3, it is not allowed to use typedefs with the altivec
 vector keyword when this keyword is builtin (e.g. `vector uint32_t`). It
 is necessary to either use the base type (like, `vector unsigned int`) or
 use the `__vector` gcc extension (like, `__vector uint32_t`).

 There's a bunch of recently-added code violating this, such as
 
https://github.com/FFmpeg/FFmpeg/commit/8dd9df9ecd258cff84cef559f16e682949e78e38
 #diff-2177d684d44cafdce18adf016216b747

 This breaks build on powerpc; see gcc documentation for reference
 https://gcc.gnu.org/onlinedocs/gcc-8.3.0/gcc/PowerPC-AltiVec_002fVSX-
 Built-in-Functions.html

 Not sure if other components are affected.

--
Ticket URL: <https://trac.ffmpeg.org/ticket/7861>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
_______________________________________________
FFmpeg-trac mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/ffmpeg-trac

To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".

Reply via email to