[Bug 1177] New: fsync applet build failure on O_NOATIME

bugzilla at busybox.net bugzilla at busybox.net
Wed Feb 24 13:55:32 UTC 2010


https://bugs.busybox.net/show_bug.cgi?id=1177

           Summary: fsync applet build failure on O_NOATIME
           Product: Busybox
           Version: 1.16.x
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P5
         Component: Other
        AssignedTo: unassigned at busybox.net
        ReportedBy: thomas.petazzoni at free-electrons.com
                CC: busybox-cvs at busybox.net
   Estimated Hours: 0.0


Hello,

Building the fsync applet with a Blackfin toolchain based on uClibc 0.9.29, I
get:

coreutils/fsync.c: In function ‘fsync_main’:
coreutils/fsync.c:27: error: ‘O_NOATIME’ undeclared (first use in this
function)
coreutils/fsync.c:27: error: (Each undeclared identifier is reported only once
coreutils/fsync.c:27: error: for each function it appears in.)
make[1]: *** [coreutils/fsync.o] Error 1

And yes, O_NOATIME isn't in bits/fcntl.h in my toolchain. The fsync applet
should probably not assume that such a "recent" definition is available in the
toolchain and it should probably gracefully fallback if O_NOATIME isn't
defined.


-- 
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


More information about the busybox-cvs mailing list