Re: [Firebird-devel] bit_SSE4_2

2016-03-10 Thread Alex Peshkoff
On 03/10/2016 07:35 PM, Dimitry Sibiryakov wrote: > 10.03.2016 17:31, Alex Peshkoff wrote: >> I see no problems with your patch. > But may be it is better to upgrade clang than working around issue that > was solved more > than a year ago?.. > Advice it (for example) to gentoo people. Clang i

Re: [Firebird-devel] bit_SSE4_2

2016-03-10 Thread Dimitry Sibiryakov
10.03.2016 17:31, Alex Peshkoff wrote: > I see no problems with your patch. But may be it is better to upgrade clang than working around issue that was solved more than a year ago?.. -- WBR, SD. -- Transform Dat

Re: [Firebird-devel] bit_SSE4_2

2016-03-10 Thread Alex Peshkoff
On 03/10/2016 07:17 PM, Adriano dos Santos Fernandes wrote: > On 10/03/2016 12:08, Alex Peshkoff wrote: >> Hmm - it's called bit_SSE42 in CLANG. >> >> > Thanks Alex. But in another machine with another version, it was working. May be something like this: http://lists.llvm.org/pipermail/cfe-commits

Re: [Firebird-devel] bit_SSE4_2

2016-03-10 Thread Adriano dos Santos Fernandes
On 10/03/2016 12:08, Alex Peshkoff wrote: > Hmm - it's called bit_SSE42 in CLANG. > > Thanks Alex. But in another machine with another version, it was working. I'll try this patch on both. Does it looks ok for you? diff --git a/src/common/classes/Hash.cpp b/src/common/classes/Hash.cpp index 2970

Re: [Firebird-devel] bit_SSE4_2

2016-03-10 Thread Alex Peshkoff
On 03/10/2016 06:18 PM, Dimitry Sibiryakov wrote: > 10.03.2016 16:08, Alex Peshkoff wrote: >> Hmm - it's called bit_SSE42 in CLANG. > "As much different compilers as possible", said Jim... > Do not see any problems here. That is what preprocessor and autoconf are designed for. -

Re: [Firebird-devel] bit_SSE4_2

2016-03-10 Thread Dimitry Sibiryakov
10.03.2016 16:08, Alex Peshkoff wrote: > Hmm - it's called bit_SSE42 in CLANG. "As much different compilers as possible", said Jim... -- WBR, SD. -- Transform Data into Opportunity. Accelerate data analysis in you

Re: [Firebird-devel] bit_SSE4_2

2016-03-10 Thread Alex Peshkoff
On 03/10/2016 05:51 PM, Adriano dos Santos Fernandes wrote: > Hi! > > This is not defined by system headers in this config making trunk build > to fail: > > const int bit_SSE4_2 = 1 << 20; > > > $ clang++ --version > Ubuntu clang version 3.6.2-1 (tags/RELEASE_362/final) (based on LLVM 3.6.2) > Targ

Re: [Firebird-devel] bit_SSE4_2

2016-03-10 Thread Alex Peshkoff
On 03/10/2016 05:59 PM, Dimitry Sibiryakov wrote: > 10.03.2016 15:51, Adriano dos Santos Fernandes wrote: >> $ clang++ --version >> Ubuntu clang version 3.6.2-1 (tags/RELEASE_362/final) (based on LLVM 3.6.2) >> Target: x86_64-pc-linux-gnu >> Thread model: posix >> >> >> $ g++ --version >> g++ (Ubun

Re: [Firebird-devel] bit_SSE4_2

2016-03-10 Thread Dimitry Sibiryakov
10.03.2016 15:51, Adriano dos Santos Fernandes wrote: > $ clang++ --version > Ubuntu clang version 3.6.2-1 (tags/RELEASE_362/final) (based on LLVM 3.6.2) > Target: x86_64-pc-linux-gnu > Thread model: posix > > > $ g++ --version > g++ (Ubuntu 5.2.1-22ubuntu2) 5.2.1 20151010 Does it have cpuid.h

[Firebird-devel] bit_SSE4_2

2016-03-10 Thread Adriano dos Santos Fernandes
Hi! This is not defined by system headers in this config making trunk build to fail: const int bit_SSE4_2 = 1 << 20; $ clang++ --version Ubuntu clang version 3.6.2-1 (tags/RELEASE_362/final) (based on LLVM 3.6.2) Target: x86_64-pc-linux-gnu Thread model: posix $ g++ --version g++ (Ubuntu 5.2.