Re: [Patch, libgomp] libgomp.fortran/fortran.exp - add -fintrinsic-modules-path ${blddir}

2014-07-03 Thread Thomas Schwinge
Hi! On Wed, 2 Jul 2014 21:14:11 +0200, Tobias Burnus bur...@net-b.de wrote: Thomas Schwinge wrote: Reopening this oldie: index 5fa42f4..68440d18 100644 --- a/libgomp/testsuite/libgomp.fortran/fortran.exp +++ b/libgomp/testsuite/libgomp.fortran/fortran.exp @@ -14,6 +14,7 @@ set

Re: [Patch, libgomp] libgomp.fortran/fortran.exp - add -fintrinsic-modules-path ${blddir}

2014-07-03 Thread Jakub Jelinek
On Thu, Jul 03, 2014 at 12:19:15PM +0200, Thomas Schwinge wrote: I found the following to work (but so far only did libgomp testing), but that is a little bit more intrusive, but may actually be the right thing to do. (Possibly also in additional places where ${tool}_target_compile is used?

Re: [Patch, libgomp] libgomp.fortran/fortran.exp - add -fintrinsic-modules-path ${blddir}

2014-07-03 Thread Thomas Schwinge
Hi! On Thu, 3 Jul 2014 13:35:15 +0200, Jakub Jelinek ja...@redhat.com wrote: On Thu, Jul 03, 2014 at 12:19:15PM +0200, Thomas Schwinge wrote: I found the following to work (but so far only did libgomp testing), but that is a little bit more intrusive, but may actually be the right thing to

Re: [Patch, libgomp] libgomp.fortran/fortran.exp - add -fintrinsic-modules-path ${blddir}

2014-07-02 Thread Thomas Schwinge
Hi! Reopening this oldie: On Wed, 19 Dec 2012 16:38:41 +0100, Tobias Burnus bur...@net-b.de wrote: The attached patch adds -fintrinsic-modules-path ${blddir} otherwise, the compiler might have trouble finding the libraries using use, INTRINSIC :: omp_lib. Without intrinsic it searches

Re: [Patch, libgomp] libgomp.fortran/fortran.exp - add -fintrinsic-modules-path ${blddir}

2014-07-02 Thread Tobias Burnus
Thomas Schwinge wrote: Reopening this oldie: index 5fa42f4..68440d18 100644 --- a/libgomp/testsuite/libgomp.fortran/fortran.exp +++ b/libgomp/testsuite/libgomp.fortran/fortran.exp @@ -14,6 +14,7 @@ set quadmath_library_path ../libquadmath/.libs dg-init if { $blddir != } { +lappend

Re: [Patch, libgomp] libgomp.fortran/fortran.exp - add -fintrinsic-modules-path ${blddir}

2012-12-21 Thread David Edelsohn
This change introduced a large number of failures on AIX of the form: cannot specify -o with -c, -S or -E with multiple files during the execution of collect2-ld Note that all of the tests are run with the gcc driver, not the gfortran driver. If I use gfortran, every thing is okay. I still am

Re: [Patch, libgomp] libgomp.fortran/fortran.exp - add -fintrinsic-modules-path ${blddir}

2012-12-21 Thread Jakub Jelinek
On Fri, Dec 21, 2012 at 10:50:26AM -0500, David Edelsohn wrote: This change introduced a large number of failures on AIX of the form: cannot specify -o with -c, -S or -E with multiple files during the execution of collect2-ld Note that all of the tests are run with the gcc driver, not

Re: [Patch, libgomp] libgomp.fortran/fortran.exp - add -fintrinsic-modules-path ${blddir}

2012-12-21 Thread David Edelsohn
Jakub, I deleted the directory that failed and commented out that option for last nights bootstrap. I can't reproduce the failure today when I restore the option. I wonder if there is a race condition with parallel check. I will continue to monitor it. Thanks, David On Fri, Dec 21, 2012 at

[Patch, libgomp] libgomp.fortran/fortran.exp - add -fintrinsic-modules-path ${blddir}

2012-12-19 Thread Tobias Burnus
The attached patch adds -fintrinsic-modules-path ${blddir} otherwise, the compiler might have trouble finding the libraries using use, INTRINSIC :: omp_lib. Without intrinsic it searches the -I directories. (The compiler supports multiple -fintrinsic-modules-path, cf.

Re: [Patch, libgomp] libgomp.fortran/fortran.exp - add -fintrinsic-modules-path ${blddir}

2012-12-19 Thread Jakub Jelinek
On Wed, Dec 19, 2012 at 04:38:41PM +0100, Tobias Burnus wrote: 2012-12-19 Tobias Burnus bur...@net-b.de * testsuite/libgomp.fortran/fortran.exp: Set -fintrinsic-modules-path. Okay. Jakub