GNU Linking issues on XT3 (May 2009)

From Tau Wiki
Revision as of 20:37, 14 May 2009 by Amorris (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

We encountered the following link error on bigben (XT3):

undefined reference to `_Unwind_Resume'

We needed -lgcc_eh added to -lstdc++ in the stub makefile:

#GNU_GFORTRAN#TAU_CXXLIBS_GNU_CNL             = -L$(EXTRADIR)/lib -lstdc++             #ENDIF#

to:

#GNU_GFORTRAN#TAU_CXXLIBS_GNU_CNL             = -L$(EXTRADIR)/lib -lstdc++ -lgcc_eh    #ENDIF#