Join Nostr
2026-03-15 21:50:08 UTC
in reply to

pixx on Nostr: Fwiw I've also found some general 9front bugs too. E.g. if you have a function ...

Fwiw I've also found some general 9front bugs too.

E.g. if you have a function declared in a header and use it but accidentally have only a static implementation, 7l prints the wrong function name as the source.

Reading through the source, i think this is because undef, which checks for unresolved symbols, is called after everything else is done, and it calls diag, which uses curtext as the source, and curtext will not be valid at that point since undef doesn't set it

I'm gonna have to check the other linkers to see if they do the same.

Fwiw fossils code is less bad than ventis in many ways.