-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
LLVM ERROR: floatFromInt
cast
#2
Comments
floatFromInt
cast
Maybe here's where the problem lies: zig-espressif-bootstrap/zig/lib/compiler_rt/common.zig Lines 31 to 64 in 4dcafc2
zig-espressif-bootstrap/zig/lib/compiler_rt/common.zig Lines 80 to 104 in 4dcafc2
|
Based on https://github.com/kassane/zig-espressif-bootstrap/blob/xtensa/zig/lib/std/Target/xtensa.zig $> ./zig-x86_64-relsafe-espressif-linux-musl-baseline/zig build-exe start.zig \
-target xtensa-freestanding-none -mcpu=<esp32|esp32s3>-fp
LLVM Emit Object... error: <unknown>:0: Undefined temporary symbol .LBB385_2
$> ./zig-x86_64-relsafe-espressif-linux-musl-baseline/zig build-exe start.zig \
-target xtensa-freestanding-none -mcpu=<esp32|esp32s3>-fp-s32c1i |
Build and linking, using zig only:
./zig-x86_64-relsafe-espressif-linux-musl-baseline/zig build-exe start.zig -target xtensa-freestanding-none -mcpu=<cpuname>
Skip error: add
-fno-compiler-rt
zig-espressif-bootstrap/zig/lib/compiler_rt/float_from_int.zig
Lines 44 to 46 in 8d67986
zig-espressif-bootstrap/zig/lib/compiler_rt/floatdihf.zig
Lines 10 to 12 in 8d67986
time report
Reference
The text was updated successfully, but these errors were encountered: