SourceForge.net | 1 Apr 2005 12:40
Picon
Favicon

[ ghc-Bugs-1166368 ] Windows build of GHC 6.4 doesn't seem to work on Win98 SE

Bugs item #1166368, was opened at 2005-03-19 02:40
Message generated for change (Comment added) made by simonmar
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=108032&aid=1166368&group_id=8032

Category: None
Group: 6.4
>Status: Closed
>Resolution: Fixed
Priority: 5
Submitted By: Cale Gibbard (cgibbard)
Assigned to: Nobody/Anonymous (nobody)
Summary: Windows build of GHC 6.4 doesn't seem to work on Win98 SE

Initial Comment:
I get the error message "The GHC.EXE file is linked to
missing export SHELL32.DLL:SHGetFolderPathA."

It appears that this function is available in
SHELL32.DLL in Windows 2000 and XP, but not in
Windows95/98/98SE. It is also available in ShFolder.dll
available from 
http://www.microsoft.com/downloads/details.aspx?displaylang=en&FamilyID=6AE02498-07E9-48F1-A5D6-DBFA18D37E0F
but installing that doesn't help much, as GHC would
need to be relinked.

Probably dynamically linking to (and including)
ShFolder.dll in the case of Win95/98 would work.

----------------------------------------------------------------------
(Continue reading)

SourceForge.net | 1 Apr 2005 12:40
Picon
Favicon

[ ghc-Bugs-1162321 ] GHCi - the "impossible" happens when loading Win32 package

Bugs item #1162321, was opened at 2005-03-13 07:45
Message generated for change (Comment added) made by simonmar
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=108032&aid=1162321&group_id=8032

Category: hslibs/win32
Group: None
>Status: Closed
>Resolution: Fixed
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: GHCi - the "impossible" happens when loading Win32 package

Initial Comment:
This happens with vanilla GHC 6.4 on Windows XP, on 2
out of 2 machines I tried.

C:\ghc\ghc-6.4\bin>ghci -package Win32
   ___         ___ _
  / _ \ /\  /\/ __(_)
 / /_\// /_/ / /  | |      GHC Interactive, version
6.4, for Haskell 98.
/ /_\/ __  / /___| |      http://www.haskell.org/ghc/
\____/\/ /_/\____/|_|      Type :? for help.

Loading package base-1.0 ... linking ... done.
Loading package Win32-1.0 ... ghc.exe: Not x86 PEi386
ghc.exe: panic! (the `impossible' happened, GHC version
6.4):
(Continue reading)

Simon Marlow | 1 Apr 2005 12:43
Picon
Favicon

RE: Printf's in foreign code segfault on registerised amd64 ghc-6.4

On 12 March 2005 15:10, Gabriel Ebner wrote:

> If I compile that on amd64 (gentoo, gcc-3.4.3, glibc-2.3.4,
> binutils-2.15.92.0.2) using registerised ghc-6.4 and run it, it
> segfaults.  According to gdb, printf's segfaulting:
> 
> #0  0x00002aaaaafcb515 in printf () from /lib/libc.so.6
> #1  0x0000000000402f3c in frobnicate () at frobnicate.c:4
> #2  0x0000000000402d2d in s1oH_info ()
> #3  0x0000000000000000 in ?? ()
> #4  0x0000000000000000 in ?? ()
> 
> If I compile it using unregisterised ghc-6.2.2 on the same box or
> using ghc-6.4 in a i386 chroot, it runs fine and prints 6378137.

I believe I have fixed this.  The problem was that in the registerised
build, we weren't maintaining the correct stack alignment for foreign
calls, and printf() relies on having the right alignment because it
saves the %xmm registers on the stack as part of the varargs magic.

Cheers,
	Simon
SourceForge.net | 1 Apr 2005 18:19
Picon
Favicon

[ ghc-Bugs-1174893 ] ghc-6.4 crashes on windows 2000

Bugs item #1174893, was opened at 2005-04-01 08:19
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=108032&aid=1174893&group_id=8032

Category: Compiler
Group: 6.4
Status: Open
Resolution: None
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: ghc-6.4 crashes on windows 2000

Initial Comment:
Today I installed ghc-6.4 (binary) on windows 2000.

I tried to compile my webserver. It consists of very
basic code and uses no fancy features (although I need
to give -fglasgow-exts for some empty data declarations
etc.). Under linux (mandrake 10.1), ghc 6.4 (also a
binary) compiles my webserver just fine.

Under windows, however, ghc crashes 90% of the runs,
giving various scary error messages, such as:

***
ghc.exe: internal error: scavenge:
unimplemented/strange closure type 44304  <at>  01F6137C
***
(Continue reading)

SourceForge.net | 1 Apr 2005 21:58
Picon
Favicon

[ ghc-Bugs-1174893 ] ghc-6.4 crashes on windows 2000

Bugs item #1174893, was opened at 2005-04-01 08:19
Message generated for change (Comment added) made by nobody
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=108032&aid=1174893&group_id=8032

Category: Compiler
Group: 6.4
Status: Open
Resolution: None
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: ghc-6.4 crashes on windows 2000

Initial Comment:
Today I installed ghc-6.4 (binary) on windows 2000.

I tried to compile my webserver. It consists of very
basic code and uses no fancy features (although I need
to give -fglasgow-exts for some empty data declarations
etc.). Under linux (mandrake 10.1), ghc 6.4 (also a
binary) compiles my webserver just fine.

Under windows, however, ghc crashes 90% of the runs,
giving various scary error messages, such as:

***
ghc.exe: internal error: scavenge:
unimplemented/strange closure type 44304  <at>  01F6137C
***
(Continue reading)

SourceForge.net | 2 Apr 2005 17:18
Picon
Favicon

[ ghc-Bugs-1175398 ] buggy class causes unifyTauTyLists mismatch

Bugs item #1175398, was opened at 2005-04-02 07:18
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=108032&aid=1175398&group_id=8032

Category: Compiler
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: buggy class causes unifyTauTyLists mismatch

Initial Comment:
Obtained error in GHC:

Compiling Main             ( test.hs, interpreted )
ghc.exe: panic! (the `impossible' happened, GHC version
6.4):
        Unify.unifyTauTyLists: mismatched type lists!

Please report it as a compiler bug to
glasgow-haskell-bugs <at> haskell.org,
or http://sourceforge.net/projects/ghc/.

when :load called on buggy code:

class Foo f where
	baa :: f a -> f
(Continue reading)

SourceForge.net | 2 Apr 2005 19:51
Picon
Favicon

[ ghc-Bugs-1175451 ] ghc does not work as advertized in 11.5.1. Linking with DLLs

Bugs item #1175451, was opened at 2005-04-02 09:51
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=108032&aid=1175451&group_id=8032

Category: Compiler
Group: 6.4
Status: Open
Resolution: None
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: ghc does not work as advertized in 11.5.1. Linking with DLLs

Initial Comment:
-- meta-comments:
-- why no field for platform on this sf form?
-- and why so few chars per line?

$ uname -a
CYGWIN_98-4.10 vaio 1.5.5(0.94/3/2) 2003-09-20 16:31 
i686 unknown unknown Cygwin

$ cat >hello.hs
module Main where
main = putStrLn "hi"

$ ghc -o hello hello.hs

$ ls -l hello.exe
(Continue reading)

SourceForge.net | 2 Apr 2005 20:03
Picon
Favicon

[ ghc-Bugs-1175454 ] System.system fails on windows98se, also disables ghci's :!

Bugs item #1175454, was opened at 2005-04-02 10:03
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=108032&aid=1175454&group_id=8032

Category: libraries/base
Group: 6.4
Status: Open
Resolution: None
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: System.system fails on windows98se, also disables ghci's :!

Initial Comment:
as reported and discussed in the thread 
"win98, ctrl-c & System.system (was: Updated 6.4 
Windows installer RC)"
on glasgow-haskell-bugs.

first messages in thread:

http://www.haskell.org//pipermail/glasgow-haskell-
bugs/2005-March/004856.html

http://www.haskell.org//pipermail/glasgow-haskell-
bugs/2005-March/004857.html

Sigbjorn suggested a fix, getting the command 
interpreter to use from the environment instead of
(Continue reading)

SourceForge.net | 2 Apr 2005 20:09
Picon
Favicon

[ ghc-Bugs-1175457 ] unwanted side-effects of ghci's ctrl-c handling on windows

Bugs item #1175457, was opened at 2005-04-02 10:09
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=108032&aid=1175457&group_id=8032

Category: GHCi
Group: 6.4
Status: Open
Resolution: None
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: unwanted side-effects of ghci's ctrl-c handling on windows

Initial Comment:
windows98se, running ghci under cygwin bash

as reported in:

http://www.haskell.org//pipermail/glasgow-haskell-
bugs/2005-March/004856.html

I have since revised my initial rating "file bug report and 
live with it", as this has become a serious obstacle, 
annoying at best, but sometimes rendering the bash 
window completely uncooperative, meaning that I have 
to use the task manager to kill some processes.

claus.reinke <at> talk21.com

(Continue reading)

Claus Reinke | 2 Apr 2005 20:27

ghc-6-4-bld2.msi: html version of users_guide missing

the pdf version is there, but the link to the html version is dangling.

$ ls /c/ghc/ghc-6.4/doc/
ANNOUNCE  LICENSE  VERSION  object-io.ps
Cabal.ps  README   html     users_guide.pdf

$ ls /c/ghc/ghc-6.4/doc/html/
Cabal  hslibs  index.html  libraries  object-io

$ fgrep users_guide /c/ghc/ghc-6.4/doc/html/index.html
          <B><A HREF="users_guide/index.html">The User's Guide</A></B>

cheers,
claus

Gmane