Motiejus Jakštys
Motiejus Jakštys
Reason: [bazel-zig-cc](https://sr.ht/~motiejus/bazel-zig-cc) invokes `zig cc`. Bazel takes care of parallelism itself, so it will assume zig is a "simple" command that uses a single core. It is not, however. On...
Hi, Richard, First of all, thank you so much for working on this library. I find the very nice and clean. I am working on enriching an existing GraphQL API...
### Zig Version 0.10.0-dev.2473+e498fb155 ### Steps to Reproduce A test file for everything: ``` #include #include int main() { #ifdef __GLIBC__ printf("glibc_%d.%d\n", __GLIBC__, __GLIBC_MINOR__); #else printf("non-glibc\n"); #endif return 0; }...
TLDR: zig is using "too new" glibc headers, which sometimes references undefined symbols. This fails compilation for at least sqlite and libuv when older glibc is selected, because it [redefines](https://sourceware.org/git/?p=glibc.git;a=blob;f=io/fcntl.h;h=6b0e9fa1fa2a2d8872b1adb5c0861410756a9e52;hb=3c03baca37fdcb52c3881e653ca392bba7a99c2b#l180)...
### Zig Version 0.10.0-dev.4176+6d7b0690a ### Summary & Impact When using a relative zig lib directory (`ZIG_LIB_DIR=lib`) and when building from different directories, libc shims get rebuilt *for every working directory*....
### Zig Version 0.10.0-dev.2473+e498fb155 Like the title says: zig cc frontend cannot compile a dynaimcally-linked musl binary. Created a separate issue as requested by @ifreund in https://github.com/ziglang/zig/issues/5364#issuecomment-1163025810 ### Full repro...
Summary: multiple `zig` invocations can stumble upon each other when they are creating glibc stubs. Steps to reproduce ------------------------- **main.c** ``` int main() {} ``` Command: run `zig c++` many...
Refs https://github.com/zigchroot/zig-chroot/issues/1
### Zig Version 0.10.0-dev.3838+77f31ebbb ### Steps to Reproduce ``` $ echo | zig cc -x c -c - -o x.o LLD Link... ld.lld: error: cannot open -: No such file...
`dup2` is not available on arm64. `dup3(old, new, 0)` is the same as `dup2(old, new)`.