[MacPorts] #45712: xorg-libXt-1.1.4_0 links shared libs with -flat_namespace on Yosemite

MacPorts noreply at macports.org
Sat Nov 1 17:44:03 PDT 2014


#45712: xorg-libXt-1.1.4_0 links shared libs with -flat_namespace on Yosemite
-------------------------+------------------------
  Reporter:  jhowarth@…  |      Owner:  jeremyhu@…
      Type:  defect      |     Status:  new
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:  2.3.2
Resolution:              |   Keywords:
      Port:  xorg-libXt  |
-------------------------+------------------------

Comment (by howarth.at.macports@…):

 As I said before, these packages are already linking -lXm and -lXt in the
 correct order and that is insufficient to inhibit the crashes when libXt
 is rebuilt with -undefined dynamic_lookup

 {{{
 /usr/bin/clang -I/opt/local/include -Os -DBUILD_UNTESTED_NEDIT nedit.o
 file.o menu.o window.o selection.o search.o undo.o shift.o help.o
 preferences.o tags.o userCmds.o shell.o regularExp.o macro.o text.o
 textSel.o textDisp.o textBuf.o textDrag.o server.o highlight.o
 highlightData.o interpret.o parse.o smartIndent.o regexConvert.o rbTree.o
 windowTitle.o calltips.o server_common.o rangeset.o linkdate.o
 ../Microline/XmL/libXmL.a \
          ../Xlt/libXlt.a ../util/libNUtil.a -bind_at_load -L/opt/local/lib
 -Wl,-headerpad_max_install_names -lXm -lXp -lXpm -lXext -lXt -lSM -lICE
 -lX11 -o nedit

 /usr/bin/clang -pipe -O1 -arch x86_64 -I.. -I. -I../T1lib/t1lib -I../Xbae
 -I/opt/local/include -I/opt/local/include main.o plotone.o files.o
 ssdata.o utils.o drawticks.o nonlfit.o lmdif.o as274c.o fit.o fourier.o
 graphs.o graphutils.o setutils.o regionutils.o objutils.o computils.o
 defaults.o params.o draw.o dlmodule.o pars.o missing.o  iofilters.o
 dates.o t1fonts.o device.o dummydrv.o mfdrv.o mifdrv.o psdrv.o pdfdrv.o
 svgdrv.o gd.o rstdrv.o humlik.o mathstuff.o Tab.o motifutils.o compwin.o
 comwin.o eblockwin.o editpwin.o events.o featext.o fileswin.o plotwin.o
 graphappwin.o helpwin.o hotwin.o locatewin.o miscwin.o monwin.o nonlwin.o
 printwin.o ptswin.o regionwin.o setwin.o strwin.o setappwin.o tickwin.o
 worldwin.o fontwin.o xutil.o x11drv.o xmgrace.o -o xmgrace
 -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64
 -L/opt/local/lib   ../Xbae/Xbae/libXbae.a -lXm -lXpm -lXp -lXmu -lXt
 -lXext -lX11  -lSM -lICE  ../cephes/libcephes.a   ../T1lib/libt1.a -lpdf
 -ljpeg -lpng -lz -lm

 /usr/bin/clang -o molmol -I../../tools/include -I../../sg/include
 -I../../include -DMAXINT=INT_MAX -I/opt/local/include -I../.. -O -Wall
 MolMol.o MolInit.o ../../lib/libcip.a ../../lib/libcmd.a ../../lib/libui.a
 ../../lib/libgraph.a ../../lib/libio.a ../../lib/libpu.a
 ../../lib/libcalc.a ../../lib/libprim.a ../../lib/libdata.a
 ../../lib/libattr.a ../../lib/libfileio.a ../../lib/libos.a
 ../../sg/lib/libsg.a ../../tools/lib/libtools.a
 /opt/local/lib/libtiff.dylib /opt/local/lib/libjpeg.dylib
 /opt/local/lib/libpng.dylib /usr/lib/libz.dylib -L/usr/lib
 -L/opt/local/lib -lX11 -lXm -lGLU -lGL
 /System/Library/Frameworks/OpenGL.framework/Libraries/libGL.dylib
 /opt/local/lib/libGLw.dylib -lXmu -lXt -lXp -lXpm -lX11 -lXext -lSM -lICE
 -lm -lc -lmx
 }}}

 My understanding from those archived discussions is that linkage order is
 insufficient to work around this issue. So the question becomes, do we
 want to totally abandon motif by making this change in the absence of any
 proven breakage from over the last 11 years of using -flat_namespace in
 this case?

-- 
Ticket URL: <https://trac.macports.org/ticket/45712#comment:15>
MacPorts <https://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list