Re: Can't build HEAD with the old build system

2019-04-01 Thread Ömer Sinan Ağacan
Hmm this is really weird, I tried to again but it's building fine now. Nothing changed -- I'm using the same tree, trying after `git clean -xfd`, and without a build.mk. I guess the bug does not happen deterministically? Was that also the case with the bug report you mentioned? In case anyone's

Re: Can't build HEAD with the old build system

2019-04-01 Thread Niklas Hambüchen
At least on my Ubuntu 16.04, it builds: % git clone --recursive g...@gitlab.haskell.org:ghc/ghc.git ghc-gold-error-6f7115dfd4 % cd ghc-gold-error-6f7115dfd4 % ./boot && ./configure --prefix=$HOME/opt/ghc-gold-error-6f7115dfd4 GHC=$HOME/.stack/programs/x86_64-linux/ghc-8.6.3/bin/ghc % make -j4

Re: Can't build HEAD with the old build system

2019-04-01 Thread Niklas Hambüchen
That sounds good. A few more questions: What's the exact version of your OS, and of gold? After getting to the error, can you run the failing ghc invocation directly, and see if the error remains? The one starting with "/home/omer/ghc_bins/ghc-8.6.4-bin/bin/ghc" -o

Re: Can't build HEAD with the old build system

2019-03-31 Thread Ömer Sinan Ağacan
Yeah I can reproduce it reliably. I tried a few `git clean -xfd`s, and tried with no build.mk and with a debug build.mk, it happened with all configurations, when building the same file (the hsc2hs executable). The repro is simple: clone the GHC repo, build at 6f7115dfd4. If this doesn't

Re: Can't build HEAD with the old build system

2019-03-31 Thread Niklas Hambüchen
Can you reproduce this reliably? Googling the error message "internal error in find_view" yields: https://www.mail-archive.com/bug-binutils@gnu.org/msg28716.html where somebody encountered it, but only in proprietary code. It would probably be very useful if we could provide a repro of it in

Re: Can't build HEAD with the old build system

2019-03-31 Thread Ben Gamari
On March 31, 2019 12:20:22 PM EDT, "Ömer Sinan Ağacan" wrote: >I was able to build with the system linker instead of gold.ld >(configure with >--disable-ld-override). I guess I triggered a gold.ld bug. > >Ömer > >Takenobu Tani , 31 Mar 2019 Paz, 16:19 >tarihinde şunu yazdı: >> >> Hi, >> >> At

Re: Can't build HEAD with the old build system

2019-03-31 Thread Ömer Sinan Ağacan
I was able to build with the system linker instead of gold.ld (configure with --disable-ld-override). I guess I triggered a gold.ld bug. Ömer Takenobu Tani , 31 Mar 2019 Paz, 16:19 tarihinde şunu yazdı: > > Hi, > > At least I was able to build with old build system in my Ubuntu on Friday. > >

Re: Can't build HEAD with the old build system

2019-03-31 Thread Takenobu Tani
Hi, At least I was able to build with old build system in my Ubuntu on Friday. How about trying the following? : $ make maintainer-clean $ ./boot $ ./configure $ make Regards, Takenobu ___ ghc-devs mailing list ghc-devs@haskell.org

Can't build HEAD with the old build system

2019-03-31 Thread Ömer Sinan Ağacan
I just updated a few-days-old repo and `make` no longer works: $ make ===--- building phase 0 make --no-print-directory -f ghc.mk phase=0 phase_0_builds make[1]: Nothing to be done for 'phase_0_builds'. ===--- building phase 1 make --no-print-directory -f ghc.mk phase=1