[FFmpeg-trac] #7878(build system:new): x86 builds silently generate text-relocations in the binary.

FFmpeg trac at avcodec.org
Wed May 1 23:53:10 EEST 2019


#7878: x86 builds silently generate text-relocations in the binary.
-------------------------------------+-------------------------------------
             Reporter:  dalecurtis   |                    Owner:
                 Type:  defect       |                   Status:  new
             Priority:  wish         |                Component:  build
                                     |  system
              Version:  git-master   |               Resolution:
             Keywords:               |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------

Comment (by dalecurtis):

 Another instance of text relocations are generated if
 BROKEN_RELOCATIONS=0:
   ld.lld: error: can't create dynamic relocation R_386_32 against symbol:
 ff_h264_cabac_tables in readonly segment; recompile object files with
 -fPIC or pass '-Wl,-z,notext' to allow text relocations in the output

 These at least can be removed by setting that flag. I note it here for any
 future reader though.

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


More information about the FFmpeg-trac mailing list