div{d,s,x}c3.c contain calls to builtins such as` __builtin_scalbnl`, which Clang turns back into a call to scalbnl.
For now link libm's C version of the required support routines.
Differential D8190
libgcc_s: Add libm dependencies from div* functions emaste on Oct 7 2016, 9:20 PM. Authored by Tags None Referenced Files
Subscribers
Details
div{d,s,x}c3.c contain calls to builtins such as` __builtin_scalbnl`, which Clang turns back into a call to scalbnl. For now link libm's C version of the required support routines.
Diff Detail
Event TimelineComment Actions This is for the shared library used for unwinding, etc., right? Would there be any harm in just linking against libm dynamically? Comment Actions For unwinding as well as compiler runtime support. I don't really like introducing a nearly universal dependency on libm. Comment Actions Makes sense. I was under the impression that libgcc_s was only used for stack unwinding, but it looks it's also linked in when building simple C apps. :-) Comment Actions Yes, these libraries are confusing. In summary:
|