[Bug libfortran/30162] [4.7/4.8 Regression] I/O with named pipes does not work

dominiq at lps dot ens.fr gcc-bugzilla@gcc.gnu.org
Sat Dec 22 19:13:00 GMT 2012


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30162

--- Comment #36 from Dominique d'Humieres <dominiq at lps dot ens.fr> 2012-12-22 19:13:23 UTC ---
> Can you strace (or whatever) the code and tell me what lseek()
> returns?  Is it really EINVAL like the error message suggests?

The best I can do (without understanding it) is

(1) if I use dtruss (should be equivalent to strace) on a, I get

[macbook] f90/bug% 25210/0x2baef9e:  lseek(0x3, 0x0, 0x1)         = -1 Err#29
25210/0x2baef9e:  lseek(0x3, 0xFFFFFFFFFFFFFFF4, 0x1)         = -1 Err#29

(2) if I use it on b, I get

[macbook] f90/bug% 25218/0x2baf031:  lseek(0x3, 0x0, 0x1)         = -1 Err#29
25218/0x2baf031:  lseek(0x3, 0x4, 0x1)         = -1 Err#29



More information about the Gcc-bugs mailing list