<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>The reproducible logs and patches are done as I reported in
another email, and now I can confirm the dtrace patch is the only
one eligible to be merged, all other patches for SmartOS builds
only do backporting. FYI<br>
</p>
<p><a
href="https://gitlab.haskell.org/complyue/smart-ghc8/blob/master/ghc-arts/ghc-8.8.2_includes_HsFFI.h.patch">https://gitlab.haskell.org/complyue/smart-ghc8/blob/master/ghc-arts/ghc-8.8.2_includes_HsFFI.h.patch</a></p>
<p>And thank you again for being excellently helpful!</p>
<p>Cheers,<br>
</p>
<p>Compl<br>
</p>
<p><br>
</p>
<div class="moz-cite-prefix">On 2020/2/4 下午10:22, Ben Gamari wrote:<br>
</div>
<blockquote type="cite"
cite="mid:9B1102E2-30D6-45F6-9BE8-5C3322F99B37@well-typed.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
Thanks for writing this down!<br>
<br>
The dtrace patch is certainly something that we can merge as-is.
Do let us know if there are any other patches that you find are
necessary.<br>
<br>
- Ben <br>
<br>
<div class="gmail_quote">On February 4, 2020 6:54:48 AM EST, Compl
Yue via ghc-devs <a class="moz-txt-link-rfc2396E" href="mailto:ghc-devs@haskell.org"><ghc-devs@haskell.org></a> wrote:
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt
0.8ex; border-left: 1px solid rgb(204, 204, 204);
padding-left: 1ex;">
<p>freenode server seems in trouble for this while, and I'd
like to take this chance to report my progress to the
mailing lists.<br>
</p>
<p> I'm thankful to folks at #ghc and #smartos who helped me
so much in this journey, especially bgamari, without his
hints and bleeding edge patches this won't be possible at
all.</p>
<p>And <a
href="https://www.mail-archive.com/smartos-discuss@lists.smartos.org/msg05016.html"
moz-do-not-send="true">https://www.mail-archive.com/smartos-discuss@lists.smartos.org/msg05016.html</a>
provided the information to get me started at all.<br>
</p>
<p>So far what's done:</p>
<p> :: installed 7.6.3 -> booted 7.10.3 -> booted
8.2.2 -> booted 8.4.4 -> booted 8.6.5 -> booted
8.8.2</p>
<p>Notable issues as I remembered: (I don't remember the
details clearly, anyway am to redo it all over again to have
everything logged for reprod)</p>
<ul>
<li>`gmake -i` is used to build 8.2.2 to workaround the
stage1 ghc crash after target file generated</li>
</ul>
<ul>
<li>8.6.5's ghci won't start<br>
</li>
</ul>
<p><code> [root@hswander /build/ghc8]#
/opt/local/ghc8.6.5/bin/ghci</code><code></code><br>
<code></code><code> GHCi, version 8.6.5: <a
class="moz-txt-link-freetext"
href="http://www.haskell.org/ghc/"
moz-do-not-send="true">http://www.haskell.org/ghc/</a>
:? for help</code><code></code><br>
<code></code><code> ghc: loadArchive: Not an archive:
`/usr/lib/iconv'</code><code></code><br>
<code></code><code> ghc: panic! (the 'impossible' happened)</code><code></code><br>
<code></code><code> (GHC version 8.6.5 for
x86_64-unknown-solaris2):</code><code></code><br>
<code></code><code> loadArchive "/usr/lib/iconv":
failed</code><code></code><br>
<code></code><code> Please report this as a GHC bug: <a
class="moz-txt-link-freetext"
href="http://www.haskell.org/ghc/reportabug"
moz-do-not-send="true">http://www.haskell.org/ghc/reportabug</a></code><code></code><br>
</p>
<ul>
<li> worth to mention that I needed to put
"SplitSections=YES" into mk/build.mk even for 8.8.2 or
it'll fail, might be unexpected.</li>
</ul>
<p> And dtrace compiler on latest SmartOS don't support C++
style line comment, so I applied this patch to 8.8.2 <a
class="moz-txt-link-freetext"
href="https://gitlab.haskell.org/snippets/1549"
moz-do-not-send="true">https://gitlab.haskell.org/snippets/1549</a></p>
<p><br>
</p>
<p>Meanwhile I'm starting a fresh smartos vm to repeat (and
log) all steps to make sure others and future me can follow
such a reproducible procedure to build later versions.<br>
</p>
<p>Cheers,</p>
<p>Compl</p>
<p><br>
</p>
</blockquote>
</div>
<br>
-- <br>
Sent from my Android device with K-9 Mail. Please excuse my
brevity.
</blockquote>
</body>
</html>