Timon Kruiper

Results 14 comments of Timon Kruiper

Regarding the `builtin.link_mode`, when building some .zig file and adding `-dynamic` to the command, the `builtin.link_mode` changes to `.Dynamic`. Thus this is actually not the `link_mode` of the zig executable,...

If somebody starts implementing this, you can use the following closed PR as a starting point (or do it all over again): #7158

Great! I guess the "+strict-align" is being solved with ziglang/zig#3927 ? It is actually a work around for unaligned code that is generated in the std, but it does solve...

Note: I actually had to change `llvm-objcopy` with `aarch64-linux-gnu-objcopy` in the `build.zig` file, otherwise it doesn't work. I'm not sure why `llvm-objcopy` doesn't work.

Jup, but actually it wasn't working at all on real hardware when using `llvm-objcopy`, so that is an issue with `llvm-objcopy` itself. I will compare the binaries, see what the...

This is caused by the fact that you are using `zig build` with `linkSystemLibrary` in combination with `addLibPath` (Saw this on stream). To solve this you can instead use the...

@leventov The solution to this (and many more related issues) has been mentioned by @LemonBoy in https://github.com/ziglang/zig/issues/4926#issuecomment-744326413, but it still has to be done.

Has been rebased on top of @supercomputer7 procfs/sysfs changes. Also includes 36d5fec6ca931150ba2edec7236e86906ecf0180 which cleans up a bunch of includes in SysFS/Subsystems/Kernel/Processes.cpp.