Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
GHC
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
LinuxUser GD
GHC
Commits
e81c630a
Commit
e81c630a
authored
11 years ago
by
Austin Seipp
Browse files
Options
Downloads
Patches
Plain Diff
Release notes: mention Mavericks and some bugs
Signed-off-by:
Austin Seipp
<
austin@well-typed.com
>
parent
d5623821
Loading
Loading
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
docs/users_guide/7.8.1-notes.xml
+105
-4
105 additions, 4 deletions
docs/users_guide/7.8.1-notes.xml
with
105 additions
and
4 deletions
docs/users_guide/7.8.1-notes.xml
+
105
−
4
View file @
e81c630a
...
...
@@ -16,6 +16,42 @@
</para>
<itemizedlist>
<listitem>
<para>
OS X Mavericks with XCode 5 is now properly supported
by GHC. As a result of this, GHC now uses Clang to
preprocess Haskell code by default for Mavericks
builds.
</para>
<para>
Note that normally, GHC used
<literal>
gcc
</literal>
as
the preprocessor for Haskell code (as it was the
default everywhere,) which implements
<literal>
-traditional
</literal>
behavior. However,
Clang is not 100% compatible with GCC's
<literal>
-traditional
</literal>
as it is rather
implementation specified and does not match any
specification. Clang is also more strict.
</para>
<para>
As a result of this, when using Clang as the
preprocessor, some programs which previously used
<literal>
-XCPP
</literal>
and the preprocessor will now
fail to compile. Users who wish to retain the previous
behavior are better off using cpphs as an external
preprocessor for the time being.
</para>
<para>
In the future, we hope to fix this by adopting a
better preprocessor implementation independent of the
C compiler (perhaps cpphs itself,) and ship that
instead.
</para>
</listitem>
<listitem>
<para>
By default, GHC has a new warning enabled,
...
...
@@ -452,8 +488,9 @@
</listitem>
<listitem>
<para>
GHC now supports a
<literal>
--show-options
</literal>
flag,
which will dump all of the flags it supports to standard out.
GHC now supports a
<literal>
--show-options
</literal>
flag, which will
dump all of the flags it supports to standard out.
</para>
</listitem>
<listitem>
...
...
@@ -627,10 +664,29 @@
</listitem>
<listitem>
<para>
GHC can now be built with Clang, and use Clang as the
preprocessor for Haskell code. Only Clang version 3.4svn is
GHC can now be built with Clang, and use Clang as
the preprocessor for Haskell code. Only Clang
version 3.4 (or Apple LLVM Clang 5.0) or beyond is
reliably supported.
</para>
<para>
Note that normally, GHC uses
<literal>
gcc
</literal>
as the preprocessor for
Haskell code, which implements
<literal>
-traditional
</literal>
behavior. However,
Clang is not 100% compatible with GCC's
<literal>
-traditional
</literal>
as it is rather
implementation specified, and is more strict.
</para>
<para>
As a result of this, when using Clang as the
preprocessor, some programs which previously used
<literal>
-XCPP
</literal>
and the preprocessor will
now fail to compile. Users who wish to retain the
previous behavior are better off using cpphs.
</para>
</listitem>
</itemizedlist>
</sect3>
...
...
@@ -1093,4 +1149,49 @@
</itemizedlist>
</sect3>
</sect2>
<sect2>
<title>
Known bugs
</title>
<itemizedlist>
<listitem>
<para>
On OS X 10.7 and beyond, with default build settings,
the runtime system currently suffers from a fairly
large (30%) performance regression in the parallel
garbage collector when using
<literal>
-threaded
</literal>
impacting its thoroughput
and overall scalability.
</para>
<para>
This is due to the fact that the OS X 10.7+ toolchain
does not (by default) support register variables, or a
fast
<literal>
__thread
</literal>
implementation. Note
that this can be worked around by building GHC using
GCC instead on OS X platforms, but the binary
distribution then requires GCC later.
</para>
</listitem>
<listitem>
<para>
On Windows,
<literal>
-dynamic-too
</literal>
is unsupported.
</para>
</listitem>
<listitem>
<para>
On Windows, we currently don't ship dynamic libraries
or use a dynamic GHCi, unlike Linux or OS X.
</para>
</listitem>
<listitem>
<para>
On 64bit Windows, the static linker currently suffers
from some rather large bugs, which we hope to have
some fixes for soon.
</para>
</listitem>
</itemizedlist>
</sect2>
</sect1>
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment