Motiejus Jakštys

Results 91 comments of Motiejus Jakštys

nitpick: how about changing the subject to "update musl from v1.2.3 to v1.2.4"?

> I'm happy to merge this - would you mind rebasing it? Done. Also added `@compileError(...)` for the deprecated functions.

> ## Questions > > I read the comment [#15549 (comment)](https://github.com/ziglang/zig/issues/15549#issue-1692182315) but i do not understand why this > > https://github.com/ziglang/zig/blob/28923474401051a9aa0bddd60904b9be64943dba/src/Compilation.zig#L3942-L3948 > > should be the place to act to...

> I implemented the change, but then, while using it, I realized that it is more complicated than anticipated. > > Simple printing the version and exit does not work...

Windows-specific issue is probably related to #14978

> BTW, did you check if it segfaults also when built natively on the target? Please be more specific. No `target`, `sysroot` and `F` args to zig?

Same: ``` motiejus@motiejus-K9KH5P7MP3 x % uname -a Darwin motiejus-K9KH5P7MP3 22.3.0 Darwin Kernel Version 22.3.0: Mon Jan 30 20:38:37 PST 2023; root:xnu-8792.81.3~2/RELEASE_ARM64_T6000 arm64 motiejus@motiejus-K9KH5P7MP3 x % find trimmed -type f trimmed/MacOSX13.1.sdk/System/Library/Frameworks/CoreFoundation.framework/CoreFoundation.tbd...

Same story in native compilation mode: ``` motiejus@motiejus-K9KH5P7MP3 x % CGO_ENABLED=1 CC="$PWD/zig-macos-aarch64-0.11.0-dev.1975+e17998b39/zig cc" go build -buildmode=pie -ldflags "-s -w -linkmode external" . motiejus@motiejus-K9KH5P7MP3 x % ./x minpc= 0x100648960 min= 0x0...

``` (lldb) run Process 13613 launched: '/Users/motiejus/x/x' (arm64) Process 13613 stopped * thread #1, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=1, address=0x30) frame #0: 0x000000010002ed28 x`runtime.schedinit + 264 x`runtime.schedinit:...

Myself and @kubkon spent some time looking at this in real time. Observations from Jakub: - addendum before a branch seems really weird. - looking at the relocation file for...