#303: new ffmpeg includes layout
------------------------+---------------------------------------------------
  Reporter:  kyngchaos  |       Owner:  [email protected]
      Type:  defect     |      Status:  new                      
  Priority:  major      |   Milestone:  6.4.0                    
 Component:  Raster     |     Version:  svn-develbranch6         
Resolution:             |    Keywords:                           
  Platform:  All        |         Cpu:  All                      
------------------------+---------------------------------------------------
Comment (by kyngchaos):

 Ugh, a nasty new wrinkle on the OSX side.  Due to the -mdynamic-no-pic
 flag now used in a default ffmpeg build on OSX, dynamic libraries that
 link the ffmpeg static libs must use the "-read_only_relocs suppress"
 flag.  Programs don't need this flag (I don't know what would happen if
 they did, but it looks like nviz only links the ogsf library and not
 ffmpeg directly).

 Even with this flag, ogsf spits out a zillion warnings about "codegen" in
 the ffmpeg libs.  But at least it links.

 I kind of wonder if the ffmpeg developers intend ffmpeg libs to be linked
 only to programs, and not to other libraries.  From the gcc docs:

 {{{
 -mdynamic-no-pic
     On Darwin and Mac OS X systems, compile code so that it is not
     relocatable, but that its external references are relocatable.  The
     resulting code is suitable for applications, but not shared
     libraries.
 }}}

-- 
Ticket URL: <http://trac.osgeo.org/grass/ticket/303#comment:9>
GRASS GIS <http://grass.osgeo.org>
_______________________________________________
grass-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-dev

Reply via email to