[FFmpeg-trac] #3540(undetermined:new): The asm inline code in function libavcodec/dirac_arith.h:dirac_get_arith_bit with PIC and stack-check build options

FFmpeg trac at avcodec.org
Wed Apr 9 12:37:49 CEST 2014


#3540: The asm inline code in function
libavcodec/dirac_arith.h:dirac_get_arith_bit with PIC and stack-check build
options
----------------------------------+----------------------------------------
             Reporter:  alucowie  |                    Owner:
                 Type:  defect    |                   Status:  new
             Priority:  normal    |                Component:  undetermined
              Version:  1.2.6     |               Resolution:
             Keywords:            |               Blocked By:
             Blocking:            |  Reproduced by developer:  0
Analyzed by developer:  0         |
----------------------------------+----------------------------------------

Comment (by alucowie):

 I use the following configure line:
 {{{
 $ configure --enable-shared --cc=i686-pc-linux-gnu-gcc --cxx=i686-pc-
 linux-gnu-g++ --ar=i686-pc-linux-gnu-ar --optflags='-O2 -march=amdfam10
 -pipe -fstack-check' --enable-pic
 }}}

 If you disassemble your .o file
 {{{
 $ objdump -D libavcodec/diracdec.o  | grep -2 setae
 }}}
 What do you see ? What registers are used on the 4 last lines ?

--
Ticket URL: <https://trac.ffmpeg.org/ticket/3540#comment:4>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list