ANNOUNCE: GHC 7.10.1 Release Candidate 1 - feedback on Mac OS

George Colpitts george.colpitts at gmail.com
Thu Jan 1 13:58:40 UTC 2015


I built from source on Mac OS and found the following issues:


   - llvm , compiling with llvm (3.4.2) gives the following warnings:
      - $ ghc  -fllvm cubeFast.hs
      [1 of 1] Compiling Main             ( cubeFast.hs, cubeFast.o )
      clang: warning: argument unused during compilation:
      '-fno-stack-protector'
      clang: warning: argument unused during compilation: '-D
      TABLES_NEXT_TO_CODE'
      clang: warning: argument unused during compilation: '-I .'
      clang: warning: argument unused during compilation: '-fno-common'
      clang: warning: argument unused during compilation: '-U __PIC__'
      clang: warning: argument unused during compilation: '-D __PIC__'
      Linking cubeFast ...
      - running the resulting executable crashes (compiling without -fllvm
      gives no warnings and executable works properly)
      -  cat bigCube.txt | ./cubeFast > /dev/null
      Segmentation fault: 11
      - Exception Type:        EXC_BAD_ACCESS (SIGSEGV)
      Exception Codes:       KERN_INVALID_ADDRESS at 0xfffffffd5bfd8460


   - ​cabal install vector fails:
   - [ 5 of 19] Compiling Data.Vector.Fusion.Stream.Monadic (
      Data/Vector/Fusion/Stream/Monadic.hs,
      dist/build/Data/Vector/Fusion/Stream/Monadic.o )
      <command line>: can't load .so/.DLL for:
      /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/usr/lib/libiconv.dylib
      (dlopen(/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/usr/lib/libiconv.dylib,
      5): no suitable image found.  Did find:

      /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/usr/lib/libiconv.dylib:
      mach-o, but wrong filetype)
   - ​cabal install cpphs fails:​
   -    cabal install cpphs
      Resolving dependencies...
      Configuring cpphs-1.13...
      Building cpphs-1.13...
      Failed to install cpphs-1.13
      Build log ( /Users/gcolpitts/.cabal/logs/cpphs-1.13.log ):
      Warning: cpphs.cabal: Unknown fields: build-depends (line 5)
      Fields allowed in this section:
      name, version, cabal-version, build-type, license, license-file,
      license-files, copyright, maintainer, stability, homepage,
      package-url, bug-reports, synopsis, description, category, author,
      tested-with, data-files, data-dir, extra-source-files,
      extra-tmp-files, extra-doc-files
      Configuring cpphs-1.13...
      Building cpphs-1.13...
      Preprocessing library cpphs-1.13...
      - Language/Preprocessor/Cpphs.hs:1:1:
          Could not find module ‘Prelude’
          It is a member of the hidden package ‘base-4.8.0.0’.
          Perhaps you need to add ‘base’ to the build-depends in your
      .cabal file.
          Use -v to see a list of the files searched for.

      Language/Preprocessor/Cpphs/CppIfdef.hs:32:8:
          Could not find module ‘Numeric’
          It is a member of the hidden package ‘base-4.8.0.0’.
          Perhaps you need to add ‘base’ to the build-depends in your
      .cabal file.
          Use -v to see a list of the files searched for.

      Language/Preprocessor/Cpphs/CppIfdef.hs:33:8:
          Could not find module ‘System.IO.Unsafe’
          It is a member of the hidden package ‘base-4.8.0.0’.
          Perhaps you need to add ‘base’ to the build-depends in your
      .cabal file.
          Use -v to see a list of the files searched for.

      Language/Preprocessor/Cpphs/CppIfdef.hs:34:8:
          Could not find module ‘System.IO’
          It is a member of the hidden package ‘base-4.8.0.0’.
          Perhaps you need to add ‘base’ to the build-depends in your
      .cabal file.
          Use -v to see a list of the files searched for.

      Language/Preprocessor/Cpphs/MacroPass.hs:29:8:
          Could not find module ‘Control.Monad’
          It is a member of the hidden package ‘base-4.8.0.0’.
          Perhaps you need to add ‘base’ to the build-depends in your
      .cabal file.
          Use -v to see a list of the files searched for.

      Language/Preprocessor/Cpphs/MacroPass.hs:30:8:
          Could not find module ‘System.Time’
          Perhaps you meant
            System.CPUTime (needs flag -package-key base-4.8.0.0)
            System.Cmd (needs flag -package-key
      process-1.2.1.0 at proce_ADbmNMhxdsoDn9NrOWjezu)
            System.Mem (needs flag -package-key base-4.8.0.0)
          Use -v to see a list of the files searched for.

      Language/Preprocessor/Cpphs/MacroPass.hs:31:8:
          Could not find module ‘System.Locale’
          Use -v to see a list of the files searched for.

      Language/Preprocessor/Cpphs/Options.hs:22:8:
          Could not find module ‘Data.Maybe’
          It is a member of the hidden package ‘base-4.8.0.0’.
          Perhaps you need to add ‘base’ to the build-depends in your
      .cabal file.
          Use -v to see a list of the files searched for.

      Language/Preprocessor/Cpphs/ReadFirst.hs:19:8:
          Could not find module ‘System.Directory’
          It is a member of the hidden package
      ‘directory-1.2.1.1 at direc_3m6Ew9I164U5MIkATLCdb8’.
          Perhaps you need to add ‘directory’ to the build-depends in your
      .cabal file.
          Use -v to see a list of the files searched for.

      Language/Preprocessor/Unlit.hs:5:8:
          Could not find module ‘Data.Char’
          It is a member of the hidden package ‘base-4.8.0.0’.
          Perhaps you need to add ‘base’ to the build-depends in your
      .cabal file.
          Use -v to see a list of the files searched for.

      Language/Preprocessor/Unlit.hs:6:8:
          Could not find module ‘Data.List’
          It is a member of the hidden package ‘base-4.8.0.0’.
          Perhaps you need to add ‘base’ to the build-depends in your
      .cabal file.
          Use -v to see a list of the files searched for.
      cabal: Error: some packages failed to install:
      cpphs-1.13 failed during the building phase. The exception was:
      ExitFailure 1

​Configuration details:


   - Mac OS 10.10.1 (Yosemite)
   -  uname -a
   Darwin iMac27-5.local 14.0.0 Darwin Kernel Version 14.0.0: Fri Sep 19
   00:26:44 PDT 2014; root:xnu-2782.1.97~2/RELEASE_X86_64 x86_64
   - llvm info:
   -  opt --version
   LLVM (http://llvm.org/):
     LLVM version 3.4.2
     Optimized build with assertions.
     Built Oct 31 2014 (23:14:30).
     Default target: x86_64-apple-darwin14.0.0
     Host CPU: corei7
   -  gcc --version
   gcc (Homebrew gcc 4.9.1) 4.9.1
   Copyright (C) 2014 Free Software Foundation, Inc.
   This is free software; see the source for copying conditions.  There is
   NO
   warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
   PURPOSE.
   - ​ /usr/bin/ghc --info
    [("Project name","The Glorious Glasgow Haskell Compilation System")
    ,("GCC extra via C opts"," -fwrapv")
    ,("C compiler command","/usr/bin/gcc")
    ,("C compiler flags"," -m64 -fno-stack-protector")
    ,("C compiler link flags"," -m64")
    ,("Haskell CPP command","/usr/bin/gcc")
    ,("Haskell CPP flags","-E -undef -traditional -Wno-invalid-pp-token
   -Wno-unicode -Wno-trigraphs")
    ,("ld command","/usr/bin/ld")
    ,("ld flags"," -arch x86_64")
    ,("ld supports compact unwind","YES")
    ,("ld supports build-id","NO")
    ,("ld supports filelist","YES")
    ,("ld is GNU ld","NO")
    ,("ar command","/usr/bin/ar")
    ,("ar flags","clqs")
    ,("ar supports at file","NO")
    ,("touch command","touch")
    ,("dllwrap command","/bin/false")
    ,("windres command","/bin/false")
    ,("libtool command","libtool")
    ,("perl command","/usr/bin/perl")
    ,("target os","OSDarwin")
    ,("target arch","ArchX86_64")
    ,("target word size","8")
    ,("target has GNU nonexec stack","False")
    ,("target has .ident directive","True")
    ,("target has subsections via symbols","True")
    ,("Unregisterised","NO")
    ,("LLVM llc command","llc")
    ,("LLVM opt command","opt")
    ,("Project version","7.8.3")
    ,("Booter version","7.6.3")
    ,("Stage","2")
    ,("Build platform","x86_64-apple-darwin")
    ,("Host platform","x86_64-apple-darwin")
    ,("Target platform","x86_64-apple-darwin")
    ,("Have interpreter","YES")
    ,("Object splitting supported","YES")
    ,("Have native code generator","YES")
    ,("Support SMP","YES")
    ,("Tables next to code","YES")
    ,("RTS ways","l debug thr thr_debug thr_l thr_p dyn debug_dyn thr_dyn
   thr_debug_dyn l_dyn thr_l_dyn")
    ,("Support dynamic-too","YES")
    ,("Support parallel --make","YES")
    ,("Dynamic by default","NO")
    ,("GHC Dynamic","YES")
    ,("Leading underscore","YES")
    ,("Debug on","False")

    ,("LibDir","/Library/Frameworks/GHC.framework/Versions/7.8.3-x86_64/usr/lib/ghc-7.8.3")
    ,("Global Package
   DB","/Library/Frameworks/GHC.framework/Versions/7.8.3-x86_64/usr/lib/ghc-7.8.3/package.conf.d")
    ]
   - Not sure I found the correct instructions for building from source,  I
   used the following:
      -

      $ autoreconf
      $ ./configure
      $ make
      $ make install




On Tue, Dec 23, 2014 at 10:36 AM, Austin Seipp <austin at well-typed.com>
wrote:

> We are pleased to announce the first release candidate for GHC 7.10.1:
>
>     https://downloads.haskell.org/~ghc/7.10.1-rc1/
>
> This includes the source tarball and bindists for 64bit/32bit Linux
> and Windows. Binary builds for other platforms will be available
> shortly. (CentOS 6.5 binaries are not available at this time like they
> were for 7.8.x). These binaries and tarballs have an accompanying
> SHA256SUMS file signed by my GPG key id (0x3B58D86F).
>
> We plan to make the 7.10.1 release sometime in February of 2015. We
> expect another RC to occur during January of 2015.
>
> Please test as much as possible; bugs are much cheaper if we find them
> before the release!
>
> --
> Regards,
>
> Austin Seipp, Haskell Consultant
> Well-Typed LLP, http://www.well-typed.com/
> _______________________________________________
> ghc-devs mailing list
> ghc-devs at haskell.org
> http://www.haskell.org/mailman/listinfo/ghc-devs
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/ghc-devs/attachments/20150101/2aee43f9/attachment-0001.html>


More information about the ghc-devs mailing list