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

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

    • Type: Icon: Bug Bug
    • Resolution: Won't Fix
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 3.0.0-rc6
    • Component/s: Build
    • Environment:
      MIPS, 32-bit, uClibc
    • Fully Compatible
    • Linux
    • Hide

      Build for a platform missing posix_fallocate()

      Show
      Build for a platform missing posix_fallocate()

      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.

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

              Created:
              Updated:
              Resolved: