Re: Build fails with different versions of clang and LLVM - Mailing list pgsql-hackers

From Heikki Linnakangas
Subject Re: Build fails with different versions of clang and LLVM
Date
Msg-id 15b3f6d0-dfef-1a7a-c014-8825d3b3eb6a@iki.fi
Whole thread Raw
In response to Re: Build fails with different versions of clang and LLVM  (Andres Freund <andres@anarazel.de>)
List pgsql-hackers
On 23/04/18 18:35, Andres Freund wrote:
> Hi,
> 
> On 2018-04-23 18:33:30 +0300, Heikki Linnakangas wrote:
>> To add to the story: I installed clang 3.9, but I still got the same error.
>> I now had both clang 3.8 and 3.9 installed, but /usr/bin/clang still pointed
>> to clang-3.8, so autoconf still picked that up. Only after removing
>> clang-3.8 altogether, it started working.
> 
> And CLANG=clang-3.9 to autoconf didn't cure that?

Oh, I'm sure it would have, I didn't try that :-).

> I've experimented a bit w/ this and there seem to be fewer cross-version
> issues in newer clang/llvm versions.

Good to hear. Nevertheless, I think we should try a bit harder to ensure 
that we pick the same version of clang and LLVM. Even if they're 
compatible, just seems more straightforward that way. And we now know 
there is an incompatibility between 3.8 and 3.9, at least.

- Heikki


pgsql-hackers by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: Make description of heap records more talkative for flags
Next
From: Andres Freund
Date:
Subject: Re: Make description of heap records more talkative for flags