Commit Graph

116 Commits

Author SHA1 Message Date
d257209a54 Revert "fix gold warning about hidden symbols"
This reverts commit 9ff0ee4905068cbc85acf85da1b3ef762b324ed7.  Whatever the gold
warnings are exactly, this is apparently not the right fix.

The change to openssl/ExternalProject_openssl.mk caused crashes when LO's
libneon.so, statically linking in LO's libssl.a, started to export symbols like
SSLv23_client_method as global, competing with the same symbol from a system's
libssl.so.  See the mail thread starting at
<http://lists.freedesktop.org/archives/libreoffice/2013-June/053119.html>
"strange crash in SSL code while opening some documents."

Whether the change to expat/StaticLibrary_expat.mk caused similar problems is
not clear to me, but it is probably best to revert both to be on the save side,
and see what exactly the gold warning was about and how to fix it the right way
if it ever shows up again.
2013-06-10 15:58:09 +02:00
76d098a07b Enable building OpenSSL for OS X
Note that this doesn't imply it *will* be built; that depends on
configury options and changes to configure.ac.

Change-Id: I5ed531bc8999f49b9e696523226454f99f253882
2013-05-10 18:56:46 +03:00
88143d96a0 Attempt to clarify nested conditional mess
Change-Id: I2c174e23b3f995d819ff8ab72281b386b26c1cfe
2013-05-10 18:56:45 +03:00
1a1f1fbdf0 gbuild: ExternalProject: remove second parameter again...
... now that everything is consistent.

Change-Id: I96c15159648815554280202eb1b6d274ead4e7b8
2013-05-07 01:41:26 +02:00
276021c761 gbuild: remove gb_ExternalProject_use_unpacked
It must always be used exactly once, so replace it with constructor
parameter.

Change-Id: Ifbe87065c19a5185a5705dc461656179002ece5d
2013-05-07 01:41:25 +02:00
6912b8e0c5 enable symbols and disable optimization in openssl for a dbgutil build
Change-Id: I2100d40264c067b22548025ab3a3be32a23835a6
Reviewed-on: https://gerrit.libreoffice.org/3489
Reviewed-by: David Tardon <dtardon@redhat.com>
Tested-by: David Tardon <dtardon@redhat.com>
2013-04-20 15:05:39 +00:00
e7b2b50595 Fix https://-related crashes.
The internal openssl on 64bit linux was built as linux-generic32, instead of
linux-generi64, which caused crashes later when used.  This patch alignes it
with the logic before gbuildization.

Change-Id: I2919a91138e8f33ad50e64728496144bac815321
2013-04-19 16:32:38 +02:00
4811c2dc9f adapt all externals to build against MSVC debug runtime
Add patches and/or tweaks to the following modules:
curl, cppunit, icu, lcms2, libxml2, libxslt, libxmlsec,
lpsolve, nss, openssl, python3

lcms2 has an inconsistency where the .lib and the .dll don't agree on
the .dll name.

openssl gets a honorable mention because apparently it's undocumented
custom build system can build with /MDd if one picks the right
configuration but i couldn't figure out how to do that in an hour of
trying, and just patched the release config instead.

Change-Id: I7854a0fc85247e398d561b4f513d09fe2d1ebb3c
2013-04-15 15:26:32 +02:00
9ff0ee4905 fix gold warning about hidden symbols
Change-Id: Iae399e4d596db450e3ed0e15678e546aa76797a0
2013-03-31 21:28:38 -04:00
9477760a38 Typo
Change-Id: I32c5bc1736305d38fb86b1b8af7606ac6c7f0dd0
2013-03-21 13:07:44 +02:00
79b0046ba0 remove legacy build.pl prj/build.lst files. 2013-03-14 17:05:51 +00:00
b768611724 remove all d.lst
Change-Id: Icba4218c5f9fe89d183d25ea82a8eae52881f885
2013-02-28 18:40:06 +01:00
13bd8bbc7f openssl: unset MAKEFLAGS on !MSC as well
This fixes the following build error here:

ar: creating ../libcrypto.a
ar: cryptlib.o: No such file or directory
make[2]: *** [../libcrypto.a] Error 1

Change-Id: I8f746f4ff44c3797583678e47956363c0cd49829
2013-02-28 09:02:48 +01:00
ed26c01be1 quiet external module build log unless failure
ExternalProject usually involve a configure and a make
step that produce a bunch of output usually irrelevant
including a large number of warning and other mess.
now that everything is pretty much in tail_build
these output get interleaved with useful output from
the build of the product and actually drown them in a logorrhea
of messy noise.
This store the output of external modules in a log file
and only print them as a whole if the module failed do build.
on a non-verbose build.

Change-Id: I3abfcccd6d16821a9e061a71e031b427cc283647
Reviewed-on: https://gerrit.libreoffice.org/2304
Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
2013-02-22 08:25:56 +00:00
b99acf9b2a Fix typo: s/VISIBILTIY/VISIBILITY/
Change-Id: I6c031e9d2e9211409b28ce0c20a3cd11119ab86e
2013-01-03 20:21:52 +02:00
c97a46ad21 fix postgresql on win
Change-Id: I2c43441563cfb1237e6b2eaafe0acfaa5e952cde
2012-12-31 17:03:07 -05:00
9ddba66440 convert openssl to gbuild and add to tail_build
Change-Id: I52c62a91e317f072237cf25ed54f3cc6456d82b3
Reviewed-on: https://gerrit.libreoffice.org/1495
Reviewed-by: Peter Foley <pefoley2@verizon.net>
Tested-by: Peter Foley <pefoley2@verizon.net>
2012-12-31 20:13:20 +00:00
0e866192ae fix for openssl with MSVC when ccache is enabled
Change-Id: I93deea3a80178f51fff9a23328df7a67f308e052
2012-10-07 10:42:21 +02:00
37b9e290d9 fix openssl build with VS2012
Change-Id: Ic0e04ab920c50320785f2e1b847026cc4e7b1e0d
2012-08-16 17:54:54 -04:00
9dbdf715eb .patch files don't need executable bits
Change-Id: I0b370ac227bbd833078804d8a276b48666df734c
2012-06-22 22:39:30 +02:00
b1c3e8ae28 make gbuild the default assumption of build.pl
this removes dmake completely out of the build for migrated modules
build.pl now assumes modules to be gbuild, unless there is a
prj/dmake file

