This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [Patch, fortran] PR48298 - [F03] User-Defined Derived-Type IO (DTIO)
- From: Dominique d'Humières <dominiq at lps dot ens dot fr>
- To: Paul Richard Thomas <paul dot richard dot thomas at gmail dot com>
- Cc: "jvdelisle at charter dot net" <jvdelisle at charter dot net>, "fortran at gcc dot gnu dot org" <fortran at gcc dot gnu dot org>, gcc-patches <gcc-patches at gcc dot gnu dot org>
- Date: Mon, 22 Aug 2016 17:09:45 +0200
- Subject: Re: [Patch, fortran] PR48298 - [F03] User-Defined Derived-Type IO (DTIO)
- Authentication-results: sourceware.org; auth=none
- References: <99F86B31-77BC-4650-A6A8-5B62932EB871@lps.ens.fr> <CAGkQGiJB8LP-A_MW3CKa0x6B7HGLa++zkJ5qNKf5AuGeORMYXA@mail.gmail.com>
The executable hangs with
Call graph:
2699 Thread_25555235 DispatchQueue_1: com.apple.main-thread (serial)
2699 get_external_unit (in libgfortran.3.dylib) + 254 [0x10de297be] gthr-default.h:748
2699 _pthread_mutex_lock_wait (in libsystem_pthread.dylib) + 89 [0x7fff96686e4a]
2699 __psynch_mutexwait (in libsystem_kernel.dylib) + 10 [0x7fff875bfde6]
I have no idea about the default thread support in Fedora.
Dominique
> Le 22 août 2016 à 17:03, Paul Richard Thomas <paul.richard.thomas@gmail.com> a écrit :
>
> Dear Dominique,
>
> It is related to pr30617. When I compile the dtio testcases with
> -lpthread, they hang as you say (as does the testcase of pr30617).
>
> Blast! Both Jerry and I are using Fedora. Do I gather that the use of
> threads is not the default there?
>
> Cheers
>
> Paul
>
> On 22 August 2016 at 15:57, Dominique d'Humières <dominiq@lps.ens.fr> wrote:
>> Dear Paul,
>>
>> I have tried the patch, but all the tests hang at run time (expect dtio_10.f90). This is on x86_64-apple-darwin15. Could it be related to pr30617?
>>
>> Cheers,
>>
>> Dominique
>>
>
>
>
> --
> The difference between genius and stupidity is; genius has its limits.
>
> Albert Einstein