Hi,

When compiling pocl v0.8 rc6, I encountered the following problem on vml. Do 
you have any idea what the problem is? My OS is Ubuntu 10.04 (64-bits), and I 
am using llvm v3.3. 

Jianbin

----------------------------------------------------------------------------------
make[4]: Entering directory 
`/home/cambine/Depository/llvm3.3/pocl-0.8rc6/lib/kernel/x86_64'
/usr/local/bin/clang++ -Xclang -ffake-address-space-map -std=c++11 
-fno-exceptions -emit-llvm -ffp-contract=off   -c -target 
x86_64-unknown-linux-gnu -o acos.cc.bc ../vecmathlib/pocl/acos.cc -include 
../../../include/x86_64/types.h
In file included from ../vecmathlib/pocl/acos.cc:3:
In file included from ../vecmathlib/pocl/pocl-compat.h:8:
In file included from ../vecmathlib/pocl/../vecmathlib.h:87:
../vecmathlib/pocl/../vec_sse_float1.h:448:41: error: conversion from 'typename 
__gnu_cxx::__enable_if<__is_arithmetic<float>::__value, int>::__type' (aka 
'int') to 'boolvec_t'
      (aka 'boolvec<real_t, size>') is ambiguous
    boolvec_t isfinite() const { return std::isfinite(v); }
                                        ^~~~~~~~~~~~~~~~
../vecmathlib/pocl/../vec_sse_float1.h:75:5: note: candidate constructor
    boolvec(bvector_t x): v(x) {}
    ^
../vecmathlib/pocl/../vec_sse_float1.h:76:5: note: candidate constructor
    boolvec(bool a): v(a) {}
    ^
../vecmathlib/pocl/../vec_sse_float1.h:449:38: error: conversion from 'typename 
__gnu_cxx::__enable_if<__is_arithmetic<float>::__value, int>::__type' (aka 
'int') to 'boolvec_t'
      (aka 'boolvec<real_t, size>') is ambiguous
    boolvec_t isinf() const { return std::isinf(v); }
                                     ^~~~~~~~~~~~~
../vecmathlib/pocl/../vec_sse_float1.h:75:5: note: candidate constructor
    boolvec(bvector_t x): v(x) {}
    ^
../vecmathlib/pocl/../vec_sse_float1.h:76:5: note: candidate constructor
    boolvec(bool a): v(a) {}
    ^
../vecmathlib/pocl/../vec_sse_float1.h:460:14: error: conversion from 'typename 
__gnu_cxx::__enable_if<__is_arithmetic<float>::__value, int>::__type' (aka 
'int') to 'boolvec_t'
      (aka 'boolvec<real_t, size>') is ambiguous
      return std::isnan(v);
             ^~~~~~~~~~~~~
../vecmathlib/pocl/../vec_sse_float1.h:75:5: note: candidate constructor
    boolvec(bvector_t x): v(x) {}
    ^
../vecmathlib/pocl/../vec_sse_float1.h:76:5: note: candidate constructor
    boolvec(bool a): v(a) {}
    ^
../vecmathlib/pocl/../vec_sse_float1.h:465:41: error: conversion from 'typename 
__gnu_cxx::__enable_if<__is_arithmetic<float>::__value, int>::__type' (aka 
'int') to 'boolvec_t'
      (aka 'boolvec<real_t, size>') is ambiguous
    boolvec_t isnormal() const { return std::isnormal(v); }
                                        ^~~~~~~~~~~~~~~~
../vecmathlib/pocl/../vec_sse_float1.h:75:5: note: candidate constructor
    boolvec(bvector_t x): v(x) {}
    ^
../vecmathlib/pocl/../vec_sse_float1.h:76:5: note: candidate constructor
    boolvec(bool a): v(a) {}
    ^
../vecmathlib/pocl/../vec_sse_float1.h:487:40: error: conversion from 'typename 
__gnu_cxx::__enable_if<__is_arithmetic<float>::__value, int>::__type' (aka 
'int') to 'boolvec_t'
      (aka 'boolvec<real_t, size>') is ambiguous
    boolvec_t signbit() const { return std::signbit(v); }
                                       ^~~~~~~~~~~~~~~
../vecmathlib/pocl/../vec_sse_float1.h:75:5: note: candidate constructor
    boolvec(bvector_t x): v(x) {}
    ^
../vecmathlib/pocl/../vec_sse_float1.h:76:5: note: candidate constructor
    boolvec(bool a): v(a) {}
    ^
In file included from ../vecmathlib/pocl/acos.cc:3:
In file included from ../vecmathlib/pocl/pocl-compat.h:8:
In file included from ../vecmathlib/pocl/../vecmathlib.h:89:
../vecmathlib/pocl/../vec_sse_double1.h:450:41: error: conversion from 
'typename __gnu_cxx::__enable_if<__is_arithmetic<double>::__value, 
int>::__type' (aka 'int') to 'boolvec_t'
      (aka 'boolvec<real_t, size>') is ambiguous
    boolvec_t isfinite() const { return std::isfinite(v); }
                                        ^~~~~~~~~~~~~~~~
../vecmathlib/pocl/../vec_sse_double1.h:75:5: note: candidate constructor
    boolvec(bvector_t x): v(x) {}
    ^
../vecmathlib/pocl/../vec_sse_double1.h:76:5: note: candidate constructor
    boolvec(bool a): v(a) {}
    ^
../vecmathlib/pocl/../vec_sse_double1.h:451:38: error: conversion from 
'typename __gnu_cxx::__enable_if<__is_arithmetic<double>::__value, 
int>::__type' (aka 'int') to 'boolvec_t'
      (aka 'boolvec<real_t, size>') is ambiguous
    boolvec_t isinf() const { return std::isinf(v); }
                                     ^~~~~~~~~~~~~
../vecmathlib/pocl/../vec_sse_double1.h:75:5: note: candidate constructor
    boolvec(bvector_t x): v(x) {}
    ^
../vecmathlib/pocl/../vec_sse_double1.h:76:5: note: candidate constructor
    boolvec(bool a): v(a) {}
    ^
../vecmathlib/pocl/../vec_sse_double1.h:461:14: error: conversion from 
'typename __gnu_cxx::__enable_if<__is_arithmetic<double>::__value, 
int>::__type' (aka 'int') to 'boolvec_t'
      (aka 'boolvec<real_t, size>') is ambiguous
      return std::isnan(v);
             ^~~~~~~~~~~~~
../vecmathlib/pocl/../vec_sse_double1.h:75:5: note: candidate constructor
    boolvec(bvector_t x): v(x) {}
    ^
../vecmathlib/pocl/../vec_sse_double1.h:76:5: note: candidate constructor
    boolvec(bool a): v(a) {}
    ^
../vecmathlib/pocl/../vec_sse_double1.h:463:41: error: conversion from 
'typename __gnu_cxx::__enable_if<__is_arithmetic<double>::__value, 
int>::__type' (aka 'int') to 'boolvec_t'
      (aka 'boolvec<real_t, size>') is ambiguous
    boolvec_t isnormal() const { return std::isnormal(v); }
                                        ^~~~~~~~~~~~~~~~
../vecmathlib/pocl/../vec_sse_double1.h:75:5: note: candidate constructor
    boolvec(bvector_t x): v(x) {}
    ^
../vecmathlib/pocl/../vec_sse_double1.h:76:5: note: candidate constructor
    boolvec(bool a): v(a) {}
    ^
../vecmathlib/pocl/../vec_sse_double1.h:485:40: error: conversion from 
'typename __gnu_cxx::__enable_if<__is_arithmetic<double>::__value, 
int>::__type' (aka 'int') to 'boolvec_t'
      (aka 'boolvec<real_t, size>') is ambiguous
    boolvec_t signbit() const { return std::signbit(v); }
                                       ^~~~~~~~~~~~~~~
../vecmathlib/pocl/../vec_sse_double1.h:75:5: note: candidate constructor
    boolvec(bvector_t x): v(x) {}
    ^
../vecmathlib/pocl/../vec_sse_double1.h:76:5: note: candidate constructor
    boolvec(bool a): v(a) {}
    ^
10 errors generated.
make[4]: *** [acos.cc.bc] Error 1
make[4]: Leaving directory 
`/home/cambine/Depository/llvm3.3/pocl-0.8rc6/lib/kernel/x86_64'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory 
`/home/cambine/Depository/llvm3.3/pocl-0.8rc6/lib/kernel'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/cambine/Depository/llvm3.3/pocl-0.8rc6/lib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/cambine/Depository/llvm3.3/pocl-0.8rc6'
make: *** [all] Error 2

----------------------------------------------------------------------------------

------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
_______________________________________________
pocl-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pocl-devel

Reply via email to