On 28.04.2010 10:37, Vincent Danjean wrote:
On 27/04/2010 01:26, Matthias Klose wrote:
On 23.04.2010 10:22, Steinar H. Gunderson wrote:
On Fri, Apr 23, 2010 at 08:41:53AM +0200, Vincent Danjean wrote:
Please, look at #577961. It seems to me that this is the same bug (and
now, I think the bug belong to gcc-4.5)

OK, adding -lpthread makes the error go away.

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.

I do not know for #578831 but, for #577961 the application must not be
required to link to -lpthread (and lto1 is not used).

please recheck with the current g++-4.5 in experimental. -lpthread shouldn't be used directly, but pass -pthread to both CXXFLAGS and LDFLAGS.



--
To UNSUBSCRIBE, email to debian-gcc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4c20b244.5050...@debian.org

Reply via email to