<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Anyone else getting linker errors?<br>
    <br>
/home/thomas/git/ghc-new/libraries/ghci/dist-install/build/libHSghci-8.3-ghc8.3.<br>
    20171003.so: error: undefined reference to 'ffi_type_uint64'<br>
    chmod +x                                                    
    inplace/bin/runghc<br>
/home/thomas/git/ghc-new/libraries/ghci/dist-install/build/libHSghci-8.3-ghc8.3.<br>
    20171003.so: error: undefined reference to 'ffi_type_uint32'<br>
/home/thomas/git/ghc-new/libraries/ghci/dist-install/build/libHSghci-8.3-ghc8.3.<br>
    20171003.so: error: undefined reference to 'ffi_type_uint16'<br>
/home/thomas/git/ghc-new/libraries/ghci/dist-install/build/libHSghci-8.3-ghc8.3.<br>
    20171003.so: error: undefined reference to 'ffi_type_uint8'<br>
/home/thomas/git/ghc-new/libraries/ghci/dist-install/build/libHSghci-8.3-ghc8.3.<br>
    20171003.so: error: undefined reference to 'ffi_type_sint64'<br>
/home/thomas/git/ghc-new/libraries/ghci/dist-install/build/libHSghci-8.3-ghc8.3.<br>
    20171003.so: error: undefined reference to 'ffi_type_sint32'<br>
/home/thomas/git/ghc-new/libraries/ghci/dist-install/build/libHSghci-8.3-ghc8.3.<br>
    20171003.so: error: undefined reference to 'ffi_type_sint16'<br>
/home/thomas/git/ghc-new/libraries/ghci/dist-install/build/libHSghci-8.3-ghc8.3.<br>
    20171003.so: error: undefined reference to 'ffi_type_sint8'<br>
/home/thomas/git/ghc-new/libraries/ghci/dist-install/build/libHSghci-8.3-ghc8.3.<br>
    20171003.so: error: undefined reference to 'ffi_type_double'<br>
/home/thomas/git/ghc-new/libraries/ghci/dist-install/build/libHSghci-8.3-ghc8.3.<br>
    20171003.so: error: undefined reference to 'ffi_type_float'<br>
/home/thomas/git/ghc-new/libraries/ghci/dist-install/build/libHSghci-8.3-ghc8.3.<br>
    20171003.so: error: undefined reference to 'ffi_type_pointer'<br>
/home/thomas/git/ghc-new/libraries/ghci/dist-install/build/libHSghci-8.3-ghc8.3.<br>
    20171003.so: error: undefined reference to 'ffi_type_void'<br>
/home/thomas/git/ghc-new/libraries/ghci/dist-install/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/ghc.mk:108: recipe for target
    'iserv/stage2_dyn/build/tmp/ghc-iserv-dyn' f<br>
    ailed<br>
    make[1]: *** [iserv/stage2_dyn/build/tmp/ghc-iserv-dyn] Error 1<br>
    make[1]: *** Waiting for unfinished jobs....<br>
    <<ghc: 2235737040 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="moz-cite-prefix">On 10/01/2017 07:09 PM, Moritz
      Angermann wrote:<br>
    </div>
    <blockquote type="cite"
      cite="mid:9B85C460-18A2-4E1F-9473-A9A582198A26@lichtzwerge.de">
      <meta http-equiv="content-type" content="text/html; charset=utf-8">
      I hope this will be fixed with:
      <div><a href="https://phabricator.haskell.org/D4053"
          moz-do-not-send="true">https://phabricator.haskell.org/D4053</a> and <a
          href="https://phabricator.haskell.org/D4054"
          moz-do-not-send="true">https://phabricator.haskell.org/D4054</a></div>
      <div><br>
        <div id="AppleMailSignature">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" 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/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/"
                moz-do-not-send="true">http://www.gnu.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/"
                moz-do-not-send="true">http://www.gnu.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"
                moz-do-not-send="true">http://git.haskell.org/ghc.git/commit/e515c7f37be97e1c2ccc497ddd0a730e63ddfa82</a></span><br>
            <span>[2] <a href="http://lpaste.net/6716863452582772736"
                moz-do-not-send="true">http://lpaste.net/6716863452582772736</a></span><br>
            <span>_______________________________________________</span><br>
            <span>ghc-devs mailing list</span><br>
            <span><a href="mailto:ghc-devs@haskell.org"
                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"
                moz-do-not-send="true">http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs</a></span><br>
          </div>
        </blockquote>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
ghc-devs mailing list
<a class="moz-txt-link-abbreviated" href="mailto:ghc-devs@haskell.org">ghc-devs@haskell.org</a>
<a class="moz-txt-link-freetext" href="http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs">http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>