Difference between revisions of "GNU Linking issues on XT3 (May 2009)"
Line 3: | Line 3: | ||
undefined reference to `_Unwind_Resume' | undefined reference to `_Unwind_Resume' | ||
− | We needed -lgcc_eh | + | 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# |
Latest revision as of 20:37, 14 May 2009
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#