<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <p>Not sure.  I ran `git submodule update --init --recursive` and
      git status says everything's up to date.  I'm on Ubuntu 16.10.<br>
    </p>
    <br>
    <div class="moz-cite-prefix">On 10/03/2017 02:17 PM, John Leo wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CAHYM_Vmj10ekRejPMiw4jqoPwUmfukGRub0n+6u7e2VTMYpxMw@mail.gmail.com">
      <div dir="ltr">I pulled head this morning and built with no
        problems on a Mac.  I wonder if you need to pull submodules as
        well (which I did) or if you're missing some newly required
        dependency.
        <div><br>
        </div>
        <div>John</div>
      </div>
      <div class="gmail_extra"><br>
        <div class="gmail_quote">On Tue, Oct 3, 2017 at 10:55 AM, Thomas
          Jakway <span dir="ltr"><<a href="mailto:tjakway@nyu.edu"
              target="_blank" moz-do-not-send="true">tjakway@nyu.edu</a>></span>
          wrote:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex">
            <div bgcolor="#FFFFFF" text="#000000"> Anyone else getting
              linker errors?<br>
              <br>
              /home/thomas/git/ghc-new/<wbr>libraries/ghci/dist-install/<wbr>build/libHSghci-8.3-ghc8.3.<br>
              20171003.so: error: undefined reference to
              'ffi_type_uint64'<br>
              chmod +x                            <wbr>                        
              inplace/bin/runghc<br>
              /home/thomas/git/ghc-new/<wbr>libraries/ghci/dist-install/<wbr>build/libHSghci-8.3-ghc8.3.<br>
              20171003.so: error: undefined reference to
              'ffi_type_uint32'<br>
              /home/thomas/git/ghc-new/<wbr>libraries/ghci/dist-install/<wbr>build/libHSghci-8.3-ghc8.3.<br>
              20171003.so: error: undefined reference to
              'ffi_type_uint16'<br>
              /home/thomas/git/ghc-new/<wbr>libraries/ghci/dist-install/<wbr>build/libHSghci-8.3-ghc8.3.<br>
              20171003.so: error: undefined reference to
              'ffi_type_uint8'<br>
              /home/thomas/git/ghc-new/<wbr>libraries/ghci/dist-install/<wbr>build/libHSghci-8.3-ghc8.3.<br>
              20171003.so: error: undefined reference to
              'ffi_type_sint64'<br>
              /home/thomas/git/ghc-new/<wbr>libraries/ghci/dist-install/<wbr>build/libHSghci-8.3-ghc8.3.<br>
              20171003.so: error: undefined reference to
              'ffi_type_sint32'<br>
              /home/thomas/git/ghc-new/<wbr>libraries/ghci/dist-install/<wbr>build/libHSghci-8.3-ghc8.3.<br>
              20171003.so: error: undefined reference to
              'ffi_type_sint16'<br>
              /home/thomas/git/ghc-new/<wbr>libraries/ghci/dist-install/<wbr>build/libHSghci-8.3-ghc8.3.<br>
              20171003.so: error: undefined reference to
              'ffi_type_sint8'<br>
              /home/thomas/git/ghc-new/<wbr>libraries/ghci/dist-install/<wbr>build/libHSghci-8.3-ghc8.3.<br>
              20171003.so: error: undefined reference to
              'ffi_type_double'<br>
              /home/thomas/git/ghc-new/<wbr>libraries/ghci/dist-install/<wbr>build/libHSghci-8.3-ghc8.3.<br>
              20171003.so: error: undefined reference to
              'ffi_type_float'<br>
              /home/thomas/git/ghc-new/<wbr>libraries/ghci/dist-install/<wbr>build/libHSghci-8.3-ghc8.3.<br>
              20171003.so: error: undefined reference to
              'ffi_type_pointer'<br>
              /home/thomas/git/ghc-new/<wbr>libraries/ghci/dist-install/<wbr>build/libHSghci-8.3-ghc8.3.<br>
              20171003.so: error: undefined reference to 'ffi_type_void'<br>
              /home/thomas/git/ghc-new/<wbr>libraries/ghci/dist-install/<wbr>build/libHSghci-8.3-ghc8.3.<br>
              20171003.so: error: undefined reference to 'ffi_prep_cif'<br>
              collect2: error: ld returned 1 exit status<br>
              `gcc' failed in phase `Linker'. (Exit code: 1)<br>
              iserv/<a href="http://ghc.mk:108" target="_blank"
                moz-do-not-send="true">ghc.mk:108</a>: recipe for target
              'iserv/stage2_dyn/build/tmp/<wbr>ghc-iserv-dyn' f<br>
              ailed<br>
              make[1]: *** [iserv/stage2_dyn/build/tmp/<wbr>ghc-iserv-dyn]
              Error 1<br>
              make[1]: *** Waiting for unfinished jobs....<br>
              <<ghc: <a href="tel:%28223%29%20573-7040"
                value="+12235737040" target="_blank"
                moz-do-not-send="true">2235737040</a> bytes, 225 GCs,
              21703308/57027464 avg/max bytes residency (8 s<br>
              amples), 150M in use, 0.000 INIT (0.000 elapsed), 1.432
              MUT (1.681 elapsed), 0.5<br>
              76 GC (0.651 elapsed) :ghc>><br>
              Makefile:122: recipe for target 'all' failed<br>
              make: *** [all] Error 2<br>
              <br>
              <br>
              This is after running<br>
              <br>
              make clean && make distclean && find .
              -name "*.o" -type f -delete && find . -name "*.hi"
              -type f -delete<br>
              <br>
              then<br>
              <br>
              ./boot && ./configure && make -j5<br>
              <br>
              (ghc-new is not a new checkout, this error is happening on
              a branch I'm working on, but one that doesn't touch the
              FFI)<br>
              <br>
              <div class="m_878141163349908325moz-cite-prefix">On
                10/01/2017 07:09 PM, Moritz Angermann wrote:<br>
              </div>
              <blockquote type="cite"> I hope this will be fixed with:
                <div><a href="https://phabricator.haskell.org/D4053"
                    target="_blank" moz-do-not-send="true">https://phabricator.haskell.<wbr>org/D4053</a> and <a
                    href="https://phabricator.haskell.org/D4054"
                    target="_blank" moz-do-not-send="true">https://<wbr>phabricator.haskell.org/D4054</a></div>
                <div><br>
                  <div id="m_878141163349908325AppleMailSignature">Sent
                    from my iPhone</div>
                  <div><br>
                    On 2 Oct 2017, at 6:33 AM, Ryan Scott <<a
                      href="mailto:ryan.gl.scott@gmail.com"
                      target="_blank" moz-do-not-send="true">ryan.gl.scott@gmail.com</a>>
                    wrote:<br>
                    <br>
                  </div>
                  <blockquote type="cite">
                    <div><span>Trying to build a fresh copy of GHC HEAD
                        (at commit [1]) today failed</span><br>
                      <span>for me with this error: [2]</span><br>
                      <span></span><br>
                      <span>    /u/rgscott/Software/ghc4/<wbr>libffi/build/missing:
                        line 81: makeinfo:</span><br>
                      <span>command not found</span><br>
                      <span>    WARNING: 'makeinfo' is missing on your
                        system.</span><br>
                      <span>             You should only need it if you
                        modified a '.texi' file, or</span><br>
                      <span>             any other file indirectly
                        affecting the aspect of the manual.</span><br>
                      <span>             You might want to install the
                        Texinfo package:</span><br>
                      <span>             <<a
                          href="http://www.gnu.org/software/texinfo/"
                          target="_blank" moz-do-not-send="true">http://www.gnu.<wbr>org/software/texinfo/</a>></span><br>
                      <span>             The spurious makeinfo call
                        might also be the consequence of</span><br>
                      <span>             using a buggy 'make' (AIX, DU,
                        IRIX), in which case you might</span><br>
                      <span>             want to install GNU make:</span><br>
                      <span>             <<a
                          href="http://www.gnu.org/software/make/"
                          target="_blank" moz-do-not-send="true">http://www.gnu.<wbr>org/software/make/</a>></span><br>
                      <span></span><br>
                      <span>On my Ubuntu machine, I was able to work
                        around the issue by running:</span><br>
                      <span></span><br>
                      <span>    apt-get install texinfo</span><br>
                      <span></span><br>
                      <span>But I'm not sure if the texinfo requirement
                        was expected or an</span><br>
                      <span>unintended side effect of recent libffi
                        changes. Do you know what's</span><br>
                      <span>happening here Moritz?</span><br>
                      <span></span><br>
                      <span>Best,</span><br>
                      <span>Ryan S.</span><br>
                      <span>-----</span><br>
                      <span>[1] <a
