Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-17089

file_allocator.cpp compilation fails due to missing posix_fallocate() in uClibc

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Won't Fix
    • 3.0.0-rc6
    • None
    • Build
    • MIPS, 32-bit, uClibc
    • Fully Compatible
    • Linux
    • Hide

      Build for a platform missing posix_fallocate()

      Show
      Build for a platform missing posix_fallocate()

    Description

      posix_fallocate() is used in file_allocator.cpp but some C library doesn't provide it (e.g uClibc).

      This seems to be the case even when we change the preprocessor check form _linux_ to the documented _XOPEN_SOURCE >= 600 || __POSIX_C_SOURCE >= 200112L.

      Attachments

        Activity

          People

            benety.goh@mongodb.com Benety Goh
            raffopazzo Raffaele Rossi
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: