https://bugs.llvm.org/show_bug.cgi?id=33458

            Bug ID: 33458
           Summary: Clang can't use libgcc from a gcc compiled with
                    --disable-shared
           Product: clang
           Version: unspecified
          Hardware: PC
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Driver
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]

In a regular gcc installation there is libgcc.a, libgcc_s.so and
libgcc_eh.a.

In a regular link libgcc.a and libgcc_s.so are used.
In a static link libgcc.a and libgcc_eh.a are used.

But when gcc is built with --disable-shared, there is no
libgcc_eh.a. Everything is in libgcc.a.

This means that clang has to know if the gcc installation is static or
not. Currently it assumes it is not.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
[email protected]
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to