Bug#578831: link failure with LTO: ???invalid DSO for symbol `pthread_cancel@@GLIBC_2.0' definition???
On Sun, Aug 08, 2010 at 12:46:54PM +0200, Steinar H. Gunderson wrote:
> OK, I think I've spotted the problem -- it doesn't like that .a files
> reference variables in .o files.
Actually, .a files are not recompiled for LTO at all. If I stick everything
in .a files and link, linking is very fast; if I give the same .o files on
the command line, the machine chugs for a long time and then a smaller
result comes out.
-frepo still makes everything crash and burn, but I guess that's for a
separate bug.
/* Steinar */
--
Homepage: http://www.sesse.net/
Reply to: