[Bug target/14925] New: libunwind enabled gcc generates incompatible libgcc_s.so.1

hjl at lucon dot org gcc-bugzilla@gcc.gnu.org
Mon Apr 12 17:21:00 GMT 2004


When libunwind is installed on the system, the gcc configure
will enable it automatically by default. As the result, the new
libgcc_s.so.1 is very different and not backward compatible with
the previous libgcc_s.so.1. The new libgcc_s.so.1 depends on
libunwind.so. Many symbols used to defined in libgcc_s.so.1 are
now provided by libunwind.so and unversioned. Anything referencing
those symbols won't work now like:

/usr/lib/gcc-lib/ia64-redhat-linux/3.2.3/adalib//libgnat.so: undefined reference
to `_Unwind_GetRegionStart@GCC_3.0'
/usr/lib/gcc-lib/ia64-redhat-linux/3.2.3/adalib//libgnat.so: undefined reference
to `_Unwind_SetGR@GCC_3.0'
/usr/lib/gcc-lib/ia64-redhat-linux/3.2.3/adalib//libgnat.so: undefined reference
to `_Unwind_GetLanguageSpecificData@GCC_3.0'
/usr/lib/gcc-lib/ia64-redhat-linux/3.2.3/adalib//libgnat.so: undefined reference
to `_Unwind_GetIP@GCC_3.0'
/usr/lib/gcc-lib/ia64-redhat-linux/3.2.3/adalib//libgnat.so: undefined reference
to `_Unwind_GetGR@GCC_3.0'
/usr/lib/gcc-lib/ia64-redhat-linux/3.2.3/adalib//libgnat.so: undefined reference
to `_Unwind_SetIP@GCC_3.0' collect2: ld returned 1 exit status
gnatlink: cannot call /usr/bin/gcc

-- 
           Summary: libunwind enabled gcc generates incompatible
                    libgcc_s.so.1
           Product: gcc
           Version: 3.4.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: target
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: hjl at lucon dot org
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: ia64-unknown-linux-gnu
  GCC host triplet: ia64-unknown-linux-gnu
GCC target triplet: ia64-unknown-linux-gnu


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14925



More information about the Gcc-bugs mailing list