Jakub Konka

Results 128 comments of Jakub Konka

#16212 will enable building Zig on Sonoma with no tweaks to the compiler provided the SDK is installed. This will also be true for any future release of macOS.

> @kprotty and myself just found out a couple of days ago that, even with the suggested fix involving moving the `libSystem.tbd` file to the right place, it seems the...

> > This should be filed as a separate issue as it has nothing to do with the OS version. — @kubkon > > Given that this only happens in...

I am not using `std.elf.toTargetCpuArch` anywhere in zld either. I am using `toElfMachine` to flag up errors to the users though, but those calls can be replaced with `std.elf.EM.fromTargetCpuArch`. Next...

Does it also happen when building an executable rather than a DLL? If so, we are probably re-exporting the offending symbols one too many times in our `compiler-rt` implementation.

I haven't looked in detail into this but here's my main observation with a suggestion of exploring the problem space a little more. The collision happens when trying to link...

For comparison, it doesn't look like this problem happens with ELF: ``` $ zig cc lib.c -shared -o liblib.so --verbose clang version 16.0.1 (https://github.com/llvm/llvm-project cd89023f797900e4492da58b7bed36f702120011) Target: x86_64-unknown-linux-gnu Thread model: posix...

BTW, did you check if it segfaults also when built natively on the target?

Built directly on M1 rather than cross-compiled to it :-)

Yeah, I already reproed it locally, but thanks for double checking. I can report that the issue so far doesn't surface on Intel Macs, only on Apple Silicon. This issue...