Re: [Firebird-devel] MacOS build sometimes hangs

2019-11-28 Thread Alex Peshkoff via Firebird-devel
On 2019-11-28 17:34, Adriano dos Santos Fernandes wrote: On 28/11/2019 05:44, Alex Peshkoff via Firebird-devel wrote: On 2019-11-27 21:37, Adriano dos Santos Fernandes wrote: On 26/11/2019 20:08, Adriano dos Santos Fernandes wrote: Hi! You can see here https://github.com/FirebirdSQL/firebird/

Re: [Firebird-devel] MacOS build sometimes hangs

2019-11-28 Thread Paul Beach
> On 28/11/2019 05:57, Paul Beach wrote: > >> More or less related question. As far as I know latest builds done by > >> Paul Beach were done using llvm. gcc had some problems. May be try llvm > >> instead it? > > Alex is correct, LLVM/Clang is now the default compiler on MacOS, and > > thats w

Re: [Firebird-devel] MacOS build sometimes hangs

2019-11-28 Thread Adriano dos Santos Fernandes
On 28/11/2019 05:44, Alex Peshkoff via Firebird-devel wrote: > On 2019-11-27 21:37, Adriano dos Santos Fernandes wrote: >> On 26/11/2019 20:08, Adriano dos Santos Fernandes wrote: >>> Hi! >>> >>> You can see here https://github.com/FirebirdSQL/firebird/runs/321529377 >>> that sometimes MacOS build

Re: [Firebird-devel] MacOS build sometimes hangs

2019-11-28 Thread Alex Peshkoff via Firebird-devel
On 2019-11-28 17:25, Adriano dos Santos Fernandes wrote: g++ in both env. seems just the frontend, using LLVM/clang backend. Is this still problematic and should use clang frontend as well? I think it's not problematic in that case. Firebird-Devel mailing list, web interface at https://li

Re: [Firebird-devel] MacOS build sometimes hangs

2019-11-28 Thread Adriano dos Santos Fernandes
On 28/11/2019 05:57, Paul Beach wrote: >> More or less related question. As far as I know latest builds done by >> Paul Beach were done using llvm. gcc had some problems. May be try llvm >> instead it? > Alex is correct, LLVM/Clang is now the default compiler on MacOS, and > thats what we current

Re: [Firebird-devel] MacOS build sometimes hangs

2019-11-28 Thread Paul Beach
> More or less related question. As far as I know latest builds done by > Paul Beach were done using llvm. gcc had some problems. May be try llvm > instead it? Alex is correct, LLVM/Clang is now the default compiler on MacOS, and thats what we currently use to build Firebird. Paul Firebird-D

Re: [Firebird-devel] MacOS build sometimes hangs

2019-11-28 Thread Alex Peshkoff via Firebird-devel
On 2019-11-27 21:37, Adriano dos Santos Fernandes wrote: On 26/11/2019 20:08, Adriano dos Santos Fernandes wrote: Hi! You can see here https://github.com/FirebirdSQL/firebird/runs/321529377 that sometimes MacOS build hangs. This is during the build but is when some FB utility is called. I had

Re: [Firebird-devel] MacOS build sometimes hangs

2019-11-27 Thread Adriano dos Santos Fernandes
On 26/11/2019 20:08, Adriano dos Santos Fernandes wrote: > Hi! > > You can see here https://github.com/FirebirdSQL/firebird/runs/321529377 > that sometimes MacOS build hangs. > > This is during the build but is when some FB utility is called. > > I had this many times in Travis and GitHub Actions.

[Firebird-devel] MacOS build sometimes hangs

2019-11-26 Thread Adriano dos Santos Fernandes
Hi! You can see here https://github.com/FirebirdSQL/firebird/runs/321529377 that sometimes MacOS build hangs. This is during the build but is when some FB utility is called. I had this many times in Travis and GitHub Actions. Adriano Firebird-Devel mailing list, web interface at https://lis

Re: [Firebird-devel] MacOS build

2019-10-25 Thread Adriano dos Santos Fernandes
The problem is now U_FILE_ACCESS_ERROR (4) when calling ICU's u_init. ICU is built/installed with:     wget http://download.icu-project.org/files/icu4c/54.1/icu4c-54_1-src.tgz     tar xzvf icu4c-54_1-src.tgz     cd icu/source     ./runConfigureICU MacOSX     make -j4     s

