Date: prev next · Thread: first prev next last
2013 Archives by date, by thread · List index


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

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.