User name : IAmNot
Password : ARobot
|
| ||||||||
|
|
|
|
./configure --disable-werror --disable-debug --disable-unit-tests --without-junit --with-lang=ALL \
--with-dmake-url=https://github.com/jimjag/dmake/archive/v4.13.1/dmake-4.13.1.tar.gz \
--with-package-format=installed --with-epm=internal --with-epm-url=https://github.com/jimjag/epm/archive/v5.0.0/epm-5.0.0.tar.gz \
--enable-category-b --enable-opengl --enable-hyphen --enable-hunspell --enable-pdfimport --enable-wiki-publisher --enable-graphite \
--with-system-beanshell --with-beanshell-jar=/usr/share/java/bsh.jar \
--with-jdk-home=/usr/lib/jvm/java-8-openjdk \
--enable-verbose --disable-werror \
--with-arm-target=7 --enable-gtk --enable-gstreamer
Apply these patches at AOO420-Dev5-m5:
diff --git a/main/boost/boost_1_55_0.patch b/main/boost/boost_1_55_0.patch
index 937c4704b4..1c5f2db072 100644
--- a/main/boost/boost_1_55_0.patch
+++ b/main/boost/boost_1_55_0.patch
@@ -380,7 +380,7 @@ diff -ur misc/boost_1_55_0/boost/config/stdlib/libcpp.hpp misc/build/boost_1_55_
+ * After version 6 the include path consists of the major number only
+ */
+# elif (__GNUC__ > 6)
-+# define BOOST_TR1_STD_HEADER(name) <../__GNUC__/name>
++# define BOOST_TR1_STD_HEADER(name) <../__GNUC__.__GNUC_MINOR__.__GNUC_PATCHLEVEL__/name>
+ /*
* Before version 3.4.0 the 0 patch level was not part of the include path:
*/
diff --git a/main/testtools/prj/build.lst b/main/testtools/prj/build.lst
index a76ac598f9..97a55a8306 100644
--- a/main/testtools/prj/build.lst
+++ b/main/testtools/prj/build.lst
@@ -1,8 +1,8 @@
tt testtools : cpputools io remotebridges stoc javaunohelper pyuno cli_ure offapi ure LIBXSLT:libxslt NULL
tt testtools\inc nmake - all tt_inc NULL
-tt testtools\source\bridgetest nmake - all tt_bridgetest tt_bridgetest_idl tt_inc NULL
-tt testtools\source\bridgetest\cli nmake - w,vc7 tt_cli tt_bridgetest tt_bridgetest_idl tt_inc NULL
-tt testtools\source\bridgetest\idl nmake - all tt_bridgetest_idl tt_inc NULL
-tt testtools\com\sun\star\comp\bridge nmake - all tt_javaTestObjs tt_bridgetest_idl tt_inc NULL
-tt testtools\source\bridgetest\pyuno nmake - all tt_pyuno tt_bridgetest tt_inc NULL
+#tt testtools\source\bridgetest nmake - all tt_bridgetest tt_bridgetest_idl tt_inc NULL
+#tt testtools\source\bridgetest\cli nmake - w,vc7 tt_cli tt_bridgetest tt_bridgetest_idl tt_inc NULL
+#tt testtools\source\bridgetest\idl nmake - all tt_bridgetest_idl tt_inc NULL
+#tt testtools\com\sun\star\comp\bridge nmake - all tt_javaTestObjs tt_bridgetest_idl tt_inc NULL
+#tt testtools\source\bridgetest\pyuno nmake - all tt_pyuno tt_bridgetest tt_inc NULL
tt testtools\source\cliversioning nmake - all tt_cliver NULL
diff --git a/main/libxslt/libxslt-xmlParserMaxDepth.patch b/main/libxslt/libxslt-xmlParserMaxDepth.patch
new file mode 100644
index 0000000000..bad3c2cfe4
--- /dev/null
+++ b/main/libxslt/libxslt-xmlParserMaxDepth.patch
@@ -0,0 +1,12 @@
+--- a/a/libxslt-1.1.34/xsltproc/xsltproc.c 2026-01-01 08:58:17.042135519 +0100
++++ b/b/libxslt-1.1.34/xsltproc/xsltproc.c 2026-01-01 08:59:27.284995635 +0100
+@@ -768,7 +768,8 @@
+
+ if (sscanf(argv[i], "%d", &value) == 1) {
+ if (value > 0)
+- xmlParserMaxDepth = value;
++ // xmlParserMaxDepth = value;
++ fprintf(stderr, "Deactivating xmlParserMaxDepth.");
+ }
+ } else if ((!strcmp(argv[i], "-seed-rand")) ||
+ (!strcmp(argv[i], "--seed-rand"))) {
diff --git a/main/libxslt/makefile.mk b/main/libxslt/makefile.mk
index fde58c2964..3672f0e9a2 100644
--- a/main/libxslt/makefile.mk
+++ b/main/libxslt/makefile.mk
@@ -49,7 +49,8 @@ TARFILE_MD5=db8765c8d076f1b6caafd9f2542a304a
# libxslt-internal-symbols: #i112480#: Solaris ld requires symbols to be defined
PATCH_FILES=libxslt-configure.patch \
- libxslt-win_manifest.patch
+ libxslt-win_manifest.patch \
+ libxslt-xmlParserMaxDepth.patch
# This is only for UNX environment now
.IF "$(OS)"=="WNT"
diff --git a/main/icu/makefile.mk b/main/icu/makefile.mk
index 36fb05d664..a6440f5a86 100644
--- a/main/icu/makefile.mk
+++ b/main/icu/makefile.mk
@@ -93,7 +93,7 @@ LDFLAGSADD+=$(FBSD_GCC_RPATH)
CONFIGURE_DIR=source
-CONFIGURE_ACTION+=sh -c 'CFLAGS="$(icu_CFLAGS)" CXXFLAGS="$(icu_CXXFLAGS)" LDFLAGS="$(icu_LDFLAGS) $(LDFLAGSADD)" ./configure --enable-layout --enable-static --enable-shared=yes $(DISABLE_64BIT)'
+CONFIGURE_ACTION+=sh -c 'CFLAGS="$(icu_CFLAGS)" CXXFLAGS="$(icu_CXXFLAGS)" LDFLAGS="$(icu_LDFLAGS) $(LDFLAGSADD)" ./configure --enable-layout --enable-static --enable-shared $(DISABLE_64BIT) --disable-extras'
#CONFIGURE_FLAGS=--enable-layout --enable-static --enable-shared=yes --enable-64bit-libs=no
CONFIGURE_FLAGS=
Revert fb9ad7aa17549019ccdd2762a97d104449abf45d (optional).
build --all -P8 -- -P2
If linking errors of the like :
g++ -Wl,-z,combreloc -Wl,-z,defs -Wl,-Bsymbolic-functions -Wl,--dynamic-list-cpp-new -Wl,--dynamic-list-cpp-typeinfo -Wl,--hash-style=both -Wl,-rpath,'$ORIGIN' -shared -L../../unxlngr.pro/lib -L../lib -L/home/username/src/aoo/main/solenv/unxlngr/lib -L/home/username/src/aoo/main/solver/450/unxlngr.pro/lib -L/home/username/src/aoo/main/solenv/unxlngr/lib -L/usr/lib/jvm/java-8-openjdk/lib -L/usr/lib/jvm/java-8-openjdk/jre/lib/arm -L/usr/lib/jvm/java-8-openjdk/jre/lib/arm/server -L/usr/lib/jvm/java-8-openjdk/jre/lib/arm/native_threads -L/usr/lib ../../unxlngr.pro/slo/countryid.o ../../unxlngr.pro/slo/escherex.o ../../unxlngr.pro/slo/eschesdo.o ../../unxlngr.pro/slo/dffrecordheader.o ../../unxlngr.pro/slo/dffpropset.o ../../unxlngr.pro/slo/mscodec.o ../../unxlngr.pro/slo/msdffimp.o ../../unxlngr.pro/slo/msfiltertracer.o ../../unxlngr.pro/slo/msocximex.o ../../unxlngr.pro/slo/msoleexp.o ../../unxlngr.pro/slo/msvbahelper.o ../../unxlngr.pro/slo/msvbasic.o ../../unxlngr.pro/slo/services.o ../../unxlngr.pro/slo/svdfppt.o ../../unxlngr.pro/slo/svxmsbas.o ../../unxlngr.pro/slo/svxmsbas2.o ../../unxlngr.pro/slo/msfilter_version.o -o ../../unxlngr.pro/lib/libmsfilter.so -lediteng -lsvxcore -lsfx -lxo -lbasegfx -lsb -lsvt -lootk -lvcl -lsvl -lsot -lutl -ltl -lxcr -lcomphelpgcc3 -luno_cppuhelpergcc3 -luno_cppu -luno_sal -Wl,--as-needed -ldl -lpthread -lm -Wl,--no-as-needed
cd ../filter
cd source/msfilter
Run above after removing -Wl,-z,defs
Repeat for next linking failures in the respective directories.
When it breaks in icu:
cd ../icu
cp ./unxlngr.pro/misc/build/icu/source/stubdata/libicudata.so.42.1 ./unxlngr.pro/misc/build/icu/source/lib/
cd ./unxlngr.pro/misc/build/icu/source/lib/
ln -s libicudata.so.42.1 libicudata.so.42
ln -s libicudata.so.42 libicudata.so
cd -
Built on ODROID-XU4 running ArchLinux Arm.using gcc 10.2.0.