Hi Apostolos,

On 27.01.2014 17:04, Απόστολος Συρόπουλος wrote:
After a number of efforts I have finally managed to find the proper patch for
file bridges/source/cpp_uno/gcc3_solaris_intel/uno2cpp.cxx and so
to build a functional bridge for Solaris. Previously, I could not build
the testtools module but now they compile just fine.

Congratulations on solving this last critical step!

Here is the patch:
[...]
--- bridges/source/cpp_uno/gcc3_solaris_intel/uno2cpp.cxx.old    Δευ Ιαν 27 
17:38:53 2014
+++ bridges/source/cpp_uno/gcc3_solaris_intel/uno2cpp.cxx    Δευ Ιαν 27 
17:34:30 2014
[...]
+       // preserve potential 128bit stack alignment
+        "and   $0xfffffff0, %%esp\n\t"
+        "mov   %0, %%eax\n\t"
+        "lea   -4(,%%eax,4), %%eax\n\t"
+        "and   $0xf, %%eax\n\t"
+        "sub   $0xc, %%eax\n\t"
+        "add   %%eax, %%esp\n\t"
          // copy values
          "mov   %0, %%eax\n\t"
          "mov   %%eax, %%edx\n\t"

This looks very much like the change for issue 108371, which means that the patch is licensed properly for our project.

Of course the patch is just a copy of the corresponding Linux patch, but
I was not sure whether it work!

I'm glad you tried it out!

Herbert

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org
For additional commands, e-mail: dev-h...@openoffice.apache.org

Reply via email to