[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#578831: link failure with LTO: “invalid DSO for symbol `pthread_cancel@@GLIBC_2.0' definition”



On Sun, Aug 08, 2010 at 01:47:09PM +0400, Kirill Smelkov wrote:
> The fix Matthias reffered to, is that you no longer need to pass -pthread
> explicitly if your program does not use pthreads. Please try it out --
> it should not complain about pthread_cancel.

Well, my program uses pthreads, so it's not a relevant fix. In any case, good
that it's fixed.

> As to -flto -- I can't say, but could you please provide self-contained
> testcase, preferably minimized, so we could try it out by ourselves too.

I can give you a test case, but I'm afraid I cannot make it public. (Also,
it's pretty hard to disentangle, I'm afraid.) Let me know if it would be
helpful to you.

/* Steinar */
-- 
Homepage: http://www.sesse.net/




Reply to: