Skip to content

Commit

Permalink
ghc-8.6.1
Browse files Browse the repository at this point in the history
  • Loading branch information
redneb committed Sep 24, 2018
1 parent 903e52e commit 98e1bb2
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions NOTES-musl.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,18 @@ None so for.

## Release notes

* For 8.6.1: Compiled against `musl-1.1.20` and `linux-headers-3.16` on a gentoo system. Depends on `libgmp.so.10` and `libncursesw.so.6`. The `--disable-ld-override` flag was used to configure the sources. The same flag should probably be used for installation too, i.e. `./configure --disable-ld-override --prefix=...`. I used `gcc-7.3.0` to compile this. Gentoo's gcc now produces pie binaries by default. I wasn't able to make that work with ghc, so I had to pass the `-no-pie` everywhere, by using the following `build.mk`
```
V=1
HADDOCK_DOCS=NO
HSCOLOUR_SRCS=NO
BUILD_SPHINX_HTML=NO
BUILD_SPHINX_PDF=NO
BeConservative=YES
SRC_HC_OPTS+= -optc-no-pie -optl-no-pie
SRC_CC_OPTS+= -no-pie
SRC_LD_OPTS+= -no-pie
```
* For 8.4.1/8.4.2/8.4.3: Compiled against `musl-1.1.19` and `linux-headers-3.16` on a gentoo system. Depends on `libgmp.so.10` and `libncursesw.so.6`. The `--disable-ld-override` flag was used to configure the sources. The same flag should probably be used for installation too, i.e. `./configure --disable-ld-override --prefix=...`. I used `gcc-6.4.0` to compile this. Gentoo's gcc now produces pie binaries by default. I wasn't able to make that work with ghc, so I had to pass the `-no-pie` everywhere, by using the following `build.mk`
```
V=1
Expand Down

0 comments on commit 98e1bb2

Please sign in to comment.