logoalt Hacker News

vlovich12304/01/20252 repliesview on HN

Which works if you use binutils ld. Does it work with mold or gold? And then how do you use this with languages other than c++/c like Go or Rust?


Replies

rjswlast Wednesday at 12:19 AM

I thought that Go invoked syscalls directly instead of going through libc.

show 1 reply
sylwarelast Wednesday at 11:53 AM

Rust toolchain has already a bug since 2015: it cannot link statically libgcc, namely it does not have "-static-libgcc" option since 2015.

I got the bug with "TinyGlade" video game (extremely good BTW), which is written in rust, and with the dev we hit that bug. Namely... better have a libgcc with the right ABI... and I can tell you, this has a been a HUGE issue since valve started to distribute games more than a decade ago.

show 1 reply