On Fri, 31 May 2013 22:17:25 +0200
"O. Hartmann" <[email protected]> wrote:

> I just tried to compile pocl-0.8rc1 on FreeBSD 10.0-CURRENT wirth a
> preliminary ports framework and it fails with a c++ header not found:
> 
> [...]
> /usr/bin/clang++ -Xclang -ffake-address-space-map -std=c++11
> -fno-exceptions -emit-llvm  -c -target amd64-portbld-freebsd10.0 -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:45: In file included
> from ./../vecmathlib/pocl/../vec_pseudo.h:6: In file included
> from ./../vecmathlib/pocl/../floatprops.h:6: 
> ./../vecmathlib/pocl/../floattypes.h:6:10:
> fatal error: 'cstdint' file not found #include <cstdint> ^ 1 error
> generated. gmake[4]: *** [acos.cc.bc] Error 1
> gmake[4]: Leaving directory
> `/usr/ports/devel/pocl/work/pocl-0.8rc1/lib/kernel/x86_64' gmake[3]:
> *** [all-recursive] Error 1 gmake[3]: Leaving directory
> `/usr/ports/devel/pocl/work/pocl-0.8rc1/lib/kernel' gmake[2]: ***
> [all-recursive] Error 1 gmake[2]: Leaving directory
> `/usr/ports/devel/pocl/work/pocl-0.8rc1/lib' gmake[1]: ***
> [all-recursive] Error 1 gmake[1]: Leaving directory
> `/usr/ports/devel/pocl/work/pocl-0.8rc1' gmake: *** [all] Error 2
> *** Error code 1
> [...]
> 
> 
> Oliver

Obviously I can not pass any variable to the configure-ENV to ensure
that the above malformed clang++ line (FreeBSD 10.0-CURRENT needs
-stdlib=c++ set to compile further and not to complain about the
missing <cstdint> include).

Is this hardcoded?

If not, from what configured variable are the clang++ options derived
from?

Attachment: signature.asc
Description: PGP signature

------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite
It's a free troubleshooting tool designed for production
Get down to code-level detail for bottlenecks, with <2% overhead.
Download for free and get started troubleshooting in minutes.
http://p.sf.net/sfu/appdyn_d2d_ap2
_______________________________________________
pocl-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pocl-devel

Reply via email to