Re: clang and LLVM

Lists: pgsql-hackers
From: Gevik Babakhani <pgdev(at)xs4all(dot)nl>
To: pgsql-hackers(at)postgresql(dot)org
Subject: clang and LLVM
Date: 2010-12-16 21:31:58
Message-ID: 4D0A854E.5060600@xs4all.nl
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

Hi,

I was wondering if there has been anyone experimenting to compile PG
using LLVM/clang compiler tools.

Regards,
Gevik.


From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Gevik Babakhani <pgdev(at)xs4all(dot)nl>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: clang and LLVM
Date: 2010-12-16 21:39:32
Message-ID: 14850.1292535572@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

Gevik Babakhani <pgdev(at)xs4all(dot)nl> writes:
> I was wondering if there has been anyone experimenting to compile PG
> using LLVM/clang compiler tools.

There is (or was, not sure if it's up right now) a buildfarm machine
using LLVM.

regards, tom lane


From: Alexandre Riveira <alexandre(at)objectdata(dot)com(dot)br>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Gevik Babakhani <pgdev(at)xs4all(dot)nl>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: clang and LLVM
Date: 2010-12-17 09:50:53
Message-ID: 4D0B327D.3060604@objectdata.com.br
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

Firebird

http://mapopa.blogspot.com/2010/10/clang-compiling-successful-experiments.html

Regards

Alexandre Riveira

Tom Lane escreveu:
> Gevik Babakhani <pgdev(at)xs4all(dot)nl> writes:
>
>> I was wondering if there has been anyone experimenting to compile PG
>> using LLVM/clang compiler tools.
>>
>
> There is (or was, not sure if it's up right now) a buildfarm machine
> using LLVM.
>
> regards, tom lane
>
>


From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: Alexandre Riveira <alexandre(at)objectdata(dot)com(dot)br>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Gevik Babakhani <pgdev(at)xs4all(dot)nl>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: clang and LLVM
Date: 2010-12-17 14:45:56
Message-ID: 4D0B77A4.3000001@dunslane.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

On 12/17/2010 04:50 AM, Alexandre Riveira wrote:
> Firebird
>
> http://mapopa.blogspot.com/2010/10/clang-compiling-successful-experiments.html
>

In addition to top-posting this has nothing to do with the original
question, and is seriously off-topic for a Postgres developers mailing list.

cheers

andrew


From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Gevik Babakhani <pgdev(at)xs4all(dot)nl>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: clang and LLVM
Date: 2010-12-17 15:30:52
Message-ID: 1292599852.22053.0.camel@vanquo.pezone.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

On tor, 2010-12-16 at 22:31 +0100, Gevik Babakhani wrote:
> I was wondering if there has been anyone experimenting to compile PG
> using LLVM/clang compiler tools.

This has been dealt with a number of times. Search the archives.


From: "Greg Sabino Mullane" <greg(at)turnstep(dot)com>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Re: clang and LLVM
Date: 2010-12-17 16:45:08
Message-ID: 3668e961cb7e8d5ccc1f64d0ad68464a@biglumber.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers


-----BEGIN PGP SIGNED MESSAGE-----
Hash: RIPEMD160

> I was wondering if there has been anyone experimenting to compile PG
> using LLVM/clang compiler tools.

I got it working on Linux but it required a Postgres src file change to work
properly (see previous thread by me). Supposedly the clang bug that caused
this was fixed in llvm's HEAD, but HEAD will not compile for me yet, so
I cannot verify it yet. There's a separate bug concerning usage of
plperl, but that's for another day.

- --
Greg Sabino Mullane greg(at)turnstep(dot)com
End Point Corporation http://www.endpoint.com/
PGP Key: 0x14964AC8 201012171144
http://biglumber.com/x/web?pk=2529DF6AB8F79407E94445B4BC9B906714964AC8
-----BEGIN PGP SIGNATURE-----

iEYEAREDAAYFAk0Lk4UACgkQvJuQZxSWSsigEwCdG9aNk50eK1EzelewzqGMhgyO
8fYAoPt+emmdaxEd7lmeYidYgpqIdfjK
=6ksq
-----END PGP SIGNATURE-----