Operating System - HP-UX
1833034 Members
2532 Online
110049 Solutions
New Discussion

ld: Unsatisfied symbol _Unwind_** in file ....../libstdc++.a

 
sjjung
Occasional Contributor

ld: Unsatisfied symbol _Unwind_** in file ....../libstdc++.a

I'm trying to build postgis on hp-ux B.11.31 ia64, which requires gcc compatible for c++ 11, geos library and etc.

On building gcc and geos,  make crashes on the errors like this.

ld: Unsatisfied symbol "_Unwind_SetIP" in file /usr/local/ia64/lib/gcc/ia64-hp-hpux11.31/4.7.2/../../../hpux64/libstdc++.a[eh_personality.o]
ld: Unsatisfied symbol "_Unwind_SetGR" in file /usr/local/ia64/lib/gcc/ia64-hp-hpux11.31/4.7.2/../../../hpux64/libstdc++.a[eh_personality.o]
ld: Unsatisfied symbol "_Unwind_GetIP" in file /usr/local/ia64/lib/gcc/ia64-hp-hpux11.31/4.7.2/../../../hpux64/libstdc++.a[eh_personality.o]
ld: Unsatisfied symbol "_Unwind_GetGR" in file /usr/local/ia64/lib/gcc/ia64-hp-hpux11.31/4.7.2/../../../hpux64/libstdc++.a[eh_personality.o]
ld: Unsatisfied symbol "_Unwind_RaiseException" in file /usr/local/ia64/lib/gcc/ia64-hp-hpux11.31/4.7.2/../../../hpux64/libstdc++.a[eh_throw.o]
ld: Unsatisfied symbol "_Unwind_GetRegionStart" in file /usr/local/ia64/lib/gcc/ia64-hp-hpux11.31/4.7.2/../../../hpux64/libstdc++.a[eh_personality.o]
ld: Unsatisfied symbol "_Unwind_Resume" in file example.o
ld: Unsatisfied symbol "_Unwind_GetLanguageSpecificData" in file /usr/local/ia64/lib/gcc/ia64-hp-hpux11.31/4.7.2/../../../hpux64/libstdc++.a[eh_personality.o]
ld: Unsatisfied symbol "_Unwind_DeleteException" in file /usr/local/ia64/lib/gcc/ia64-hp-hpux11.31/4.7.2/../../../hpux64/libstdc++.a[eh_catch.o]
9 errors.
collect2: error: ld returned 1 exit status

 

My gcc version is 4.7.2 currently, and I am trying to install gcc >= 4.9.

How can I solve the Unsatisfied symbol problem?

3 REPLIES 3
PrathibaC
HPE Pro

Re: ld: Unsatisfied symbol _Unwind_** in file ....../libstdc++.a

georgek_1
HPE Pro

Re: ld: Unsatisfied symbol _Unwind_** in file ....../libstdc++.a

Hello  sjjung ;

 

You may refer the issue referred in link as see if that helps.

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61577

 

NOTE: One or more of the links above will take you outside the 
Hewlett Packard Enterprise Web Site, Hewlett Packard Enterprise
does not control and is not responsible for information outside of the Hewlett Packard Enterprise Web Site .



I work at HPE
HPE Support Center offers support for your HPE services and products when and how you need it. Get started with HPE Support Center today.
[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]
Accept or Kudo
Sunitha_Mod
Honored Contributor

Re: ld: Unsatisfied symbol _Unwind_** in file ....../libstdc++.a

Hello @sjjung,

Let us know if you were able to resolve the issue.

If you have no further query and you are satisfied with the answer then kindly mark the topic as Solved so that it is helpful for all community members.