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

cross compile to ARM926EJ-S is Broken #15281

Open
CGQAQ opened this issue Apr 14, 2023 · 5 comments
Open

cross compile to ARM926EJ-S is Broken #15281

CGQAQ opened this issue Apr 14, 2023 · 5 comments
Labels
bug Observed behavior contradicts documented or intended behavior
Milestone

Comments

@CGQAQ
Copy link

CGQAQ commented Apr 14, 2023

Zig Version

0.11.0-dev.2571+31738de28

Steps to Reproduce and Observed Behavior

image

Expected Behavior

image

Tag_CPU_arch should be v5TEJ

@CGQAQ CGQAQ added the bug Observed behavior contradicts documented or intended behavior label Apr 14, 2023
@CGQAQ CGQAQ closed this as completed Apr 14, 2023
@CGQAQ CGQAQ reopened this Apr 14, 2023
@CGQAQ
Copy link
Author

CGQAQ commented Apr 14, 2023

oops, didn't mean to close, and also the compiled executable will segfault immediately when try to run on target device

@nekopsykose
Copy link

if you set

.v5te,
to .v5tej, does it work?

@nekopsykose
Copy link

the only difference between .v5tej and non-j is strict_align it seems via featureset

@CGQAQ
Copy link
Author

CGQAQ commented Apr 17, 2023

do I need to recompile the whole compiler?

image

I changed file in zig env std_dir, didn't work

@CGQAQ
Copy link
Author

CGQAQ commented Apr 17, 2023

and I cannot compile zig_bootstrap ziglang/zig-bootstrap#148

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Observed behavior contradicts documented or intended behavior
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants