Build entirely broken

Simon Peyton Jones simonpj at microsoft.com
Wed Aug 22 11:05:38 UTC 2018


Panic over.  Removing the entire build tree and starting again solved it. I have no idea what the original problem was.

Sorry for false alarm

Simon

|  -----Original Message-----
|  From: Ömer Sinan Ağacan <omeragacan at gmail.com>
|  Sent: 22 August 2018 11:37
|  To: Simon Peyton Jones <simonpj at microsoft.com>
|  Cc: ghc-devs <ghc-devs at haskell.org>
|  Subject: Re: Build entirely broken
|  
|  I wonder if this could be a problem with your tree? I just did
|  
|      git pull
|      git submodule update --init
|      make distclean
|      ./boot
|      ./configure
|      make
|  
|  and it worked. Note that I tried with "quick" build flavor.
|  
|  Ömer
|  
|  Simon Peyton Jones via ghc-devs <ghc-devs at haskell.org>, 22 Ağu 2018 Çar,
|  13:12 tarihinde şunu yazdı:
|  >
|  > From a clean build I’m getting this
|  >
|  > ld: cannot find libraries/ghc-prim/dist-install/build/GHC/CString.o:
|  > No such file or directory
|  >
|  > ld: cannot find libraries/ghc-prim/dist-install/build/GHC/Classes.o:
|  > No such file or directory
|  >
|  > ld: cannot find libraries/ghc-prim/dist-install/build/GHC/Debug.o: No
|  > such file or directory
|  >
|  > ld: cannot find libraries/ghc-prim/dist-install/build/GHC/IntWord64.o:
|  > No such file or directory
|  >
|  > ld: cannot find libraries/ghc-prim/dist-install/build/GHC/Magic.o: No
|  > such file or directory
|  >
|  > ld: cannot find
|  > libraries/ghc-prim/dist-install/build/GHC/PrimopWrappers.o: No such
|  > file or directory
|  >
|  > ld: cannot find libraries/ghc-prim/dist-install/build/GHC/Tuple.o: No
|  > such file or directory
|  >
|  > ld: cannot find libraries/ghc-prim/dist-install/build/GHC/Types.o: No
|  > such file or directory
|  >
|  >
|  >
|  > And indeed those files don’t exist.  In earlier builds they were there.
|  >
|  > The command line for eg CString was
|  >
|  > "inplace/bin/ghc-stage1" -hisuf hi -osuf  o -hcsuf hc -static  -O0 -
|  H64m -Wall -fllvm-fill-undef-with-garbage    -Werror    -this-unit-id
|  ghc-prim-0.5.3 -hide-all-packages -i -ilibraries/ghc-prim/. -
|  ilibraries/ghc-prim/dist-install/build -Ilibraries/ghc-prim/dist-
|  install/build -ilibraries/ghc-prim/dist-install/build/./autogen -
|  Ilibraries/ghc-prim/dist-install/build/./autogen -Ilibraries/ghc-prim/.
|  -optP-include -optPlibraries/ghc-prim/dist-
|  install/build/./autogen/cabal_macros.h -package-id rts -this-unit-id ghc-
|  prim -XHaskell2010 -O -dcore-lint -dno-debug-output -ticky  -no-user-
|  package-db -rtsopts  -Wno-trustworthy-safe -Wno-deprecated-flags     -
|  Wnoncanonical-monad-instances  -odir libraries/ghc-prim/dist-
|  install/build -hidir libraries/ghc-prim/dist-install/build -stubdir
|  libraries/ghc-prim/dist-install/build -split-objs  -dynamic-too -c
|  libraries/ghc-prim/./GHC/CString.hs -o libraries/ghc-prim/dist-
|  install/build/GHC/CString.o -dyno libraries/ghc-prim/dist-
|  install/build/GHC/CString.dyn_o
|  >
|  > which looks right.
|  >
|  > What’s going on?
|  >
|  > This has me totally stalled.
|  >
|  > Simonb
|  >
|  > _______________________________________________
|  > ghc-devs mailing list
|  > ghc-devs at haskell.org
|  > https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fmail.h
|  > askell.org%2Fcgi-bin%2Fmailman%2Flistinfo%2Fghc-devs&data=02%7C01%
|  > 7Csimonpj%40microsoft.com%7Cd431698f245d4a5027b808d6081b3d6f%7C72f988b
|  > f86f141af91ab2d7cd011db47%7C1%7C0%7C636705310415122065&sdata=B3njA
|  > GGeNNhNxfIkKrXOf7C2ujZzqgA5VN%2BynWL2wZ4%3D&reserved=0


More information about the ghc-devs mailing list