
Clean build on HEAD on Linux is now giving a new error.
Actual stderr output differs from expected:
--- ./driver/T10970a.stderr.normalised 2015-10-27 09:44:02.279188078 +0000
+++ ./driver/T10970a.comp.stderr.normalised 2015-10-27 09:44:02.279188078 +0000
@@ -1,6 +1,4 @@
T10970a.hs:4:0:
missing binary operator before token "("
- #if MIN_VERSION_base(3,0,0)
- ^
`gcc' failed in phase `C pre-processor'. (Exit code: 1)
I figured out the recomp013 problem; there was a commit which interacted badly with link trees
commit cdca31ebf7744dcae66a6715500395a63bcc3ee2
Author: Edward Z. Yang

Simon Peyton Jones
Clean build on HEAD on Linux is now giving a new error.
Actual stderr output differs from expected:
--- ./driver/T10970a.stderr.normalised 2015-10-27 09:44:02.279188078 +0000
+++ ./driver/T10970a.comp.stderr.normalised 2015-10-27 09:44:02.279188078 +0000
@@ -1,6 +1,4 @@
T10970a.hs:4:0:
missing binary operator before token "("
- #if MIN_VERSION_base(3,0,0)
- ^
`gcc' failed in phase `C pre-processor'. (Exit code: 1)
Hmm, it is possible that the output produced by this test is gcc-version dependent. What GCC version are you using? I believe Edward must have been using 5.2.* as `master` currently validates for me and this is the version I am using. Cheers, - Ben

gcc 4.6.3
| -----Original Message-----
| From: Ben Gamari [mailto:ben@smart-cactus.org]
| Sent: 27 October 2015 10:31
| To: Simon Peyton Jones; ghc-devs@haskell.org
| Subject: Re: New error on linux
|
| Simon Peyton Jones

That's simple, we can just use ifdef to test for macro appearance. I'll commit a fix. Edward Excerpts from Ben Gamari's message of 2015-10-27 04:04:42 -0700:
Simon Peyton Jones
writes: gcc 4.6.3
Alright, we'll need to figure out what to do about these differences.
Cheers,
- Ben

OK fixed. Edward Excerpts from Edward Z. Yang's message of 2015-10-27 10:36:36 -0700:
That's simple, we can just use ifdef to test for macro appearance. I'll commit a fix.
Edward
Excerpts from Ben Gamari's message of 2015-10-27 04:04:42 -0700:
Simon Peyton Jones
writes: gcc 4.6.3
Alright, we'll need to figure out what to do about these differences.
Cheers,
- Ben
participants (3)
-
Ben Gamari
-
Edward Z. Yang
-
Simon Peyton Jones