From 98e1bb22c47e6954039570960e03ec9017511e27 Mon Sep 17 00:00:00 2001 From: Marios Titas Date: Mon, 24 Sep 2018 17:20:04 +0300 Subject: [PATCH] ghc-8.6.1 --- NOTES-musl.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/NOTES-musl.md b/NOTES-musl.md index f4215b6..4059740 100644 --- a/NOTES-musl.md +++ b/NOTES-musl.md @@ -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