public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libgomp/64635] New: darwin produces libgomp-plugin-host_nonshm.1.dylib but tries to load libgomp-plugin-host_nonshm.so.1
@ 2015-01-16 19:13 howarth at bromo dot med.uc.edu
  2015-01-17  1:37 ` [Bug libgomp/64635] " howarth at bromo dot med.uc.edu
                   ` (24 more replies)
  0 siblings, 25 replies; 26+ messages in thread
From: howarth at bromo dot med.uc.edu @ 2015-01-16 19:13 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64635

            Bug ID: 64635
           Summary: darwin produces libgomp-plugin-host_nonshm.1.dylib but
                    tries to load libgomp-plugin-host_nonshm.so.1
           Product: gcc
           Version: 5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: libgomp
          Assignee: unassigned at gcc dot gnu.org
          Reporter: howarth at bromo dot med.uc.edu
                CC: jakub at gcc dot gnu.org

While trying to hack around libgomp/64625, I discovered that darwin creates
libgomp-plugin-host_nonshm.1.dylib but the test cases try to load a different
file name...

# ./e.50.1.exe

libgomp: while loading libgomp-plugin-host_nonshm.so.1:
dlopen(libgomp-plugin-host_nonshm.so.1, 1): image not found


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

* [Bug libgomp/64635] darwin produces libgomp-plugin-host_nonshm.1.dylib but tries to load libgomp-plugin-host_nonshm.so.1
  2015-01-16 19:13 [Bug libgomp/64635] New: darwin produces libgomp-plugin-host_nonshm.1.dylib but tries to load libgomp-plugin-host_nonshm.so.1 howarth at bromo dot med.uc.edu
@ 2015-01-17  1:37 ` howarth at bromo dot med.uc.edu
  2015-01-17  2:05 ` howarth at bromo dot med.uc.edu
                   ` (23 subsequent siblings)
  24 siblings, 0 replies; 26+ messages in thread
From: howarth at bromo dot med.uc.edu @ 2015-01-17  1:37 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64635

--- Comment #1 from howarth at bromo dot med.uc.edu ---
The problem code is...

static void
gomp_target_init (void)
{
  const char *prefix ="libgomp-plugin-";
  const char *suffix = ".so.1";

in libgomp/target.c which will need to be enhanced use ".1.dylib" on darwin.
While there isn't a firm convention for the suffix of shared modules on darwin,
the libgomp_plugin_host_nonshm.1.dylib file is a normal shared library...

file libgomp-plugin-host_nonshm.1.dylib
libgomp-plugin-host_nonshm.1.dylib: Mach-O 64-bit dynamically linked shared
library x86_64

and should retain the dylib suffix.


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

* [Bug libgomp/64635] darwin produces libgomp-plugin-host_nonshm.1.dylib but tries to load libgomp-plugin-host_nonshm.so.1
  2015-01-16 19:13 [Bug libgomp/64635] New: darwin produces libgomp-plugin-host_nonshm.1.dylib but tries to load libgomp-plugin-host_nonshm.so.1 howarth at bromo dot med.uc.edu
  2015-01-17  1:37 ` [Bug libgomp/64635] " howarth at bromo dot med.uc.edu
@ 2015-01-17  2:05 ` howarth at bromo dot med.uc.edu
  2015-01-17 18:17 ` howarth at bromo dot med.uc.edu
                   ` (22 subsequent siblings)
  24 siblings, 0 replies; 26+ messages in thread
From: howarth at bromo dot med.uc.edu @ 2015-01-17  2:05 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64635

--- Comment #2 from howarth at bromo dot med.uc.edu ---
Oddly, with the proposed patch...

https://gcc.gnu.org/ml/gcc-patches/2015-01/msg01479.html

the test suite shows the expected loading problem but doesn't report those as
execution failures...

Executing on host: /sw/src/fink.build/gcc50-5.0.0-1000/darwin_objdir/gcc/xgcc
-B/sw/src/fink.build/gcc50-5.0.0-1000/darwin_objdir/gcc/
/sw/src/fink.build/gcc50-5.0.0-1000/gcc-5-20150116/libgomp/testsuite/libgomp.c/examples-4/e.50.1.c

-B/sw/src/fink.build/gcc50-5.0.0-1000/darwin_objdir/x86_64-apple-darwin14.1.0/i386/libgomp/
-B/sw/src/fink.build/gcc50-5.0.0-1000/darwin_objdir/x86_64-apple-darwin14.1.0/i386/libgomp/.libs
-I/sw/src/fink.build/gcc50-5.0.0-1000/darwin_objdir/x86_64-apple-darwin14.1.0/i386/libgomp
-I/sw/src/fink.build/gcc50-5.0.0-1000/gcc-5-20150116/libgomp/testsuite/../../include
-I/sw/src/fink.build/gcc50-5.0.0-1000/gcc-5-20150116/libgomp/testsuite/..
-march=i486 -shared-libgcc -fmessage-length=0 -fno-diagnostics-show-caret
-fdiagnostics-color=never -fopenmp  -O2  
-L/sw/src/fink.build/gcc50-5.0.0-1000/darwin_objdir/x86_64-apple-darwin14.1.0/i386/libgomp/.libs
-lm   -m32 -o ./e.50.1.exe    (timeout = 300)
spawn /sw/src/fink.build/gcc50-5.0.0-1000/darwin_objdir/gcc/xgcc
-B/sw/src/fink.build/gcc50-5.0.0-1000/darwin_objdir/gcc/
/sw/src/fink.build/gcc50-5.0.0-1000/gcc-5-20150116/libgomp/testsuite/libgomp.c/examples-4/e.50.1.c
-B/sw/src/fink.build/gcc50-5.0.0-1000/darwin_objdir/x86_64-apple-darwin14.1.0/i386/libgomp/
-B/sw/src/fink.build/gcc50-5.0.0-1000/darwin_objdir/x86_64-apple-darwin14.1.0/i386/libgomp/.libs
-I/sw/src/fink.build/gcc50-5.0.0-1000/darwin_objdir/x86_64-apple-darwin14.1.0/i386/libgomp
-I/sw/src/fink.build/gcc50-5.0.0-1000/gcc-5-20150116/libgomp/testsuite/../../include
-I/sw/src/fink.build/gcc50-5.0.0-1000/gcc-5-20150116/libgomp/testsuite/..
-march=i486 -shared-libgcc -fmessage-length=0 -fno-diagnostics-show-caret
-fdiagnostics-color=never -fopenmp -O2
-L/sw/src/fink.build/gcc50-5.0.0-1000/darwin_objdir/x86_64-apple-darwin14.1.0/i386/libgomp/.libs
-lm -m32 -o ./e.50.1.exe^M
PASS: libgomp.c/examples-4/e.50.1.c (test for excess errors)
Setting LD_LIBRARY_PATH to
.:/sw/src/fink.build/gcc50-5.0.0-1000/darwin_objdir/x86_64-apple-darwin14.1.0/i386/libgomp/.libs:/sw/src/fink.build/gcc50-5.0.0-1000/darwin_objdir/gcc:.:/sw/src/fink.build/gcc50-5.0.0-1000/darwin_objdir/x86_64-apple-darwin14.1.0/i386/libgomp/.libs:/sw/src/fink.build/gcc50-5.0.0-1000/darwin_objdir/gcc
spawn [open ...]^M

libgomp: while loading libgomp-plugin-host_nonshm.so.1:
dlopen(libgomp-plugin-host_nonshm.so.1, 1): image not found

so it looks like the test harness needs to be tightened up to capture when the
plugins don't actually load.


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

* [Bug libgomp/64635] darwin produces libgomp-plugin-host_nonshm.1.dylib but tries to load libgomp-plugin-host_nonshm.so.1
  2015-01-16 19:13 [Bug libgomp/64635] New: darwin produces libgomp-plugin-host_nonshm.1.dylib but tries to load libgomp-plugin-host_nonshm.so.1 howarth at bromo dot med.uc.edu
  2015-01-17  1:37 ` [Bug libgomp/64635] " howarth at bromo dot med.uc.edu
  2015-01-17  2:05 ` howarth at bromo dot med.uc.edu
@ 2015-01-17 18:17 ` howarth at bromo dot med.uc.edu
  2015-01-17 20:00 ` jakub at gcc dot gnu.org
                   ` (21 subsequent siblings)
  24 siblings, 0 replies; 26+ messages in thread
From: howarth at bromo dot med.uc.edu @ 2015-01-17 18:17 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64635

--- Comment #3 from howarth at bromo dot med.uc.edu ---
The minimal fix would be...

Index: libgomp/configure.tgt
===================================================================
--- libgomp/configure.tgt       (revision 219800)
+++ libgomp/configure.tgt       (working copy)
@@ -133,6 +133,8 @@ case "${target}" in

   *-*-darwin*)
        config_path="bsd posix"
+       # Load plugin as dylib on darwin.
+       XCFLAGS="${XCFLAGS} -DDYLIB_SHLIBEXT"
        ;;

   *-*-freebsd*)
