summaryrefslogtreecommitdiffstats
path: root/external/firebird
Commit message (Collapse)AuthorAgeFilesLines
* drop various _MSC_VER < 1900 conditionalsCaolán McNamara2017-03-061-7/+1
| | | | | | | | Change-Id: I68d93b260db1f542bb3b44858b61b2d30ae93530 Reviewed-on: https://gerrit.libreoffice.org/34856 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
* remove unused patchCaolán McNamara2017-03-031-11/+0
| | | | | | | | | | | | unused since... commit 8dfe1a177eb437e751def99eea8bee08a7e49acc Author: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com> Date: Thu Jul 30 21:57:11 2015 +0200 fix firebird build on Win64 Change-Id: I8041e39bde3f03da71a5cd8b2edf4af3f887a6d5
* external/firebird: Work around operator new alignment violationsStephan Bergmann2017-02-161-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ...causing problems at least when building with recent Clang trunk on x86_64-unknown-linux-gnu: > make[5]: Entering directory 'workdir/UnpackedTarball/firebird/gen' > rm -f metadata.fdb > core/workdir/UnpackedTarball/firebird/gen/Release/firebird/bin/isql -q -i workdir/UnpackedTarball/firebird/src/dbs/metadata.sql > Makefile:325: recipe for target 'metadata.fdb' failed > make[5]: *** [metadata.fdb] Segmentation fault (core dumped) See the mail thread starting at <https://sourceforge.net/p/firebird/mailman/firebird-devel/thread/ec7c3bb1-3fef-e9b8-5b23-0d07fc412f95%40redhat.com/#msg35669676> "[Firebird-devel] alloc.h global operator new replacement violating alignment requirements". With DEBUG_GDS_ALLOC defined, the allocation functions defined in src/common/classes/alloc.h are no longer replacements of standard allocation functions, so Clang happens to not make aggressive alignment assumptions, see the mail thread starting at <http://lists.llvm.org/pipermail/cfe-dev/2017-February/052676.html> "[cfe-dev] operator new alignment assumptions". (Instead of always defining DEBUG_GDS_ALLOC, I first tried to comment out the definitions of global operator new/delete replacement functions in alloc.h, falling back to the compiler-provided versions. But many places in Firebird allocate via Firebird-specific operator new placement overrides and deallocate via delete expressions, which happens to work at runtime when the replaceable operator delete is Firebird's, but not when it is the compiler-provided one.) Change-Id: Ie02adb440fa959b723983d7f5b0246d3634dc06b
* Fix firebird MSVC 15.0 detectionDavid Ostrovsky2017-02-152-0/+13
| | | | | | | Change-Id: I9721632c68e6428b03b0368e7802c6eb4f5eb0a2 Reviewed-on: https://gerrit.libreoffice.org/34323 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: David Ostrovsky <david@ostrovsky.org>
* Remove MinGW supportStephan Bergmann2017-02-102-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | In OOo times, there'd originally been efforts to allow building on Windows with MinGW. Later, in LO times, this has been shifted to an attempt of cross- compiling for Windows on Linux. That attempt can be considered abandoned, and the relevant code rotting. Due to this heritage, there are now three kinds of MinGW-specific code in LO: * Code from the original OOo native Windows effort that is no longer relevant for the LO cross-compilation effort, but has never been removed properly. * Code from the original OOo native Windows effort that is re-purposed for the LO cross-compilation effort. * Code that has been added specifially for the LO cross-compilation effort. All three kinds of code are removed. (An unrelated, remaining use of MinGW is for --enable-build-unowinreg, utilizing --with-mingw-cross-compiler, MINGWCXX, and MINGWSTRIP.) Change-Id: I49daad8669b4cbe49fa923050c4a4a6ff7dda568 Reviewed-on: https://gerrit.libreoffice.org/34127 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
* Revert "external/firebird: Try track down "Couldn't turn forced writes off" ↵Stephan Bergmann2017-01-183-26/+3
| | | | | | | | | | | | | | | failure" This reverts commit 128e7ce3ffa50b11b2d5ff9777a27b095a84e5d7 (plus 40b44f7eb25114e5e4e19e571b8781580a938ca6 "Remove line again that was committed in error" follow-up), now that the cause is found and addressed with 592f4f6a5941e42e6b2b3fa76e74b8ad509724c9 "external/firebird: Backport fix for CORE-5452 causing spurious SEGV". Change-Id: I84ddc90707693c2577ad0cd913e987bc9e173e34 Reviewed-on: https://gerrit.libreoffice.org/33229 Reviewed-by: Stephan Bergmann <sbergman@redhat.com> Tested-by: Stephan Bergmann <sbergman@redhat.com>
* external/firebird: Backport fix for CORE-5452 causing spurious SEGVStephan Bergmann2017-01-173-0/+1066
| | | | | | | | | | | | ...while building LO. Patches from <https://github.com/FirebirdSQL/firebird>'s B3_0_Release branch; to apply, 0002 needed 0001 first (which looks like a reasonable thing to include in itself, anyway), plus a trivial whitespace modification, plus an additional #include for Windows. Change-Id: Idd2e326432fa52762742a168c7e880a9c6fb650c Reviewed-on: https://gerrit.libreoffice.org/33186 Reviewed-by: Stephan Bergmann <sbergman@redhat.com> Tested-by: Stephan Bergmann <sbergman@redhat.com>
* tdf#101789 work around DYLD_LIBRARY_PATH limitations on newer MacOS XLionel Elie Mamane2016-11-222-2/+7
| | | | Change-Id: I6e3cbff1ec7a75e896ba5bafb9d1fbccc3bc8909
* external/firebird doesn't know --enable-debug, but make target "Debug"Stephan Bergmann2016-10-172-13/+12
| | | | | | | | | | | * There's an --enable-developer configure option, but it probably does more than just default to the "Debug" target, things we potentially don't want here. * Disabling --enable-debug for MSC was apparently a leftover from firebird 2 times, f58f10fc89e19d182b5a415bb69af5ecc7de080a "firebird: --enable-debug breaks the build with MSVC". Change-Id: Id9f7b6aa0cdfcea0b07f94814a8dab43488879bb
* external/firebird: Fix isinf-check for libc++Stephan Bergmann2016-10-052-0/+12
| | | | | | | ...which, at least since version 3.9, defines isinf only as a function, not as a macro, in math.h Change-Id: I7939d5bebe4b55ac7bd36bb321ad0020352a0e7b
* external/firebird: Use gb_Helper_extend_ld_path to add icu dirStephan Bergmann2016-09-231-4/+1
| | | | | | | Change-Id: If51813fc559a78a54ae5dcae4b8b9213c5e1bae6 Reviewed-on: https://gerrit.libreoffice.org/29215 Reviewed-by: Stephan Bergmann <sbergman@redhat.com> Tested-by: Stephan Bergmann <sbergman@redhat.com>
* external/firebird: Hack around detection of clock_gettime on Mac OS XStephan Bergmann2016-09-141-0/+5
| | | | | | | | | | | | | | | ...where the 10.12 SDK includes clock_gettime, marked as __attribute__((availability(macosx,introduced=10.12))) in time.h. However, the way firebird's configure checks for it, it gets detected as available regardless of the used -mmacosx-version-min value (and even if the configure check would go via the time.h header, the availability attribute would only cause a -Wpartial-availability warning, not an error, so we'd need to pass CFLAGS=-Werror=partial-availability into firebird's configure.) Change-Id: I67e12743e1df0574e7fc4b2121add9fe1fb7677b
* Remove line again that was committed in errorStephan Bergmann2016-08-251-1/+0
| | | | Change-Id: I66c140a72bbbafe0227d2265ae9c4da73a39e0fa
* external/firebird: Try track down "Couldn't turn forced writes off" failureStephan Bergmann2016-08-253-3/+27
| | | | | | | ...that is sporadically observed on tinderboxes. (Can be reverted once the cause is found.) Change-Id: I74135b3159fe686b7d7da33da569bde6c73b89e2
* Undo inadvertent addStephan Bergmann2016-08-191-1/+0
| | | | Change-Id: I2c991387dae67ee1bb2fa97e94cd8f2fcca81a60
* Why not just drop that $(HOME)/icu54/icu/source/lib nonsenseStephan Bergmann2016-08-192-3/+4
| | | | Change-Id: I2fed34ae680eb0bc01de90a7ef525cf8446cd940
* Revive external/firebird/macosx-elcapitan-dyld.patchStephan Bergmann2016-08-192-8/+28
| | | | Change-Id: I382080f89b59a6cc642c829377954b72dae44abe
* Excess separatorStephan Bergmann2016-08-191-1/+1
| | | | Change-Id: If86dc074ab1617837fbf771bb33e93ec1dc6ea2b
* external/firebird: --with-fbsample[-db] is apparently about specifying dirsStephan Bergmann2016-08-191-1/+0
| | | | | | | | | | ...not about specifying whether to build the examples at all (which would be useful for us, but for which there seems to be no switch). Change-Id: I511b2228a6e5e2df7e0ecb83135ad27945bb04b6 Reviewed-on: https://gerrit.libreoffice.org/28221 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
* tdf#72987 GSoC Use Firebird backup formatWastack2016-08-181-0/+1
| | | | | | | | | | | Store embedded database files as an archive (.fbk) file. The firebird database file is extracted when opening an odb file, and archived for each saving. Change-Id: I6c985f89a0fb01b2294f728b4581053521ca0c88 Reviewed-on: https://gerrit.libreoffice.org/28045 Reviewed-by: Lionel Elie Mamane <lionel@mamane.lu> Tested-by: Jenkins <ci@libreoffice.org>
* Missing &&Stephan Bergmann2016-08-181-1/+1
| | | | Change-Id: Ib7471e8050b2fb7e97bd90797d3839dca80b9689
* external/firebird: Make GCC check work for Clang, tooStephan Bergmann2016-08-181-1/+1
| | | | | | | | | | | Randomly approximate that HAVE_GXX_FNO_SIZED_DEALLOCATION also implies support for -fno-delete-null-pointer-checks, and hope that approximation matches the various versions of GCC and Clang that are relevant for us. Change-Id: I265bf3432a852a094318a54975403eac60721ab4 Reviewed-on: https://gerrit.libreoffice.org/28211 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
* skip checking for icuuc libCaolán McNamara2016-08-183-0/+65
| | | | | | | | | | | | cause its called icuucd under debug windows and change the runtime load to try icuucd if MSVC_USE_DEBUG_RUNTIME was in use at compile time Change-Id: I10fbe4890a24364a45ae5993ad7e8079ac3fd182 Reviewed-on: https://gerrit.libreoffice.org/28210 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
* use preexisting helper to get DYLD_LIBRARY_PATH vs LD_LIBRARY_PATHCaolán McNamara2016-08-181-6/+1
| | | | | | | | | | | plus line noise to extend the existing variable with another path if its already set Change-Id: I3e16a0a79da5d6c8c83fbad9c8d65abd9b7e2ca3 Reviewed-on: https://gerrit.libreoffice.org/28196 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
* firebird: fixup cloop on WindowsLionel Elie Mamane2016-08-171-29/+2
| | | | | | newly added patch was already essentially included in firebird-cygwin-msvc.patch Change-Id: Ibb4d17ced8fd58dd46ff8ca54c8a0d9d0422345e
* firebird: gcc6 compatibility part 2Lionel Elie Mamane2016-08-171-0/+1
| | | | Change-Id: I78ef547f4996050bffe83ab7e0e6acd046264bf8
* firebird: gcc6 compatibility part 1Lionel Elie Mamane2016-08-172-0/+20
| | | | Change-Id: I4fbb131a629275626510d5311550e8bf8cdef6d5
* firebird: have built-in cloop use same compiler as everyone elseLionel Elie Mamane2016-08-172-0/+13
| | | | Change-Id: I44cbbc82e34b9f4047a2fbebc3b959e3e148452a
* fixup firebird with internal icu: link timeLionel Elie Mamane2016-08-171-3/+8
| | | | | | Let us see whether firebird uses LDFLAGS on MacOSX now... Change-Id: If1a2d1f11f1c17d8e4cc21f0bae87ec042333e8e
* fixup firebird with internal icuLionel Elie Mamane2016-08-171-14/+12
| | | | Change-Id: I38e44875234aa0c8382ab6e01b4f4c5cc16b834e
* GSoC Upgrade firebird to 3.0Wastack2016-08-1712-653/+879
| | | | | | | | | | | | | | | | | | Embedded firebird is now version 3.0. Supports MSVC 14.0. Instead of fbembed, there are now two libraries: fbclient and Engine12. fbclient is linked as fbembed before, Engine12 is loaded at runtime from fbclient. fb now needs system libtommath, which is supplied as a new ExternalProject of LO. Change-Id: I132939bdee745795b22f675e4265e9590079c45f Reviewed-on: https://gerrit.libreoffice.org/27642 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Lionel Elie Mamane <lionel@mamane.lu>
* configure: set BOOST_CPPFLAGS also in --without-system-boost caseMichael Stahl2016-05-301-1/+1
| | | | | | Simplify the makefiles. Change-Id: Ia695961e936e4a1ffdaff73eb56adc3c3905ed0c
* external: add some READMEsMichael Stahl2016-03-091-0/+3
| | | | Change-Id: If4ba9ff89d3fa1e092bc20abb72a9a0dbef5396a
* make firebird build on gcc 6 againCaolán McNamara2016-02-281-0/+16
| | | | | | | | Change-Id: Ie9bf5003dd5ed2698c2bde58fd6767f3852adeae Reviewed-on: https://gerrit.libreoffice.org/22738 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
* firebird: avoid using ignored -m option to makeLionel Elie Mamane2016-02-041-14/+15
| | | | | | | Change-Id: Ic24c295a84f402ec5478bafbdebc54f976b1a72c Reviewed-on: https://gerrit.libreoffice.org/22092 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Lionel Elie Mamane <lionel@mamane.lu>
* apparently breaks Win-x86@42 tinderbox... disable on Windows.Lionel Elie Mamane2016-02-041-1/+5
| | | | | | Note it works well on the Windows Jenkins build check. Go figure. Change-Id: I05990274d85b1044a94ec7371130bf918f8fd09e
* better integrate parallelisation of firebird buildsLionel Elie Mamane2016-02-031-3/+7
| | | | Change-Id: If9bf9d2a36aa564700b032c417869a8cfac65f88
* fix internal firebird with --no-parallelismLionel Elie Mamane2016-01-301-1/+3
| | | | Change-Id: I013864b9dd8baeb572b43ca7794be193a23398a3
* new upstream version Firebird 2.5.5Lionel Elie Mamane2016-01-307-328/+28
| | | | | | | Change-Id: I89e30eb340d84c942046a18e6f4acc7fb376def6 Reviewed-on: https://gerrit.libreoffice.org/21904 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
* Revert "new upstream version Firebird 2.5.5"Lionel Elie Mamane2016-01-295-3/+268
| | | | This reverts commit 8d5bca2a40d1fded921165cfc5637ff763b21510.
* enable parallelisation of firebird buildsLionel Elie Mamane2016-01-291-1/+1
| | | | Change-Id: I651bb973bfff555b8627be85f74b49c2c6ccf425
* new upstream version Firebird 2.5.5Lionel Elie Mamane2016-01-295-268/+3
| | | | Change-Id: Icd41e2115d30525eea26df3f92867ab6dd87c747
* external/firebird: Adapt to GCC 6Stephan Bergmann2016-01-202-5/+27
| | | | | | | | | | | ...which switched defaults from C++03 to C++14, so causes some errors now. Curiously, the throw(std::bad_alloc) vs. throw-anything mismatch between the global operator new replacements and the standard headers is OK for GCC only when there is no further declaration in between the standard header and the replacmenet definition. Change-Id: Ib54727fecf4ad07426b811a9cc04b08ea80e59dc
* Allow external/firebird to be built with a custom SHELL under Mac OS X 10.11Stephan Bergmann2015-10-023-1/+41
| | | | | | | | | | | | | | | | | | | | | | | ...which broke all the stock /bin shells to no longer pass through any DYLD_* environment variables, so the DYLD_LIBRARY_PATH passed into the firebird Make would not be passed to all the places that need it (to find the external/icu libraries that some executables link against which are built and run as part of building firebird). What works with two little tweaks is to build your own bash and pass it to make with SHELL=...: * For one, there is an empbuild executable that uses system(...) to call another isql executable, where the latter needs DYLD_LIBRARY_PATH set, but which would not pass through the system(...) call (which implicityl uses /bin/sh). * For another, it is still necessary to invoke Firebird's make with an explicit SHELL=$(SHELL), for reasons that are not entirely clear to me. (There are some Makefile.in in Firebird's extern/ sub-tree that set "SHELL = @SHELL@" to configure's CONFIG_SHELL, unless overriden via an explicit command line arguemnt, but I don't think those are relevant here.) Change-Id: I1e68faa898e758f09efb602d96fd6b35657e0480
* Make external/firebird work with C++14 sized deallocationStephan Bergmann2015-10-022-0/+17
| | | | | | | | | | | | | | | ...where firebird's replacements of global new/delete would still be called for "new" but not for "delete". Lets hope that always adding the C++14 size_t overloads of operator delete is harmless in all relevant pre-C++14 environments, and only causes harmless warnings like -Wimplicit-exception-spec-mismatch in all relevant C++14 environments. (But why does a /library/ replace global new/delete in the first place?) Change-Id: Ib0b0ad748c6641c07ffed6cec3d6809a1530679f Reviewed-on: https://gerrit.libreoffice.org/19081 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
* fix firebird build on Win64Christian Lohmaier2015-07-302-415/+128
| | | | | | | | use defines from static version of autoconfig.h for msvc instead of fiddling with configure. Removes the need for adding some defines/checks in the sources. Change-Id: I21d4217ebb687eb13f7e7db2519a209f3b178a90
* firebird: --enable-debug breaks the build with MSVCMichael Stahl2015-07-271-1/+1
| | | | | | | | | With the 2.5.4 upgrade somehow this fails to link fbintl.lib with unresolved symbols. Debugging is overrated anyway, let's just disable that for now. Change-Id: I265c705c10ca7c70baa18232f6f740120d6b397e
* Revert "Revert "Update firebird to version 2.5.4""Caolán McNamara2015-07-249-415/+47
| | | | | | | | | | This reverts commit 69632c9c3291a7bb9d465495943aa1dbe12c5af2. Change-Id: I4704c30ade878b9e62ac829b03648f301534b51c Reviewed-on: https://gerrit.libreoffice.org/16986 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
* Revert "Update firebird to version 2.5.4"Caolán McNamara2015-07-129-47/+415
| | | | This reverts commit e63673f8991492aaf814665f58435bc6884ca06d.
* Update firebird to version 2.5.4Popa Adrian Marius2015-07-119-415/+47
| | | | | | | | Change-Id: I39289db515cbc611c74edf3d7a3520776d8f3a64 Reviewed-on: https://gerrit.libreoffice.org/16703 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>