Ian Lynagh wrote:

On Linux/amd64, with darcs GHC from last night:

$ /home/ian/ghc/darcs/inst/lib/ghc-6.5/ghc-6.5 
-B/home/ian/ghc/darcs/inst/lib/ghc-6.5 --version
/home/ian/ghc/darcs/inst/lib/ghc-6.5/package.conf: openBinaryFile: failed (Bad 
address)
$ strace -f /home/ian/ghc/darcs/inst/lib/ghc-6.5/ghc-6.5 
-B/home/ian/ghc/darcs/inst/lib/ghc-6.5 --version
[...]
[pid 21485] stat("/home/ian/ghc/darcs/inst/lib/ghc-6.5/package.conf", 
{st_mode=S_IFREG|0644, st_size=29877, ...}) = 0
[pid 21485] stat("/home/ian/ghc/darcs/inst/lib/ghc-6.5/package.conf", 
{st_mode=S_IFREG|0644, st_size=29877, ...}) = 0
[pid 21485] stat("/home/ian/ghc/darcs/inst/lib/ghc-6.5/package.conf.d", 
0x2aaaab77e3d8) = -1 ENOENT (No such file or directory)
[pid 21485] --- SIGALRM (Alarm clock) @ 0 (0) ---
[pid 21485] rt_sigreturn(0xe)           = -1 ENOENT (No such file or directory)
[pid 21485] stat("/home/ian/.ghc/x86_64-linux-6.5/package.conf", 
{st_mode=S_IFREG|0644, st_size=3, ...}) = 0
[pid 21485] open(umovestr: Input/output error
0x900, O_RDONLY|O_NONBLOCK|O_NOCTTY) = -1 EFAULT (Bad address)
[pid 21485] ioctl(1, SNDCTL_TMR_TIMEBASE or TCGETS <unfinished ...>
[pid 21486] select(4, [3], [], NULL, NULL <unfinished ...>
[pid 21485] <... ioctl resumed> , {B38400 opost isig icanon echo ...}) = 0
[pid 21485] write(2, "/", 1/)            = 1
[pid 21485] write(2, "h", 1h)            = 1
[...]
$ gcc --version
gcc (GCC) 4.0.3 20060115 (prerelease) (Debian 4.0.2-7)
[...]

I've seen this since our upgrade to gcc 4.1.x. I strongly suspect a link. Will investigate tomorrow.

Cheers,
        Simon
_______________________________________________
Cvs-ghc mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/cvs-ghc

Reply via email to