[llvm-bugs] [Bug 33458] New: Clang can't use libgcc from a gcc compiled with --disable-shared
via llvm-bugs
llvm-bugs at lists.llvm.org
Wed Jun 14 08:38:40 PDT 2017
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: unassignedclangbugs at nondot.org
Reporter: rafael.espindola at gmail.com
CC: llvm-bugs at lists.llvm.org
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20170614/01ef1d9c/attachment.html>
More information about the llvm-bugs
mailing list