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

* [Bug libgomp/39939] MinGW 4.3.0 fails to link sample programme.
  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 ` pinskia at gcc dot gnu dot org
  2009-04-28  7:16 ` julian1844 at yahoo dot com
                   ` (13 subsequent siblings)
  14 siblings, 0 replies; 17+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2009-04-28  6:56 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from pinskia at gcc dot gnu dot org  2009-04-28 06:55 -------
Well libpthreads is not part of the GCC project.


-- 


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


^ permalink raw reply	[flat|nested] 17+ messages in thread

* [Bug libgomp/39939] MinGW 4.3.0 fails to link sample programme.
  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
                   ` (12 subsequent siblings)
  14 siblings, 0 replies; 17+ messages in thread
From: julian1844 at yahoo dot com @ 2009-04-28  7:16 UTC (permalink / raw)
  To: gcc-bugs



------- 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


^ permalink raw reply	[flat|nested] 17+ messages in thread

* [Bug libgomp/39939] MinGW 4.3.0 fails to link sample programme.
  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
                   ` (11 subsequent siblings)
  14 siblings, 0 replies; 17+ messages in thread
From: julian1844 at yahoo dot com @ 2009-04-28  7:24 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from julian1844 at yahoo dot com  2009-04-28 07:23 -------
(In reply to comment #1)
> Well libpthreads is not part of the GCC project.
> I posted my reply as comment #2.


-- 


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


^ permalink raw reply	[flat|nested] 17+ messages in thread

* [Bug libgomp/39939] MinGW 4.3.0 fails to link sample programme.
  2009-04-28  6:35 [Bug libgomp/39939] New: MinGW 4.3.0 fails to link sample programme julian1844 at yahoo dot com
                   ` (2 preceding siblings ...)
  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
                   ` (10 subsequent siblings)
  14 siblings, 0 replies; 17+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2009-04-28 22:14 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from pinskia at gcc dot gnu dot org  2009-04-28 22:14 -------
Your libpthreads is doing something wrong.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |INVALID


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


^ permalink raw reply	[flat|nested] 17+ messages in thread

* [Bug libgomp/39939] MinGW 4.3.0 fails to link sample programme.
  2009-04-28  6:35 [Bug libgomp/39939] New: MinGW 4.3.0 fails to link sample programme julian1844 at yahoo dot com
                   ` (3 preceding siblings ...)
  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
                   ` (9 subsequent siblings)
  14 siblings, 0 replies; 17+ messages in thread
From: julian1844 at yahoo dot com @ 2009-04-30  4:43 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from julian1844 at yahoo dot com  2009-04-30 04:42 -------
Let us forget everything about libpthread. MinGW fails to link the sample
programme at the command
gcc -fopemnp test.c -gomp -o test.exe
The error messages I get are:
c:/mingw/bin/../lib/gcc/mingw32/4.3.0/libgomp.a(parallel.o):(.text+0xe):
undefin
ed reference to `_imp__pthread_getspecific'
c:/mingw/bin/../lib/gcc/mingw32/4.3.0/libgomp.a(parallel.o):(.text+0x46):
undefi
ned reference to `_imp__pthread_getspecific'
c:/mingw/bin/../lib/gcc/mingw32/4.3.0/libgomp.a(parallel.o):(.text+0x5e):
undefi
ned reference to `_imp__pthread_getspecific'
c:/mingw/bin/../lib/gcc/mingw32/4.3.0/libgomp.a(parallel.o):(.text+0x9e):
undefi
ned reference to `_imp__pthread_getspecific'
c:/mingw/bin/../lib/gcc/mingw32/4.3.0/libgomp.a(team.o):(.text+0xf): undefined
r
eference to `_imp__pthread_key_create'
c:/mingw/bin/../lib/gcc/mingw32/4.3.0/libgomp.a(team.o):(.text+0x22): undefined
reference to `_imp__pthread_setspecific'
c:/mingw/bin/../lib/gcc/mingw32/4.3.0/libgomp.a(team.o):(.text+0x34): undefined
reference to `_imp__sem_init'
c:/mingw/bin/../lib/gcc/mingw32/4.3.0/libgomp.a(team.o):(.text+0x55): undefined
reference to `_imp__pthread_setspecific'
c:/mingw/bin/../lib/gcc/mingw32/4.3.0/libgomp.a(team.o):(.text+0x66): undefined
reference to `_imp__sem_init'
c:/mingw/bin/../lib/gcc/mingw32/4.3.0/libgomp.a(team.o):(.text+0x16d):
undefined
 reference to `_imp__pthread_getspecific'
c:/mingw/bin/../lib/gcc/mingw32/4.3.0/libgomp.a(team.o):(.text+0x1a1):
undefined
 reference to `_imp__pthread_mutex_destroy'
