Building LO 4.0.4.2 on illumos based OS

Riccardo Magliocchetti riccardo.magliocchetti at gmail.com
Thu Jun 27 03:49:12 PDT 2013


Hi Gabriele,

Il 27/06/2013 10:52, Gabriele Bulfon ha scritto:
> Hi,
> I'm working on our Sonicle XStreamOS distro based on illumos kernel.
[snip]
> I stumbled on on error about "madvise" missing, but I could find a working patch:
> --- libreoffice-4.0.4.2/sal/osl/unx/file.cxx    Thu Jun 27 09:22:25 2013
> +++ libreoffice-4.0.4.2/sal/osl/unx/file.cxx    Thu Jun 27 09:22:54 2013
> @@ -1260,7 +1260,7 @@
> OSL_TRACE(
> "posix_madvise(..., POSIX_MADV_WILLNEED) failed with %d", e);
> }
> -#elif defined SOLARIS
> +#elif defined NOTSOLARIS
> if (madvise(static_cast
> (p), nLength, MADV_WILLNEED) != 0)
> {
> OSL_TRACE("madvise(..., MADV_WILLNEED) failed with %d", errno);
> basically it disables the call to madvise on my env, then build went on very long over the tail_build.

That's strange, you should have madvise on illumos per 
http://illumos.org/man/3C/madvise . May this be an issue with the libc 
in Sonicle XStreamOS?

cheers,
riccardo


More information about the LibreOffice mailing list