Skip to content
This repository has been archived by the owner on Sep 15, 2022. It is now read-only.

Not all libc versions have the single precision transcendental functions #552

Open
sgjesse opened this issue Jun 29, 2016 · 1 comment
Open

Comments

@sgjesse
Copy link
Contributor

sgjesse commented Jun 29, 2016

The LK build fails after 7d94a4d.

out/build-qemu-virt-dartino/out/...mod.o: In function `Native_DoubleAtan':
/mnt/data/b/build/slave/dartino-lk-debug-arm-qemu/build/sdk/out/../src/vm/natives.cc:870: undefined reference to `atanf'
out/build-qemu-virt-dartino/out/...mod.o: In function `Native_DoubleExp':
/mnt/data/b/build/slave/dartino-lk-debug-arm-qemu/build/sdk/out/../src/vm/natives.cc:872: undefined reference to `expf'
out/build-qemu-virt-dartino/out/...mod.o: In function `Native_DoubleLog':
/mnt/data/b/build/slave/dartino-lk-debug-arm-qemu/build/sdk/out/../src/vm/natives.cc:873: undefined reference to `logf'
out/build-qemu-virt-dartino/out/...mod.o: In function `Native_DoubleAtan2':
/mnt/data/b/build/slave/dartino-lk-debug-arm-qemu/build/sdk/out/../src/vm/natives.cc:882: undefined reference to `atan2f'
@travisg
Copy link
Contributor

travisg commented Jun 29, 2016

Pretty easy to add new ones, the math routines in LK are largely added as needed, usually cribbed from FreeBSD or bionic.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

3 participants