c:/mingw/bin/../lib/gcc/mingw32/4.3.0/libgomp.a(team.o):(.text+0x1b6):
undefined
 reference to `_imp__sem_destroy'
c:/mingw/bin/../lib/gcc/mingw32/4.3.0/libgomp.a(team.o):(.text+0x1e1):
undefined
 reference to `_imp__pthread_getspecific'
c:/mingw/bin/../lib/gcc/mingw32/4.3.0/libgomp.a(team.o):(.text+0x209):
undefined
 reference to `_imp__pthread_mutex_init'
c:/mingw/bin/../lib/gcc/mingw32/4.3.0/libgomp.a(team.o):(.text+0x268):
undefined
 reference to `_imp__sem_init'
c:/mingw/bin/../lib/gcc/mingw32/4.3.0/libgomp.a(team.o):(.text+0x2dd):
undefined
 reference to `_imp__pthread_attr_init'
c:/mingw/bin/../lib/gcc/mingw32/4.3.0/libgomp.a(team.o):(.text+0x2e8):
undefined
 reference to `_imp__pthread_attr_setdetachstate'
c:/mingw/bin/../lib/gcc/mingw32/4.3.0/libgomp.a(team.o):(.text+0x2f9):
undefined
 reference to `_imp__pthread_attr_getstacksize'
c:/mingw/bin/../lib/gcc/mingw32/4.3.0/libgomp.a(team.o):(.text+0x37f):
undefined
 reference to `_imp__pthread_create'
c:/mingw/bin/../lib/gcc/mingw32/4.3.0/libgomp.a(team.o):(.text+0x3a7):
undefined
 reference to `_imp__pthread_attr_destroy'
c:/mingw/bin/../lib/gcc/mingw32/4.3.0/libgomp.a(team.o):(.text+0x4e5):
undefined
 reference to `_imp__pthread_attr_setstacksize'
c:/mingw/bin/../lib/gcc/mingw32/4.3.0/libgomp.a(env.o):(.text+0x4ad): undefined
reference to `_imp__pthread_attr_init'
c:/mingw/bin/../lib/gcc/mingw32/4.3.0/libgomp.a(env.o):(.text+0x4bc): undefined
reference to `_imp__pthread_attr_setdetachstate'
c:/mingw/bin/../lib/gcc/mingw32/4.3.0/libgomp.a(env.o):(.text+0x562): undefined
reference to `_imp__pthread_attr_setstacksize'
c:/mingw/bin/../lib/gcc/mingw32/4.3.0/libgomp.a(bar.o):(.text+0x11): undefined
r
eference to `_imp__pthread_mutex_lock'
c:/mingw/bin/../lib/gcc/mingw32/4.3.0/libgomp.a(bar.o):(.text+0x20): undefined
r
eference to `_imp__pthread_mutex_unlock'
c:/mingw/bin/../lib/gcc/mingw32/4.3.0/libgomp.a(bar.o):(.text+0x56): undefined
r
eference to `_imp__sem_post'
c:/mingw/bin/../lib/gcc/mingw32/4.3.0/libgomp.a(bar.o):(.text+0x74): undefined
r
eference to `_imp__pthread_mutex_unlock'
c:/mingw/bin/../lib/gcc/mingw32/4.3.0/libgomp.a(bar.o):(.text+0x89): undefined
r
eference to `_imp__pthread_mutex_unlock'
c:/mingw/bin/../lib/gcc/mingw32/4.3.0/libgomp.a(bar.o):(.text+0xa5): undefined
r
eference to `_imp__pthread_mutex_lock'
c:/mingw/bin/../lib/gcc/mingw32/4.3.0/libgomp.a(bar.o):(.text+0xd0): undefined
r
eference to `_imp__sem_post'
c:/mingw/bin/../lib/gcc/mingw32/4.3.0/libgomp.a(bar.o):(.text+0xed): undefined
r
eference to `_imp__pthread_mutex_lock'
c:/mingw/bin/../lib/gcc/mingw32/4.3.0/libgomp.a(bar.o):(.text+0x122): undefined
reference to `_imp__pthread_mutex_lock'
c:/mingw/bin/../lib/gcc/mingw32/4.3.0/libgomp.a(bar.o):(.text+0x12b): undefined
reference to `_imp__pthread_mutex_unlock'
c:/mingw/bin/../lib/gcc/mingw32/4.3.0/libgomp.a(bar.o):(.text+0x134): undefined
reference to `_imp__pthread_mutex_destroy'
c:/mingw/bin/../lib/gcc/mingw32/4.3.0/libgomp.a(bar.o):(.text+0x14a): undefined
reference to `_imp__sem_destroy'
c:/mingw/bin/../lib/gcc/mingw32/4.3.0/libgomp.a(bar.o):(.text+0x174): undefined
reference to `_imp__pthread_mutex_init'
c:/mingw/bin/../lib/gcc/mingw32/4.3.0/libgomp.a(bar.o):(.text+0x191): undefined
reference to `_imp__sem_init'
c:/mingw/bin/../lib/gcc/mingw32/4.3.0/libgomp.a(sem.o):(.text+0xa): undefined
re
ference to `_imp__sem_wait'
collect2: ld returned 1 exit status
My question is how should I link this programme.


