Old build system broken

Simon Peyton Jones simonpj at microsoft.com
Thu May 9 15:45:21 UTC 2019


Does /home/simonpj/code/HEAD/inplace/bin/ghc-stage1 --info
No, it fails too:

./inplace/bin/ghc-stage1 --info

Failed to read "target arch" value ""

I’ll try git clean -xfd next.

Simon


From: Phyx <lonetiger at gmail.com>
Sent: 08 May 2019 20:29
To: Simon Peyton Jones <simonpj at microsoft.com>
Cc: ghc-devs at haskell.org Devs <ghc-devs at haskell.org>
Subject: Re: Old build system broken

That looks like stage1 has been improperly configured.

Does /home/simonpj/code/HEAD/inplace/bin/ghc-stage1 --info

Return anything sensible for target arch?

I still use the make system exclusively and haven't noticed a failure.

But my nightlies haven't kicked off yet today.

Thanks,
Tamar
Sent from my Mobile

On Wed, May 8, 2019, 16:24 Simon Peyton Jones via ghc-devs <ghc-devs at haskell.org<mailto:ghc-devs at haskell.org>> wrote:
I know we are supposed to be using Hadrian now, but is the old build system supposed to be broken?
A clean build fails with

"inplace/bin/ghc-cabal" check libraries/ghc-prim

"inplace/bin/ghc-cabal" configure libraries/ghc-prim dist-install --with-ghc="/home/simonpj/code/HEAD/inplace/bin/ghc-stage1" --with-ghc-pkg="/home/simonpj/code/HEAD/inplace/bin/ghc-pkg"  --disable-library-for-ghci --enable-library-vanilla --enable-library-for-ghci --disable-library-profiling --enable-shared --configure-option=CFLAGS="-Wall     -Werror=unused-but-set-variable -Wno-error=inline" --configure-option=LDFLAGS="  " --configure-option=CPPFLAGS="   " --gcc-options="-Wall     -Werror=unused-but-set-variable -Wno-error=inline   " --with-gcc="gcc" --with-ld="ld.gold" --with-ar="ar" --with-alex="/usr/bin/alex" --with-happy="/usr/bin/happy"

Configuring ghc-prim-0.6.1...

ghc-cabal: '/home/simonpj/code/HEAD/inplace/bin/ghc-stage1' exited with an

error:

Failed to read "target arch" value ""



libraries/ghc-prim/ghc.mk:4<https://nam06.safelinks.protection.outlook.com/?url=http%3A%2F%2Fghc.mk%3A4&data=01%7C01%7Csimonpj%40microsoft.com%7C8120b55a4c7940be44f908d6d3eb6631%7C72f988bf86f141af91ab2d7cd011db47%7C1&sdata=h0ScvbSHggHCi6lU5umtzQzrO7UOj%2Bve7fs6f3FTP%2FA%3D&reserved=0>: recipe for target 'libraries/ghc-prim/dist-install/package-data.mk<https://nam06.safelinks.protection.outlook.com/?url=http%3A%2F%2Fpackage-data.mk&data=01%7C01%7Csimonpj%40microsoft.com%7C8120b55a4c7940be44f908d6d3eb6631%7C72f988bf86f141af91ab2d7cd011db47%7C1&sdata=Bg1Xu54yAke1Wy0GDjUYumwhjN8ylnbHhzoIul0NAkU%3D&reserved=0>' failed

make[1]: *** [libraries/ghc-prim/dist-install/package-data.mk<https://nam06.safelinks.protection.outlook.com/?url=http%3A%2F%2Fpackage-data.mk&data=01%7C01%7Csimonpj%40microsoft.com%7C8120b55a4c7940be44f908d6d3eb6631%7C72f988bf86f141af91ab2d7cd011db47%7C1&sdata=Bg1Xu54yAke1Wy0GDjUYumwhjN8ylnbHhzoIul0NAkU%3D&reserved=0>] Error 1

Makefile:123: recipe for target 'all' failed

make: *** [all] Error 2

simonpj at MSRC-3645512:~/code/HEAD$
_______________________________________________
ghc-devs mailing list
ghc-devs at haskell.org<mailto:ghc-devs at haskell.org>
http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs<https://nam06.safelinks.protection.outlook.com/?url=http%3A%2F%2Fmail.haskell.org%2Fcgi-bin%2Fmailman%2Flistinfo%2Fghc-devs&data=01%7C01%7Csimonpj%40microsoft.com%7C8120b55a4c7940be44f908d6d3eb6631%7C72f988bf86f141af91ab2d7cd011db47%7C1&sdata=lSlH1YufwRmqj%2FlI3SbtxvPPicArbRXTD5jCxFMdLhY%3D&reserved=0>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-devs/attachments/20190509/5afe6cff/attachment.html>


More information about the ghc-devs mailing list