[cfe-commits] r128993 - /cfe/trunk/test/CodeGen/avx-cmp-builtins.c

Mulder, Jonathan mulderje at muohio.edu
Wed Apr 6 11:55:43 PDT 2011


Hey John,

This seems to cause a test failure for me on Ubuntu 10.10 (32-bit):

FAIL: Clang :: CodeGen/avx-cmp-builtins.c (611 of 8902)
******************** TEST 'Clang :: CodeGen/avx-cmp-builtins.c' FAILED
********************
Script:
--
/home/mulderje/build/llvm/Release+Asserts/bin/clang -cc1 -triple
x86_64-unknown-unknown -target-feature +avx -emit-llvm
/home/mulderje/src/llvm/tools/clang/test/CodeGen/avx-cmp-builtins.c -o - |
FileCheck
/home/mulderje/src/llvm/tools/clang/test/CodeGen/avx-cmp-builtins.c
--
Exit Code: 1
Command Output (stderr):
--
In file included from
/home/mulderje/src/llvm/tools/clang/test/CodeGen/avx-cmp-builtins.c:2:
In file included from
/home/mulderje/build/llvm/Release+Asserts/lib/clang/3.0/include/immintrin.h:32:
In file included from
/home/mulderje/build/llvm/Release+Asserts/lib/clang/3.0/include/xmmintrin.h:40:
In file included from
/home/mulderje/build/llvm/Release+Asserts/lib/clang/3.0/include/mm_malloc.h:27:
In file included from /usr/include/stdlib.h:25:
In file included from /usr/include/features.h:387:
/usr/include/gnu/stubs.h:9:11: fatal error: 'gnu/stubs-64.h' file not found
# include <gnu/stubs-64.h>
          ^
1 error generated.
FileCheck error: '-' is empty.
--

********************
Testing Time: 227.91s
********************
Failing Tests (1):
    Clang :: CodeGen/avx-cmp-builtins.c

  Expected Passes    : 8284
  Expected Failures  : 67
  Unsupported Tests  : 550
  Unexpected Failures: 1
make[1]: *** [check-local-all] Error 1
make[1]: Leaving directory `/home/mulderje/build/llvm/test'
make: *** [check-all] Error 2

When looking around it seems like there is a 'gnu/stubs-32.h' file, but no
'gnu/stubs-64.h'.

BTW, I was able to remedy this by installing the 'libc6-dev-amd64' package
from aptitude - I guess when libc6-dev is installed, it doesn't install both
32-bit and 64-bit by default.

Thanks,
Jon

On Wed, Apr 6, 2011 at 1:48 AM, John McCall <rjmccall at apple.com> wrote:

> Author: rjmccall
> Date: Wed Apr  6 01:48:04 2011
> New Revision: 128993
>
> URL: http://llvm.org/viewvc/llvm-project?rev=128993&view=rev
> Log:
> Make this a -cc1 test with a triple and a target feature.
>
>
> Modified:
>    cfe/trunk/test/CodeGen/avx-cmp-builtins.c
>
> Modified: cfe/trunk/test/CodeGen/avx-cmp-builtins.c
> URL:
> http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/avx-cmp-builtins.c?rev=128993&r1=128992&r2=128993&view=diff
>
> ==============================================================================
> --- cfe/trunk/test/CodeGen/avx-cmp-builtins.c (original)
> +++ cfe/trunk/test/CodeGen/avx-cmp-builtins.c Wed Apr  6 01:48:04 2011
> @@ -1,4 +1,4 @@
> -// RUN: %clang -mavx -c -emit-llvm %s -o - | llvm-dis | FileCheck %s
> +// RUN: %clang_cc1 -triple x86_64-unknown-unknown -target-feature +avx
> -emit-llvm %s -o - | FileCheck %s
>  #include <immintrin.h>
>
>  //
>
>
> _______________________________________________
> cfe-commits mailing list
> cfe-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
>



-- 
Jon Mulder
C 847.899.3664
E mulderje at muohio.edu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20110406/665535ab/attachment.html>


More information about the cfe-commits mailing list