On Mon, Mar 8, 2021 at 8:53 PM Bill Wendling <morbo@xxxxxxxxxx> wrote: > > The -nostdlib flag disables the driver from adding libclang_rt.*.a > during linking. Adding a specific library to the command line then > causes the linker to report unresolved symbols, because the libraries > that resolve those symbols aren't automatically added. Turns out clang > doesn't need to specify that library. > > Signed-off-by: Bill Wendling <morbo@xxxxxxxxxx> Reviewed-by: Jim Mattson <jmattson@xxxxxxxxxx>