-- 

julian1844 at yahoo dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |UNCONFIRMED
         Resolution|INVALID                     |


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


^ permalink raw reply	[flat|nested] 17+ messages in thread

* [Bug libgomp/39939] MinGW 4.3.0 fails to link sample programme.
  2009-04-28  6:35 [Bug libgomp/39939] New: MinGW 4.3.0 fails to link sample programme julian1844 at yahoo dot com
                   ` (4 preceding siblings ...)
  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
                   ` (8 subsequent siblings)
  14 siblings, 0 replies; 17+ messages in thread
From: julian1844 at yahoo dot com @ 2009-04-30  4:49 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #6 from julian1844 at yahoo dot com  2009-04-30 04:49 -------
(In reply to comment #4)
> Your libpthreads is doing something wrong.
> Re. comment 5
The command was actually
gcc -fopemnp test.c -lgomp -o test.exe


-- 


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


^ permalink raw reply	[flat|nested] 17+ messages in thread

* [Bug target/39939] MinGW 4.3.0 fails to link sample programme.
  2009-04-28  6:35 [Bug libgomp/39939] New: MinGW 4.3.0 fails to link sample programme julian1844 at yahoo dot com
                   ` (5 preceding siblings ...)
  2009-04-30  4:49 ` julian1844 at yahoo dot com
@ 2009-04-30  5:02 ` pinskia at gcc dot gnu dot org
  2009-04-30  6:39 ` julian1844 at yahoo dot com
                   ` (7 subsequent siblings)
  14 siblings, 0 replies; 17+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2009-04-30  5:02 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #7 from pinskia at gcc dot gnu dot org  2009-04-30 05:02 -------
ok, mingw should be linking against libpthreads with -fopenmp (it should also
be linking against libgomp also)

I don't think libgomp has been ported to mingw yet.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|libgomp                     |target


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


^ permalink raw reply	[flat|nested] 17+ messages in thread

* [Bug target/39939] MinGW 4.3.0 fails to link sample programme.
  2009-04-28  6:35 [Bug libgomp/39939] New: MinGW 4.3.0 fails to link sample programme julian1844 at yahoo dot com
                   ` (6 preceding siblings ...)
  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
                   ` (6 subsequent siblings)
  14 siblings, 0 replies; 17+ messages in thread
From: julian1844 at yahoo dot com @ 2009-04-30  6:39 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #8 from julian1844 at yahoo dot com  2009-04-30 06:38 -------
(In reply to comment #7)
> ok, mingw should be linking against libpthreads with -fopenmp (it should also
> be linking against libgomp also)
> 
> I don't think libgomp has been ported to mingw yet.
> 

I wonder if the source code for libgomp is available. I'm looking for it about
5 days and I cannot find it. Have you got any idea?


-- 


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


^ permalink raw reply	[flat|nested] 17+ messages in thread

* [Bug target/39939] MinGW 4.3.0 fails to link sample programme.
  2009-04-28  6:35 [Bug libgomp/39939] New: MinGW 4.3.0 fails to link sample programme julian1844 at yahoo dot com
                   ` (7 preceding siblings ...)
  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
                   ` (5 subsequent siblings)
  14 siblings, 0 replies; 17+ messages in thread
From: dannysmith at users dot sourceforge dot net @ 2009-04-30 20:58 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #9 from dannysmith at users dot sourceforge dot net  2009-04-30 20:57 -------
(In reply to comment #6)
> (In reply to comment #4)
> > Your libpthreads is doing something wrong.
> > Re. comment 5
> The command was actually
> gcc -fopemnp test.c -lgomp -o test.exe
> 

That command works for me with gcc 4.3.4, 4.4.0 and trunk
In 4.4.0 and trunk, test.exe links against LIBGOMP-1.DLL which in turn resolves
the pthread imports from PTHREADGCE2.DLL, which is distributed by the
pthreads-win32 project
http://sources.redhat.com/pthreads-win32/

My version of 4.3.4 has local mods.  I'm not sure if the shared libgomp build
was standard then.

How did you build gcc-4.3.0?  You need to add  --enable-libgomp to configure
and ensure that libpthread.a (note spelling) can be found.

Danny


-- 


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


^ permalink raw reply	[flat|nested] 17+ messages in thread

* [Bug target/39939] MinGW 4.3.0 fails to link sample programme.
  2009-04-28  6:35 [Bug libgomp/39939] New: MinGW 4.3.0 fails to link sample programme julian1844 at yahoo dot com
                   ` (8 preceding siblings ...)
  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
                   ` (4 subsequent siblings)
  14 siblings, 0 replies; 17+ messages in thread
From: dannysmith at users dot sourceforge dot net @ 2009-04-30 21:07 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #10 from dannysmith at users dot sourceforge dot net  2009-04-30 21:07 -------
(In reply to comment #9)
> (In reply to comment #6)
> > (In reply to comment #4)
> > > Your libpthreads is doing something wrong.
> > > Re. comment 5
> > The command was actually
> > gcc -fopemnp test.c -lgomp -o test.exe
> > 
> 
> That command works for me with gcc 4.3.4, 4.4.0 and trunk
> In 4.4.0 and trunk, test.exe links against LIBGOMP-1.DLL which in turn resolves
> the pthread imports from PTHREADGCE2.DLL, which is distributed by the
> pthreads-win32 project
> http://sources.redhat.com/pthreads-win32/
> 
> My version of 4.3.4 has local mods.  I'm not sure if the shared libgomp build
> was standard then.


No it wasn't. And so the problem is that libgomp.spec says:
# This spec file is read by gcc when linking.  It is used to specify the
# standard libraries we need in order to link with -fopenmp.
*link_gomp: -lgomp %{static: -lpthread }

You have not specified '-static', so you must provide the '-lpthread' (again
note spelling) yourself.

Danny


-- 


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


^ permalink raw reply	[flat|nested] 17+ messages in thread

* [Bug libgomp/39939] MinGW 4.3.0 fails to link sample programme.
  2009-04-28  6:35 [Bug libgomp/39939] New: MinGW 4.3.0 fails to link sample programme julian1844 at yahoo dot com
                   ` (9 preceding siblings ...)
  2009-04-30 21:07 ` dannysmith at users dot sourceforge dot net
@ 2009-04-30 21:08 ` dannysmith at users dot sourceforge dot net
  2009-05-01 17:26 ` julian1844 at yahoo dot com
                   ` (3 subsequent siblings)
  14 siblings, 0 replies; 17+ messages in thread
From: dannysmith at users dot sourceforge dot net @ 2009-04-30 21:08 UTC (permalink / raw)
  To: gcc-bugs



-- 

dannysmith at users dot sourceforge dot net changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|target                      |libgomp
   Target Milestone|---                         |4.3.5


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


^ permalink raw reply	[flat|nested] 17+ messages in thread

* [Bug libgomp/39939] MinGW 4.3.0 fails to link sample programme.
  2009-04-28  6:35 [Bug libgomp/39939] New: MinGW 4.3.0 fails to link sample programme julian1844 at yahoo dot com
                   ` (10 preceding siblings ...)
  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
                   ` (2 subsequent siblings)
  14 siblings, 0 replies; 17+ messages in thread
From: julian1844 at yahoo dot com @ 2009-05-01 17:26 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #11 from julian1844 at yahoo dot com  2009-05-01 17:26 -------
(In reply to comment #9, comment #10)
I did not build MinGW 4.3.0. I got it from the official MinGW site
(gcc-4.3.0-20080502-mingw32-alpha). I have also found that on www.equation.com
there are even newer versions (binaries), like 4.3.3 with OpenMP 2.5, 4.4.0
with OpenMP 3.0 and MinGW 4.5 compilation snapshot. They seem to work fine with
OpenMP. They aren't present on the official MinGW site. Why?

> (In reply to comment #6)
> > (In reply to comment #4)
> > > Your libpthreads is doing something wrong.
> > > Re. comment 5
> > The command was actually
> > gcc -fopemnp test.c -lgomp -o test.exe
> > 
> 
> That command works for me with gcc 4.3.4, 4.4.0 and trunk
> In 4.4.0 and trunk, test.exe links against LIBGOMP-1.DLL which in turn resolves
> the pthread imports from PTHREADGCE2.DLL, which is distributed by the
> pthreads-win32 project
> http://sources.redhat.com/pthreads-win32/
> 
> My version of 4.3.4 has local mods.  I'm not sure if the shared libgomp build
> was standard then.
> 
> How did you build gcc-4.3.0?  You need to add  --enable-libgomp to configure
> and ensure that libpthread.a (note spelling) can be found.
> 
> Danny
> 


-- 


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


^ permalink raw reply	[flat|nested] 17+ messages in thread

* [Bug libgomp/39939] MinGW 4.3.0 fails to link sample programme.
  2009-04-28  6:35 [Bug libgomp/39939] New: MinGW 4.3.0 fails to link sample programme julian1844 at yahoo dot com
                   ` (11 preceding siblings ...)
  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
  14 siblings, 0 replies; 17+ messages in thread
From: dannysmith at users dot sourceforge dot net @ 2009-05-01 19:49 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #12 from dannysmith at users dot sourceforge dot net  2009-05-01 19:48 -------
(In reply to comment #11)
> (In reply to comment #9, comment #10)
> I did not build MinGW 4.3.0. I got it from the official MinGW site
> (gcc-4.3.0-20080502-mingw32-alpha). I have also found that on www.equation.com
> there are even newer versions (binaries), like 4.3.3 with OpenMP 2.5, 4.4.0
> with OpenMP 3.0 and MinGW 4.5 compilation snapshot. They seem to work fine with
> OpenMP. 

Its a shame that www.equation.com doesn't tell us how to obtain their source
code for the gcc, gdb ands make binaries.


> They aren't present on the official MinGW site. Why?

No one has had put them there.
Danny
> 


-- 


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


^ permalink raw reply	[flat|nested] 17+ messages in thread

* [Bug libgomp/39939] MinGW 4.3.0 fails to link sample programme.
  2009-04-28  6:35 [Bug libgomp/39939] New: MinGW 4.3.0 fails to link sample programme julian1844 at yahoo dot com
                   ` (12 preceding siblings ...)
  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
  14 siblings, 0 replies; 17+ messages in thread
From: julian1844 at yahoo dot com @ 2009-05-04  6:23 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #13 from julian1844 at yahoo dot com  2009-05-04 06:23 -------
(In reply to comment #12)
Should I conclude that the MinGW site is now www.equation.com?

> (In reply to comment #11)
> > (In reply to comment #9, comment #10)
> > I did not build MinGW 4.3.0. I got it from the official MinGW site
> > (gcc-4.3.0-20080502-mingw32-alpha). I have also found that on www.equation.com
> > there are even newer versions (binaries), like 4.3.3 with OpenMP 2.5, 4.4.0
> > with OpenMP 3.0 and MinGW 4.5 compilation snapshot. They seem to work fine with
> > OpenMP. 
> 
> Its a shame that www.equation.com doesn't tell us how to obtain their source
> code for the gcc, gdb ands make binaries.
> 
> 
> > They aren't present on the official MinGW site. Why?
> 
> No one has had put them there.
> Danny
> > 
> 


-- 


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


^ permalink raw reply	[flat|nested] 17+ messages in thread

* [Bug libgomp/39939] MinGW 4.3.0 fails to link sample programme.
  2009-04-28  6:35 [Bug libgomp/39939] New: MinGW 4.3.0 fails to link sample programme julian1844 at yahoo dot com
                   ` (13 preceding siblings ...)
  2009-05-04  6:23 ` julian1844 at yahoo dot com
@ 2009-06-17 21:03 ` rguenth at gcc dot gnu dot org
  14 siblings, 0 replies; 17+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2009-06-17 21:03 UTC (permalink / raw)
  To: gcc-bugs



-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|4.3.5                       |---


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


^ permalink raw reply	[flat|nested] 17+ messages in thread

* [Bug libgomp/39939] MinGW 4.3.0 fails to link sample programme.
       [not found] <bug-39939-4@http.gcc.gnu.org/bugzilla/>
@ 2011-01-02 14:06 ` ktietz at gcc dot gnu.org
  0 siblings, 0 replies; 17+ messages in thread
From: ktietz at gcc dot gnu.org @ 2011-01-02 14:06 UTC (permalink / raw)
  To: gcc-bugs

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

Kai Tietz <ktietz at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
                 CC|                            |ktietz at gcc dot gnu.org
         Resolution|                            |INVALID

--- Comment #14 from Kai Tietz <ktietz at gcc dot gnu.org> 2011-01-02 14:05:53 UTC ---
Well, this bug is configure/environment related and not a bug of gcc AFAICS.
So I close this as invalid.


^ permalink raw reply	[flat|nested] 17+ messages in thread

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).