Index: libgomp/target.c
===================================================================
--- libgomp/target.c    (revision 219800)
+++ libgomp/target.c    (working copy)
@@ -1055,7 +1055,11 @@ static void
 gomp_target_init (void)
 {
   const char *prefix ="libgomp-plugin-";
+#ifdef DYLIB_SHLIBEXT
+  const char *suffix = ".1.dylib";
+#else
   const char *suffix = ".so.1";
+#endif
   const char *cur, *next;
   char *plugin_name;
   int i, new_num_devices;


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

* [Bug libgomp/64635] darwin produces libgomp-plugin-host_nonshm.1.dylib but tries to load libgomp-plugin-host_nonshm.so.1
  2015-01-16 19:13 [Bug libgomp/64635] New: darwin produces libgomp-plugin-host_nonshm.1.dylib but tries to load libgomp-plugin-host_nonshm.so.1 howarth at bromo dot med.uc.edu
                   ` (2 preceding siblings ...)
  2015-01-17 18:17 ` howarth at bromo dot med.uc.edu
@ 2015-01-17 20:00 ` jakub at gcc dot gnu.org
  2015-01-18  1:18 ` howarth at bromo dot med.uc.edu
                   ` (20 subsequent siblings)
  24 siblings, 0 replies; 26+ messages in thread
From: jakub at gcc dot gnu.org @ 2015-01-17 20:00 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64635

--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Better add config/darwin/ and some header to it that defines SONAME_SUFFIX(n),
where it would be ".so." #n in config/posix/ version of the header and
"." #n ".dylib" in the config/darwin/ version of the header.


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

* [Bug libgomp/64635] darwin produces libgomp-plugin-host_nonshm.1.dylib but tries to load libgomp-plugin-host_nonshm.so.1
  2015-01-16 19:13 [Bug libgomp/64635] New: darwin produces libgomp-plugin-host_nonshm.1.dylib but tries to load libgomp-plugin-host_nonshm.so.1 howarth at bromo dot med.uc.edu
                   ` (3 preceding siblings ...)
  2015-01-17 20:00 ` jakub at gcc dot gnu.org
@ 2015-01-18  1:18 ` howarth at bromo dot med.uc.edu
  2015-01-18  9:35 ` iains at gcc dot gnu.org
                   ` (19 subsequent siblings)
  24 siblings, 0 replies; 26+ messages in thread
From: howarth at bromo dot med.uc.edu @ 2015-01-18  1:18 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64635

--- Comment #5 from howarth at bromo dot med.uc.edu ---
Created attachment 34469
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=34469&action=edit
proposed fix for plugin suffix

Bootstrap and libgomp regression tested on x86_64-apple-darwin14.


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

* [Bug libgomp/64635] darwin produces libgomp-plugin-host_nonshm.1.dylib but tries to load libgomp-plugin-host_nonshm.so.1
  2015-01-16 19:13 [Bug libgomp/64635] New: darwin produces libgomp-plugin-host_nonshm.1.dylib but tries to load libgomp-plugin-host_nonshm.so.1 howarth at bromo dot med.uc.edu
                   ` (4 preceding siblings ...)
  2015-01-18  1:18 ` howarth at bromo dot med.uc.edu
@ 2015-01-18  9:35 ` iains at gcc dot gnu.org
  2015-01-18  9:39 ` iains at gcc dot gnu.org
                   ` (18 subsequent siblings)
  24 siblings, 0 replies; 26+ messages in thread
From: iains at gcc dot gnu.org @ 2015-01-18  9:35 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64635

--- Comment #6 from Iain Sandoe <iains at gcc dot gnu.org> ---
this seems reasonable.

=====

However, for the record:

* if a shared library is User-facing and needs to be passed to ld64, then the
convention is that the suffix = .dylib

* if it's part of a framework, then the suffix is usually omitted.

----

* If it's a plug-in only dlopen-ed by a specific process, then the suffix can
be whatever you like (e.g. it could be .gomp-plugin to make it clear what its
purpose is).

Probably not worth the configuration-fu to achieve this tho.


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

* [Bug libgomp/64635] darwin produces libgomp-plugin-host_nonshm.1.dylib but tries to load libgomp-plugin-host_nonshm.so.1
  2015-01-16 19:13 [Bug libgomp/64635] New: darwin produces libgomp-plugin-host_nonshm.1.dylib but tries to load libgomp-plugin-host_nonshm.so.1 howarth at bromo dot med.uc.edu
                   ` (5 preceding siblings ...)
  2015-01-18  9:35 ` iains at gcc dot gnu.org
@ 2015-01-18  9:39 ` iains at gcc dot gnu.org
  2015-01-18 18:18 ` dominiq at lps dot ens.fr
                   ` (17 subsequent siblings)
  24 siblings, 0 replies; 26+ messages in thread
From: iains at gcc dot gnu.org @ 2015-01-18  9:39 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64635

--- Comment #7 from Iain Sandoe <iains at gcc dot gnu.org> ---
oh, and IIRC, the shlib suffix for AIX is .a so there might be another case to
placed.


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

* [Bug libgomp/64635] darwin produces libgomp-plugin-host_nonshm.1.dylib but tries to load libgomp-plugin-host_nonshm.so.1
  2015-01-16 19:13 [Bug libgomp/64635] New: darwin produces libgomp-plugin-host_nonshm.1.dylib but tries to load libgomp-plugin-host_nonshm.so.1 howarth at bromo dot med.uc.edu
                   ` (6 preceding siblings ...)
  2015-01-18  9:39 ` iains at gcc dot gnu.org
@ 2015-01-18 18:18 ` dominiq at lps dot ens.fr
  2015-01-18 21:30 ` howarth at bromo dot med.uc.edu
                   ` (16 subsequent siblings)
  24 siblings, 0 replies; 26+ messages in thread
From: dominiq at lps dot ens.fr @ 2015-01-18 18:18 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64635

Dominique d'Humieres <dominiq at lps dot ens.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2015-01-18
     Ever confirmed|0                           |1

--- Comment #8 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
With the attached patch at https://gcc.gnu.org/bugzilla/attachment.cgi?id=34469
and the patch at https://gcc.gnu.org/ml/gcc-patches/2015-01/msg01479.html, I
get

Running target unix/-m64
FAIL: libgomp.oacc-fortran/asyncwait-1.f90 -DACC_DEVICE_TYPE_host_nonshm=1
-DACC_MEM_SHARED=0  -g -flto  (internal compiler error)
FAIL: libgomp.oacc-fortran/asyncwait-1.f90 -DACC_DEVICE_TYPE_host_nonshm=1
-DACC_MEM_SHARED=0  -g -flto  (test for excess errors)
FAIL: libgomp.oacc-fortran/asyncwait-2.f90 -DACC_DEVICE_TYPE_host_nonshm=1
-DACC_MEM_SHARED=0  -g -flto  (internal compiler error)
FAIL: libgomp.oacc-fortran/asyncwait-2.f90 -DACC_DEVICE_TYPE_host_nonshm=1
-DACC_MEM_SHARED=0  -g -flto  (test for excess errors)
FAIL: libgomp.oacc-fortran/asyncwait-3.f90 -DACC_DEVICE_TYPE_host_nonshm=1
-DACC_MEM_SHARED=0  -g -flto  (internal compiler error)
FAIL: libgomp.oacc-fortran/asyncwait-3.f90 -DACC_DEVICE_TYPE_host_nonshm=1
-DACC_MEM_SHARED=0  -g -flto  (test for excess errors)
FAIL: libgomp.oacc-fortran/collapse-1.f90 -DACC_DEVICE_TYPE_host_nonshm=1
-DACC_MEM_SHARED=0  -g -flto  (internal compiler error)
FAIL: libgomp.oacc-fortran/collapse-1.f90 -DACC_DEVICE_TYPE_host_nonshm=1
-DACC_MEM_SHARED=0  -g -flto  (test for excess errors)
FAIL: libgomp.oacc-fortran/collapse-2.f90 -DACC_DEVICE_TYPE_host_nonshm=1
-DACC_MEM_SHARED=0  -g -flto  (internal compiler error)
FAIL: libgomp.oacc-fortran/collapse-2.f90 -DACC_DEVICE_TYPE_host_nonshm=1
-DACC_MEM_SHARED=0  -g -flto  (test for excess errors)
FAIL: libgomp.oacc-fortran/collapse-3.f90 -DACC_DEVICE_TYPE_host_nonshm=1
-DACC_MEM_SHARED=0  -g -flto  (internal compiler error)
FAIL: libgomp.oacc-fortran/collapse-3.f90 -DACC_DEVICE_TYPE_host_nonshm=1
-DACC_MEM_SHARED=0  -g -flto  (test for excess errors)
FAIL: libgomp.oacc-fortran/collapse-4.f90 -DACC_DEVICE_TYPE_host_nonshm=1
-DACC_MEM_SHARED=0  -g -flto  (internal compiler error)
FAIL: libgomp.oacc-fortran/collapse-4.f90 -DACC_DEVICE_TYPE_host_nonshm=1
-DACC_MEM_SHARED=0  -g -flto  (test for excess errors)
FAIL: libgomp.oacc-fortran/collapse-5.f90 -DACC_DEVICE_TYPE_host_nonshm=1
-DACC_MEM_SHARED=0  -g -flto  (internal compiler error)
FAIL: libgomp.oacc-fortran/collapse-5.f90 -DACC_DEVICE_TYPE_host_nonshm=1
-DACC_MEM_SHARED=0  -g -flto  (test for excess errors)
FAIL: libgomp.oacc-fortran/collapse-6.f90 -DACC_DEVICE_TYPE_host_nonshm=1
-DACC_MEM_SHARED=0  -g -flto  (internal compiler error)
FAIL: libgomp.oacc-fortran/collapse-6.f90 -DACC_DEVICE_TYPE_host_nonshm=1
-DACC_MEM_SHARED=0  -g -flto  (test for excess errors)
FAIL: libgomp.oacc-fortran/collapse-7.f90 -DACC_DEVICE_TYPE_host_nonshm=1
-DACC_MEM_SHARED=0  -g -flto  (internal compiler error)
FAIL: libgomp.oacc-fortran/collapse-7.f90 -DACC_DEVICE_TYPE_host_nonshm=1
-DACC_MEM_SHARED=0  -g -flto  (test for excess errors)
FAIL: libgomp.oacc-fortran/collapse-8.f90 -DACC_DEVICE_TYPE_host_nonshm=1
-DACC_MEM_SHARED=0  -g -flto  (internal compiler error)
FAIL: libgomp.oacc-fortran/collapse-8.f90 -DACC_DEVICE_TYPE_host_nonshm=1
-DACC_MEM_SHARED=0  -g -flto  (test for excess errors)
FAIL: libgomp.oacc-fortran/data-1.f90 -DACC_DEVICE_TYPE_host_nonshm=1
-DACC_MEM_SHARED=0  -g -flto  (internal compiler error)
FAIL: libgomp.oacc-fortran/data-1.f90 -DACC_DEVICE_TYPE_host_nonshm=1
-DACC_MEM_SHARED=0  -g -flto  (test for excess errors)
FAIL: libgomp.oacc-fortran/data-2.f90 -DACC_DEVICE_TYPE_host_nonshm=1
-DACC_MEM_SHARED=0  -g -flto  (internal compiler error)
FAIL: libgomp.oacc-fortran/data-2.f90 -DACC_DEVICE_TYPE_host_nonshm=1
-DACC_MEM_SHARED=0  -g -flto  (test for excess errors)
FAIL: libgomp.oacc-fortran/data-3.f90 -DACC_DEVICE_TYPE_host_nonshm=1
-DACC_MEM_SHARED=0  -g -flto  (internal compiler error)
FAIL: libgomp.oacc-fortran/data-3.f90 -DACC_DEVICE_TYPE_host_nonshm=1
-DACC_MEM_SHARED=0  -g -flto  (test for excess errors)
FAIL: libgomp.oacc-fortran/data-4-2.f90 -DACC_DEVICE_TYPE_host_nonshm=1
-DACC_MEM_SHARED=0  -g -flto  (internal compiler error)
FAIL: libgomp.oacc-fortran/data-4-2.f90 -DACC_DEVICE_TYPE_host_nonshm=1
-DACC_MEM_SHARED=0  -g -flto  (test for excess errors)
FAIL: libgomp.oacc-fortran/data-4.f90 -DACC_DEVICE_TYPE_host_nonshm=1
-DACC_MEM_SHARED=0  -g -flto  (internal compiler error)
FAIL: libgomp.oacc-fortran/data-4.f90 -DACC_DEVICE_TYPE_host_nonshm=1
-DACC_MEM_SHARED=0  -g -flto  (test for excess errors)
FAIL: libgomp.oacc-fortran/pset-1.f90 -DACC_DEVICE_TYPE_host_nonshm=1
-DACC_MEM_SHARED=0  -g -flto  (internal compiler error)
FAIL: libgomp.oacc-fortran/pset-1.f90 -DACC_DEVICE_TYPE_host_nonshm=1
-DACC_MEM_SHARED=0  -g -flto  (test for excess errors)
FAIL: libgomp.oacc-fortran/reduction-1.f90 -DACC_DEVICE_TYPE_host_nonshm=1
-DACC_MEM_SHARED=0  -g -flto  (internal compiler error)
FAIL: libgomp.oacc-fortran/reduction-1.f90 -DACC_DEVICE_TYPE_host_nonshm=1
-DACC_MEM_SHARED=0  -g -flto  (test for excess errors)
FAIL: libgomp.oacc-fortran/reduction-2.f90 -DACC_DEVICE_TYPE_host_nonshm=1
-DACC_MEM_SHARED=0  -g -flto  (internal compiler error)
FAIL: libgomp.oacc-fortran/reduction-2.f90 -DACC_DEVICE_TYPE_host_nonshm=1
-DACC_MEM_SHARED=0  -g -flto  (test for excess errors)
FAIL: libgomp.oacc-fortran/reduction-3.f90 -DACC_DEVICE_TYPE_host_nonshm=1
-DACC_MEM_SHARED=0  -g -flto  (internal compiler error)
FAIL: libgomp.oacc-fortran/reduction-3.f90 -DACC_DEVICE_TYPE_host_nonshm=1
-DACC_MEM_SHARED=0  -g -flto  (test for excess errors)
FAIL: libgomp.oacc-fortran/reduction-4.f90 -DACC_DEVICE_TYPE_host_nonshm=1
-DACC_MEM_SHARED=0  -g -flto  (internal compiler error)
FAIL: libgomp.oacc-fortran/reduction-4.f90 -DACC_DEVICE_TYPE_host_nonshm=1
-DACC_MEM_SHARED=0  -g -flto  (test for excess errors)
FAIL: libgomp.oacc-fortran/reduction-5.f90 -DACC_DEVICE_TYPE_host_nonshm=1
-DACC_MEM_SHARED=0  -g -flto  (internal compiler error)
FAIL: libgomp.oacc-fortran/reduction-5.f90 -DACC_DEVICE_TYPE_host_nonshm=1
-DACC_MEM_SHARED=0  -g -flto  (test for excess errors)
FAIL: libgomp.oacc-fortran/reduction-6.f90 -DACC_DEVICE_TYPE_host_nonshm=1
-DACC_MEM_SHARED=0  -g -flto  (internal compiler error)
FAIL: libgomp.oacc-fortran/reduction-6.f90 -DACC_DEVICE_TYPE_host_nonshm=1
-DACC_MEM_SHARED=0  -g -flto  (test for excess errors)
FAIL: libgomp.oacc-fortran/routine-1.f90 -DACC_DEVICE_TYPE_host_nonshm=1
-DACC_MEM_SHARED=0  -g -flto  (internal compiler error)
FAIL: libgomp.oacc-fortran/routine-1.f90 -DACC_DEVICE_TYPE_host_nonshm=1
-DACC_MEM_SHARED=0  -g -flto  (test for excess errors)
FAIL: libgomp.oacc-fortran/routine-2.f90 -DACC_DEVICE_TYPE_host_nonshm=1
-DACC_MEM_SHARED=0  -g -flto  (internal compiler error)
FAIL: libgomp.oacc-fortran/routine-2.f90 -DACC_DEVICE_TYPE_host_nonshm=1
-DACC_MEM_SHARED=0  -g -flto  (test for excess errors)
FAIL: libgomp.oacc-fortran/routine-3.f90 -DACC_DEVICE_TYPE_host_nonshm=1
-DACC_MEM_SHARED=0  -g -flto  (internal compiler error)
FAIL: libgomp.oacc-fortran/routine-3.f90 -DACC_DEVICE_TYPE_host_nonshm=1
-DACC_MEM_SHARED=0  -g -flto  (test for excess errors)
FAIL: libgomp.oacc-fortran/routine-4.f90 -DACC_DEVICE_TYPE_host_nonshm=1
-DACC_MEM_SHARED=0  -g -flto  (internal compiler error)
FAIL: libgomp.oacc-fortran/routine-4.f90 -DACC_DEVICE_TYPE_host_nonshm=1
-DACC_MEM_SHARED=0  -g -flto  (test for excess errors)
FAIL: libgomp.oacc-fortran/asyncwait-1.f90 -DACC_DEVICE_TYPE_host=1
-DACC_MEM_SHARED=1  -g -flto  (internal compiler error)
FAIL: libgomp.oacc-fortran/asyncwait-1.f90 -DACC_DEVICE_TYPE_host=1
-DACC_MEM_SHARED=1  -g -flto  (test for excess errors)
FAIL: libgomp.oacc-fortran/asyncwait-2.f90 -DACC_DEVICE_TYPE_host=1
-DACC_MEM_SHARED=1  -g -flto  (internal compiler error)
FAIL: libgomp.oacc-fortran/asyncwait-2.f90 -DACC_DEVICE_TYPE_host=1
-DACC_MEM_SHARED=1  -g -flto  (test for excess errors)
FAIL: libgomp.oacc-fortran/asyncwait-3.f90 -DACC_DEVICE_TYPE_host=1
-DACC_MEM_SHARED=1  -g -flto  (internal compiler error)
FAIL: libgomp.oacc-fortran/asyncwait-3.f90 -DACC_DEVICE_TYPE_host=1
-DACC_MEM_SHARED=1  -g -flto  (test for excess errors)
FAIL: libgomp.oacc-fortran/collapse-1.f90 -DACC_DEVICE_TYPE_host=1
-DACC_MEM_SHARED=1  -g -flto  (internal compiler error)
FAIL: libgomp.oacc-fortran/collapse-1.f90 -DACC_DEVICE_TYPE_host=1
-DACC_MEM_SHARED=1  -g -flto  (test for excess errors)
FAIL: libgomp.oacc-fortran/collapse-2.f90 -DACC_DEVICE_TYPE_host=1
-DACC_MEM_SHARED=1  -g -flto  (internal compiler error)
FAIL: libgomp.oacc-fortran/collapse-2.f90 -DACC_DEVICE_TYPE_host=1
-DACC_MEM_SHARED=1  -g -flto  (test for excess errors)
FAIL: libgomp.oacc-fortran/collapse-3.f90 -DACC_DEVICE_TYPE_host=1
-DACC_MEM_SHARED=1  -g -flto  (internal compiler error)
FAIL: libgomp.oacc-fortran/collapse-3.f90 -DACC_DEVICE_TYPE_host=1
-DACC_MEM_SHARED=1  -g -flto  (test for excess errors)
FAIL: libgomp.oacc-fortran/collapse-4.f90 -DACC_DEVICE_TYPE_host=1
-DACC_MEM_SHARED=1  -g -flto  (internal compiler error)
FAIL: libgomp.oacc-fortran/collapse-4.f90 -DACC_DEVICE_TYPE_host=1
-DACC_MEM_SHARED=1  -g -flto  (test for excess errors)
FAIL: libgomp.oacc-fortran/collapse-5.f90 -DACC_DEVICE_TYPE_host=1
-DACC_MEM_SHARED=1  -g -flto  (internal compiler error)
FAIL: libgomp.oacc-fortran/collapse-5.f90 -DACC_DEVICE_TYPE_host=1
-DACC_MEM_SHARED=1  -g -flto  (test for excess errors)
FAIL: libgomp.oacc-fortran/collapse-6.f90 -DACC_DEVICE_TYPE_host=1
-DACC_MEM_SHARED=1  -g -flto  (internal compiler error)
FAIL: libgomp.oacc-fortran/collapse-6.f90 -DACC_DEVICE_TYPE_host=1
-DACC_MEM_SHARED=1  -g -flto  (test for excess errors)
FAIL: libgomp.oacc-fortran/collapse-7.f90 -DACC_DEVICE_TYPE_host=1
-DACC_MEM_SHARED=1  -g -flto  (internal compiler error)
FAIL: libgomp.oacc-fortran/collapse-7.f90 -DACC_DEVICE_TYPE_host=1
-DACC_MEM_SHARED=1  -g -flto  (test for excess errors)
FAIL: libgomp.oacc-fortran/collapse-8.f90 -DACC_DEVICE_TYPE_host=1
-DACC_MEM_SHARED=1  -g -flto  (internal compiler error)
FAIL: libgomp.oacc-fortran/collapse-8.f90 -DACC_DEVICE_TYPE_host=1
-DACC_MEM_SHARED=1  -g -flto  (test for excess errors)
FAIL: libgomp.oacc-fortran/data-1.f90 -DACC_DEVICE_TYPE_host=1
-DACC_MEM_SHARED=1  -g -flto  (internal compiler error)
FAIL: libgomp.oacc-fortran/data-1.f90 -DACC_DEVICE_TYPE_host=1
-DACC_MEM_SHARED=1  -g -flto  (test for excess errors)
FAIL: libgomp.oacc-fortran/data-2.f90 -DACC_DEVICE_TYPE_host=1
-DACC_MEM_SHARED=1  -g -flto  (internal compiler error)
FAIL: libgomp.oacc-fortran/data-2.f90 -DACC_DEVICE_TYPE_host=1
-DACC_MEM_SHARED=1  -g -flto  (test for excess errors)
FAIL: libgomp.oacc-fortran/data-3.f90 -DACC_DEVICE_TYPE_host=1
-DACC_MEM_SHARED=1  -g -flto  (internal compiler error)
FAIL: libgomp.oacc-fortran/data-3.f90 -DACC_DEVICE_TYPE_host=1
-DACC_MEM_SHARED=1  -g -flto  (test for excess errors)
FAIL: libgomp.oacc-fortran/data-4-2.f90 -DACC_DEVICE_TYPE_host=1
-DACC_MEM_SHARED=1  -g -flto  (internal compiler error)
FAIL: libgomp.oacc-fortran/data-4-2.f90 -DACC_DEVICE_TYPE_host=1
-DACC_MEM_SHARED=1  -g -flto  (test for excess errors)
FAIL: libgomp.oacc-fortran/data-4.f90 -DACC_DEVICE_TYPE_host=1
-DACC_MEM_SHARED=1  -g -flto  (internal compiler error)
FAIL: libgomp.oacc-fortran/data-4.f90 -DACC_DEVICE_TYPE_host=1
-DACC_MEM_SHARED=1  -g -flto  (test for excess errors)
FAIL: libgomp.oacc-fortran/pset-1.f90 -DACC_DEVICE_TYPE_host=1
-DACC_MEM_SHARED=1  -g -flto  (internal compiler error)
FAIL: libgomp.oacc-fortran/pset-1.f90 -DACC_DEVICE_TYPE_host=1
-DACC_MEM_SHARED=1  -g -flto  (test for excess errors)
FAIL: libgomp.oacc-fortran/reduction-1.f90 -DACC_DEVICE_TYPE_host=1
-DACC_MEM_SHARED=1  -g -flto  (internal compiler error)
FAIL: libgomp.oacc-fortran/reduction-1.f90 -DACC_DEVICE_TYPE_host=1
-DACC_MEM_SHARED=1  -g -flto  (test for excess errors)
FAIL: libgomp.oacc-fortran/reduction-2.f90 -DACC_DEVICE_TYPE_host=1
-DACC_MEM_SHARED=1  -g -flto  (internal compiler error)
FAIL: libgomp.oacc-fortran/reduction-2.f90 -DACC_DEVICE_TYPE_host=1
-DACC_MEM_SHARED=1  -g -flto  (test for excess errors)
FAIL: libgomp.oacc-fortran/reduction-3.f90 -DACC_DEVICE_TYPE_host=1
-DACC_MEM_SHARED=1  -g -flto  (internal compiler error)
FAIL: libgomp.oacc-fortran/reduction-3.f90 -DACC_DEVICE_TYPE_host=1
-DACC_MEM_SHARED=1  -g -flto  (test for excess errors)
FAIL: libgomp.oacc-fortran/reduction-4.f90 -DACC_DEVICE_TYPE_host=1
-DACC_MEM_SHARED=1  -g -flto  (internal compiler error)
FAIL: libgomp.oacc-fortran/reduction-4.f90 -DACC_DEVICE_TYPE_host=1
-DACC_MEM_SHARED=1  -g -flto  (test for excess errors)
FAIL: libgomp.oacc-fortran/reduction-5.f90 -DACC_DEVICE_TYPE_host=1
-DACC_MEM_SHARED=1  -g -flto  (internal compiler error)
FAIL: libgomp.oacc-fortran/reduction-5.f90 -DACC_DEVICE_TYPE_host=1
-DACC_MEM_SHARED=1  -g -flto  (test for excess errors)
FAIL: libgomp.oacc-fortran/reduction-6.f90 -DACC_DEVICE_TYPE_host=1
-DACC_MEM_SHARED=1  -g -flto  (internal compiler error)
FAIL: libgomp.oacc-fortran/reduction-6.f90 -DACC_DEVICE_TYPE_host=1
-DACC_MEM_SHARED=1  -g -flto  (test for excess errors)
FAIL: libgomp.oacc-fortran/routine-1.f90 -DACC_DEVICE_TYPE_host=1
-DACC_MEM_SHARED=1  -g -flto  (internal compiler error)
FAIL: libgomp.oacc-fortran/routine-1.f90 -DACC_DEVICE_TYPE_host=1
-DACC_MEM_SHARED=1  -g -flto  (test for excess errors)
FAIL: libgomp.oacc-fortran/routine-2.f90 -DACC_DEVICE_TYPE_host=1
-DACC_MEM_SHARED=1  -g -flto  (internal compiler error)
FAIL: libgomp.oacc-fortran/routine-2.f90 -DACC_DEVICE_TYPE_host=1
-DACC_MEM_SHARED=1  -g -flto  (test for excess errors)
FAIL: libgomp.oacc-fortran/routine-3.f90 -DACC_DEVICE_TYPE_host=1
-DACC_MEM_SHARED=1  -g -flto  (internal compiler error)
FAIL: libgomp.oacc-fortran/routine-3.f90 -DACC_DEVICE_TYPE_host=1
-DACC_MEM_SHARED=1  -g -flto  (test for excess errors)
FAIL: libgomp.oacc-fortran/routine-4.f90 -DACC_DEVICE_TYPE_host=1
-DACC_MEM_SHARED=1  -g -flto  (internal compiler error)
FAIL: libgomp.oacc-fortran/routine-4.f90 -DACC_DEVICE_TYPE_host=1
-DACC_MEM_SHARED=1  -g -flto  (test for excess errors)

        === libgomp Summary for unix/-m64 ===

# of expected passes        6155
# of unexpected failures    108
# of unsupported tests        294

        === libgomp Summary ===

# of expected passes        12310
# of unexpected failures    216
# of unsupported tests        588

(and the same with -m32). The ICEs are of the kind

spawn /opt/gcc/build_w/gcc/xgcc -B/opt/gcc/build_w/gcc/
/opt/gcc/work/libgomp/testsuite/libgomp.oacc-fortran/data-3.f90
-B/opt/gcc/build_w/x86_64-apple-darwin14.0.0/i386/libgomp/
-B/opt/gcc/build_w/x86_64-apple-darwin14.0.0/i386/libgomp/.libs
-I/opt/gcc/build_w/x86_64-apple-darwin14.0.0/i386/libgomp
-I/opt/gcc/work/libgomp/testsuite/../../include
-I/opt/gcc/work/libgomp/testsuite/.. -march=i486 -shared-libgcc
-fmessage-length=0 -fno-diagnostics-show-caret -fdiagnostics-color=never
-fopenacc
-B/opt/gcc/build_w/x86_64-apple-darwin14.0.0/i386/libgomp/../libquadmath/.libs/
-DACC_DEVICE_TYPE_host_nonshm=1 -DACC_MEM_SHARED=0 -g -flto
-B/opt/gcc/build_w/x86_64-apple-darwin14.0.0/i386/libgomp/../libgfortran/.libs
-fintrinsic-modules-path=/opt/gcc/build_w/x86_64-apple-darwin14.0.0/i386/libgomp
-L/opt/gcc/build_w/x86_64-apple-darwin14.0.0/i386/libgomp/.libs
-L/opt/gcc/build_w/x86_64-apple-darwin14.0.0/i386/libgomp/../libquadmath/.libs/
-L/opt/gcc/build_w/x86_64-apple-darwin14.0.0/i386/libgomp/../libgfortran/.libs
-lgfortran -lm -m32 -o ./data-3.exe
lto1: internal compiler error: in streamer_get_builtin_tree, at
tree-streamer-in.c:1151

lto1: internal compiler error: Abort trap: 6


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

* [Bug libgomp/64635] darwin produces libgomp-plugin-host_nonshm.1.dylib but tries to load libgomp-plugin-host_nonshm.so.1
  2015-01-16 19:13 [Bug libgomp/64635] New: darwin produces libgomp-plugin-host_nonshm.1.dylib but tries to load libgomp-plugin-host_nonshm.so.1 howarth at bromo dot med.uc.edu
                   ` (7 preceding siblings ...)
  2015-01-18 18:18 ` dominiq at lps dot ens.fr
@ 2015-01-18 21:30 ` howarth at bromo dot med.uc.edu
  2015-01-18 21:38 ` howarth at bromo dot med.uc.edu
                   ` (15 subsequent siblings)
  24 siblings, 0 replies; 26+ messages in thread
From: howarth at bromo dot med.uc.edu @ 2015-01-18 21:30 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64635

--- Comment #9 from howarth at bromo dot med.uc.edu ---
(In reply to Dominique d'Humieres from comment #8)

Reverting to a clean tree at r219824 and reapplying...

https://gcc.gnu.org/bugzilla/attachment.cgi?id=34469
https://gcc.gnu.org/ml/gcc-patches/2015-01/msg01479.html

I still get pristine test suite results in libgomp.

Native configuration is x86_64-apple-darwin14.1.0

        === libgomp tests ===


Running target unix/-m32

        === libgomp Summary for unix/-m32 ===

# of expected passes        5715
# of unsupported tests        281

Running target unix/-m64

        === libgomp Summary for unix/-m64 ===

# of expected passes        5715
# of unsupported tests        281

        === libgomp Summary ===

# of expected passes        11430
# of unsupported tests        562

Compiler version: gcc libgomp 
Platform: x86_64-apple-darwin14.1.0
configure flags: --prefix=/sw --prefix=/sw/lib/gcc5.0 --mandir=/sw/share/man
--infodir=/sw/lib/gcc5.0/info
--enable-languages=c,c++,fortran,lto,objc,obj-c++,java --with-gmp=/sw
--with-libiconv-prefix=/sw --with-isl=/sw --with-mpc=/sw --with-system-zlib
--x-includes=/usr/X11R6/include --x-libraries=/usr/X11R6/lib
--program-suffix=-fsf-5.0

Here, bootstrapping from the system compilers, those failing test cases show up
as unsupported...

Executing on host: /sw/src/fink.build/gcc50-5.0.0-1000/darwin_objdir/gcc/xgcc
-B/sw/src/fink.build/gcc50-5.0.0-1000/darwin_objdir/gcc/ -x c++
/sw/src/fink.build/gcc50-5.0.0-1000/gcc-5-20150118/libgomp/testsuite/libgomp.oacc-c++/../libgomp.oacc-c-c++-common/acc_on_device-1.c

-B/sw/src/fink.build/gcc50-5.0.0-1000/darwin_objdir/x86_64-apple-darwin14.1.0/i386/libgomp/
-B/sw/src/fink.build/gcc50-5.0.0-1000/darwin_objdir/x86_64-apple-darwin14.1.0/i386/libgomp/.libs
-I/sw/src/fink.build/gcc50-5.0.0-1000/darwin_objdir/x86_64-apple-darwin14.1.0/i386/libgomp
-I/sw/src/fink.build/gcc50-5.0.0-1000/gcc-5-20150118/libgomp/testsuite/../../include
-I/sw/src/fink.build/gcc50-5.0.0-1000/gcc-5-20150118/libgomp/testsuite/..
-march=i486 -shared-libgcc -fmessage-length=0 -fno-diagnostics-show-caret
-fdiagnostics-color=never -fopenacc -DACC_DEVICE_TYPE_host_nonshm=1
-DACC_MEM_SHARED=0 -nostdinc++
-I/sw/src/fink.build/gcc50-5.0.0-1000/darwin_objdir/x86_64-apple-darwin14.1.0/i386/libstdc++-v3/include/x86_64-apple-darwin14.1.0
-I/sw/src/fink.build/gcc50-5.0.0-1000/darwin_objdir/x86_64-apple-darwin14.1.0/i386/libstdc++-v3/include
-I/sw/src/fink.build/gcc50-5.0.0-1000/gcc-5-20150118/libstdc++-v3/libsupc++
-I/sw/src/fink.build/gcc50-5.0.0-1000/gcc-5-20150118/libstdc++-v3/include/backward
-I/sw/src/fink.build/gcc50-5.0.0-1000/gcc-5-20150118/libstdc++-v3/testsuite/util
-fno-builtin-acc_on_device
-B/sw/src/fink.build/gcc50-5.0.0-1000/darwin_objdir/x86_64-apple-darwin14.1.0/i386/libgomp/../libstdc++-v3/src/.libs
 
-L/sw/src/fink.build/gcc50-5.0.0-1000/darwin_objdir/x86_64-apple-darwin14.1.0/i386/libgomp/.libs
-L/sw/src/fink.build/gcc50-5.0.0-1000/darwin_objdir/x86_64-apple-darwin14.1.0/i386/libgomp/../libstdc++-v3/src/.libs
-lstdc++ -lm   -m32 -o ./acc_on_device-1.exe    (timeout = 300)
spawn /sw/src/fink.build/gcc50-5.0.0-1000/darwin_objdir/gcc/xgcc
-B/sw/src/fink.build/gcc50-5.0.0-1000/darwin_objdir/gcc/ -x c++
/sw/src/fink.build/gcc50-5.0.0-1000/gcc-5-20150118/libgomp/testsuite/libgomp.oacc-c++/../libgomp.oacc-c-c++-common/acc_on_device-1.c
-B/sw/src/fink.build/gcc50-5.0.0-1000/darwin_objdir/x86_64-apple-darwin14.1.0/i386/libgomp/
-B/sw/src/fink.build/gcc50-5.0.0-1000/darwin_objdir/x86_64-apple-darwin14.1.0/i386/libgomp/.libs
-I/sw/src/fink.build/gcc50-5.0.0-1000/darwin_objdir/x86_64-apple-darwin14.1.0/i386/libgomp
-I/sw/src/fink.build/gcc50-5.0.0-1000/gcc-5-20150118/libgomp/testsuite/../../include
-I/sw/src/fink.build/gcc50-5.0.0-1000/gcc-5-20150118/libgomp/testsuite/..
-march=i486 -shared-libgcc -fmessage-length=0 -fno-diagnostics-show-caret
-fdiagnostics-color=never -fopenacc -DACC_DEVICE_TYPE_host_nonshm=1
-DACC_MEM_SHARED=0 -nostdinc++
-I/sw/src/fink.build/gcc50-5.0.0-1000/darwin_objdir/x86_64-apple-darwin14.1.0/i386/libstdc++-v3/include/x86_64-apple-darwin14.1.0
-I/sw/src/fink.build/gcc50-5.0.0-1000/darwin_objdir/x86_64-apple-darwin14.1.0/i386/libstdc++-v3/include
-I/sw/src/fink.build/gcc50-5.0.0-1000/gcc-5-20150118/libstdc++-v3/libsupc++
-I/sw/src/fink.build/gcc50-5.0.0-1000/gcc-5-20150118/libstdc++-v3/include/backward
-I/sw/src/fink.build/gcc50-5.0.0-1000/gcc-5-20150118/libstdc++-v3/testsuite/util
-fno-builtin-acc_on_device
-B/sw/src/fink.build/gcc50-5.0.0-1000/darwin_objdir/x86_64-apple-darwin14.1.0/i386/libgomp/../libstdc++-v3/src/.libs
-L/sw/src/fink.build/gcc50-5.0.0-1000/darwin_objdir/x86_64-apple-darwin14.1.0/i386/libgomp/.libs
-L/sw/src/fink.build/gcc50-5.0.0-1000/darwin_objdir/x86_64-apple-darwin14.1.0/i386/libgomp/../libstdc++-v3/src/.libs
-lstdc++ -lm -m32 -o ./acc_on_device-1.exe^M
PASS: libgomp.oacc-c++/../libgomp.oacc-c-c++-common/acc_on_device-1.c
-DACC_DEVICE_TYPE_host_nonshm=1 -DACC_MEM_SHARED=0 (test for excess errors)
Setting LD_LIBRARY_PATH to
.:/sw/src/fink.build/gcc50-5.0.0-1000/darwin_objdir/x86_64-apple-darwin14.1.0/i386/libgomp/.libs:/sw/src/fink.build/gcc50-5.0.0-1000/darwin_objdir/gcc:/sw/src/fink.build/gcc50-5.0.0-1000/darwin_objdir/x86_64-apple-darwin14.1.0/i386/libgomp/../libstdc++-v3/src/.libs:.:/sw/src/fink.build/gcc50-5.0.0-1000/darwin_objdir/x86_64-apple-darwin14.1.0/i386/libgomp/.libs:/sw/src/fink.build/gcc50-5.0.0-1000/darwin_objdir/gcc:/sw/src/fink.build/gcc50-5.0.0-1000/darwin_objdir/x86_64-apple-darwin14.1.0/i386/libgomp/../libstdc++-v3/src/.libs
spawn [open ...]^M
PASS: libgomp.oacc-c++/../libgomp.oacc-c-c++-common/acc_on_device-1.c
-DACC_DEVICE_TYPE_host_nonshm=1 -DACC_MEM_SHARED=0 execution test
UNSUPPORTED: libgomp.oacc-c++/../libgomp.oacc-c-c++-common/asyncwait-1.c
-DACC_DEVICE_TYPE_host_nonshm=1 -DACC_MEM_SHARED=0


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

* [Bug libgomp/64635] darwin produces libgomp-plugin-host_nonshm.1.dylib but tries to load libgomp-plugin-host_nonshm.so.1
  2015-01-16 19:13 [Bug libgomp/64635] New: darwin produces libgomp-plugin-host_nonshm.1.dylib but tries to load libgomp-plugin-host_nonshm.so.1 howarth at bromo dot med.uc.edu
                   ` (8 preceding siblings ...)
  2015-01-18 21:30 ` howarth at bromo dot med.uc.edu
@ 2015-01-18 21:38 ` howarth at bromo dot med.uc.edu
  2015-01-18 22:02 ` dominiq at lps dot ens.fr
                   ` (14 subsequent siblings)
  24 siblings, 0 replies; 26+ messages in thread
From: howarth at bromo dot med.uc.edu @ 2015-01-18 21:38 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64635

--- Comment #10 from howarth at bromo dot med.uc.edu ---
The test cases showing up as unsupported here are actually aborting...

% fsf-gdb ./acc_on_device-1.exe     
Program received signal SIGABRT, Aborted.
0x9b91069a in __pthread_kill () from /usr/lib/system/libsystem_kernel.dylib
(gdb) bt
#0  0x9b91069a in __pthread_kill () from /usr/lib/system/libsystem_kernel.dylib
#1  0x91118f19 in ?? () from /usr/lib/system/libsystem_pthread.dylib
#2  0x98b16eee in abort () from /usr/lib/system/libsystem_c.dylib
#3  0x00001ed0 in ?? ()
#4  0x0028dc49 in ?? () from /sw/lib/gcc5.0/lib/i386/libgomp.1.dylib
#5  0x00001d9d in ?? ()
#6  0x9ae236d9 in start () from /usr/lib/system/libdyld.dylib
warning: (Internal error: pc 0x1 in read in psymtab, but not in symtab.)

warning: (Internal error: pc 0x0 in read in psymtab, but not in symtab.)

warning: (Internal error: pc 0x0 in read in psymtab, but not in symtab.)

warning: (Internal error: pc 0x0 in read in psymtab, but not in symtab.)

warning: (Internal error: pc 0x0 in read in psymtab, but not in symtab.)

#7  0x00000001 in ?? ()
warning: (Internal error: pc 0x0 in read in psymtab, but not in symtab.)

#8  0xbffff6bc in ?? ()
warning: (Internal error: pc 0x0 in read in psymtab, but not in symtab.)

warning: (Internal error: pc 0x1 in read in psymtab, but not in symtab.)

warning: (Internal error: pc 0x0 in read in psymtab, but not in symtab.)

warning: (Internal error: pc 0x0 in read in psymtab, but not in symtab.)

warning: (Internal error: pc 0x0 in read in psymtab, but not in symtab.)

warning: (Internal error: pc 0x0 in read in psymtab, but not in symtab.)

#9  0x00000001 in ?? ()
warning: (Internal error: pc 0x0 in read in psymtab, but not in symtab.)

#10 0xbffff80c in ?? ()
(gdb)


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

* [Bug libgomp/64635] darwin produces libgomp-plugin-host_nonshm.1.dylib but tries to load libgomp-plugin-host_nonshm.so.1
  2015-01-16 19:13 [Bug libgomp/64635] New: darwin produces libgomp-plugin-host_nonshm.1.dylib but tries to load libgomp-plugin-host_nonshm.so.1 howarth at bromo dot med.uc.edu
                   ` (9 preceding siblings ...)
  2015-01-18 21:38 ` howarth at bromo dot med.uc.edu
@ 2015-01-18 22:02 ` dominiq at lps dot ens.fr
  2015-01-19 14:36 ` dominiq at lps dot ens.fr
                   ` (13 subsequent siblings)
  24 siblings, 0 replies; 26+ messages in thread
From: dominiq at lps dot ens.fr @ 2015-01-18 22:02 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64635

--- Comment #11 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
For some reason you have less expected passes than me: yours

        === libgomp Summary ===

# of expected passes        11430
# of unsupported tests        562

mine

        === libgomp Summary ===

# of expected passes        12310
# of unexpected failures    216
# of unsupported tests        588

my config is

../work/configure --prefix=/opt/gcc/gcc4.10w
--enable-languages=c,c++,fortran,objc,obj-c++,ada,java,lto
--with-gmp=/opt/mp-new --with-system-zlib --with-isl=/opt/mp-new --enable-lto
--enable-plugin --with-arch=corei7 --with-cpu=corei7

on a MacBook Pro (Retina, 15-inch, Early 2013) processor 2,8 GHz Intel Core i7,
GPU NVIDIA GeForce GT 650M.


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

* [Bug libgomp/64635] darwin produces libgomp-plugin-host_nonshm.1.dylib but tries to load libgomp-plugin-host_nonshm.so.1
  2015-01-16 19:13 [Bug libgomp/64635] New: darwin produces libgomp-plugin-host_nonshm.1.dylib but tries to load libgomp-plugin-host_nonshm.so.1 howarth at bromo dot med.uc.edu
                   ` (10 preceding siblings ...)
  2015-01-18 22:02 ` dominiq at lps dot ens.fr
@ 2015-01-19 14:36 ` dominiq at lps dot ens.fr
  2015-01-19 15:39 ` howarth at bromo dot med.uc.edu
                   ` (12 subsequent siblings)
  24 siblings, 0 replies; 26+ messages in thread
From: dominiq at lps dot ens.fr @ 2015-01-19 14:36 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64635

--- Comment #14 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
> With the attached patch at https://gcc.gnu.org/bugzilla/attachment.cgi?id=34469
> and the patch at https://gcc.gnu.org/ml/gcc-patches/2015-01/msg01479.html,
> I get ...

I have found the origin of the problem: I am testing gfortran with the
additional options '-g -flto', apparently this propagates to
libgomp.oacc-fortran (I did not check why). Could someone test
libgomp.oacc-fortran with these options on a linux platform?


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

* [Bug libgomp/64635] darwin produces libgomp-plugin-host_nonshm.1.dylib but tries to load libgomp-plugin-host_nonshm.so.1
  2015-01-16 19:13 [Bug libgomp/64635] New: darwin produces libgomp-plugin-host_nonshm.1.dylib but tries to load libgomp-plugin-host_nonshm.so.1 howarth at bromo dot med.uc.edu
                   ` (11 preceding siblings ...)
  2015-01-19 14:36 ` dominiq at lps dot ens.fr
@ 2015-01-19 15:39 ` howarth at bromo dot med.uc.edu
  2015-01-19 15:47 ` dominiq at lps dot ens.fr
                   ` (11 subsequent siblings)
  24 siblings, 0 replies; 26+ messages in thread
From: howarth at bromo dot med.uc.edu @ 2015-01-19 15:39 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64635

--- Comment #15 from howarth at bromo dot med.uc.edu ---
(In reply to Dominique d'Humieres from comment #14)
> > With the attached patch at https://gcc.gnu.org/bugzilla/attachment.cgi?id=34469
> > and the patch at https://gcc.gnu.org/ml/gcc-patches/2015-01/msg01479.html,
> > I get ...
> 
> I have found the origin of the problem: I am testing gfortran with the
> additional options '-g -flto', apparently this propagates to
> libgomp.oacc-fortran (I did not check why). Could someone test
> libgomp.oacc-fortran with these options on a linux platform?

I see the same ICEs on linux...

$ /home/howarth/build/gcc/xgcc -B/home/howarth/build/gcc/
/home/howarth/gcc-trunk/libgomp/testsuite/libgomp.oacc-fortran/asyncwait-1.f90 
-B/home/howarth/build/x86_64-unknown-linux-gnu/32/libgomp/
-B/home/howarth/build/x86_64-unknown-linux-gnu/32/libgomp/.libs
-I/home/howarth/build/x86_64-unknown-linux-gnu/32/libgomp
-I/home/howarth/gcc-trunk/libgomp/testsuite/../../include
-I/home/howarth/gcc-trunk/libgomp/testsuite/.. -march=i486 -fmessage-length=0
-fno-diagnostics-show-caret -fdiagnostics-color=never -fopenacc
-B/home/howarth/build/x86_64-unknown-linux-gnu/32/libgomp/../libquadmath/.libs/
-DACC_DEVICE_TYPE_host_nonshm=1 -DACC_MEM_SHARED=0  -O0  
-B/home/howarth/build/x86_64-unknown-linux-gnu/32/libgomp/../libgfortran/.libs
-fintrinsic-modules-path=/home/howarth/build/x86_64-unknown-linux-gnu/32/libgomp
  -L/home/howarth/build/x86_64-unknown-linux-gnu/32/libgomp/.libs
-L/home/howarth/build/x86_64-unknown-linux-gnu/32/libgomp/../libquadmath/.libs/
-L/home/howarth/build/x86_64-unknown-linux-gnu/32/libgomp/../libgfortran/.libs
-lgfortran -lm   -m32 -o ./asyncwait-1.exe
[howarth@diego1 testsuite]$ /home/howarth/build/gcc/xgcc
-B/home/howarth/build/gcc/
/home/howarth/gcc-trunk/libgomp/testsuite/libgomp.oacc-fortran/asyncwait-1.f90
-B/home/howarth/build/x86_64-unknown-linux-gnu/32/libgomp/
-B/home/howarth/build/x86_64-unknown-linux-gnu/32/libgomp/.libs
-I/home/howarth/build/x86_64-unknown-linux-gnu/32/libgomp
-I/home/howarth/gcc-trunk/libgomp/testsuite/../../include
-I/home/howarth/gcc-trunk/libgomp/testsuite/.. -march=i486 -fmessage-length=0
-fno-diagnostics-show-caret -fdiagnostics-color=never -fopenacc
-B/home/howarth/build/x86_64-unknown-linux-gnu/32/libgomp/../libquadmath/.libs/
-DACC_DEVICE_TYPE_host_nonshm=1 -DACC_MEM_SHARED=0 -O0
-B/home/howarth/build/x86_64-unknown-linux-gnu/32/libgomp/../libgfortran/.libs
-fintrinsic-modules-path=/home/howarth/build/x86_64-unknown-linux-gnu/32/libgomp
-L/home/howarth/build/x86_64-unknown-linux-gnu/32/libgomp/.libs
-L/home/howarth/build/x86_64-unknown-linux-gnu/32/libgomp/../libquadmath/.libs/
-L/home/howarth/build/x86_64-unknown-linux-gnu/32/libgomp/../libgfortran/.libs
-lgfortran -lm -m32 -flto -o ./asyncwait-1.exe
lto1: internal compiler error: in streamer_get_builtin_tree, at
tree-streamer-in.c:1151
0xc25fcf streamer_get_builtin_tree(lto_input_block*, data_in*)
    ../../gcc-trunk/gcc/tree-streamer-in.c:1151
0x90a944 lto_input_tree_1(lto_input_block*, data_in*, LTO_tags, unsigned int)
    ../../gcc-trunk/gcc/lto-streamer-in.c:1320
0x90ab29 lto_input_scc(lto_input_block*, data_in*, unsigned int*, unsigned
int*)
    ../../gcc-trunk/gcc/lto-streamer-in.c:1248
0x5f862e lto_read_decls
    ../../gcc-trunk/gcc/lto/lto.c:1900
0x5fa6a0 lto_file_finalize
    ../../gcc-trunk/gcc/lto/lto.c:2229
0x5fa6a0 lto_create_files_from_ids
    ../../gcc-trunk/gcc/lto/lto.c:2239
0x5fa6a0 lto_file_read
    ../../gcc-trunk/gcc/lto/lto.c:2280
0x5fa6a0 read_cgraph_and_symbols
    ../../gcc-trunk/gcc/lto/lto.c:2981
0x5fa6a0 lto_main()
    ../../gcc-trunk/gcc/lto/lto.c:3436
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <http://gcc.gnu.org/bugs.html> for instructions.
lto-wrapper: fatal error: /home/howarth/build/gcc/xgcc returned 1 exit status
compilation terminated.
/home/howarth/dist_binutils/bin/ld: lto-wrapper failed
collect2: error: ld returned 1 exit status


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

* [Bug libgomp/64635] darwin produces libgomp-plugin-host_nonshm.1.dylib but tries to load libgomp-plugin-host_nonshm.so.1
  2015-01-16 19:13 [Bug libgomp/64635] New: darwin produces libgomp-plugin-host_nonshm.1.dylib but tries to load libgomp-plugin-host_nonshm.so.1 howarth at bromo dot med.uc.edu
                   ` (12 preceding siblings ...)
  2015-01-19 15:39 ` howarth at bromo dot med.uc.edu
@ 2015-01-19 15:47 ` dominiq at lps dot ens.fr
  2015-01-21 20:50 ` howarth at bromo dot med.uc.edu
                   ` (10 subsequent siblings)
  24 siblings, 0 replies; 26+ messages in thread
From: dominiq at lps dot ens.fr @ 2015-01-19 15:47 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64635

--- Comment #16 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
> > With the attached patch at https://gcc.gnu.org/bugzilla/attachment.cgi?id=34469
> > and the patch at https://gcc.gnu.org/ml/gcc-patches/2015-01/msg01479.html,
> > I get ...
>
> I have found the origin of the problem: I am testing gfortran with
> the additional options '-g -flto', apparently this propagates
> to libgomp.oacc-fortran (I did not check why). Could someone test
> libgomp.oacc-fortran with these options on a linux platform?

I have opened pr64672 for that.


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

* [Bug libgomp/64635] darwin produces libgomp-plugin-host_nonshm.1.dylib but tries to load libgomp-plugin-host_nonshm.so.1
  2015-01-16 19:13 [Bug libgomp/64635] New: darwin produces libgomp-plugin-host_nonshm.1.dylib but tries to load libgomp-plugin-host_nonshm.so.1 howarth at bromo dot med.uc.edu
                   ` (13 preceding siblings ...)
  2015-01-19 15:47 ` dominiq at lps dot ens.fr
@ 2015-01-21 20:50 ` howarth at bromo dot med.uc.edu
  2015-01-28 16:20 ` howarth at bromo dot med.uc.edu
                   ` (9 subsequent siblings)
  24 siblings, 0 replies; 26+ messages in thread
From: howarth at bromo dot med.uc.edu @ 2015-01-21 20:50 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64635

--- Comment #17 from howarth at bromo dot med.uc.edu ---
Are any of the libgomp maintainers or Thomas going submit some variation on the
proposed patch to gcc-patches? Stock gcc trunk is still showing...

        === libgomp Summary ===

# of expected passes        10612
# of unexpected failures    720
# of unsupported tests        562

on x86_64 darwin due to this bug.


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

* [Bug libgomp/64635] darwin produces libgomp-plugin-host_nonshm.1.dylib but tries to load libgomp-plugin-host_nonshm.so.1
  2015-01-16 19:13 [Bug libgomp/64635] New: darwin produces libgomp-plugin-host_nonshm.1.dylib but tries to load libgomp-plugin-host_nonshm.so.1 howarth at bromo dot med.uc.edu
                   ` (14 preceding siblings ...)
  2015-01-21 20:50 ` howarth at bromo dot med.uc.edu
@ 2015-01-28 16:20 ` howarth at bromo dot med.uc.edu
  2015-01-28 16:23 ` jakub at gcc dot gnu.org
                   ` (8 subsequent siblings)
  24 siblings, 0 replies; 26+ messages in thread
From: howarth at bromo dot med.uc.edu @ 2015-01-28 16:20 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64635

--- Comment #18 from howarth at bromo dot med.uc.edu ---
Created attachment 34609
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=34609&action=edit
proposed fix with aix and hpux support added

Add support to handle hpux suffix nomenclature.


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

* [Bug libgomp/64635] darwin produces libgomp-plugin-host_nonshm.1.dylib but tries to load libgomp-plugin-host_nonshm.so.1
  2015-01-16 19:13 [Bug libgomp/64635] New: darwin produces libgomp-plugin-host_nonshm.1.dylib but tries to load libgomp-plugin-host_nonshm.so.1 howarth at bromo dot med.uc.edu
                   ` (15 preceding siblings ...)
  2015-01-28 16:20 ` howarth at bromo dot med.uc.edu
@ 2015-01-28 16:23 ` jakub at gcc dot gnu.org
  2015-01-28 16:51 ` howarth at bromo dot med.uc.edu
                   ` (7 subsequent siblings)
  24 siblings, 0 replies; 26+ messages in thread
From: jakub at gcc dot gnu.org @ 2015-01-28 16:23 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64635

--- Comment #19 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
(In reply to howarth from comment #18)
> Created attachment 34609 [details]
> proposed fix with aix and hpux support added
> 
> Add support to handle hpux suffix nomenclature.

Please use a space between SONAME_SUFFIX and (1).  Otherwise, it LGTM, with
proper ChangeLog entry.


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

* [Bug libgomp/64635] darwin produces libgomp-plugin-host_nonshm.1.dylib but tries to load libgomp-plugin-host_nonshm.so.1
  2015-01-16 19:13 [Bug libgomp/64635] New: darwin produces libgomp-plugin-host_nonshm.1.dylib but tries to load libgomp-plugin-host_nonshm.so.1 howarth at bromo dot med.uc.edu
                   ` (16 preceding siblings ...)
  2015-01-28 16:23 ` jakub at gcc dot gnu.org
@ 2015-01-28 16:51 ` howarth at bromo dot med.uc.edu
  2015-01-28 16:53 ` howarth at bromo dot med.uc.edu
                   ` (6 subsequent siblings)
  24 siblings, 0 replies; 26+ messages in thread
From: howarth at bromo dot med.uc.edu @ 2015-01-28 16:51 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64635

--- Comment #20 from howarth at bromo dot med.uc.edu ---
Created attachment 34610
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=34610&action=edit
proposed fix with aix and hpux support added and changelog


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

* [Bug libgomp/64635] darwin produces libgomp-plugin-host_nonshm.1.dylib but tries to load libgomp-plugin-host_nonshm.so.1
  2015-01-16 19:13 [Bug libgomp/64635] New: darwin produces libgomp-plugin-host_nonshm.1.dylib but tries to load libgomp-plugin-host_nonshm.so.1 howarth at bromo dot med.uc.edu
                   ` (17 preceding siblings ...)
  2015-01-28 16:51 ` howarth at bromo dot med.uc.edu
@ 2015-01-28 16:53 ` howarth at bromo dot med.uc.edu
  2015-01-28 17:06 ` jakub at gcc dot gnu.org
                   ` (5 subsequent siblings)
  24 siblings, 0 replies; 26+ messages in thread
From: howarth at bromo dot med.uc.edu @ 2015-01-28 16:53 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64635

--- Comment #21 from howarth at bromo dot med.uc.edu ---
Can someone please take this patch over and add the necessary license comments
for the new files? Thanks in advance.


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

* [Bug libgomp/64635] darwin produces libgomp-plugin-host_nonshm.1.dylib but tries to load libgomp-plugin-host_nonshm.so.1
  2015-01-16 19:13 [Bug libgomp/64635] New: darwin produces libgomp-plugin-host_nonshm.1.dylib but tries to load libgomp-plugin-host_nonshm.so.1 howarth at bromo dot med.uc.edu
                   ` (18 preceding siblings ...)
  2015-01-28 16:53 ` howarth at bromo dot med.uc.edu
@ 2015-01-28 17:06 ` jakub at gcc dot gnu.org
  2015-01-28 20:53 ` howarth at bromo dot med.uc.edu
                   ` (4 subsequent siblings)
  24 siblings, 0 replies; 26+ messages in thread
From: jakub at gcc dot gnu.org @ 2015-01-28 17:06 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64635

--- Comment #22 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Just pick it from say libgomp/config/linux/proc.h, replace 2011-2015 with 2015
and put your name in there.


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

* [Bug libgomp/64635] darwin produces libgomp-plugin-host_nonshm.1.dylib but tries to load libgomp-plugin-host_nonshm.so.1
  2015-01-16 19:13 [Bug libgomp/64635] New: darwin produces libgomp-plugin-host_nonshm.1.dylib but tries to load libgomp-plugin-host_nonshm.so.1 howarth at bromo dot med.uc.edu
                   ` (19 preceding siblings ...)
  2015-01-28 17:06 ` jakub at gcc dot gnu.org
@ 2015-01-28 20:53 ` howarth at bromo dot med.uc.edu
  2015-01-28 21:24 ` mrs at gcc dot gnu.org
                   ` (3 subsequent siblings)
  24 siblings, 0 replies; 26+ messages in thread
From: howarth at bromo dot med.uc.edu @ 2015-01-28 20:53 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64635

--- Comment #23 from howarth at bromo dot med.uc.edu ---
Patch posted at https://gcc.gnu.org/ml/gcc-patches/2015-01/msg02536.html.


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

* [Bug libgomp/64635] darwin produces libgomp-plugin-host_nonshm.1.dylib but tries to load libgomp-plugin-host_nonshm.so.1
  2015-01-16 19:13 [Bug libgomp/64635] New: darwin produces libgomp-plugin-host_nonshm.1.dylib but tries to load libgomp-plugin-host_nonshm.so.1 howarth at bromo dot med.uc.edu
                   ` (20 preceding siblings ...)
  2015-01-28 20:53 ` howarth at bromo dot med.uc.edu
@ 2015-01-28 21:24 ` mrs at gcc dot gnu.org
  2015-01-28 21:26 ` mrs at gcc dot gnu.org
                   ` (2 subsequent siblings)
  24 siblings, 0 replies; 26+ messages in thread
From: mrs at gcc dot gnu.org @ 2015-01-28 21:24 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64635

--- Comment #24 from mrs at gcc dot gnu.org <mrs at gcc dot gnu.org> ---
Author: mrs
Date: Wed Jan 28 21:23:14 2015
New Revision: 220218

URL: https://gcc.gnu.org/viewcvs?rev=220218&root=gcc&view=rev
Log:
2015-01-28  Jack Howarth  <howarth.at.gcc@gmail.com>

    PR libgomp/64635
    * configure.tgt (*-*-aix*): Use config_path "aix posix".
    (*-*-darwin*): Use config_path "bsd darwin posix".
    (*-*-hpux*): Use config_path "hpux posix".
    * target.c: Add include of plugin-suffix.h and use
    SONAME_SUFFIX macro.
    * config/aix/plugin-suffix.h: New file.
    * config/darwin/plugin-suffix.h: New file.
    * config/hpux/plugin-suffix.h: New file.
    * config/posix/plugin-suffix.h: New file.

Added:
    trunk/libgomp/config/darwin/
    trunk/libgomp/config/darwin/plugin-suffix.h
    trunk/libgomp/config/hpux/
    trunk/libgomp/config/hpux/plugin-suffix.h
    trunk/libgomp/config/posix/plugin-suffix.h
Modified:
    trunk/libgomp/ChangeLog
    trunk/libgomp/configure.tgt
    trunk/libgomp/target.c


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

* [Bug libgomp/64635] darwin produces libgomp-plugin-host_nonshm.1.dylib but tries to load libgomp-plugin-host_nonshm.so.1
  2015-01-16 19:13 [Bug libgomp/64635] New: darwin produces libgomp-plugin-host_nonshm.1.dylib but tries to load libgomp-plugin-host_nonshm.so.1 howarth at bromo dot med.uc.edu
                   ` (21 preceding siblings ...)
  2015-01-28 21:24 ` mrs at gcc dot gnu.org
@ 2015-01-28 21:26 ` mrs at gcc dot gnu.org
  2015-01-28 21:27 ` mrs at gcc dot gnu.org
  2015-02-02  3:32 ` dje at gcc dot gnu.org
  24 siblings, 0 replies; 26+ messages in thread
From: mrs at gcc dot gnu.org @ 2015-01-28 21:26 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64635

--- Comment #25 from mrs at gcc dot gnu.org <mrs at gcc dot gnu.org> ---
Author: mrs
Date: Wed Jan 28 21:25:19 2015
New Revision: 220220

URL: https://gcc.gnu.org/viewcvs?rev=220220&root=gcc&view=rev
Log:
2015-01-28  Jack Howarth  <howarth.at.gcc@gmail.com>

    PR libgomp/64635
    * configure.tgt (*-*-aix*): Use config_path "aix posix".
    (*-*-darwin*): Use config_path "bsd darwin posix".
    (*-*-hpux*): Use config_path "hpux posix".
    * target.c: Add include of plugin-suffix.h and use
    SONAME_SUFFIX macro.
    * config/aix/plugin-suffix.h: New file.
    * config/darwin/plugin-suffix.h: New file.
    * config/hpux/plugin-suffix.h: New file.
    * config/posix/plugin-suffix.h: New file.

Added:
    trunk/libgomp/config/aix/
    trunk/libgomp/config/aix/plugin-suffix.h


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

* [Bug libgomp/64635] darwin produces libgomp-plugin-host_nonshm.1.dylib but tries to load libgomp-plugin-host_nonshm.so.1
  2015-01-16 19:13 [Bug libgomp/64635] New: darwin produces libgomp-plugin-host_nonshm.1.dylib but tries to load libgomp-plugin-host_nonshm.so.1 howarth at bromo dot med.uc.edu
                   ` (22 preceding siblings ...)
  2015-01-28 21:26 ` mrs at gcc dot gnu.org
@ 2015-01-28 21:27 ` mrs at gcc dot gnu.org
  2015-02-02  3:32 ` dje at gcc dot gnu.org
  24 siblings, 0 replies; 26+ messages in thread
From: mrs at gcc dot gnu.org @ 2015-01-28 21:27 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64635

mrs at gcc dot gnu.org <mrs at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |mrs at gcc dot gnu.org
         Resolution|---                         |FIXED

--- Comment #26 from mrs at gcc dot gnu.org <mrs at gcc dot gnu.org> ---
Fixed.


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

* [Bug libgomp/64635] darwin produces libgomp-plugin-host_nonshm.1.dylib but tries to load libgomp-plugin-host_nonshm.so.1
  2015-01-16 19:13 [Bug libgomp/64635] New: darwin produces libgomp-plugin-host_nonshm.1.dylib but tries to load libgomp-plugin-host_nonshm.so.1 howarth at bromo dot med.uc.edu
                   ` (23 preceding siblings ...)
  2015-01-28 21:27 ` mrs at gcc dot gnu.org
@ 2015-02-02  3:32 ` dje at gcc dot gnu.org
  24 siblings, 0 replies; 26+ messages in thread
From: dje at gcc dot gnu.org @ 2015-02-02  3:32 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64635

--- Comment #27 from David Edelsohn <dje at gcc dot gnu.org> ---
Author: dje
Date: Mon Feb  2 03:31:31 2015
New Revision: 220341

URL: https://gcc.gnu.org/viewcvs?rev=220341&root=gcc&view=rev
Log:
        PR libgomp/64635
        * configure.tgt (*-*-aix*): Use standard posix plugin-suffix.h.
        Link with -lpthread.
        * config/aix/plugin-suffix.h: Delete.

Removed:
    trunk/libgomp/config/aix/plugin-suffix.h
Modified:
    trunk/libgomp/ChangeLog
    trunk/libgomp/configure.tgt


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

end of thread, other threads:[~2015-02-02  3:32 UTC | newest]

Thread overview: 26+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-01-16 19:13 [Bug libgomp/64635] New: darwin produces libgomp-plugin-host_nonshm.1.dylib but tries to load libgomp-plugin-host_nonshm.so.1 howarth at bromo dot med.uc.edu
2015-01-17  1:37 ` [Bug libgomp/64635] " howarth at bromo dot med.uc.edu
2015-01-17  2:05 ` howarth at bromo dot med.uc.edu
2015-01-17 18:17 ` howarth at bromo dot med.uc.edu
2015-01-17 20:00 ` jakub at gcc dot gnu.org
2015-01-18  1:18 ` howarth at bromo dot med.uc.edu
2015-01-18  9:35 ` iains at gcc dot gnu.org
2015-01-18  9:39 ` iains at gcc dot gnu.org
2015-01-18 18:18 ` dominiq at lps dot ens.fr
2015-01-18 21:30 ` howarth at bromo dot med.uc.edu
2015-01-18 21:38 ` howarth at bromo dot med.uc.edu
2015-01-18 22:02 ` dominiq at lps dot ens.fr
2015-01-19 14:36 ` dominiq at lps dot ens.fr
2015-01-19 15:39 ` howarth at bromo dot med.uc.edu
2015-01-19 15:47 ` dominiq at lps dot ens.fr
2015-01-21 20:50 ` howarth at bromo dot med.uc.edu
2015-01-28 16:20 ` howarth at bromo dot med.uc.edu
2015-01-28 16:23 ` jakub at gcc dot gnu.org
2015-01-28 16:51 ` howarth at bromo dot med.uc.edu
2015-01-28 16:53 ` howarth at bromo dot med.uc.edu
2015-01-28 17:06 ` jakub at gcc dot gnu.org
2015-01-28 20:53 ` howarth at bromo dot med.uc.edu
2015-01-28 21:24 ` mrs at gcc dot gnu.org
2015-01-28 21:26 ` mrs at gcc dot gnu.org
2015-01-28 21:27 ` mrs at gcc dot gnu.org
2015-02-02  3:32 ` dje 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).