On Wed, Dec 21, 2016 at 4:49 AM, Mark Kettenis wrote:
>> Date: Wed, 21 Dec 2016 13:28:26 +0100
>> From: Christian Weisgerber
>>
>> libm uses copysign() and copysignf() internally, but fails to declare
>> the amd64 assembly versions that way. When built with clang, this
>> results in undefined re
> Date: Wed, 21 Dec 2016 13:28:26 +0100
> From: Christian Weisgerber
>
> libm uses copysign() and copysignf() internally, but fails to declare
> the amd64 assembly versions that way. When built with clang, this
> results in undefined references to _libm_copysign etc.
>
> Presumably gcc replaces
libm uses copysign() and copysignf() internally, but fails to declare
the amd64 assembly versions that way. When built with clang, this
results in undefined references to _libm_copysign etc.
Presumably gcc replaces those calls to copysign with a builtin, but
clang doesn't.
Index: arch/amd64/s_co