[LLVMbugs] [Bug 16442] New: Missing futimes() on Solaris

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Tue Jun 25 09:39:00 PDT 2013


http://llvm.org/bugs/show_bug.cgi?id=16442

            Bug ID: 16442
           Summary: Missing futimes() on Solaris
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: Solaris
            Status: NEW
          Severity: release blocker
          Priority: P
         Component: Support Libraries
          Assignee: unassignedbugs at nondot.org
          Reporter: pashev.igor at gmail.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

There is no futimes() function on Soalris:

if  g++ -I/home/pashev/build/include -I/home/pashev/build/lib/Support
-I/home/pashev/llvm/include -I/home/pashev/llvm/lib/Support  -D_DEBUG -include
llvm/Support/Solaris.h -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS
-D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -O3 -fomit-frame-pointer
-fvisibility-inlines-hidden -fno-exceptions -fno-rtti -fPIC
-Woverloaded-virtual -Wcast-qual    -Wall -W -Wno-unused-parameter
-Wwrite-strings -Wno-uninitialized -Wno-missing-field-initializers -c -MMD -MP
-MF "/home/pashev/build/lib/Support/Release+Asserts/PathV2.d.tmp" -MT
"/home/pashev/build/lib/Support/Release+Asserts/PathV2.o" -MT
"/home/pashev/build/lib/Support/Release+Asserts/PathV2.d"
/home/pashev/llvm/lib/Support/PathV2.cpp -o
/home/pashev/build/lib/Support/Release+Asserts/PathV2.o ; \
        then /usr/bin/mv -f
"/home/pashev/build/lib/Support/Release+Asserts/PathV2.d.tmp"
"/home/pashev/build/lib/Support/Release+Asserts/PathV2.d"; else /usr/bin/rm
"/home/pashev/build/lib/Support/Release+Asserts/PathV2.d.tmp"; exit 1; fi
In file included from /home/pashev/llvm/lib/Support/PathV2.cpp:965:0:
/home/pashev/llvm/lib/Support/Unix/PathV2.inc: In function ‘llvm::error_code
llvm::sys::fs::setLastModificationAndAccessTime(int, llvm::sys::TimeValue)’:
/home/pashev/llvm/lib/Support/Unix/PathV2.inc:452:7: error: ‘::futimes’ has not
been declared
rm: /home/pashev/build/lib/Support/Release+Asserts/PathV2.d.tmp: No such file
or directory
gmake[1]: *** [/home/pashev/build/lib/Support/Release+Asserts/PathV2.o] Error 1
gmake[1]: Leaving directory `/home/pashev/build/lib/Support'


# ggrep -rnHw futimes /usr/include/
/usr/include/proftpd/fsio.h:135:  int (*futimes)(pr_fh_t *, int, struct timeval
*);
/usr/include/proftpd/config.h:280:/* Define if you have the futimes function. 
*/

LLVM SVN revision: r184853

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20130625/9326e05b/attachment.html>


More information about the llvm-bugs mailing list