public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "howarth at nitro dot med.uc.edu" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/47558] 163267 breaks exception traceback in xplor-nih
Date: Tue, 01 Feb 2011 15:12:00 -0000	[thread overview]
Message-ID: <bug-47558-4-dmuuc4LPQM@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-47558-4@http.gcc.gnu.org/bugzilla/>

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47558

--- Comment #15 from Jack Howarth <howarth at nitro dot med.uc.edu> 2011-02-01 15:11:51 UTC ---
DYLD_LIBRARY_PATH is unset when xplor is started. Also remember that your test
case in comment 9 is insufficient to reproduce the behavior of xplor-nih. The
code calling the unwinder should be placed in a shared library and then called
from a main program. I don't see anything in the following linkages which
should cause a problem.

gcc -fdefault-integer-8 -dynamiclib -o libfft.dylib dsint.o dsinti.o dcfftf.o
dcfftb.o dcffti.o drffti.o drfftf.o drfftb.o zffti.o zfftf.o zfftb.o ctrans.o
zfft1d.o zfft2d.o zfft3d.o ftrans.o zmp_fft.o zscal_fft.o zprod_fft.o fft_ftn.o
-flat_namespace -undefined suppress -single_module    -lcrypto -lblas 

gcc -fdefault-integer-8 -dynamiclib -o libpppack.dylib cubspl.o ppvalu.o
intdy.o xerrwv.o -flat_namespace -undefined suppress -single_module    -lcrypto 

gcc -fdefault-integer-8 -dynamiclib -o libspecfun.dylib gamma.o rjbesl.o
ribesl.o -flat_namespace -undefined suppress -single_module    -lcrypto 

g++ -dynamiclib -fdefault-integer-8 -flat_namespace -undefined suppress
-single_module dpApi.o vmd.o vmdInter.o tclStream.o dpStream.o ssStream.o
publicVMDInter.o thread.o -o libvmd.dylib    -lcrypto

g++ -dynamiclib -fdefault-integer-8 -flat_namespace -undefined suppress
-single_module dinternal.o dint-atom.o dint-node.o dint-loop.o dint-step.o
dint-powell.o dint-conmin.o dint-simplex.o dint-pc6.o dint-xplor.o publicIVM.o
-o libintVar.dylib    -lcrypto
-L/Users/howarth/xplor-nih-2.27/bin.Darwin_10_x86_64/ -llapack -lblas  

g++ -dynamiclib -fdefault-integer-8 -flat_namespace -undefined suppress
-single_module maketables.o get.o study.o pcre.o -o libpcre.dylib    -lcrypto

g++ -dynamiclib -fdefault-integer-8 -flat_namespace -undefined suppress
-single_module simulation.o xplorSimulation.o xplorWrap.o atom.o atomSel.o
atomSelAction.o derivList.o pdbTool.o ensembleSimulation.o simulationWorld.o
xplorPot.o mmapAlloc.o semaphore.o mutex-sem.o randomNum.o potList.o avePot.o
modified.o enumNameMap.o dihedral.o ensemblePot.o xplorWrapProc.o
coordComparer.o atomSelLang.o atomSelLangYacc.o mmapMalloc.o -o libcommon.dylib
   -lcrypto -L/Users/howarth/xplor-nih-2.27/bin.Darwin_10_x86_64/ -lpcre
-llapack -lblas 

g++ -dynamiclib -fdefault-integer-8 -flat_namespace -undefined suppress
-single_module surf.o io.o compute.o dual.o utils.o lp.o chull.o tessel_cases.o
tessel_patches.o tessel_convex.o tessel_concave.o tessel_torus.o surfDiff.o -o
libsurfD.dylib    -lcrypto
-L/Users/howarth/xplor-nih-2.27/bin.Darwin_10_x86_64/ -lspecfun -llapack -lblas 

g++ -dynamiclib -fdefault-integer-8 -flat_namespace -undefined suppress
-single_module noePot.o atomProb.o rdcPot1.o csaPot.o jCoupPot.o shapePot.o
atomDensity.o probDistPot.o cosRatioPot.o ncsPot.o prePot.o rdcWavePot.o
varTensor.o surfaceArea.o psolPot.o orderPot.o posRMSDPot.o utils.o
posSymmPot.o sphereFun.o volume.o planeDistPot.o selNBPot.o gyrPot.o
cstMagPot.o diffPot.o relaxRatioPot.o distSymmPot.o sardcPot.o
surfTessellation.o torsionDBPot.o nbTargetPot.o solnScatPot.o -o
libnmrPot.dylib    -lcrypto
-L/Users/howarth/xplor-nih-2.27/bin.Darwin_10_x86_64/ -lspecfun -lsurfD
-llapack -lblas 

g++ -dynamiclib -fdefault-integer-8 -flat_namespace -undefined suppress
-single_module PeakAssignment.o Peak.o MarvinNOEPotential.o ShiftAssignment.o
EquivPeakAssignmentSet.o -o libmarvin.dylib    -lcrypto