href="http://git.haskell.org/ghc.git/commit/e515c7f37be97e1c2ccc497ddd0a730e63ddfa82"
                          target="_blank" moz-do-not-send="true">http://git.haskell.org/ghc.<wbr>git/commit/<wbr>e515c7f37be97e1c2ccc497ddd0a73<wbr>0e63ddfa82</a></span><br>
                      <span>[2] <a
                          href="http://lpaste.net/6716863452582772736"
                          target="_blank" moz-do-not-send="true">http://lpaste.net/<wbr>6716863452582772736</a></span><br>
                      <span>______________________________<wbr>_________________</span><br>
                      <span>ghc-devs mailing list</span><br>
                      <span><a href="mailto:ghc-devs@haskell.org"
                          target="_blank" moz-do-not-send="true">ghc-devs@haskell.org</a></span><br>
                      <span><a
                          href="http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs"
                          target="_blank" moz-do-not-send="true">http://mail.haskell.org/cgi-<wbr>bin/mailman/listinfo/ghc-devs</a></span><br>
                    </div>
                  </blockquote>
                </div>
                <br>
                <fieldset
                  class="m_878141163349908325mimeAttachmentHeader"></fieldset>
                <br>
                <pre>______________________________<wbr>_________________
ghc-devs mailing list
<a class="m_878141163349908325moz-txt-link-abbreviated" href="mailto:ghc-devs@haskell.org" target="_blank" moz-do-not-send="true">ghc-devs@haskell.org</a>
<a class="m_878141163349908325moz-txt-link-freetext" href="http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs" target="_blank" moz-do-not-send="true">http://mail.haskell.org/cgi-<wbr>bin/mailman/listinfo/ghc-devs</a>
</pre>
              </blockquote>
              <br>
            </div>
            <br>
            ______________________________<wbr>_________________<br>
            ghc-devs mailing list<br>
            <a href="mailto:ghc-devs@haskell.org" moz-do-not-send="true">ghc-devs@haskell.org</a><br>
            <a
              href="http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs"
              rel="noreferrer" target="_blank" moz-do-not-send="true">http://mail.haskell.org/cgi-<wbr>bin/mailman/listinfo/ghc-devs</a><br>
            <br>
          </blockquote>
        </div>
        <br>
      </div>
    </blockquote>
    <br>
  </body>
</html>