We just need to add it __log2f_finite in a similar way we added __log2_finite. 
Should be trivial change.

diff --git a/libc/math/aliases.c b/libc/math/aliases.c
index 361f3cf7..b137d530 100644
--- a/libc/math/aliases.c
+++ b/libc/math/aliases.c
@@ -20,6 +20,11 @@ double __log2_finite(double x)
        return log2(x);
 }
 
+double __log2f_finite(double x)
+{
+       return log2f(x);
+}
+
 double __log_finite(double x)
 {
        return log(x);


BTW which ffmpeg version are you using?

Waldek

On Sunday, November 3, 2019 at 1:03:47 AM UTC-5, zhiting zhu wrote:
>
>
> Maybe I'm looking at the screen too long. I miss the f. The provided on is 
> log2_finite. 
> On Saturday, November 2, 2019 at 11:31:01 PM UTC-5, zhiting zhu wrote:
>>
>> Hey,
>>
>> I want to use ffmpeg python binding(pyav) in osv. One of the 
>> dependencies, libx264 uses __log2f_finite which is from libm. In the 
>> compiled lib, it shows that: U __log2_finite@@GLIBC_2.15
>> I see the symbol is implemented in libc/math/aliases.c.  On the host, the 
>> symbol is provided by libm. What should I do to make the symbol resolved on 
>> osv?
>>
>> Best,
>> Zhiting
>>
>

-- 
You received this message because you are subscribed to the Google Groups "OSv 
Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/osv-dev/7a6cbac0-7707-4917-8d2c-c45380446110%40googlegroups.com.

Reply via email to