From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5109 invoked by alias); 28 Apr 2009 07:16:29 -0000 Received: (qmail 5050 invoked by uid 48); 28 Apr 2009 07:16:17 -0000 Date: Tue, 28 Apr 2009 07:16:00 -0000 Message-ID: <20090428071617.5049.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug libgomp/39939] MinGW 4.3.0 fails to link sample programme. In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "julian1844 at yahoo dot com" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2009-04/txt/msg02672.txt.bz2 ------- Comment #2 from julian1844 at yahoo dot com 2009-04-28 07:16 ------- libpthread is needed to link libgomp, otherwise you get unresolved references like c:/mingw/bin/../lib/gcc/mingw32/4.3.0/libgomp.a(parallel.o):(.text+0xe): undefin ed reference to `_imp__pthread_getspecific'. Symbol pthread_getspecific is in libpthread. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39939