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
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
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
gershomb
GHC
Commits
c1706f68
Unverified
Commit
c1706f68
authored
7 years ago
by
Andrey Mokhov
Committed by
GitHub
7 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Add troubleshooting section
See
#308
parent
da397291
Loading
Loading
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
README.md
+22
-0
22 additions, 0 deletions
README.md
with
22 additions
and
0 deletions
README.md
+
22
−
0
View file @
c1706f68
...
...
@@ -143,6 +143,28 @@ replace the `validate` script (see [#187][validation-issue]).
*
`build selftest`
runs tests of the build system. Current test coverage is close to
zero (see
[
#197
][
test-issue
]
).
Troubleshooting
---------------
Here are a few simple suggestions that might help you fix the build:
*
The Hadrian submodule in GHC is occasionally behind the master branch of this repository,
which contains most recent bug fixes. To switch to the most recent version of Hadrian,
run
`git pull https://github.com/snowleopard/hadrian.git`
. Beware: the most recent version
contains the most recent bugs too! If this works, please raise an issue and we will try to
push the changes to the GHC submodule as soon as possible.
*
Hadrian is occasionally broken by changes in GHC. If this happens, you might want to switch
to an earlier GHC commit.
*
If Hadrian fails with the message
`Configuration file hadrian/cfg/system.config is missing`
,
you have probably forgotten to pass the
`--configure`
flag during the first build.
*
If you need help in debugging Hadrian, read the
[
wiki
](
https://github.com/snowleopard/hadrian/wiki
)
and Shake's
[
debugging tutorial
](
https://shakebuild.com/debugging
)
.
If everything fails, don't hesitate to
[
raise an issue
](
https://github.com/snowleopard/hadrian/issues/new
)
.
Current limitations
-------------------
The new build system still lacks many important features:
...
...
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