Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Include directory .../sys-include being used with -I when it should be .../include #34

Open
nickoppen opened this issue Jan 15, 2016 · 0 comments

Comments

@nickoppen
Copy link

Compiling an OpenCL kernel with epiphany sdk calls such as e_dma_copy causes an error because a call to e-gcc includes the -I switch with the argument "/opt/adapteva/esdk/tools/e-gnu/epiphany-elf/sys-include" rather than "/opt/adapteva/esdk/tools/e-gnu/epiphany-elf/include".

The output of cldebug -t includes the following line:

[4020] clmesg debug: computil_e32.h(560): execshell> cd /home/parallella/Work/mpi-epiphany/nbody/temp/xclXi1agR; e-gcc -O0 -g -Wall -c -fmessage-length=0 -ffast-math -ftree-vectorize -funroll-loops -Wunused-variable -ffp-contract=fast -mlong-calls -mfp-mode=round-nearest -w -fstack-usage -fno-exceptions -U_FORTIFY_SOURCE -fno-stack-protector -I/opt/adapteva/esdk/tools/e-gnu/epiphany-elf/sys-include -fpermissive -D__coprthr_device__ -DE32_DRAM_ZEROPAGE=0x8e100000 -I/usr/local/browndeer/include -D__xcl_kcall__ --include=e32pth_if_needham.h -c _kcall3_StLSBy.c -o e32_kcall3_StLSBy.o

Using version 1.6.2 with the 2015.1 build.

Full debug output is attached:
clDebugMinusT.txt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant