ANNOUNCE: GHC 7.2.1 Release Candidate 1

Goetz Isenmann info at goetz-isenmann.de
Tue Aug 9 18:37:11 CEST 2011


On Fri, Jul 29, 2011 at 07:21:36PM +0100, Ian Lynagh wrote:
> 
> We are pleased to announce the first release candidate for GHC 7.2.1:
> 
>     http://www.haskell.org/ghc/dist/7.2.1-rc1/
> 
> This includes the source and testsuite tarballs, installers for OS X and
> Windows, and bindists for amd64/Linux, i386/Linux, amd64/FreeBSD and
> i386/FreeBSD.
> 
> Please test as much as possible; bugs are much cheaper if we find them
> before the release!

Dear GHC Team,

please consider the following two patches for DragonFly support.

[ I still have only a workaround for loading modules that access
  errno ("extern __thread int" on DragonFly). ]

[ I get lots of testsuite failures, because I get (with some
  probability) an error message like "Thread 297f0230 has exited with
  leftover thread-specific data after 4 destructor iterations" on
  exit. Will attach a manually edited log of "gmake test", that might
  be a good approximation of all the other (repeatable) failures. ]

--
Goetz
-------------- next part --------------
--- rts/PosixSource.h.orig	2011-07-28 19:12:04 +0200
+++ rts/PosixSource.h	2011-08-02 09:29:37 +0200
@@ -11,7 +11,7 @@
 
 #include <ghcplatform.h>
 
-#if defined(freebsd_HOST_OS)
+#if defined(freebsd_HOST_OS) || defined(dragonfly_HOST_OS)
 #define _POSIX_C_SOURCE 200112L
 #define _XOPEN_SOURCE   600
 #else
-------------- next part --------------
--- compiler/utils/Platform.hs.orig	2011-07-28 19:12:04 +0200
+++ compiler/utils/Platform.hs	2011-08-02 10:50:15 +0200
@@ -52,6 +52,7 @@
         | OSSolaris2
         | OSMinGW32
         | OSFreeBSD
+        | OSDragonFly
         | OSOpenBSD
         deriving (Show, Eq)
 
@@ -71,6 +72,7 @@
 osElfTarget :: OS -> Bool
 osElfTarget OSLinux    = True
 osElfTarget OSFreeBSD  = True
+osElfTarget OSDragonFly= True
 osElfTarget OSOpenBSD  = True
 osElfTarget OSSolaris2 = True
 osElfTarget OSDarwin   = False
@@ -116,6 +118,8 @@
 defaultTargetOS = OSMinGW32
 #elif freebsd_TARGET_OS
 defaultTargetOS = OSFreeBSD
+#elif dragonfly_TARGET_OS
+defaultTargetOS = OSDragonFly
 #elif openbsd_TARGET_OS
 defaultTargetOS = OSOpenBSD
 #else
-------------- next part --------------
Actual stdout output differs from expected:
--- ./lib/IO/openFile003.stdout	2011-07-29 20:05:39 +0200
+++ ./lib/IO/openFile003.run.stdout	2011-08-04 08:12:36 +0200
@@ -1,4 +1,4 @@
 Left .: openFile: inappropriate type (is a directory)
-Left .: openFile: inappropriate type (Is a directory)
-Left .: openFile: inappropriate type (Is a directory)
-Left .: openFile: inappropriate type (Is a directory)
+Left .: openFile: already exists (File exists)
+Left .: openFile: already exists (File exists)
+Left .: openFile: already exists (File exists)
*** unexpected failure for openFile003(normal)


Actual stdout output differs from expected:
--- ./rts/T2615.stdout	2011-07-29 20:05:43 +0200
+++ ./rts/T2615.run.stdout	2011-08-04 08:14:43 +0200
@@ -1 +1 @@
-libfoo_script_T2615.so loaded successfully
+error: ./libfoo_script_T2615.so: invalid file format
*** unexpected failure for T2615(normal)


Wrong exit code (expected 0 , actual 2 )
Stdout:

Stderr:

Implicit import declaration:
    Could not find module `Prelude'
    Perhaps you haven't installed the "dyn" libraries for package `base'?
    Use -v to see a list of the files searched for.
gmake[3]: *** [T3807] Error 1

*** unexpected failure for T3807(normal)


Actual stdout output differs from expected:
--- ./numeric/should_run/numrun012.stdout	2011-07-29 20:05:40 +0200
+++ ./numeric/should_run/numrun012.run.stdout	2011-08-04 08:23:05 +0200
@@ -1,4 +1,4 @@
-[0,1,5,9,10,14,31,31,32,32,32,32,33]
+[0,1,5,9,10,14,31,31,31,32,32,32,33]
 -2.147483648e9
 -2.1474836e9
 -2.147483648e9
*** unexpected failure for numrun012(normal)


Wrong exit code (expected 0 , actual 2 )
Stdout:

Stderr:
make: illegal option -- -
usage: make [-BPSXeiknqrstv] [-C directory] [-D variable]
	[-d flags] [-E variable] [-f makefile] [-I directory]
	[-j max_jobs] [-m directory] [-V variable]
	[variable=value] [target ...]
gmake[3]: *** [plugins01] Error 2

*** unexpected failure for plugins01(normal)


Actual stderr output differs from expected:
--- ./plugins/plugins02.stderr	2011-07-29 20:05:41 +0200
+++ ./plugins/plugins02.comp.stderr	2011-08-04 08:28:13 +0200
@@ -1 +1 @@
-<command line>: The value Simple.BadlyTypedPlugin.plugin did not have the type CoreMonad.Plugin as required
+ghc-stage2: can't find a package database at simple-plugin/local.package.conf
*** unexpected failure for plugins02(normal)


Actual stderr output differs from expected:
--- ./plugins/plugins03.stderr	2011-07-29 20:05:41 +0200
+++ ./plugins/plugins03.comp.stderr	2011-08-04 08:28:13 +0200
@@ -1 +1 @@
-<command line>: Could not find module `Simple.NonExistantPlugin' Use -v to see a list of the files searched for.
+ghc-stage2: can't find a package database at simple-plugin/local.package.conf
*** unexpected failure for plugins03(normal)


Compile failed (status 256) errors were:
ghc-stage2: panic! (the 'impossible' happened)
  (GHC version 7.2.0.20110728 for i386-unknown-dragonfly):
	pprDynamicLinkerAsmLabel

Please report this as a GHC bug:  http://www.haskell.org/ghc/reportabug


*** unexpected failure for jmp_tbl(normal)


Compile failed (status 256) errors were:
ghc-stage2: panic! (the 'impossible' happened)
  (GHC version 7.2.0.20110728 for i386-unknown-dragonfly):
	pprDynamicLinkerAsmLabel

Please report this as a GHC bug:  http://www.haskell.org/ghc/reportabug


*** unexpected failure for massive_array(normal)


Wrong exit code (expected 0 , actual 1 )
Stdout:
Permissions {readable = True, writable = True, executable = False, searchable = True}
Permissions {readable = True, writable = True, executable = False, searchable = False}

Stderr:
getPermissions001: getPermissions001: fileAccess: resource busy (Text file busy)

*** unexpected failure for getPermissions001(normal)


More information about the Glasgow-haskell-users mailing list