Newer libtool breaking libXfont with -Wl, -single_module (Was Re: autoreconf issue with libXfont)

Jeremy Huddleston jeremyhu at freedesktop.org
Mon Feb 2 02:18:27 PST 2009


Ok, after a bit more poking, this seems to be a fairly annoying bug  
with glibtool.

Minimizing any chance of conflict, I have a working build using the  
libtool provided by configure in the tarball, and I have a broken  
build if I replace it with glibtool-1.5.26 after running ./configure.   
The delta between the verbose output of the builds is below.  For  
those not willing to go crosseyed looking for the difference, it's  
just a single -Wl,-single_module being added to the linking in the  
'broken' build.  This is not my area of expertise... so if someone  
could fill me in on why that is winding up in LDFLAGS and why it's  
causing up problems, I'd appreciate it...

--- vanilla.log	2009-02-02 02:08:20.000000000 -0800
+++ libtool1.log	2009-02-02 02:02:01.000000000 -0800
@@ -811,7 +811,9 @@ rm -fr .libs/libXfont.lax/libspeedo.a
  mkdir .libs/libXfont.lax/libspeedo.a
  Extracting /opt/local/var/macports/build/_Users_jeremy_src_macports- 
trunk_dports_x11_xorg-libXfont/work/libXfont-1.3.3/src/Speedo/.libs/ 
libspeedo.a
  (cd .libs/libXfont.lax/libspeedo.a && ar x /opt/local/var/macports/ 
build/_Users_jeremy_src_macports-trunk_dports_x11_xorg-libXfont/work/ 
libXfont-1.3.3/src/Speedo/.libs/libspeedo.a)
-/usr/bin/gcc-4.0 -dynamiclib  -o .libs/libXfont.1.4.1.dylib  .libs/ 
dummy.o  .libs/libXfont.lax/libfontfile.a/bitsource.o .libs/ 
libXfont.lax/libfontfile.a/bufio.o .libs/libXfont.lax/libfontfile.a/ 
catalogue.o .libs/libXfont.lax/libfontfile.a/decompress.o .libs/ 
libXfont.lax/libfontfile.a/defaults.o .libs/libXfont.lax/libfontfile.a/ 
dirfile.o .libs/libXfont.lax/libfontfile.a/ffcheck.o .libs/ 
libXfont.lax/libfontfile.a/fileio.o .libs/libXfont.lax/libfontfile.a/ 
filewr.o .libs/libXfont.lax/libfontfile.a/fontdir.o .libs/libXfont.lax/ 
libfontfile.a/fontencc.o .libs/libXfont.lax/libfontfile.a/ 
fontfile.o .libs/libXfont.lax/libfontfile.a/fontscale.o .libs/ 
libXfont.lax/libfontfile.a/gunzip.o .libs/libXfont.lax/libfontfile.a/ 
printerfont.o .libs/libXfont.lax/libfontfile.a/register.o .libs/ 
libXfont.lax/libfontfile.a/renderers.o  .libs/libXfont.lax/libft.a/ 
ftenc.o .libs/libXfont.lax/libft.a/ftfuncs.o .libs/libXfont.lax/ 
libft.a/fttools.o .libs/libXfont.lax/libft.a/xttcap.o  .libs/ 
libXfont.lax/libbitmap.a/bdfread.o .libs/libXfont.lax/libbitmap.a/ 
bdfutils.o .libs/libXfont.lax/libbitmap.a/bitmap.o .libs/libXfont.lax/ 
libbitmap.a/bitmapfunc.o .libs/libXfont.lax/libbitmap.a/ 
bitmaputil.o .libs/libXfont.lax/libbitmap.a/bitscale.o .libs/ 
libXfont.lax/libbitmap.a/fontink.o .libs/libXfont.lax/libbitmap.a/ 
pcfread.o .libs/libXfont.lax/libbitmap.a/pcfwrite.o .libs/libXfont.lax/ 
libbitmap.a/snfread.o  .libs/libXfont.lax/libbuiltins.a/dir.o .libs/ 
libXfont.lax/libbuiltins.a/file.o .libs/libXfont.lax/libbuiltins.a/ 
fonts.o .libs/libXfont.lax/libbuiltins.a/fpe.o .libs/libXfont.lax/ 
libbuiltins.a/render.o  .libs/libXfont.lax/libfc.a/fsconvert.o .libs/ 
libXfont.lax/libfc.a/fserve.o .libs/libXfont.lax/libfc.a/fsio.o .libs/ 
libXfont.lax/libfc.a/fstrans.o  .libs/libXfont.lax/libutil.a/ 
atom.o .libs/libXfont.lax/libutil.a/fontaccel.o .libs/libXfont.lax/ 
libutil.a/fontnames.o .libs/libXfont.lax/libutil.a/fontutil.o .libs/ 
libXfont.lax/libutil.a/fontxlfd.o .libs/libXfont.lax/libutil.a/ 
format.o .libs/libXfont.lax/libutil.a/miscutil.o .libs/libXfont.lax/ 
libutil.a/patcache.o .libs/libXfont.lax/libutil.a/private.o .libs/ 
libXfont.lax/libutil.a/utilbitmap.o  .libs/libXfont.lax/libstubs.a/ 
cauthgen.o .libs/libXfont.lax/libstubs.a/csignal.o .libs/libXfont.lax/ 
libstubs.a/delfntcid.o .libs/libXfont.lax/libstubs.a/errorf.o .libs/ 
libXfont.lax/libstubs.a/fatalerror.o .libs/libXfont.lax/libstubs.a/ 
findoldfnt.o .libs/libXfont.lax/libstubs.a/fontmod.o .libs/ 
libXfont.lax/libstubs.a/getcres.o .libs/libXfont.lax/libstubs.a/ 
getdefptsize.o .libs/libXfont.lax/libstubs.a/getnewfntcid.o .libs/ 
libXfont.lax/libstubs.a/gettime.o .libs/libXfont.lax/libstubs.a/ 
initfshdl.o .libs/libXfont.lax/libstubs.a/regfpefunc.o .libs/ 
libXfont.lax/libstubs.a/rmfshdl.o .libs/libXfont.lax/libstubs.a/ 
servclient.o .libs/libXfont.lax/libstubs.a/setfntauth.o .libs/ 
libXfont.lax/libstubs.a/stfntcfnt.o .libs/libXfont.lax/libstubs.a/ 
xpstubs.o  .libs/libXfont.lax/libfontcache.a/fontcache.o  .libs/ 
libXfont.lax/libtype1.a/arith.o .libs/libXfont.lax/libtype1.a/ 
curves.o .libs/libXfont.lax/libtype1.a/fontfcn.o .libs/libXfont.lax/ 
libtype1.a/hints.o .libs/libXfont.lax/libtype1.a/lines.o .libs/ 
libXfont.lax/libtype1.a/objects.o .libs/libXfont.lax/libtype1.a/ 
paths.o .libs/libXfont.lax/libtype1.a/regions.o .libs/libXfont.lax/ 
libtype1.a/scanfont.o .libs/libXfont.lax/libtype1.a/spaces.o .libs/ 
libXfont.lax/libtype1.a/t1funcs.o .libs/libXfont.lax/libtype1.a/ 
t1info.o .libs/libXfont.lax/libtype1.a/t1io.o .libs/libXfont.lax/ 
libtype1.a/t1malloc.o .libs/libXfont.lax/libtype1.a/t1snap.o .libs/ 
libXfont.lax/libtype1.a/t1unicode.o .libs/libXfont.lax/libtype1.a/ 
token.o .libs/libXfont.lax/libtype1.a/type1.o .libs/libXfont.lax/ 
libtype1.a/util.o  .libs/libXfont.lax/libspeedo.a/bics-unicode.o .libs/ 
libXfont.lax/libspeedo.a/do_char.o .libs/libXfont.lax/libspeedo.a/ 
do_trns.o .libs/libXfont.lax/libspeedo.a/out_bl2d.o .libs/libXfont.lax/ 
libspeedo.a/out_blk.o .libs/libXfont.lax/libspeedo.a/out_outl.o .libs/ 
libXfont.lax/libspeedo.a/out_scrn.o .libs/libXfont.lax/libspeedo.a/ 
out_util.o .libs/libXfont.lax/libspeedo.a/reset.o .libs/libXfont.lax/ 
libspeedo.a/set_spcs.o .libs/libXfont.lax/libspeedo.a/set_trns.o .libs/ 
libXfont.lax/libspeedo.a/spencode.o .libs/libXfont.lax/libspeedo.a/ 
sperr.o .libs/libXfont.lax/libspeedo.a/spfile.o .libs/libXfont.lax/ 
libspeedo.a/spfont.o .libs/libXfont.lax/libspeedo.a/spfuncs.o .libs/ 
libXfont.lax/libspeedo.a/spglyph.o .libs/libXfont.lax/libspeedo.a/ 
spinfo.o   -L/opt/local/lib /opt/local/lib/libfreetype.dylib /opt/ 
local/lib/libz.dylib -lz -lm /opt/local/lib/libfontenc.dylib  -Wl,- 
flat_namespace -Wl,-framework -Wl,CoreServices -Wl,-framework - 
Wl,ApplicationServices -install_name  /opt/local/lib/libXfont.1.dylib - 
compatibility_version 6 -current_version 6.1
+/usr/bin/gcc-4.0 -dynamiclib  -o .libs/libXfont.1.4.1.dylib  .libs/ 
dummy.o  .libs/libXfont.lax/libfontfile.a/bitsource.o .libs/ 
libXfont.lax/libfontfile.a/bufio.o .libs/libXfont.lax/libfontfile.a/ 
catalogue.o .libs/libXfont.lax/libfontfile.a/decompress.o .libs/ 
libXfont.lax/libfontfile.a/defaults.o .libs/libXfont.lax/libfontfile.a/ 
dirfile.o .libs/libXfont.lax/libfontfile.a/ffcheck.o .libs/ 
libXfont.lax/libfontfile.a/fileio.o .libs/libXfont.lax/libfontfile.a/ 
filewr.o .libs/libXfont.lax/libfontfile.a/fontdir.o .libs/libXfont.lax/ 
libfontfile.a/fontencc.o .libs/libXfont.lax/libfontfile.a/ 
fontfile.o .libs/libXfont.lax/libfontfile.a/fontscale.o .libs/ 
libXfont.lax/libfontfile.a/gunzip.o .libs/libXfont.lax/libfontfile.a/ 
printerfont.o .libs/libXfont.lax/libfontfile.a/register.o .libs/ 
libXfont.lax/libfontfile.a/renderers.o  .libs/libXfont.lax/libft.a/ 
ftenc.o .libs/libXfont.lax/libft.a/ftfuncs.o .libs/libXfont.lax/ 
libft.a/fttools.o .libs/libXfont.lax/libft.a/xttcap.o  .libs/ 
libXfont.lax/libbitmap.a/bdfread.o .libs/libXfont.lax/libbitmap.a/ 
bdfutils.o .libs/libXfont.lax/libbitmap.a/bitmap.o .libs/libXfont.lax/ 
libbitmap.a/bitmapfunc.o .libs/libXfont.lax/libbitmap.a/ 
bitmaputil.o .libs/libXfont.lax/libbitmap.a/bitscale.o .libs/ 
libXfont.lax/libbitmap.a/fontink.o .libs/libXfont.lax/libbitmap.a/ 
pcfread.o .libs/libXfont.lax/libbitmap.a/pcfwrite.o .libs/libXfont.lax/ 
libbitmap.a/snfread.o  .libs/libXfont.lax/libbuiltins.a/dir.o .libs/ 
libXfont.lax/libbuiltins.a/file.o .libs/libXfont.lax/libbuiltins.a/ 
fonts.o .libs/libXfont.lax/libbuiltins.a/fpe.o .libs/libXfont.lax/ 
libbuiltins.a/render.o  .libs/libXfont.lax/libfc.a/fsconvert.o .libs/ 
libXfont.lax/libfc.a/fserve.o .libs/libXfont.lax/libfc.a/fsio.o .libs/ 
libXfont.lax/libfc.a/fstrans.o  .libs/libXfont.lax/libutil.a/ 
atom.o .libs/libXfont.lax/libutil.a/fontaccel.o .libs/libXfont.lax/ 
libutil.a/fontnames.o .libs/libXfont.lax/libutil.a/fontutil.o .libs/ 
libXfont.lax/libutil.a/fontxlfd.o .libs/libXfont.lax/libutil.a/ 
format.o .libs/libXfont.lax/libutil.a/miscutil.o .libs/libXfont.lax/ 
libutil.a/patcache.o .libs/libXfont.lax/libutil.a/private.o .libs/ 
libXfont.lax/libutil.a/utilbitmap.o  .libs/libXfont.lax/libstubs.a/ 
cauthgen.o .libs/libXfont.lax/libstubs.a/csignal.o .libs/libXfont.lax/ 
libstubs.a/delfntcid.o .libs/libXfont.lax/libstubs.a/errorf.o .libs/ 
libXfont.lax/libstubs.a/fatalerror.o .libs/libXfont.lax/libstubs.a/ 
findoldfnt.o .libs/libXfont.lax/libstubs.a/fontmod.o .libs/ 
libXfont.lax/libstubs.a/getcres.o .libs/libXfont.lax/libstubs.a/ 
getdefptsize.o .libs/libXfont.lax/libstubs.a/getnewfntcid.o .libs/ 
libXfont.lax/libstubs.a/gettime.o .libs/libXfont.lax/libstubs.a/ 
initfshdl.o .libs/libXfont.lax/libstubs.a/regfpefunc.o .libs/ 
libXfont.lax/libstubs.a/rmfshdl.o .libs/libXfont.lax/libstubs.a/ 
servclient.o .libs/libXfont.lax/libstubs.a/setfntauth.o .libs/ 
libXfont.lax/libstubs.a/stfntcfnt.o .libs/libXfont.lax/libstubs.a/ 
xpstubs.o  .libs/libXfont.lax/libfontcache.a/fontcache.o  .libs/ 
libXfont.lax/libtype1.a/arith.o .libs/libXfont.lax/libtype1.a/ 
curves.o .libs/libXfont.lax/libtype1.a/fontfcn.o .libs/libXfont.lax/ 
libtype1.a/hints.o .libs/libXfont.lax/libtype1.a/lines.o .libs/ 
libXfont.lax/libtype1.a/objects.o .libs/libXfont.lax/libtype1.a/ 
paths.o .libs/libXfont.lax/libtype1.a/regions.o .libs/libXfont.lax/ 
libtype1.a/scanfont.o .libs/libXfont.lax/libtype1.a/spaces.o .libs/ 
libXfont.lax/libtype1.a/t1funcs.o .libs/libXfont.lax/libtype1.a/ 
t1info.o .libs/libXfont.lax/libtype1.a/t1io.o .libs/libXfont.lax/ 
libtype1.a/t1malloc.o .libs/libXfont.lax/libtype1.a/t1snap.o .libs/ 
libXfont.lax/libtype1.a/t1unicode.o .libs/libXfont.lax/libtype1.a/ 
token.o .libs/libXfont.lax/libtype1.a/type1.o .libs/libXfont.lax/ 
libtype1.a/util.o  .libs/libXfont.lax/libspeedo.a/bics-unicode.o .libs/ 
libXfont.lax/libspeedo.a/do_char.o .libs/libXfont.lax/libspeedo.a/ 
do_trns.o .libs/libXfont.lax/libspeedo.a/out_bl2d.o .libs/libXfont.lax/ 
libspeedo.a/out_blk.o .libs/libXfont.lax/libspeedo.a/out_outl.o .libs/ 
libXfont.lax/libspeedo.a/out_scrn.o .libs/libXfont.lax/libspeedo.a/ 
out_util.o .libs/libXfont.lax/libspeedo.a/reset.o .libs/libXfont.lax/ 
libspeedo.a/set_spcs.o .libs/libXfont.lax/libspeedo.a/set_trns.o .libs/ 
libXfont.lax/libspeedo.a/spencode.o .libs/libXfont.lax/libspeedo.a/ 
sperr.o .libs/libXfont.lax/libspeedo.a/spfile.o .libs/libXfont.lax/ 
libspeedo.a/spfont.o .libs/libXfont.lax/libspeedo.a/spfuncs.o .libs/ 
libXfont.lax/libspeedo.a/spglyph.o .libs/libXfont.lax/libspeedo.a/ 
spinfo.o   -L/opt/local/lib /opt/local/lib/libfreetype.dylib /opt/ 
local/lib/libz.dylib -lz -lm /opt/local/lib/libfontenc.dylib  -Wl,- 
flat_namespace -Wl,-framework -Wl,CoreServices -Wl,-framework - 
Wl,ApplicationServices -install_name  /opt/local/lib/libXfont.1.dylib - 
compatibility_version 6 -current_version 6.1 -Wl,-single_module
+dsymutil .libs/libXfont.1.4.1.dylib || :
+warning: no debug map in executable (-arch ppc)
  (cd .libs && rm -f libXfont.1.dylib && ln -s libXfont.1.4.1.dylib  
libXfont.1.dylib)
  (cd .libs && rm -f libXfont.dylib && ln -s libXfont.1.4.1.dylib  
libXfont.dylib)
  rm -fr .libs/libXfont.lax



On Feb 2, 2009, at 01:17, Jeremy Huddleston wrote:

> So this is a bit odd... I'm found an issue with libXfont that is
> making me a bit nuts.  I think it's probably related to libtool,
> autoconf, or automake... I wanted to see if anyone has seen something
> similar...
>
> When starting the server, it immediately dies because it can't find
> fonts:
>
> Could not init font path element /opt/local/share/fonts/misc/,
> removing from list!
>
> BUT the font cache is correct.  Rebuilding libXfont-1.3.3 from the
> distributed tarball gets us a working server.  Doing 'autoreconf -fvi'
> before rebuilding libXfont-1.3.3 triggers this bug.
>
> ??? Anyone got a clue-stick?
>
>
> _______________________________________________
> xorg mailing list
> xorg at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/xorg




More information about the xorg mailing list