History log of /aoo42x/main/solenv/gbuild/platform/linux.mk (Results 1 - 25 of 29)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 92dd2fb2 23-Aug-2020 Don Lewis

Force Linux builds to use gnu++98 (C++98 + GNU extensions) mode to be
the most compatible with our old code base rather than relying on the
compiler default mode. Compiling in C++11 or newer

Force Linux builds to use gnu++98 (C++98 + GNU extensions) mode to be
the most compatible with our old code base rather than relying on the
compiler default mode. Compiling in C++11 or newer mode is very noisy
due to deprecation warnings about our use of std::auto_ptr. If the
compiler defaults to C++17 mode or newer, the build would be totally
broken because std::auto_ptr is removed from C++17.

There is an unknown amount of porting effort needed to convert to
std::unique_ptr, which has somewhat different semantics and which is
not available before C++11, which would break building with older versions
of gcc which default to gnu++98 mode.

std::shared_ptr, might be an alternative since there is a BOOST
implementation.

show more ...


Revision tags: 420-Dev2-m2, AOO417, AOO420-Dev-m1
# 52d905a6 14-Feb-2019 Jim Jagielski

Merge r1852965 from trunk:

Port main/i18npool to gbuild.

Allow ICU's version.mk to be used by GNU make (= instead of *=).

Add support for building generated C files.

Merge r1852965 from trunk:

Port main/i18npool to gbuild.

Allow ICU's version.mk to be used by GNU make (= instead of *=).

Add support for building generated C files.

Reference ICU libraries using "gb_Library_use_externals" across the tree.
Also ICU is an external library, remove it from RepositoryFixes.mk
which is only for internal ones, and keep it in RepositoryExternal.mk
exclusively. Since we get to specify the full linker parameter over there,
remove the half-baked hacks for it from RepositoryFixes.mk.

Patch by: me


Submitted by: damjan
Reviewed by: jim


git-svn-id: https://svn.apache.org/repos/asf/openoffice/branches/AOO42X@1853583 13f79535-47bb-0310-9956-ffa450edef68

show more ...


Revision tags: AOO416
# d6a83b31 27-Nov-2018 Damjan Jovanovic

Fix the Ant dependency extraction for the case when
there are no dependencies.

Fix the format of Ant paths on Windows.

Patch by: me



git-svn-id: https://svn.ap

Fix the Ant dependency extraction for the case when
there are no dependencies.

Fix the format of Ant paths on Windows.

Patch by: me



git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1847506 13f79535-47bb-0310-9956-ffa450edef68

show more ...


Revision tags: AOO416-RC1
# 6bf52fda 05-Oct-2018 Damjan Jovanovic

Complete enough of the assembly language building for now,
to successfully build main/basic on Windows.

Patch by: me



git-svn-id: https://svn.apache.org/repos/asf/openo

Complete enough of the assembly language building for now,
to successfully build main/basic on Windows.

Patch by: me



git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1842965 13f79535-47bb-0310-9956-ffa450edef68

show more ...


# 1bb309c6 26-Sep-2018 Damjan Jovanovic

Add a gbuild API for building assembly language source files.

This will be needed by basic, bridges and possibly other modules.

Patch by: me



git-svn-id: https://s

Add a gbuild API for building assembly language source files.

This will be needed by basic, bridges and possibly other modules.

Patch by: me



git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1841998 13f79535-47bb-0310-9956-ffa450edef68

show more ...


# 787e1130 28-Apr-2018 Don Lewis

Fix potential memory alignment issues on X86_64.

Clang version 4.0 and newer uses SSE instructions that require
16-byte alignment to zero memory allocated using the C++ new operator.

Fix potential memory alignment issues on X86_64.

Clang version 4.0 and newer uses SSE instructions that require
16-byte alignment to zero memory allocated using the C++ new operator.
The internal memory allocator does not understand anything larger
than 8-byte alignment. Modify it to be capable of doing 16-byte
alignment when necessary.

There is also a debug layer beneath the C++ new and delete operators
that is enabled by the --enable-debug configure option. This layer
adds 8 to the requested size of any allocations before calling the
underlying allocator, adds a known signature to the start of the
memory block, and then adds an 8 byte offset to the pointer before
returning it to the caller. The delete operator basically does the
reverse, checking for the proper signature. Modify this code so
that it adds and subtracts a 16-byte offset on X86_64 so that a
properly aligned block from the underlying allocator does not cause
new to return a misaligned pointer.

Modify set_soenv.in so that it always requests 16-byte alignment
on X86_64 so that the ABI is the same independent of the toolchain.



git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1830406 13f79535-47bb-0310-9956-ffa450edef68

show more ...


# 8cb913c4 15-Apr-2018 Damjan Jovanovic

Port main/jvmfwk to gbuild / Ant.

Fix the gbuild platform CPUDEFS to conform to what modules expect.

Patch by: me



git-svn-id: https://svn.apache.org/repos/asf/ope

Port main/jvmfwk to gbuild / Ant.

Fix the gbuild platform CPUDEFS to conform to what modules expect.

Patch by: me



git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1829205 13f79535-47bb-0310-9956-ffa450edef68

show more ...


# f006f9b4 22-Mar-2018 Damjan Jovanovic

Implement the ability to build "UDK versioned" libraries in gbuild
for *nix platforms. Do this by setting the ELF SONAME to the
libxyz.so.3 style library output name, changing the output file

Implement the ability to build "UDK versioned" libraries in gbuild
for *nix platforms. Do this by setting the ELF SONAME to the
libxyz.so.3 style library output name, changing the output file
that the linker writes to to be in this format (from libxyz.so),
making a symlink from libxyz.so to libxyz.so.3, adding libxyz.so.3
as a delivery AUXTARGET for the deliverable libxyz.so, and
changing the deliver commands to copy symlinks properly. This is
all what dmake does too.

Use this to port main/registry to gbuild.

Patch by: me



git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1827456 13f79535-47bb-0310-9956-ffa450edef68

show more ...


Revision tags: AOO415
# 386ca866 09-Mar-2018 Don Lewis

#127664# $CCNUMVER from dmake to configure

Move the calculation of $CCNUMVER and some other variables from
main/solenv/inc/tg_compv.mk, where it is only usable by dmake, to
configure

#127664# $CCNUMVER from dmake to configure

Move the calculation of $CCNUMVER and some other variables from
main/solenv/inc/tg_compv.mk, where it is only usable by dmake, to
configure, where it can be used by both dmake and gbuild. This is
a requirement to upstream some compiler bug workaround patches from
the FreeBSD port.

A bit of logic from set_soenv is also moved into configure. A bunch
more should probably be moved so that the configuration logic is
not spread across so many different places, but that can wait.
Something else to consider is that it would be nice to use a different
value of $COM for Apple's clang, maybe "ACLANG" or "APPLECLANG"
since it has a different version numbering scheme that the open-source
version of clang and having a unique identifier would simplify
version checking when applying compiler bug workarounds.

Note: I think the old value of $CCNUMVER on the Mac is wrong. It
should look something like 000800010000 or 000700030000, depending
on the installed version.

Change -DCPPU_ENV on the Mac from $(COMID) to $(COMNAME) for
consistency with the dmake side. It shouldn't make a difference
in practice since both have the same value on the Mac.



git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1826296 13f79535-47bb-0310-9956-ffa450edef68

show more ...


# 78ecfec3 05-Jan-2018 Don Lewis

Nothing uses GXX_INCLUDE_PATH, so remove it. The uretest/README
file mentions is being needed by the STLport included in the URE,
but that does not appear to be true any longer, and it is no

Nothing uses GXX_INCLUDE_PATH, so remove it. The uretest/README
file mentions is being needed by the STLport included in the URE,
but that does not appear to be true any longer, and it is not
used by boost.



git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1820351 13f79535-47bb-0310-9956-ffa450edef68

show more ...


# 8e6bd3e9 12-Dec-2017 Don Lewis

Improvements to per-object optimization overrides in gbuild:

* Less Library.mk editing required to add an optimization exception
than what has been normally done to date.

*

Improvements to per-object optimization overrides in gbuild:

* Less Library.mk editing required to add an optimization exception
than what has been normally done to date.

* Add a variable to specify an override to -O1 instead of only
allowing -O0.

* Don't lose debug flags when overriding optimization.


Convert the recent Mac optimization override in framework/Library_fwk.mk
to the new style.


Improvements to Windows debug builds in gbuild:

* There are multiple dependency paths that trigger compiling a source
file. Add a target specific $(PDBFILE) to the root of each so
that $(PDBFILE) is set properly when compiling.

Note: $(PDBFILE) is not getting set when compiling the sources
for the per-module (Google Test) tests.

* Don't inadvertantly disable the use of pre-compiled headers when
enabling debug (not specific to Windows).

Note: If both debug and pre-compiled headers are enabled, building
of modules that contain more than one library will fail due to
limitations of Visual Studio. The problem is that when we
build the precompiled header, the output file(s) are based on the
module name. Even though each Library_*.mk specifies the rule
to build the precompiled header, it is only built once for the
module. Visual Studio requires that the $(PDBFILE) used when
compiling the sources match the $(PDBFILE) used when compiling
the precompiled header, but the value of $(PDBFILE) is specific
to each library. The best fix would be to compile the headers
once for each library and stash the output in a per-library
specific place, but this requires some fairly extensive changes.
Another potential fix would be to use -Z7 optimization so that the
debug information is stored in the object files.



git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1817946 13f79535-47bb-0310-9956-ffa450edef68

show more ...


# 3b02a9c8 28-Nov-2017 Damjan Jovanovic

Add the ability to set a linker script in gbuild that is used to
version symbols.

This has been a bottleneck in continued gbuild porting and should
help further development considera

Add the ability to set a linker script in gbuild that is used to
version symbols.

This has been a bottleneck in continued gbuild porting and should
help further development considerably.

Patch by: me



git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1816518 13f79535-47bb-0310-9956-ffa450edef68

show more ...


Revision tags: AOO414, AOO413
# bcc22a4c 07-Feb-2017 Damjan Jovanovic

Add initial support for building AOO with Clang on Linux.

This allows Ubuntu 16.04 to compile AOO with Clang 1.8 on an x86.

Other architectures probably don't work, as Clang 1.8 is

Add initial support for building AOO with Clang on Linux.

This allows Ubuntu 16.04 to compile AOO with Clang 1.8 on an x86.

Other architectures probably don't work, as Clang 1.8 is pretty
strict about the low-level C++ ABI hacks in main/bridges, but at
least they should fail early in main/bridges instead of the
previous behaviour, where main/bridges compiles nothing when
"$(COM)" != "GCC" and main/i18npool then fails with a mysterious
"error: cannot get uno environments" message.

Patch by: me



git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1782030 13f79535-47bb-0310-9956-ffa450edef68

show more ...


# 9e1b801e 25-Jan-2017 Damjan Jovanovic

Add debug symbols to gbuild modules when any of --enable-debug,
--enable-symbols, or --enable-crashdump are passed to ./configure (just
like it already is for dmake modules), as opposed to th

Add debug symbols to gbuild modules when any of --enable-debug,
--enable-symbols, or --enable-crashdump are passed to ./configure (just
like it already is for dmake modules), as opposed to the previous behaviour
of only doing it on --enable-debug.

Also implemented --enable-symbols=small for gbuild modules on platforms
where AOO is built with GCC and Clang compilers (MSVC on Windows doesn't
seem to support that).

Patch by: me


git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1780246 13f79535-47bb-0310-9956-ffa450edef68

show more ...


# 64c5c8b7 22-Jan-2017 Damjan Jovanovic

Don't use the "archive" package format, which is to be extrated by
smoketest as a side effect, for the subsequent tests. The smoketest
is currently broken and won't do that, and the path is w

Don't use the "archive" package format, which is to be extrated by
smoketest as a side effect, for the subsequent tests. The smoketest
is currently broken and won't do that, and the path is wrong anyway,
as it was for OpenOffice 3 and we're now on 4.

Instead, use the office instance from the "installed" package format
for subsequent tests, as it doesn't have to zipped up and unzipped,
resulting in faster building and faster testing, and doesn't require
a side effect in a module that will probably be moved from main/
to test/.

Patch by: me


git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1779838 13f79535-47bb-0310-9956-ffa450edef68

show more ...


# 9b09309d 28-Dec-2016 damjan

I've heard rumours it's a POSIX feature, but so far the problem only
appears on Linux, not FreeBSD.

Linking is one-pass, using symbols exported by libraries to resolve
missing symbol

I've heard rumours it's a POSIX feature, but so far the problem only
appears on Linux, not FreeBSD.

Linking is one-pass, using symbols exported by libraries to resolve
missing symbols in previous, but *NOT* subsequent, objects (including
libraries). This means the order libraries are given to the linker
does matter, because symbols missing in latter objects cannot be
satisfied by former objects.