Re: [Firebird-devel] MacOS build

2019-10-24 Thread Adriano dos Santos Fernandes
On 24/10/2019 13:02, Adriano dos Santos Fernandes wrote: > > Why is MATHLIB expanding to /opt/local/lib/libtommath.a when using > --with-builtin-tommath? > > Never mind, I found it is explicitly defined in prefix.darwin_x86_64. Adriano Firebird-Devel mailing list, web interface at https://lis

Re: [Firebird-devel] MacOS build

2019-10-24 Thread Adriano dos Santos Fernandes
On 24/10/2019 10:57, Alex Peshkoff via Firebird-devel wrote: > On 10/24/19 4:48 PM, Paul Beach wrote: > > >> Make sure you use builtin-libtommath > > Lete me add my 2 words about this. I see no problems with 3d-party > tommath, but if one plans to build redistributable universal binaries > tomcrypt

Re: [Firebird-devel] MacOS build

2019-10-24 Thread Adriano dos Santos Fernandes
On 24/10/2019 10:48, Paul Beach wrote: > Adriano, > >> I'm trying to setup github-actions with MacOS build. >> Guess what? Errors after errors. >> Is the master code supposed to build without patches? > I haven't looked at building MacOS on master, mainly because its a port, > so I wait until the

Re: [Firebird-devel] MacOS build

2019-10-24 Thread Alex Peshkoff via Firebird-devel
On 10/24/19 4:48 PM, Paul Beach wrote: Make sure you use builtin-libtommath Lete me add my 2 words about this. I see no problems with 3d-party tommath, but if one plans to build redistributable universal binaries tomcrypt should better be builtin. By default it's built without any internal

Re: [Firebird-devel] MacOS build

2019-10-24 Thread Paul Beach
Adriano, > I'm trying to setup github-actions with MacOS build. > Guess what? Errors after errors. > Is the master code supposed to build without patches? I haven't looked at building MacOS on master, mainly because its a port, so I wait until the code stabilises before I start working on it so

Re: [Firebird-devel] MacOS build

2019-10-24 Thread Alex Peshkoff via Firebird-devel
On 10/24/19 4:37 PM, Adriano dos Santos Fernandes wrote: Hi! I'm trying to setup github-actions with MacOS build. That's great! Guess what? Errors after errors. Is the master code supposed to build without patches? Sooner of all not, it was never tried. Paul Beach useally starts builds

[Firebird-devel] MacOS build

2019-10-24 Thread Adriano dos Santos Fernandes
Hi! I'm trying to setup github-actions with MacOS build. Guess what? Errors after errors. Is the master code supposed to build without patches? And 3.0 branch? What are the commands to build? How the OS should be prepared? So far I'm having this: --     brew install automake libtool

Re: [Firebird-devel] MacOS build fail "SSE4.2 instruction set not enabled" (abandonned)

2017-05-16 Thread marius adrian popa
On firebird3.0.3 and i7 host works ok the above patch Got a crash when compiling on a non sse4 host (Pentium Dual-Core CPU E5400) https://gist.github.com/mariuz/94e63983e629a038c235ecf7f2f9dca5 On Tue, May 16, 2017 at 5:21 PM, Dimitry Sibiryakov wrote: > 16.05.2017 15:54, marius adrian popa

Re: [Firebird-devel] MacOS build fail "SSE4.2 instruction set not enabled" (abandonned)

2017-05-16 Thread Dimitry Sibiryakov
16.05.2017 15:54, marius adrian popa wrote: > Could you specifiy compiler versions and the error messages ? No. It was years ago. MSVC was 2013, GCC can't remember, perhaps 4.8. -- WBR, SD. -- Check out the vibra

Re: [Firebird-devel] MacOS build fail "SSE4.2 instruction set not enabled" (abandonned)

2017-05-16 Thread marius adrian popa
Could you specifiy compiler versions and the error messages ? On Tue, May 16, 2017 at 11:28 AM, Dimitry Sibiryakov wrote: > 16.05.2017 9:29, marius adrian popa wrote: > > It's on Visual C++ ? > >Both VC and GCC. > > > -- >WBR, SD. > > -

Re: [Firebird-devel] MacOS build fail "SSE4.2 instruction set not enabled" (abandonned)

2017-05-16 Thread Dimitry Sibiryakov
16.05.2017 9:29, marius adrian popa wrote: > It's on Visual C++ ? Both VC and GCC. -- WBR, SD. -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link

