From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8916 invoked by alias); 23 Dec 2012 15:10:31 -0000 Received: (qmail 8699 invoked by uid 55); 23 Dec 2012 15:10:05 -0000 From: "tkoenig at netcologne dot de" To: gcc-bugs@gcc.gnu.org Subject: [Bug libfortran/30162] [4.7/4.8 Regression] I/O with named pipes does not work Date: Sun, 23 Dec 2012 15:10:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libfortran X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: tkoenig at netcologne dot de X-Bugzilla-Status: REOPENED X-Bugzilla-Priority: P4 X-Bugzilla-Assigned-To: tkoenig at gcc dot gnu.org X-Bugzilla-Target-Milestone: 4.7.3 X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2012-12/txt/msg02261.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30162 --- Comment #41 from tkoenig at netcologne dot de 2012-12-23 15:09:59 UTC --- Am 23.12.2012 15:16, schrieb dominiq at lps dot ens.fr: > > http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30162 > > --- Comment #40 from Dominique d'Humieres 2012-12-23 14:16:52 UTC --- >> Unfortunately, I cannot really debug this without access to a machine >> where it fails. > > Would it be possible to write a simple C test that can be run on the different > platforms in order to check the behavior of lseek? The tests that you ran with the patchlet show that the error is not in setting errno on the lseek. It has to be somewhere else. If you still have the time, could you attach the truss output of program main open (10,file="pipe",status="old") write (10,'(A)') 'Hello, world!' end program main where pipe is a FIFO, and the same for program read character(len=100) c open (10,file="pipe", status="old") read (10,'(A)') c print *,trim(c) end program read (first starting read, then write).