[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 Tue, Apr 27, 2010 at 01:26:00AM +0200, Matthias Klose wrote:
> please make sure that *all* flags (except preprocessor flags) passed
> to cc1 are also passed to lto1. For common build systems, this does
> mean passing $(CFLAGS) to the link command.

OK. This made no change at all to the undefined references with
-fwhole-program, though.

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



Reply to: