The only change to main/sal/osl/unx/interlck.c since the code was imported
into SVN was in this commit:

------------------------------------------------------------------------
r1454390 | hdu | 2013-03-08 15:58:40 +0200 (Fri, 08 Mar 2013) | 4 lines
Changed paths:
   M /openoffice/trunk/main/sal/osl/unx/interlck.c

avoid expensive pthread interlocking on clang

Clang handles the GCC inline assembler syntax just fine

------------------------------------------------------------------------



with these contents:



Index: main/sal/osl/unx/interlck.c
===================================================================
--- main/sal/osl/unx/interlck.c    (revision 1454389)
+++ main/sal/osl/unx/interlck.c    (revision 1454390)
@@ -31,7 +31,7 @@
 #error please use asm/interlck_sparc.s
 #elif defined ( SOLARIS) && defined ( X86 )
 #error please use asm/interlck_x86.s
-#elif defined ( GCC ) && ( defined ( X86 ) || defined ( X86_64 ) )
+#elif (defined(__GNUC__) || defined(__clang__)) && (defined(X86) ||
defined(X86_64))
 /* That's possible on x86-64 too since oslInterlockedCount is a sal_Int32
*/

 extern int osl_isSingleCPU;
@@ -212,3 +212,4 @@
 }

 #endif /* default */
+



On Sun, Jul 10, 2016 at 6:02 PM, JZA <acolor...@gmail.com> wrote:

> AOO is not buildable yet on armhf + gcc > 4.7
>
> Further talk, seems that someone removed the interlck.c code from
> /sal/osl/unx/interlock.c
>
> Seems this code should be re-incorporate the patch.
>
> On Sun, Jul 10, 2016 at 10:53 AM, Damjan Jovanovic <dam...@apache.org>
> wrote:
>
> > Please elaborate about those errors.
> >
> > Damjan
> >
> > On Sun, Jul 10, 2016 at 5:42 PM, JZA <acolor...@gmail.com> wrote:
> >
> > > Hi I wonder if there are issues with building AOO for ARM, EricB is
> > trying
> > > to build it but get errors and wonder if there has been a major change
> on
> > > the architecture that makes it unbuildable on ARM.
> > >
> > > --
> > > Alexandro Colorado
> > > Apache OpenOffice Contributor
> > > 9060 55AB FFD2 2F02 0E1A  3409 599C 14FC 9450 D3CF
> > >
> >
>
>
>
> --
> Alexandro Colorado
> Apache OpenOffice Contributor
> 9060 55AB FFD2 2F02 0E1A  3409 599C 14FC 9450 D3CF
>

Reply via email to