Re: [Firebird-devel] MacOS build fail "SSE4.2 instruction set not enabled" (abandonned)

2017-05-16 Thread marius adrian popa
It's on Visual C++ ? On Tue, May 16, 2017 at 12:05 AM, Dimitry Sibiryakov wrote: > 15.05.2017 22:24, marius adrian popa wrote: > > > > and eliminated msse4 flag from compiler command line > > > > https://gist.github.com/mariuz/753f6fce7ebe0ac9bcf2cb26905c1cc1 > >Did you check that it can be

Re: [Firebird-devel] MacOS build fail "SSE4.2 instruction set not enabled" (abandonned)

2017-05-15 Thread Dimitry Sibiryakov
15.05.2017 22:24, marius adrian popa wrote: > > and eliminated msse4 flag from compiler command line > > https://gist.github.com/mariuz/753f6fce7ebe0ac9bcf2cb26905c1cc1 Did you check that it can be compiled? For me the trick with attribute did not work: compilation failed with subj error. -

Re: [Firebird-devel] MacOS build fail "SSE4.2 instruction set not enabled" (abandonned)

2017-05-15 Thread marius adrian popa
I will check your patch this week on a mac / windows and linux , It's still a hack so the proper way to solve it is like described in this stackoverflow solution http://stackoverflow.com/questions/11228855/header-files- for-x86-simd-intrinsics I used tips from https://bidetly.io/2017/02/08/crc-pa

Re: [Firebird-devel] MacOS build fail "SSE4.2 instruction set not enabled"

2017-05-15 Thread Alex Peshkoff
On 05/12/17 22:13, Julien wrote: > I gave a try but had this: > lo/lode/dev/core/workdir/UnpackedTarball/firebird/src/common/CRC32C.cpp:41:10: > error: always_inline function '_mm_crc32_u8' requires target feature > 'sse4.1', but would be inlined into function 'CRC32C' that is compiled > without

Re: [Firebird-devel] MacOS build fail "SSE4.2 instruction set not enabled"

2017-05-12 Thread Alex Peshkoff
On 05/12/17 15:33, marius adrian popa wrote: > Also in firebird/extern/cloop/src/tests/test1/CTest.c The simplest fix is to disable tests on mac > related to this patch > https://gerrit.libreoffice.org/#/c/37488/6/external/firebird/firebird-macosx.patch.1 > > these lines and changes are still nee

Re: [Firebird-devel] MacOS build fail "SSE4.2 instruction set not enabled"

2017-05-12 Thread marius adrian popa
Also in firebird/extern/cloop/src/tests/test1/CTest.c related to this patch https://gerrit.libreoffice.org/#/c/37488/6/external/firebird/firebird-macosx.patch.1 these lines and changes are still needed for osx #include "CalcCApi.h" -#include +#include #include now build fails https://ci.li

Re: [Firebird-devel] MacOS build fail "SSE4.2 instruction set not enabled"

2017-05-12 Thread Alex Peshkoff
On 05/12/17 12:05, marius adrian popa wrote: Known issue in Firebird 3.0.x http://firebird.1100200.n4.nabble.com/std-c-11-added-to-CXXFLAGS-in-3-0-on-linux-td4645224.html introduced by this commit https://github.com/FirebirdSQL/firebird/commit/52d9a05a0f3d I can't check myself mac issues, bu

Re: [Firebird-devel] MacOS build fail "SSE4.2 instruction set not enabled"

2017-05-12 Thread Dimitry Sibiryakov
12.05.2017 11:05, marius adrian popa wrote: > Known issue in Firebird 3.0.x On Linux required flag is set in prefix.linux file like this: > # This file must be compiled with SSE4.2 support > %/CRC32C.o: COMMON_FLAGS += -msse4 I have no idea how Firebird is built on MacOS, but if it uses th

Re: [Firebird-devel] MacOS build fail "SSE4.2 instruction set not enabled"

2017-05-12 Thread marius adrian popa
Known issue in Firebird 3.0.x http://firebird.1100200.n4.nabble.com/std-c-11-added-to-CXXFLAGS-in-3-0-on-linux-td4645224.html introduced by this commit https://github.com/FirebirdSQL/firebird/commit/52d9a05a0f3d On Thu, May 11, 2017 at 1:01 PM, Tomaž Vajngerl wrote: > Hi, > > On Thu, May 11,