[LLVMbugs] [Bug 8307] New: Cannot compile mmx-builtins.c on MSVC

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Tue Oct 5 15:41:22 PDT 2010


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

           Summary: Cannot compile mmx-builtins.c on MSVC
           Product: clang
           Version: trunk
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P
         Component: Headers
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: wendling at apple.com
                CC: llvmbugs at cs.uiuc.edu


The testcase CodeGen/mmx-builtins.c fails as below on the clang-i686-xp-msvc9
buildbot. It looks like something wrong the header files? It's trying to
#include errno.h, but can't find it.

******************** TEST 'Clang :: CodeGen/mmx-builtins.c' FAILED
********************Script:
--
D:/public/zorg/buildbot/osuosl/slave/clang-i686-xp-msvc9/llvm/build/bin/Debug\clang.EXE
-cc1
D:\public\zorg\buildbot\osuosl\slave\clang-i686-xp-msvc9\llvm\tools\clang\test\CodeGen\mmx-builtins.c
-O3 -triple=x86_64-apple-darwin -target-feature +ssse3 -S -o - | FileCheck
D:\public\zorg\buildbot\osuosl\slave\clang-i686-xp-msvc9\llvm\tools\clang\test\CodeGen\mmx-builtins.c
--
Exit Code: 1
Command Output (stdout):
--
Command 0:
"D:/public/zorg/buildbot/osuosl/slave/clang-i686-xp-msvc9/llvm/build/bin/Debug\clang.EXE"
"-cc1"
"D:\public\zorg\buildbot\osuosl\slave\clang-i686-xp-msvc9\llvm\tools\clang\test\CodeGen\mmx-builtins.c"
"-O3" "-triple=x86_64-apple-darwin" "-target-feature" "+ssse3" "-S" "-o" "-"
Command 0 Result: 1
Command 0 Output:
Command 0 Stderr:
In file included from
D:\public\zorg\buildbot\osuosl\slave\clang-i686-xp-msvc9\llvm\tools\clang\test\CodeGen\mmx-builtins.c:3:
In file included from
D:/public/zorg/buildbot/osuosl/slave/clang-i686-xp-msvc9/llvm/build/bin/lib/clang/2.9/include/tmmintrin.h:31:
In file included from
D:/public/zorg/buildbot/osuosl/slave/clang-i686-xp-msvc9/llvm/build/bin/lib/clang/2.9/include/pmmintrin.h:31:
In file included from
D:/public/zorg/buildbot/osuosl/slave/clang-i686-xp-msvc9/llvm/build/bin/lib/clang/2.9/include/emmintrin.h:31:
In file included from
D:/public/zorg/buildbot/osuosl/slave/clang-i686-xp-msvc9/llvm/build/bin/lib/clang/2.9/include/xmmintrin.h:37:
D:/public/zorg/buildbot/osuosl/slave/clang-i686-xp-msvc9/llvm/build/bin/lib/clang/2.9/include/mm_malloc.h:27:10:
fatal error: 'errno.h' file not found
#include <errno.h>
         ^
1 error generated.
Command 1: "FileCheck"
"D:\public\zorg\buildbot\osuosl\slave\clang-i686-xp-msvc9\llvm\tools\clang\test\CodeGen\mmx-builtins.c"
Command 1 Result: 1
Command 1 Output:
Command 1 Stderr:
D:\public\zorg\buildbot\osuosl\slave\clang-i686-xp-msvc9\llvm\tools\clang\test\CodeGen\mmx-builtins.c:6:12:
error: expected string not found in input
 // CHECK: phaddw
           ^
<stdin>:1:1: note: scanning from here
^
--
********************

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



More information about the llvm-bugs mailing list