I recently built GCC 4.4.0 on Solaris 2.10 / SPARC. The test results are here http://gcc.gnu.org/ml/gcc-testresults/2009-05/msg02684.html The libstdc++.so that was built has many UNDEF references to symbols corresponding to prior versions of GCC. Why is that so and how do I correct that? I'm trying to build GhostScript 8.64 using this compiler and encountered this error: /usr/local/gcc-4.4.0/lib/gcc/sparc-sun-solaris2.10/4.4.0/../../../libstdc++.so: undefined reference to `_Unwind_GetIPInfo@xxxxxxxxx' On examination, I noticed that the libstdc++.so has many unresolved references to prior versions of GCC, as the screen shot below shows. Summary of test results for libstdc++ (from the link referred above) is === libstdc++ Summary === # of expected passes 5750 # of unexpected successes 2 # of expected failures 80 # of unsupported tests 385 How to fix the libstdc++.so so it does not contain reference to those prior versions of GCC ? Thank you. Best regards Amitava Dutta # -- begin screen shot $ pwd; nm libstdc++.so | fgrep GCC /usr/local/gcc-4.4.0/lib [1514] | 0| 0|FUNC |GLOB |0 |UNDEF |_Unwind_DeleteException@@GCC_3.0 [823] | 0| 0|FUNC |GLOB |0 |UNDEF |_Unwind_GetDataRelBase@@GCC_3.0 [3021] | 0| 0|FUNC |GLOB |0 |UNDEF |_Unwind_GetIPInfo@@GCC_4.2.0 [1838] | 0| 0|FUNC |GLOB |0 |UNDEF |_Unwind_GetLanguageSpecificData@@GCC_3.0 [679] | 0| 0|FUNC |GLOB |0 |UNDEF |_Unwind_GetRegionStart@@GCC_3.0 [3737] | 0| 0|FUNC |GLOB |0 |UNDEF |_Unwind_GetTextRelBase@@GCC_3.0 [2083] | 0| 0|FUNC |GLOB |0 |UNDEF |_Unwind_RaiseException@@GCC_3.0 [4165] | 0| 0|FUNC |GLOB |0 |UNDEF |_Unwind_Resume@@GCC_3.0 [1862] | 0| 0|FUNC |GLOB |0 |UNDEF |_Unwind_Resume_or_Rethrow@@GCC_3.3 [750] | 0| 0|FUNC |GLOB |0 |UNDEF |_Unwind_SetGR@@GCC_3.0 [4306] | 0| 0|FUNC |GLOB |0 |UNDEF |_Unwind_SetIP@@GCC_3.0 [1343] | 0| 0|FUNC |GLOB |0 |UNDEF |__ctzsi2@@GCC_3.4 [3810] | 0| 0|FUNC |WEAK |0 |UNDEF |__deregister_frame_info@@GCC_3.0 [3010] | 0| 0|FUNC |WEAK |0 |UNDEF |__register_frame_info@@GCC_3.0 [3399] | 0| 0|FUNC |GLOB |0 |UNDEF |__udivdi3@@GCC_3.0 [1680] | 0| 0|FUNC |GLOB |0 |UNDEF |__umoddi3@@GCC_3.0 # -- emd screen shot # -- begin screen shot $ pwd; ls -l libstdc++* /usr/local/gcc-4.4.0/lib -rw-r--r-- 1 bin bin 8532598 May 28 11:00 libstdc++.a -rwxr-xr-x 1 bin bin 949 May 28 11:00 libstdc++.la lrwxrwxrwx 1 root root 19 May 28 11:00 libstdc++.so -> libstdc++.so.6.0.11 lrwxrwxrwx 1 root root 19 May 28 11:00 libstdc++.so.6 -> libstdc++.so.6.0.11 -rwxr-xr-x 1 bin bin 4352685 May 28 11:00 libstdc++.so.6.0.11 # -- end screen shot