On Thu, Dec 2, 2010 at 9:41 AM, Ian Lance Taylor <i...@google.com> wrote: > "H.J. Lu" <hjl.to...@gmail.com> writes: > >> How do you deal with -lm: > > I believe we have agreed that LTO can only introduce new symbol > references that are satisfied by -lc and -lgcc. Under those conditions,
Have you looked my testcase? The assumption of "LTO can only introduce new symbol references that are satisfied by -lc and -lgcc." is wrong. My testcase shows LTO may introduce new symbol references to libm. -- H.J.