On 11/3/2013 7:58 PM, Alexander Hansen wrote:
> I wanted to update gnuplot (other than gnuplot-minimal) to use gd3
> instead of gd2, but I ran into this problem testing gd3 on 10.6/i386:
>
> ...
> libtool: link: gcc -std=gnu99 -dynamiclib  -o .libs/libgd.3.dylib
> .libs/gd.o .libs/gd_color.o .libs/gd_color_map.o .libs/gd_transform.o
> .libs/gdfx.o .libs/gd_security.o .libs/gd_gd.o .libs/gd_gd2.o
> .libs/gd_io.o .libs/gd_io_dp.o .libs/gd_gif_in.o .libs/gd_gif_out.o
> .libs/gd_io_file.o .libs/gd_io_ss.o .libs/gd_jpeg.o .libs/gd_png.o
> .libs/gd_ss.o .libs/gd_topal.o .libs/gd_wbmp.o .libs/gdcache.o
> .libs/gdfontg.o .libs/gdfontl.o .libs/gdfontmb.o .libs/gdfonts.o
> .libs/gdfontt.o .libs/gdft.o .libs/gdhelpers.o .libs/gdkanji.o
> .libs/gdtables.o .libs/gdxpm.o .libs/wbmp.o .libs/gd_filter.o
> .libs/gd_nnquant.o .libs/gd_rotate.o .libs/gd_matrix.o
> .libs/gd_interpolation.o .libs/gd_crop.o .libs/webpimg.o .libs/gd_webp.o
> .libs/gd_tiff.o .libs/gd_tga.o .libs/gd_bmp.o .libs/gd_xbm.o
> .libs/gd_color_match.o   -L/sw/lib -L/usr/X11/lib /sw/lib/libiconv.dylib
> /sw/lib/libjpeg.dylib -lz /sw/lib/libpng16.dylib
> /sw/lib/freetype219/lib/libfreetype.dylib
> /sw/lib/fontconfig2/lib/libfontconfig.dylib -lXpm -lX11 -lvpx
> /sw/lib/libtiff.dylib    -pthread -install_name /sw/lib/libgd.3.dylib
> -compatibility_version 4 -current_version 4.0 -Wl,-single_module
> ld: absolute addressing (perhaps -mdynamic-no-pic) used in
> _vp8_dequant_idct_add_mmx from /sw/lib/libvpx.a(dequantize_mmx.asm.o)
> not allowed in slidable image. Use '-read_only_relocs suppress' to
> enable text relocs
> ...
>
> I _guess_ I could allow the 10.6 and 10.7+ packaging to diverge.

The only things I could find about this points to the use of PIC code, 
but it seems that the changes would have to be done in libvpx.  None of 
the possible flags (-read_only_relocs suppress, -mdynamic-no-pic, using 
ld_classic) mentioned in online posts (most about 5-6 years old) fixed 
the 10.6/i386 build here.  I'll happily welcome suggestions to try.

Hanspeter


------------------------------------------------------------------------------
Android is increasing in popularity, but the open development platform that
developers love is also attractive to malware creators. Download this white
paper to learn more about secure code signing practices that can help keep
Android apps secure.
http://pubads.g.doubleclick.net/gampad/clk?id=65839951&iu=/4140/ostg.clktrk
_______________________________________________
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.apple.fink.devel
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-devel

Reply via email to