public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libgomp/39939]  New: MinGW 4.3.0 fails to link sample programme.
@ 2009-04-28  6:35 julian1844 at yahoo dot com
  2009-04-28  6:56 ` [Bug libgomp/39939] " pinskia at gcc dot gnu dot org
                   ` (14 more replies)
  0 siblings, 15 replies; 17+ messages in thread
From: julian1844 at yahoo dot com @ 2009-04-28  6:35 UTC (permalink / raw)
  To: gcc-bugs

Sample program test.c
#include <omp.h>
#include <stdlib.h>
#include <stdio.h>
int main() {
#pragma omp parallel
printf("Hello from thread %d, nthreads %d\n", omp_get_thread_num(),
omp_get_num_threads());
return 0;}
fails to link with MinGW 4.3.0 (windows xp sp2), command
gcc -fopemnp test.c -lpthreads -o test.exe
issuing error message
c:/mingw/bin/../lib/gcc/mingw32/4.3.0/libgomp.a(parallel.o):(.text+0xe):
undefined reference to `_imp__pthread_getspecific'
(more similar messages follow). Importing from dll expects prefix __imp__
instead.


-- 
           Summary: MinGW 4.3.0 fails to link sample programme.
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: libgomp
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: julian1844 at yahoo dot com


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39939


^ permalink raw reply	[flat|nested] 17+ messages in thread
[parent not found: <bug-39939-4@http.gcc.gnu.org/bugzilla/>]

end of thread, other threads:[~2011-01-02 14:06 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-04-28  6:35 [Bug libgomp/39939] New: MinGW 4.3.0 fails to link sample programme julian1844 at yahoo dot com
2009-04-28  6:56 ` [Bug libgomp/39939] " pinskia at gcc dot gnu dot org
2009-04-28  7:16 ` julian1844 at yahoo dot com
2009-04-28  7:24 ` julian1844 at yahoo dot com
2009-04-28 22:14 ` pinskia at gcc dot gnu dot org
2009-04-30  4:43 ` julian1844 at yahoo dot com
2009-04-30  4:49 ` julian1844 at yahoo dot com
2009-04-30  5:02 ` [Bug target/39939] " pinskia at gcc dot gnu dot org
2009-04-30  6:39 ` julian1844 at yahoo dot com
2009-04-30 20:58 ` dannysmith at users dot sourceforge dot net
2009-04-30 21:07 ` dannysmith at users dot sourceforge dot net
2009-04-30 21:08 ` [Bug libgomp/39939] " dannysmith at users dot sourceforge dot net
2009-05-01 17:26 ` julian1844 at yahoo dot com
2009-05-01 19:49 ` dannysmith at users dot sourceforge dot net
2009-05-04  6:23 ` julian1844 at yahoo dot com
2009-06-17 21:03 ` rguenth at gcc dot gnu dot org
     [not found] <bug-39939-4@http.gcc.gnu.org/bugzilla/>
2011-01-02 14:06 ` ktietz at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).