Jakub Konka

Results 128 comments of Jakub Konka

This appears to be an issue with stage2 compiler. I've hooked up the same very bindings in https://github.com/kubkon/zld/tree/tracy-integration and tracy crashes with the same segfault as reported here when `zld`...

I don't think we ever wanted to enable non PIE builds on macOS mainly because it is x86_64 specific. Thoughts?

This flag is required to disambiguate position-dependent from position-independent code models generated by the compiler. The linker has no idea which model it should assume which is important to correctly...

Re your second point, the status quo is that we always want to link against bundled libSystem headers unless a system lib (other than libc, libc++ and libSystem) or framework...

> I ran into an issue with this right away when testing with one of my projects linking system libraries using `std.Build.linkSystemLibrary()` which invokes `pkg-config` to determine the required linker...

I mentioned zld and mold as neither assumes any default search paths and hence their output differs from that of gold.

Yeah, I think we should be able to do this in the CLI frontend. As far as I understand, we only need to support a limited ld script syntax to...

> I think it sounds like the path forward! Excellent!

I wonder could this be related to #16818?

Hmm, that should not have the impact on the linker as `-iframework` and `-F` are routed to the linker as framework dirs regardless. BTW, you now have to prepend the...