gcc -fdefault-integer-8 -dynamiclib -o libxplor.dylib xfft.o xdofft.o
dtorsion.o rotman.o array.o genic.o prot.o tsearch.o xmwrite.o carb.o csa.o
geomty.o psfio.o update.o xparse.o hbonds.o usersb.o xpeakpik.o corman.o
hbuild.o rotate.o util.o coup.o initia.o rotlsq.o vcorr.o xpred.o cstack.o
intcor.o vcorrfft.o xprobab.o cstran.o matrix.o rsearch.o vector.o xprox.o
distan.o mmdisg.o rtfio.o xasymm.o xreduce.o drigid.o modes.o rxconv.o
xdeclare.o xrefin.o mrigid.o rxprin.o xdo.o xrmani.o dynamc.o nbonds.o rxrefi.o
xropti.o dynanl.o ncs.o rxsetu.o xdofried.o xscale.o noe.o sbound.o xdohelp.o
xsfsele.o dynlng.o onebond.o segmnt.o xfalgebra.o xshow.o eangle.o packing.o
selrpn.o xsigmaa.o ebond.o parmio.o parser.o xmalgebra.o xskel.o enbond.o
shake.o xmask.o xstats.o energy.o pick.o sort.o xmaverage.o xsymm.o etor.o
plane.o string.o xmphisto.o xtarget.o expression.o powell.o surfac.o xmpsele.o
fastnb.o power.o test.o xmread.o collapse_rgyr.o xrama.o trio_faster_newderiv.o
susc_anis.o rama_gaussians.o orientations.o xdipolar_coup.o diff_anis.o
anisotropy.o angledb.o vectangl.o fantacross.o fantalin.o xangle.o xccr.o
xfantaccr.o xfantadipo.o xdipo_pcs.o xdipo_rdc.o xt1dist.o hbdb.o saxs.o pcsa.o
ss_orient.o xadc.o hb_dist_angle.o aria.o ariman.o ariass.o aribac.o arical.o
arivio.o bonded.o ace.o pmag.o tens_dip_e2.o tenso.o slink.o fxrefin.o
fxparse.o fwrite.o pxrefin.o pxtarget.o fxmap.o pxparse.o pxmani.o xmap.o
zpacking.o ppacking.o fenergy.o sebond.o seangl.o setor.o darwin64time.o
osx_x86_64.o -flat_namespace -undefined suppress -single_module    -lcrypto 
-L/Users/howarth/dist/lib -lgfortran -llapack -lblas  -lblas
-L/Users/howarth/xplor-nih-2.27/bin.Darwin_10_x86_64/ 

gcc -fdefault-integer-8 -dynamiclib -o libxplorCmd.dylib coorio.o dynio.o
xplorFunc.o ps300.o python_stubs.o tcl_stubs.o ccalls.o cnshelp.o i1mach.o
-flat_namespace -undefined suppress -single_module    -lcrypto 
-L/Users/howarth/dist/lib -lgfortran -llapack -lblas  -lblas
-L/Users/howarth/xplor-nih-2.27/bin.Darwin_10_x86_64/ 
-L/Users/howarth/dist/lib -lgfortran -llapack -lblas  -lblas    -lcrypto 
-L/Users/howarth/dist/lib -lgfortran -llapack -lblas  -lblas
-L/Users/howarth/xplor-nih-2.27/bin.Darwin_10_x86_64/ 

gcc -o xplor xplor.o  \
       \
      -L. -lxplorCmd -lxplor
-L/Users/howarth/xplor-nih-2.27/bin.Darwin_10_x86_64/ -lfft -lintVar -lvmd
-lnmrPot -lcommon -lmarvin  \
         -lcrypto  -L/Users/howarth/dist/lib -lgfortran -llapack -lblas  -lblas
-L/Users/howarth/xplor-nih-2.27/bin.Darwin_10_x86_64/ \

As for DYLD_LIBRARY_PATH, changing...


+++ xplor    2011-02-01 10:04:59.000000000 -0500
@@ -89,6 +89,8 @@

 if [ `uname` = "Darwin" ]; then
     LD_LIBPATH_VAR=DYLD_LIBRARY_PATH
+    echo "DYLD_LIBRARY_PATH = ",$DYLD_LIBRARY_PATH
+    echo "PATH = ",$PATH
 fi

 if [ "$LD_LIBRARYN32_PATH" != "" -a `uname` = "IRIX64" ]; then

shows...

DYLD_LIBRARY_PATH = ,
PATH =
,/usr/bin:/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/opt/X11/bin:/usr/X11/bin

Perhaps r163267 is fragile to certain combination of linker flags (like
-flat_namespace)?


  parent reply	other threads:[~2011-02-01 15:12 UTC|newest]

