Currently there are a few odd things about the warning about symbols that cannot be ordered. This patch fixes:
- When there is an undefined symbol that resolves to a shared file, we print the location of the undefined reference.
- If there are multiple comdats, we report them all.
This makes the warning a bit less noisy and should also help with reusing this in D36351.
This is perhaps better?