[FFmpeg-trac] #272(avcodec:open): altivec specific code segfaults on ppc when compiled with --enable-pic

FFmpeg trac at avcodec.org
Mon Jun 13 19:26:17 CEST 2011


#272: altivec specific code segfaults on ppc when compiled with --enable-pic
-----------------------+----------------------
Reporter:  kim         |       Owner:
    Type:  defect      |      Status:  open
Priority:  normal      |   Component:  avcodec
 Version:  git-master  |  Resolution:
Keywords:  ppc, PIC    |  Blocked By:
Blocking:              |  Reproduced:  1
Analyzed:  0           |
-----------------------+----------------------

Comment (by cehoyos):

 Apple gcc-4.2 with --enable-pic fails compilation:
 {{{
 $ make
 AS      libavcodec/ppc/fft_altivec_s.o
 libavcodec/ppc/fft_altivec_s.S:747:Parameter syntax error (parameter 2)
 libavcodec/ppc/fft_altivec_s.S:747:Invalid mnemonic 'got(r2)'
 libavcodec/ppc/fft_altivec_s.S:787:Parameter syntax error (parameter 2)
 libavcodec/ppc/fft_altivec_s.S:787:Invalid mnemonic 'got(r2)'
 libavcodec/ppc/fft_altivec_s.S:794:Parameter syntax error (parameter 2)
 libavcodec/ppc/fft_altivec_s.S:794:Invalid mnemonic 'got(r2)'
 libavcodec/ppc/fft_altivec_s.S:1282:Parameter syntax error (parameter 2)
 libavcodec/ppc/fft_altivec_s.S:1282:Invalid mnemonic 'got(r2)'
 libavcodec/ppc/fft_altivec_s.S:1322:Parameter syntax error (parameter 2)
 libavcodec/ppc/fft_altivec_s.S:1322:Invalid mnemonic 'got(r2)'
 libavcodec/ppc/fft_altivec_s.S:1329:Parameter syntax error (parameter 2)
 libavcodec/ppc/fft_altivec_s.S:1329:Invalid mnemonic 'got(r2)'
 make: *** [libavcodec/ppc/fft_altivec_s.o] Error 1
 }}}

-- 
Ticket URL: <https://avcodec.org/trac/ffmpeg/ticket/272#comment:9>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list