Thread overview: 69+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-01-31 22:18 [Bug target/47558] New: " howarth at nitro dot med.uc.edu
2011-02-01  0:14 ` [Bug target/47558] " howarth at nitro dot med.uc.edu
2011-02-01  0:32 ` howarth at nitro dot med.uc.edu
2011-02-01  3:55 ` howarth at nitro dot med.uc.edu
2011-02-01  4:02 ` howarth at nitro dot med.uc.edu
2011-02-01  6:10 ` howarth at nitro dot med.uc.edu
2011-02-01  9:09 ` iains at gcc dot gnu.org
2011-02-01 13:25 ` iains at gcc dot gnu.org
2011-02-01 13:52 ` howarth at nitro dot med.uc.edu
2011-02-01 13:53 ` howarth at nitro dot med.uc.edu
2011-02-01 13:56 ` howarth at nitro dot med.uc.edu
2011-02-01 14:37 ` iains at gcc dot gnu.org
2011-02-01 15:12 ` howarth at nitro dot med.uc.edu [this message]
2011-02-01 15:26 ` iains at gcc dot gnu.org
2011-02-01 15:50 ` iains at gcc dot gnu.org
2011-02-01 15:57 ` iains at gcc dot gnu.org
2011-02-01 15:59 ` howarth at nitro dot med.uc.edu
2011-02-01 16:32 ` iains at gcc dot gnu.org
2011-02-01 16:40 ` iains at gcc dot gnu.org
2011-02-01 17:05 ` howarth at nitro dot med.uc.edu
2011-02-01 18:07 ` iains at gcc dot gnu.org
2011-02-01 18:51 ` iains at gcc dot gnu.org
2011-02-01 19:56 ` howarth at nitro dot med.uc.edu
2011-02-01 20:33 ` iains at gcc dot gnu.org
2011-02-01 20:57 ` howarth at nitro dot med.uc.edu
2011-02-01 21:27 ` howarth at nitro dot med.uc.edu
2011-02-01 23:53 ` iains at gcc dot gnu.org
2011-02-02  2:23 ` howarth at nitro dot med.uc.edu
2011-02-02  2:55 ` howarth at nitro dot med.uc.edu
2011-02-02  9:13 ` iains at gcc dot gnu.org
2011-02-03 13:57 ` howarth at nitro dot med.uc.edu
2011-02-03 14:21 ` iains at gcc dot gnu.org
2011-02-03 14:29 ` iains at gcc dot gnu.org
2011-02-04  0:30 ` howarth at nitro dot med.uc.edu
2011-02-04  0:44 ` mikestump at comcast dot net
2011-02-04  1:20 ` howarth at nitro dot med.uc.edu
2011-02-04  1:31 ` howarth at nitro dot med.uc.edu
2011-02-04  1:47 ` howarth at nitro dot med.uc.edu
2011-02-04  2:40 ` howarth at nitro dot med.uc.edu
2011-02-04  3:17 ` howarth at nitro dot med.uc.edu
2011-02-04  3:24 ` howarth at nitro dot med.uc.edu
2011-02-04  4:48 ` howarth at nitro dot med.uc.edu
2011-02-04  4:59 ` howarth at nitro dot med.uc.edu
2011-02-04  5:42 ` howarth at nitro dot med.uc.edu
2011-02-04  5:44 ` howarth at nitro dot med.uc.edu
2011-02-04  5:53 ` howarth at nitro dot med.uc.edu
2011-02-04 10:21 ` iains at gcc dot gnu.org
2011-02-04 10:53 ` iains at gcc dot gnu.org
2011-02-04 10:57 ` iains at gcc dot gnu.org
2011-02-04 11:02 ` howarth at nitro dot med.uc.edu
2011-02-04 11:26 ` iains at gcc dot gnu.org
2011-02-04 12:02 ` howarth at nitro dot med.uc.edu
2011-02-04 12:32 ` howarth at nitro dot med.uc.edu
2011-02-04 15:11 ` howarth at nitro dot med.uc.edu
2011-02-04 15:16 ` howarth at nitro dot med.uc.edu
2011-02-05 12:22 ` iains at gcc dot gnu.org
2011-02-05 18:40 ` howarth at nitro dot med.uc.edu
2011-02-05 18:57 ` iains at gcc dot gnu.org
2011-02-05 19:04 ` howarth at nitro dot med.uc.edu
2011-02-05 19:23 ` dominiq at lps dot ens.fr
2011-02-07 20:49 ` mrs at gcc dot gnu.org
2011-02-07 20:53 ` iains at gcc dot gnu.org
2011-02-07 20:56 ` dominiq at lps dot ens.fr
2011-02-07 21:49 ` mrs at gcc dot gnu.org
2011-02-07 22:12 ` mrs at gcc dot gnu.org
2011-02-07 22:27 ` mikestump at comcast dot net
2011-02-07 23:07 ` dominiq at lps dot ens.fr
2011-02-08  3:58 ` mikestump at comcast dot net
2011-02-08  4:22 ` howarth at nitro dot med.uc.edu

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-47558-4-dmuuc4LPQM@http.gcc.gnu.org/bugzilla/ \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).