Change-Id: I674a036b182ee13c5ec093e83cb3d38133112d3b
2012-04-29 03:50:46 +02:00
957cb927a7 update internal openssl to version 0.9.8v
including important bug fixes
2012-04-23 15:14:07 +02:00
55a4020907 remove ToDouble/ToFloat 2012-03-20 12:57:34 +00:00
bdfba4dbf6 make ResId->OUString the primary route 2012-03-20 12:57:33 +00:00
8f29699cd1 asm fixes in openssl 2012-03-16 13:07:51 +01:00
f62da81eb2 nss and openssl don't realiably build in parallel 2012-03-16 13:07:28 +01:00
5eb87c7b6a fix case 2012-03-06 10:37:01 +01:00
7c4f2ec8a7 Simplify install name handling for external libraries on Mac OS X
...by allowing our special @___... tokens anywhere within an install name,
so that external modules can configure --prefix=/@___... etc.  This removes
the need for the special extshl and EXTRPATH=LOADER.  Also, a new
OUT2BIN_NONE can be used for external modules where the generated libraries
need the default EXTRPATH=OOO, but generated executables are only used
during the build and such need RPATH=NONE.
2012-02-29 18:46:38 +01:00
dd929dd089 Added and improved READMEs for modules whihc used to be in libs-extern 2012-02-08 23:18:06 -05:00
926822b241 android: don't add -I/usr/include to the compile line - urk 2012-01-21 21:41:28 +00:00
eefc25d1d2 Bin USE_MINGW
Its alternative values as used by OOo is irrelevant to us as we don't
intend to support building using MinGW on Windows itself. To us, MinGW
always means cross-compilation. For us it is enough to look at
$(OS)$(COM), and WNTGCC always implies cross-compilation.

(OOo on the other hand attempts to support use of the Cygwin gcc with
the -mno-cygwin option (which is practically considered an obsolete
option), the normal MinGW compiler (but still from Cygwin), but not
cros-compilation.)
2011-08-26 20:54:59 +03:00
af4e2d9965 Related: fdo#35404 force .a files to hidden visibility 2011-07-27 09:21:57 +01:00
f20398ed3c Don't hardcode -arch armv7 here, breaks build for simulator 2011-07-01 00:56:39 +03:00
1301edf41e Enable building openssl for iOS
Wasn't that complicated after all.
2011-06-13 02:17:01 +03:00
e39532fe3e First attempt at Android support 2011-06-09 23:26:23 +03:00
ad700e1f6e Drop %_EXT% which was always empty 2011-06-03 13:27:22 +03:00
89c4f8907f Merge commit 'ooo/DEV300_m101' into intm101
Conflicts:
	cppunit/ldflags.patch
	hyphen/hyphen-2.4.patch
	libegg/source/eggtrayicon.c
	libtextcat/makefile.mk
2011-03-09 09:55:09 +01:00
7640c5d1ca Fix typo 2011-01-24 11:44:43 +02:00
77d90bd7ba Fix OpenSSL build for x64 Windows
For wntmscx, pass the platform code as VC-WIN64A to the OpenSSL build
mechanism. Add the additional steps described in INSTALL.W64 to
do_ms.bat: generate uptable.asm and assemble it. Avoid a problem with
_vsnprintf by defining _CRT_NON_CONFORMING_SWPRINTFS.
2011-01-24 01:20:05 +02:00
5256f32b98 mingwport33: i#116329: MinGW port enhancement: configurable libstdc++ name 2011-01-06 21:56:21 +09:00
sb
8c251549a3 sb126: #i110197# fixed merge conflict 2010-09-20 10:53:39 +02:00
sb
cb852ad284 sb126: merged in DEV300_m87 2010-09-16 16:45:57 +02:00
6f80f95bf3 default-openssl-no-idea-alg.diff: Disable the IDEA algorithm in openssl.
There is no license fee only for non-commercial use.
2010-09-16 07:16:59 +02:00
sb
05c8709f2c sb126: #i110197# remove -Wl,-z,noexecstack hack 2010-06-22 09:31:32 +02:00
210b5923e9 jl153 merge with DEV300_m82 2010-06-16 16:20:29 +02:00
obo
9f1127bc42 CWS-TOOLING: integrate CWS kfreebsdport01v2 2010-06-09 08:34:10 +02:00
dd5df7786a jl153: #111875# Update OpenSSL to version 0.9.8o on all platforms except MacOSX (here we are using system openssl) 2010-06-07 13:32:25 +02:00
ee0b041740 kfreebsdport01: fix openssl build on GNU/kFreeBSD 2010-04-17 14:38:13 +02:00
c2d29ac912 ause110: update to DEV300_m74 2010-03-10 16:36:40 +01:00
aac3a82b82 changefileheader2: #i109125#: change source file copyright notice from Sun Microsystems to Oracle; remove CVS style keywords (RCSfile, Revision) 2010-02-12 15:01:35 +01:00