You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With the default configuration, newlib will be missing four math functions' extern C "declarations" in rust:
error[E0425]: cannot find function `fabsl` in this scope
--> src/cephes_subrl.rs:39:24
|
39 | if f128::f128::new(fabsl(x)) <= f128::f128::new(0.5){
| ^^^^^ not found in this scope
error[E0425]: cannot find function `coshl` inthis scope
--> src/cephes_subrl.rs:40:30
|
40 | *c = f128::f128::new(coshl(x));
| ^^^^^ not found in this scope
error[E0425]: cannot find function `sinhl` inthis scope
--> src/cephes_subrl.rs:41:30
|
41 | *s = f128::f128::new(sinhl(x))
| ^^^^^ not found in this scope
error[E0425]: cannot find function `expl` in this scope
--> src/cephes_subrl.rs:43:29
|
43 | e = f128::f128::new(expl(x));
| ^^^^ not found in this scope
This can be worked around with the --disable-newlib-fno-builtin flag configuration. It seems to be due to including libc/include/math.h which overrides the std math.h (which does work fine)
The text was updated successfully, but these errors were encountered:
With the default configuration, newlib will be missing four math functions' extern C "declarations" in rust:
This can be worked around with the
--disable-newlib-fno-builtin
flag configuration. It seems to be due to includinglibc/include/math.h
which overrides the stdmath.h
(which does work fine)The text was updated successfully, but these errors were encountered: