RFC - Solaris/intel/gcc patches
Pierre-Eric Pelloux-Prayer
pierre-eric at lanedo.com
Tue Jul 10 06:46:15 PDT 2012
Hello,
Here are several patches needed to build and run LO on Solaris/intel/gcc.
These are not enough to get LO running properly because it still crashes
after some time (see http://pastebin.com/JKQHnt3Z)
Any comments welcomed.
Some notes:
* the 8th patch is just a temporary workaround: it simply disable
some failing unit tests.
* you'll need to compile with : 'LDFLAGS="-mimpure-text" gmake' to
avoid relocation errors (I didn't manage to properly add this LD_FLAGS
to mk files or to figure how to prevent the issue).
* some .so files don't have the .3 suffix, but the generated install
script : ./solver/unxsogi.pro/bin/setup_osl.ins is looking for .so.3
files. So manually editing this file is needed.
* to start LO, you'll also need to specify a LD_LIBRARY_PATH like this:
LD_LIBRARY_PATH=./solver/unxsogi.pro/installation/opt/ure/lib/
./install/program/soffice
Otherwise, 'ld' will find 'libuno_cppuhelpergcc3.so' in the wrong dir
(./solver/unxsogi.pro/lib/ instead of
./solver/unxsogi.pro/installation/opt/ure/lib/) and then LO will fail to
use the correct unorc like this:
warn:desktop:24534:1:/home/pepp/core/desktop/source/app/app.cxx:703: UNO
Exception: Cannot obtain UNO_SERVICES from uno ini
Regards,
Pierre-Eric Pelloux-Prayer
Lanedo
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Mark-ecx-register-as-clobbered-solaris-intel.patch
Type: text/x-patch
Size: 1389 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20120710/ae5acbb6/attachment-0008.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-Remove-conflicting-typedef.patch
Type: text/x-patch
Size: 2384 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20120710/ae5acbb6/attachment-0009.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0003-solaris-intel-update-.mk-files-to-fix-build-errors.patch
Type: text/x-patch
Size: 4592 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20120710/ae5acbb6/attachment-0010.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0004-solaris-update-settings.mk-to-use-gcc.patch
Type: text/x-patch
Size: 2687 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20120710/ae5acbb6/attachment-0011.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0005-single-cpu-detection-remove-defined-__SUNPRO_C-requi.patch
Type: text/x-patch
Size: 829 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20120710/ae5acbb6/attachment-0012.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0006-solaris-intel-update-.mk-files-to-fix-build-errors.patch
Type: text/x-patch
Size: 934 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20120710/ae5acbb6/attachment-0013.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0007-solaris-fix-compilation-error-by-adding-temp-var-hol.patch
Type: text/x-patch
Size: 1187 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20120710/ae5acbb6/attachment-0014.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0008-temp-ifdefout-some-unit-test-on-solaris-intel.patch
Type: text/x-patch
Size: 12711 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20120710/ae5acbb6/attachment-0015.bin>
More information about the LibreOffice
mailing list