-static-libgcc links in libunwind.so.7 even if it isn't used at all:

[EMAIL PROTECTED] tmp]$ cat f.c
int
main ()
{
  return 0;
}
[EMAIL PROTECTED] tmp]$ /usr/gcc-3.4/bin/gcc -static-libgcc f.c
[EMAIL PROTECTED] tmp]$ ./a.out
./a.out: error while loading shared libraries: libunwind.so.7: cannot open 
shared object file: No such file or directory

-- 
           Summary: -static-libgcc links in libunwind.so.7
           Product: gcc
           Version: 3.4.3
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: driver
        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=18153

Reply via email to