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

Tracking issue: Building linux kernel #21443

Open
1 of 5 tasks
vesim987 opened this issue Sep 18, 2024 · 1 comment
Open
1 of 5 tasks

Tracking issue: Building linux kernel #21443

vesim987 opened this issue Sep 18, 2024 · 1 comment
Labels
zig cc Zig as a drop-in C compiler feature
Milestone

Comments

@vesim987
Copy link
Contributor

vesim987 commented Sep 18, 2024

This is a list of missing features required to build linux kernel:

zig cc:

zig objcopy:

  • independence of the host endianness
  • --remove-section/-R, and also multiple instances of it

There is most likely more hiding behind issues mentioned above.

In the meantime zig clang can be used as CC and zig cc can be used as HOSTCC, the biggest issue right now is it the requirement of llvm-objcopy/objcopy:

make CC="zig clang" HOSTCC="zig cc -lc" AR="zig ar" OBJCOPY="llvm-objcopy"
@nektro
Copy link
Contributor

nektro commented Sep 18, 2024

@Vexu Vexu added the zig cc Zig as a drop-in C compiler feature label Sep 18, 2024
@andrewrk andrewrk added this to the unplanned milestone Sep 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
zig cc Zig as a drop-in C compiler feature
Projects
None yet
Development

No branches or pull requests

4 participants