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. I’ll post the P2786 answer once
it’s relayed to me.
I would love to turn these instructions into a Dockerfile so that you
could just build a Docker container with Clang in it, and somehow build
your codebase with that Dockerized Clang. I’ve heard that VS Code actually
makes that “easy.” So if you do it, I’d love to hear about it.
I’ll upload the Dockerfile here and credit you.