Static libraries should be therefore be linked to before dynamic
libraries, as static libraries cannot specify dependencies on dynamic
libraries, yet might need symbols from them.

This should fix the main/slideshow build problem on Linux.

Only Linux has been tested. The other platforms are guessed.

Patch by: me



git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1776288 13f79535-47bb-0310-9956-ffa450edef68

show more ...


# c30f6fe3 18-Dec-2016 damjan

#i127139# undefined reference to `__stack_chk_fail' breaks build on some Linux 32-bit systems

Work around this issue for the time being, by always explicitly linking to libc (-lc)
for al

#i127139# undefined reference to `__stack_chk_fail' breaks build on some Linux 32-bit systems

Work around this issue for the time being, by always explicitly linking to libc (-lc)
for all gbuild modules, which I've verified doesn't break anything. (Using the Gold linker
instead of BFD also works, also for unknown reasons, but the Gold linker may not always be
available.)

Also revert the previous workaround in main/svl/Library_passwordcontainer.mk

Patch by: me



git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1774848 13f79535-47bb-0310-9956-ffa450edef68

show more ...


# b63233d8 07-Aug-2016 damjan

Merge branches/gbuild-reintegration to trunk.



git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1755455 13f79535-47bb-0310-9956-ffa450edef68


Revision tags: AOO4121, AOO412, SNAPSHOT
# dfce871f 11-Oct-2015 Damjan Jovanovic

#i125003# Eliminate cppunit from our tree completely.



git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1707955 13f79535-47bb-0310-9956-ffa450edef68


Revision tags: AOO411
# e75d772d 16-Sep-2015 Damjan Jovanovic

#i125003# Provide gbuild integration for Google Test. Windows, Linux and FreeBSD have
been tested, the other platforms are educated guesses.



git-svn-id: https://svn.apache.org/

#i125003# Provide gbuild integration for Google Test. Windows, Linux and FreeBSD have
been tested, the other platforms are educated guesses.



git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1703444 13f79535-47bb-0310-9956-ffa450edef68

show more ...


# 4d340eeb 24-Aug-2014 Andrea Pescetti

#i124712# Use -fuse-cxa-atexit (to build svl on, e.g., Ubuntu 14.04)
Patch-By: Amali Praveena Soban Kumar <samalipraveena@yahoo.com.au>


git-svn-id: https://svn.apache.org/repos/asf/

#i124712# Use -fuse-cxa-atexit (to build svl on, e.g., Ubuntu 14.04)
Patch-By: Amali Praveena Soban Kumar <samalipraveena@yahoo.com.au>


git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1620195 13f79535-47bb-0310-9956-ffa450edef68

show more ...


# da847c14 24-Aug-2014 Andrea Pescetti

#i123887# Revert change with wrong issue reference.


git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1620193 13f79535-47bb-0310-9956-ffa450edef68


# e64c3ce4 24-Aug-2014 Andrea Pescetti

#i123887# Use -fuse-cxa-atexit (to build svl on, e.g., Ubuntu 14.04)
Patch-By: Amali Praveena Soban Kumar <samalipraveena@yahoo.com.au>


git-svn-id: https://svn.apache.org/repos/asf/

#i123887# Use -fuse-cxa-atexit (to build svl on, e.g., Ubuntu 14.04)
Patch-By: Amali Praveena Soban Kumar <samalipraveena@yahoo.com.au>


git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1620192 13f79535-47bb-0310-9956-ffa450edef68

show more ...


Revision tags: AOO410, AOO410_Beta, AOO401, AOO400, AOO340
# 44c25570 11-Jan-2012 Andre Fischer

118769: Fixed build break on Ubuntu11.10 by adding explicit support for external libraries to gbuild.

git-svn-id: https://svn.apache.org/repos/asf/incubator/ooo/trunk@1230097 13f79535-47bb-0

118769: Fixed build break on Ubuntu11.10 by adding explicit support for external libraries to gbuild.

git-svn-id: https://svn.apache.org/repos/asf/incubator/ooo/trunk@1230097 13f79535-47bb-0310-9956-ffa450edef68

show more ...


# 7871dc3e 11-Jan-2012 Andrew Rist

Update headers to Alv2 headers

git-svn-id: https://svn.apache.org/repos/asf/incubator/ooo/trunk@1229815 13f79535-47bb-0310-9956-ffa450edef68


12