At today’s WG21 SG14 (Low Latency) meeting, there was a discussion of
P1144 trivial relocatability
versus P2786 trivial relocatability.
It was remarked that each proposal has a corresponding Clang fork.
So I suggested that anyone interested in relocation could really help us out
by downloading both compiler implementations and trying them out on their own
codebases! Of course, that means you need to know how to compile them from scratch.
Here’s the answer for my P1144 implementation [UPDATE, 2024-04-22:] and for Corentin’s P2786 implementation,
as far as I know.
I would love to turn these instructions into Dockerfiles so that you
could just build Docker containers containing each Clang, and somehow build
your codebase with those Dockerized Clangs. I’ve heard that VS Code actually
makes that “easy.” If you do it, I’d love to hear about it.
I’ll upload the Dockerfiles here and credit you.