Commit Graph

31 Commits

Author SHA1 Message Date
55b09bd09d bridges: Add support for linux mips64.
Change-Id: I71fd2f7d8bfd1b1511dec91f23b61b9f55d21472
Reviewed-on: https://gerrit.libreoffice.org/16845
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Tested-by: Stephan Bergmann <sbergman@redhat.com>
2015-07-10 06:57:41 +00:00
834afd885b Adapt gcc3_solaris_intel bridge to GCC 4.7
...similarly to 0fdbb5b0eabbaa571f3747fda12a56c938cba474 "Make
cpp_uno/gcc3_linux_x86-64 bridge work with GCC 4.7"

Change-Id: Idcafcb07678d02446172d7fde30631a342f6437e
2015-02-19 14:36:39 +01:00
df62a2c81b Uno bridge: Apply debug info setting to noopt code
Change-Id: Id949718baf77bb7e2d276d3db08f68149c114796
Reviewed-on: https://gerrit.libreoffice.org/13364
Reviewed-by: David Ostrovsky <david@ostrovsky.org>
Tested-by: David Ostrovsky <david@ostrovsky.org>
2014-12-09 22:24:39 +00:00
f49ff3f576 We always build 64-bit OS X code
Change-Id: I527c66c7be1372ab5ddf86625667d2f315e9b5d3
2014-10-01 17:28:01 +03:00
e29862bcc5 PPC Mac support can go away now (again)
Change-Id: Ie1b2ab13eda584c48aaa0a4a0941f1be451697c1
2014-09-23 09:12:21 +03:00
8d12e4ec8b No -fstack-protect-strong for gcc3_linux_aarch64/cpp2uno.cxx vtableSlotCall
Change-Id: I52efda594d87c37c2d38c61b54f1eebcc76cdfce
2014-09-04 15:26:58 +02:00
5c004922b2 Start of support for Android on AArch64
The build does not get far before it runs into trouble in the GNU libstdc++
headers, though:

android-ndk-r10/sources/cxx-stl/gnu-libstdc++/4.9/libs/x86/include/bits/opt_random.h:33:23:
fatal error: x86intrin.h: No such file or directory

Change-Id: I9d459c64980091ba8bf5b3d631d47342625f6be9
2014-08-30 01:03:33 +03:00
235fa0334e Linux AArch64 port
Change-Id: I37044a37348b203944a8eb9d2204e619055f069d
2014-08-29 17:17:42 +02:00
9c9f0ea2c3 Include RTTI in generated vtables for ubsan's vptr-based checks
...though only on gcc3_linux_x86-64 for now.

Change-Id: Id90554425e78b38a5a97149f2a7d3ac04cbe0c9b
2014-08-07 18:21:19 +02:00
94b2fe9b00 fdo#71000: Fix SOLARIS-INTEL case
Thanks to Dagobert Michelsen for noticing.

Change-Id: Ife333e74c145ad71c451cb60ba9a8ee4222a2183
2014-06-23 10:54:19 +02:00
a5a17ccdbc Filter out OS not needing -ldl
Change-Id: I5863de6d8b1f0fe2419ea7419b1ff90087bb513d
Reviewed-on: https://gerrit.libreoffice.org/9715
Tested-by: Michael Stahl <mstahl@redhat.com>
Reviewed-by: Michael Stahl <mstahl@redhat.com>
2014-06-10 17:25:04 +00:00
58fdcd262b blind fix for hppa bridges
thete's no call.s, but call.cxx, add call tp "the rest"

Change-Id: Id6552ba8fda0196b3ec8483d1edf490e6afb0ed2
2014-04-21 00:19:47 +02:00
407db3d915 Restore abandoned lines in bridges/Library_cpp_uno.mk
Fixes build error:
    bridges/Module_bridges.mk:29: *** no bridge selected for build: bailing out. Stop.

Change-Id: I1d173e75ade45878e53ed07758783bdb5a7370c8
Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
2014-02-24 12:33:41 +01:00
72bbd83c03 Intermediate work in progress commit on the arm64 C++/UNO bridge
Note that the arm64 code is not even close to "working" yet.

Change-Id: I261d09f7e797cded26396ed0d4b8b3021f712ebf
2013-12-08 14:16:16 +02:00
eca3dec204 fdo#42783: remove CPU variable from environment
Replace uses with CPUNAME instead, and get rid of the horrible
postgresql patch that worked around environment leakage.

Change-Id: I38ccabfc438360524a272901bb9332ea708e274c
2013-11-07 01:34:43 +01:00
5905dfeaff gbuild: refactor LinkTarget representation
If the link targets are not in workdir then 2 different aspects are
needed: the previously used location relative to workdir's LinkTarget
dir (for all the misc. related targets), and the full target file.

Adding an additional parameter to all LinkTarget functions would be
quite annoying, especially since it would need passing through all the
gb_LinkTarget__use functions in RepositoryExternal.mk; instead encode
both into the linktarget itself, and modify the functions
gb_LinkTarget_get_target to return the target and all others to return
the workdir linktargetname.

- replace gb_Library_get_linktargetname with either:
  * gb_Library__get_workdir_linktargetname
  * gb_Library__get_linktarget_target
  * gb_Library_get_linktarget
- similar for gb_Executable_get_linktargetname
- similar for gb_StaticLibrary_get_linktargetname
- similar for gb_CppunitTest__get_linktargetname
- add calls to gb_LinkTarget__get_workdir_linktargetname where needed

Change-Id: I917ad7957fee50ec2517a9f9cc9ff452c8d97d1b
2013-09-22 11:08:29 +02:00
211544a5f2 Compiling but not working mingw_x86-64 bridges
Change-Id: I5ea6edf367dd18e60a86d12c523b7732a8ac44d4
2013-06-04 15:15:21 +02:00
5bf53717ec Some configury and non-working stubs to start to compiler for Win64 with MinGW
Change-Id: I907c3ea083e8d7f9e48fc62dd6d5b783639438cb
2013-06-04 14:22:03 +02:00
e1823ea132 compile callvirtualmethod with -fnon-call-exceptions
Change-Id: Ibcf70dd5626474bb2a023ce43d7ac661401fd1cb
2013-05-29 12:58:46 +01:00
3d8acc0cd8 bridge_lib_name is $(gb_CPPU_ENV)_uno
Also fix gb_CPPU_ENV := msc6 in WNT_X86_64_MSC.mk
to be consistent with the name we register in Repository.mk.

Change-Id: I1520d78c378f8c48d65defb22c4c77277bd061f7
2013-04-15 14:00:39 +02:00
1155f02484 The OS X x86_64 callvirtualmethod.cxx doesn't work if optimized
Change-Id: Ib7a5cfa3f547364ba04e09d4829b7f3a477c731f
2013-04-09 00:54:30 +03:00
9e6afcf162 Pre-cache type_info for com::sun::ucb::InteractiveAugmentedIOException
It seems to be the type_info most commonly looked up dynamically, even
the only one in an initial test. I think it is a good idea to avoid
dlsym() if possible.

Change-Id: I0379c534e10efefafdd253ee651f6c74e4aa47d5
2013-04-07 01:13:36 +03:00
7aa6f1b014 Remove Mac OS X for PowerPC support
Change-Id: I10b15141e6a5f93365e1cfa6fbc0c7cc3ea49b15
2013-04-03 21:13:17 +03:00
d72b4106e2 make bridges work with clang on x64 linux
Change-Id: Idf5c7586e375f0321c765d165f9698403b7a7daf
2013-03-24 10:21:32 -04:00
452d7b60c4 Fix typo in previous commit.
Change-Id: I3b4a23dff3c2db14146351513e9fa1ea5ab3e256
2013-03-21 12:50:07 +01:00
7e1053381f Fix -mno-avx calls by removing weird OS check.
Change-Id: Icecceda1b36110757754bcdbcecaae307d015fc9
2013-03-21 12:48:01 +01:00
90a2d46ecb Add the call.s source for the MinGW case
Another blind fix attempt.

Change-Id: I5ec2ba5e595a382c53e6975b8dc65644fc8e7409
2013-03-19 14:57:53 +02:00
c70aa412ed No -ldl for MinGW either
Change-Id: I7e74559d2edd1adc9225a935735ba4f6fd7eea24
2013-03-19 11:07:59 +02:00
f98c6043fc Move the WNTGCC case under the case for CPU=I
Otherwise no case matched for the MinGW build.

Change-Id: Ia57c7cf09dbd450c91c4e595c7070ce82b484797
2013-03-19 10:08:49 +02:00
3e15692344 Insert empty lines for clarity
Now the outermost if..else if..endif chain should stand out more clearly.

Change-Id: I62573aea02d0d0f721e00129d0e40f1b11864527
2013-03-19 10:08:49 +02:00
a1fbebff26 Cleanup bridges module
Reduce excessive copy-pasting
Remove bridges for C50 and C52 compilers which aren't in configure any
more
Prevent LTO from being used in the bridges module because it causes
crashes

Change-Id: I7ff85c2e8d6ff89c5acd48aea415e0960b3ef812
Reviewed-on: https://gerrit.libreoffice.org/2765
Reviewed-by: Tor Lillqvist <tml@iki.fi>
Tested-by: Tor Lillqvist <tml@iki.fi>
2013-03-18 07:53:21 +00:00