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 c0b1af01-eefb-9213-82bb-1fb4d3c1560e@iki.fi
Whole thread Raw
In response to Re: Build fails with different versions of clang and LLVM  (Andres Freund <andres@anarazel.de>)
Responses Re: Build fails with different versions of clang and LLVM
List pgsql-hackers
On 23/04/18 18:28, Andres Freund wrote:
> Hi,
> 
> On 2018-04-23 04:33:04 -0400, Heikki Linnakangas wrote:
>> So, I have LLVM 3.9 installed, but no clang 3.9. Only clang 3.8.
> 
> Any specific reason, or just happenstance?

Just happenstance. I had clang and llvm 3.8 installed previously. But 
PostgreSQL needs llvm 3.9, so I installed that, but I didn't think to 
install clang 3.9.

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.

For the record, this is on a pretty normal Debian Stretch installation.

- Heikki


pgsql-hackers by date:

Previous
From: Alexander Korotkov
Date:
Subject: Re: [HACKERS] Custom compression methods
Next
From: Andres Freund
Date:
Subject: Re: Build fails with different versions of clang and LLVM