Skip to content
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

Compiling yklua without -O2 fails #1448

Open
ltratt opened this issue Oct 31, 2024 · 0 comments
Open

Compiling yklua without -O2 fails #1448

ltratt opened this issue Oct 31, 2024 · 0 comments
Assignees

Comments

@ltratt
Copy link
Contributor

ltratt commented Oct 31, 2024

At the moment yklua hardcodes -O2 (should it? dunno!). If you remove O2 (edit src/Makefile and set OPTFLAGS= i.e. to the empty string) and then try and compile yklua we get a trace_builder panic:

thread '<unnamed>' panicked at ykrt/src/compile/jitc_yk/trace_builder.rs:266:22:
not yet implemented: Unimplemented { tyidx: TyIdx(6), llvm_inst_str: "  call void
 @llvm.memcpy.p0.p0.i64(ptr align 8 %1915, ptr align 8 %1917, i64 8, i1 false)" }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants