Build entirely broken

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
8 messages Options
Reply | Threaded
Open this post in threaded view
|

Build entirely broken

GHC - devs mailing list

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
[hidden email]
http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs
Reply | Threaded
Open this post in threaded view
|

Re: Build entirely broken

Ömer Sinan Ağacan
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 <[hidden email]>, 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
> [hidden email]
> http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs
_______________________________________________
ghc-devs mailing list
[hidden email]
http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs
Reply | Threaded
Open this post in threaded view
|

RE: Build entirely broken

GHC - devs mailing list
Yes, submodules are up to date.
I was doing 'sh validate --fast' which should clean the tree.

I've just removed the entire build tree and will try from scratch.

Simon

|  -----Original Message-----
|  From: Ömer Sinan Ağacan <[hidden email]>
|  Sent: 22 August 2018 11:37
|  To: Simon Peyton Jones <[hidden email]>
|  Cc: ghc-devs <[hidden email]>
|  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 <[hidden email]>, 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
|  > [hidden email]
|  > https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fmail.h
|  > askell.org%2Fcgi-bin%2Fmailman%2Flistinfo%2Fghc-devs&amp;data=02%7C01%
|  > 7Csimonpj%40microsoft.com%7Cd431698f245d4a5027b808d6081b3d6f%7C72f988b
|  > f86f141af91ab2d7cd011db47%7C1%7C0%7C636705310415122065&amp;sdata=B3njA
|  > GGeNNhNxfIkKrXOf7C2ujZzqgA5VN%2BynWL2wZ4%3D&amp;reserved=0
_______________________________________________
ghc-devs mailing list
[hidden email]
http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs
Reply | Threaded
Open this post in threaded view
|

RE: Build entirely broken

GHC - devs mailing list
In reply to this post by Ömer Sinan Ağacan
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 <[hidden email]>
|  Sent: 22 August 2018 11:37
|  To: Simon Peyton Jones <[hidden email]>
|  Cc: ghc-devs <[hidden email]>
|  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 <[hidden email]>, 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
|  > [hidden email]
|  > https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fmail.h
|  > askell.org%2Fcgi-bin%2Fmailman%2Flistinfo%2Fghc-devs&amp;data=02%7C01%
|  > 7Csimonpj%40microsoft.com%7Cd431698f245d4a5027b808d6081b3d6f%7C72f988b
|  > f86f141af91ab2d7cd011db47%7C1%7C0%7C636705310415122065&amp;sdata=B3njA
|  > GGeNNhNxfIkKrXOf7C2ujZzqgA5VN%2BynWL2wZ4%3D&amp;reserved=0
_______________________________________________
ghc-devs mailing list
[hidden email]
http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs
Reply | Threaded
Open this post in threaded view
|

RE: Build entirely broken

GHC - devs mailing list
Sigh. I spoke too soon.

Exactly the same thing has happened starting from a clean build.

I'm utterly stuck.  Why is CString.o not being built?

S

|  -----Original Message-----
|  From: ghc-devs <[hidden email]> On Behalf Of Simon Peyton
|  Jones via ghc-devs
|  Sent: 22 August 2018 12:06
|  To: Ömer Sinan Ağacan <[hidden email]>
|  Cc: ghc-devs <[hidden email]>
|  Subject: RE: Build entirely broken
|  
|  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 <[hidden email]>
|  |  Sent: 22 August 2018 11:37
|  |  To: Simon Peyton Jones <[hidden email]>
|  |  Cc: ghc-devs <[hidden email]>
|  |  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 <[hidden email]>, 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
|  |  > [hidden email]
|  |  >
|  | https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fmail.h
|  |  >
|  | askell.org%2Fcgi-bin%2Fmailman%2Flistinfo%2Fghc-devs&amp;data=02%7C01%
|  |  >
|  | 7Csimonpj%40microsoft.com%7Cd431698f245d4a5027b808d6081b3d6f%7C72f988b
|  |  >
|  | f86f141af91ab2d7cd011db47%7C1%7C0%7C636705310415122065&amp;sdata=B3njA
|  |  > GGeNNhNxfIkKrXOf7C2ujZzqgA5VN%2BynWL2wZ4%3D&amp;reserved=0
|  _______________________________________________
|  ghc-devs mailing list
|  [hidden email]
|  https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fmail.hask
|  ell.org%2Fcgi-bin%2Fmailman%2Flistinfo%2Fghc-
|  devs&amp;data=02%7C01%7Csimonpj%40microsoft.com%7C776e01d283e64a772dbf08d
|  6081f3cd0%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636705327589276520
|  &amp;sdata=Q0OxveXyo8vJZwVIuShj%2Fhur1YOjTfa4EYViHLEUPSA%3D&amp;reserved=
|  0
_______________________________________________
ghc-devs mailing list
[hidden email]
http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs
Reply | Threaded
Open this post in threaded view
|

RE: Build entirely broken

GHC - devs mailing list

If I add -v3 to the compile line for CString I see ..

 

*** Linker:

gcc -fno-stack-protector -DTABLES_NEXT_TO_CODE '-fuse-ld=gold' -Wl,--no-as-needed -nostdlib -Wl,-r -no-pie -nodefaultlibs -Wl,-no-relax '-Wl,--build-id=none' -o libraries/ghc-prim/dist-install/build/GHC/CString.o /tmp/ghc17344_0/ghc_4.ldscript

 

and no CString.o is created.

 

But previously we had

 

gcc -fno-stack-protector -DTABLES_NEXT_TO_CODE '-fuse-ld=gold' -Wl,--no-as-needed -nostdlib -Wl,-r -no-pie -nodefaultlibs '-Wl,--build-id=none' -o libraries/ghc-prim/dist-install/build/GHC/CString.o /tmp/ghc57765_0/ghc_4.ldscript

 

 

So maybe it’s that ‘no-relax’ business.

 

S

-----Original Message-----

From: Simon Peyton Jones

Sent: 22 August 2018 12:17

To: Simon Peyton Jones <[hidden email]>; ghc-devs <ghc-

[hidden email]>

Subject: RE: Build entirely broken

|  Sigh. I spoke too soon.

|  Exactly the same thing has happened starting from a clean build.

|  I'm utterly stuck.  Why is CString.o not being built?

|  S

|  |  -----Original Message-----

|  |  From: ghc-devs <[hidden email]> On Behalf Of Simon

|  | Peyton  Jones via ghc-devs

|  |  Sent: 22 August 2018 12:06

|  |  To: Ömer Sinan Ağacan <[hidden email]>

|  |  Cc: ghc-devs <[hidden email]>

|  |  Subject: RE: Build entirely broken

|  |

|  |  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 <[hidden email]>  |  Sent: 22 August

|  | 2018 11:37  |  To: Simon Peyton Jones <[hidden email]>  |  Cc:

|  | ghc-devs <[hidden email]>  |  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 <[hidden email]>, 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

|  |  |  > [hidden email]

|  |  |  >

|  |  |

|  | https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fmail.h

|  |  |  >

|  |  |

|  | askell.org%2Fcgi-bin%2Fmailman%2Flistinfo%2Fghc-devs&amp;data=02%7C01%

|  |  |  >

|  |  |

|  | 7Csimonpj%40microsoft.com%7Cd431698f245d4a5027b808d6081b3d6f%7C72f988b

|  |  |  >

|  |  |

|  | f86f141af91ab2d7cd011db47%7C1%7C0%7C636705310415122065&amp;sdata=B3njA

|  |  |  > GGeNNhNxfIkKrXOf7C2ujZzqgA5VN%2BynWL2wZ4%3D&amp;reserved=0

|  |  _______________________________________________

|  |  ghc-devs mailing list

|  |  [hidden email]

|  |

|  | https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fmail.h

|  | ask

|  |  ell.org%2Fcgi-bin%2Fmailman%2Flistinfo%2Fghc-

|  |

|  | devs&amp;data=02%7C01%7Csimonpj%40microsoft.com%7C776e01d283e64a772dbf

|  | 08d

|  |

|  | 6081f3cd0%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636705327589276

|  | 520

|  | &amp;sdata=Q0OxveXyo8vJZwVIuShj%2Fhur1YOjTfa4EYViHLEUPSA%3D&amp;reserv

|  | ed=

|  |  0

 


_______________________________________________
ghc-devs mailing list
[hidden email]
http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs
Reply | Threaded
Open this post in threaded view
|

RE: Build entirely broken

Ben Gamari-2
In reply to this post by GHC - devs mailing list
Simon Peyton Jones via ghc-devs <[hidden email]> writes:

> Sigh. I spoke too soon.
>
> Exactly the same thing has happened starting from a clean build.
>
> I'm utterly stuck.  Why is CString.o not being built?
>
Can you try reverting 1cc9061fce42? Perhaps this is a linker
compatibility issue?

Cheers,

- Ben


_______________________________________________
ghc-devs mailing list
[hidden email]
http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs

signature.asc (497 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

RE: Build entirely broken

GHC - devs mailing list
Yes I tried that, following my previous email.

And indeed that was it.  Gah!  Time wasted.  But at least it's solved now.

Simon

|  -----Original Message-----
|  From: Ben Gamari <[hidden email]>
|  Sent: 22 August 2018 12:43
|  To: Simon Peyton Jones via ghc-devs <[hidden email]>; Simon Peyton
|  Jones <[hidden email]>; ghc-devs <[hidden email]>
|  Subject: RE: Build entirely broken
|  
|  Simon Peyton Jones via ghc-devs <[hidden email]> writes:
|  
|  > Sigh. I spoke too soon.
|  >
|  > Exactly the same thing has happened starting from a clean build.
|  >
|  > I'm utterly stuck.  Why is CString.o not being built?
|  >
|  Can you try reverting 1cc9061fce42? Perhaps this is a linker
|  compatibility issue?
|  
|  Cheers,
|  
|  - Ben

_______________________________________________
ghc-devs mailing list
[hidden email]
http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs