* [Bug libgomp/30471] OpenMP with static linking fails in fortran on amd64
2007-01-15 13:18 [Bug libgomp/30471] New: OpenMP with static linking fails in fortran on amd64 samuel dot thibault at ens-lyon dot org
@ 2007-01-15 13:23 ` samuel dot thibault at ens-lyon dot org
2007-01-15 13:29 ` samuel dot thibault at ens-lyon dot org
` (9 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: samuel dot thibault at ens-lyon dot org @ 2007-01-15 13:23 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from samuel dot thibault at ens-lyon dot org 2007-01-15 13:23 -------
Ah, though gdb fails when directly running a.out, it works via the
core file:
(gdb) bt
#0 0x0000000000000000 in ?? ()
#1 0x0000000000405dd6 in get_external_unit ()
#2 0x0000000000404abd in data_transfer_init ()
#3 0x00000000004002f8 in MAIN__.omp_fn.0 (.omp_data_i=0x0) at simple.f90:19
#4 0x00000000004002aa in MAIN__ () at simple.f90:16
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30471
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug libgomp/30471] OpenMP with static linking fails in fortran on amd64
2007-01-15 13:18 [Bug libgomp/30471] New: OpenMP with static linking fails in fortran on amd64 samuel dot thibault at ens-lyon dot org
2007-01-15 13:23 ` [Bug libgomp/30471] " samuel dot thibault at ens-lyon dot org
@ 2007-01-15 13:29 ` samuel dot thibault at ens-lyon dot org
2007-01-15 13:32 ` samuel dot thibault at ens-lyon dot org
` (8 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: samuel dot thibault at ens-lyon dot org @ 2007-01-15 13:29 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from samuel dot thibault at ens-lyon dot org 2007-01-15 13:28 -------
Note: line 16 of the program is "program launch", and line 19 of the program is
the write call
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30471
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug libgomp/30471] OpenMP with static linking fails in fortran on amd64
2007-01-15 13:18 [Bug libgomp/30471] New: OpenMP with static linking fails in fortran on amd64 samuel dot thibault at ens-lyon dot org
2007-01-15 13:23 ` [Bug libgomp/30471] " samuel dot thibault at ens-lyon dot org
2007-01-15 13:29 ` samuel dot thibault at ens-lyon dot org
@ 2007-01-15 13:32 ` samuel dot thibault at ens-lyon dot org
2007-01-15 19:20 ` pinskia at gcc dot gnu dot org
` (7 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: samuel dot thibault at ens-lyon dot org @ 2007-01-15 13:32 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from samuel dot thibault at ens-lyon dot org 2007-01-15 13:32 -------
Note: line 16 of the program is "program launch", and line 19 of the program is
the write call
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30471
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug libgomp/30471] OpenMP with static linking fails in fortran on amd64
2007-01-15 13:18 [Bug libgomp/30471] New: OpenMP with static linking fails in fortran on amd64 samuel dot thibault at ens-lyon dot org
` (2 preceding siblings ...)
2007-01-15 13:32 ` samuel dot thibault at ens-lyon dot org
@ 2007-01-15 19:20 ` pinskia at gcc dot gnu dot org
2007-01-15 20:12 ` samuel dot thibault at ens-lyon dot org
` (6 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2007-01-15 19:20 UTC (permalink / raw)
To: gcc-bugs
------- Comment #4 from pinskia at gcc dot gnu dot org 2007-01-15 19:20 -------
What glibc version are you using?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30471
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug libgomp/30471] OpenMP with static linking fails in fortran on amd64
2007-01-15 13:18 [Bug libgomp/30471] New: OpenMP with static linking fails in fortran on amd64 samuel dot thibault at ens-lyon dot org
` (3 preceding siblings ...)
2007-01-15 19:20 ` pinskia at gcc dot gnu dot org
@ 2007-01-15 20:12 ` samuel dot thibault at ens-lyon dot org
2007-01-15 20:28 ` samuel dot thibault at ens-lyon dot org
` (5 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: samuel dot thibault at ens-lyon dot org @ 2007-01-15 20:12 UTC (permalink / raw)
To: gcc-bugs
------- Comment #5 from samuel dot thibault at ens-lyon dot org 2007-01-15 20:12 -------
glibc 2.3.6
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30471
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug libgomp/30471] OpenMP with static linking fails in fortran on amd64
2007-01-15 13:18 [Bug libgomp/30471] New: OpenMP with static linking fails in fortran on amd64 samuel dot thibault at ens-lyon dot org
` (4 preceding siblings ...)
2007-01-15 20:12 ` samuel dot thibault at ens-lyon dot org
@ 2007-01-15 20:28 ` samuel dot thibault at ens-lyon dot org
2007-01-26 13:33 ` jakub at gcc dot gnu dot org
` (4 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: samuel dot thibault at ens-lyon dot org @ 2007-01-15 20:28 UTC (permalink / raw)
To: gcc-bugs
------- Comment #6 from samuel dot thibault at ens-lyon dot org 2007-01-15 20:28 -------
I tried to upgrade to glibc 2.5 and gcc svn snapshot of 20070105, with same
result.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30471
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug libgomp/30471] OpenMP with static linking fails in fortran on amd64
2007-01-15 13:18 [Bug libgomp/30471] New: OpenMP with static linking fails in fortran on amd64 samuel dot thibault at ens-lyon dot org
` (5 preceding siblings ...)
2007-01-15 20:28 ` samuel dot thibault at ens-lyon dot org
@ 2007-01-26 13:33 ` jakub at gcc dot gnu dot org
2007-01-27 17:42 ` kargl at gcc dot gnu dot org
` (3 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: jakub at gcc dot gnu dot org @ 2007-01-26 13:33 UTC (permalink / raw)
To: gcc-bugs
------- Comment #7 from jakub at gcc dot gnu dot org 2007-01-26 13:32 -------
Static linking with -lpthread (which -fopenmp uses) is not supported in
glibc/NPTL. You can probably make it working by adding
-Wl,--whole-archive -lpthread -Wl,--no-whole-archive
to the command line, but there are no guarantees it will work.
Anyway, this is not a GCC bug but GLIBC feature.
--
jakub at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |INVALID
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30471
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug libgomp/30471] OpenMP with static linking fails in fortran on amd64
2007-01-15 13:18 [Bug libgomp/30471] New: OpenMP with static linking fails in fortran on amd64 samuel dot thibault at ens-lyon dot org
` (6 preceding siblings ...)
2007-01-26 13:33 ` jakub at gcc dot gnu dot org
@ 2007-01-27 17:42 ` kargl at gcc dot gnu dot org
2007-04-18 17:47 ` fxcoudert at gcc dot gnu dot org
` (2 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: kargl at gcc dot gnu dot org @ 2007-01-27 17:42 UTC (permalink / raw)
To: gcc-bugs
------- Comment #8 from kargl at gcc dot gnu dot org 2007-01-27 17:42 -------
*** Bug 30613 has been marked as a duplicate of this bug. ***
--
kargl at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |milan at cmm dot ki dot si
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30471
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug libgomp/30471] OpenMP with static linking fails in fortran on amd64
2007-01-15 13:18 [Bug libgomp/30471] New: OpenMP with static linking fails in fortran on amd64 samuel dot thibault at ens-lyon dot org
` (7 preceding siblings ...)
2007-01-27 17:42 ` kargl at gcc dot gnu dot org
@ 2007-04-18 17:47 ` fxcoudert at gcc dot gnu dot org
2009-12-23 13:42 ` janus at gcc dot gnu dot org
2010-06-09 16:36 ` burnus at gcc dot gnu dot org
10 siblings, 0 replies; 12+ messages in thread
From: fxcoudert at gcc dot gnu dot org @ 2007-04-18 17:47 UTC (permalink / raw)
To: gcc-bugs
------- Comment #9 from fxcoudert at gcc dot gnu dot org 2007-04-18 18:47 -------
*** Bug 31604 has been marked as a duplicate of this bug. ***
--
fxcoudert at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |fxcoudert at gcc dot gnu dot
| |org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30471
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug libgomp/30471] OpenMP with static linking fails in fortran on amd64
2007-01-15 13:18 [Bug libgomp/30471] New: OpenMP with static linking fails in fortran on amd64 samuel dot thibault at ens-lyon dot org
` (8 preceding siblings ...)
2007-04-18 17:47 ` fxcoudert at gcc dot gnu dot org
@ 2009-12-23 13:42 ` janus at gcc dot gnu dot org
2010-06-09 16:36 ` burnus at gcc dot gnu dot org
10 siblings, 0 replies; 12+ messages in thread
From: janus at gcc dot gnu dot org @ 2009-12-23 13:42 UTC (permalink / raw)
To: gcc-bugs
------- Comment #10 from janus at gcc dot gnu dot org 2009-12-23 13:41 -------
*** Bug 42477 has been marked as a duplicate of this bug. ***
--
janus at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |janus at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30471
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug libgomp/30471] OpenMP with static linking fails in fortran on amd64
2007-01-15 13:18 [Bug libgomp/30471] New: OpenMP with static linking fails in fortran on amd64 samuel dot thibault at ens-lyon dot org
` (9 preceding siblings ...)
2009-12-23 13:42 ` janus at gcc dot gnu dot org
@ 2010-06-09 16:36 ` burnus at gcc dot gnu dot org
10 siblings, 0 replies; 12+ messages in thread
From: burnus at gcc dot gnu dot org @ 2010-06-09 16:36 UTC (permalink / raw)
To: gcc-bugs
------- Comment #11 from burnus at gcc dot gnu dot org 2010-06-09 16:36 -------
cross-ref:
http://sourceware.org/bugzilla/show_bug.cgi?id=5780
http://sourceware.org/bugzilla/show_bug.cgi?id=5784
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30471
^ permalink raw reply [flat|nested] 12+ messages in thread