GNU Linking issues on XT3 (May 2009)

From Tau Wiki
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#