* Error while buildng SGX
@ 2016-04-28 13:34 Harinath maddelal
2016-04-29 3:21 ` Harinath maddelal
2016-04-30 2:11 ` Khem Raj
0 siblings, 2 replies; 8+ messages in thread
From: Harinath maddelal @ 2016-04-28 13:34 UTC (permalink / raw)
To: yocto@yoctoproject.org
[-- Attachment #1: Type: text/plain, Size: 1640 bytes --]
Hi all,
When i build sgx using yocto, im getting following errors.
The same builds fine when i use my local gcc of version 4.8.3.
I have used 1.8.1 Yocto its using 4.9.2 gcc.
Can you please help me resolve the issue. Thanks in advance
Following is the console build error log
eurasiacon/opengles1/context.h:11:20: fatal error: stdlib.h: No such file or directory
#include <stdlib.h>
^
In file included from eurasiacon/opengles1/fftex.c:8:0:
eurasiacon/opengles1/context.h:11:20: fatal error: stdlib.h: No such file or directory
#include <stdlib.h>
^
compilation terminated.
compilation terminated.
In file included from eurasiacon/opengles1/fbo.c:8:0:
eurasiacon/opengles1/context.h:11:20: fatal error: stdlib.h: No such file or directory
#include <stdlib.h>
^
compilation terminated.
In file included from eurasiacon/opengles1/fftexhw.c:8:0:
eurasiacon/opengles1/context.h:11:20: fatal error: stdlib.h: No such file or directory
#include <stdlib.h>
^
compilation terminated.
make[1]: *** [eurasiacon/binary2_incdhad1_linux_release/target/intermediates/opengles1/fbo.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: *** [eurasiacon/binary2_incdhad1_linux_release/target/intermediates/opengles1/fftex.o] Error 1
make[1]: *** [eurasiacon/binary2_incdhad1_linux_release/target/intermediates/opengles1/eglimage.o] Error 1
make[1]: *** [eurasiacon/binary2_incdhad1_linux_release/target/intermediates/opengles1/fftexhw.o] Error 1
make: *** [build] Error 2
Thanks and Regards,
Harinath
[-- Attachment #2: Type: text/html, Size: 2934 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread* Re: Error while buildng SGX 2016-04-28 13:34 Error while buildng SGX Harinath maddelal @ 2016-04-29 3:21 ` Harinath maddelal 2016-04-30 2:11 ` Khem Raj 1 sibling, 0 replies; 8+ messages in thread From: Harinath maddelal @ 2016-04-29 3:21 UTC (permalink / raw) To: yocto@yoctoproject.org [-- Attachment #1: Type: text/plain, Size: 1897 bytes --] Hi all, Can you please help me to fix the issue Thanks and Regards, Harinath ________________________________ From: Harinath maddelal Sent: Thursday, April 28, 2016 7:04:29 PM To: yocto@yoctoproject.org Subject: Error while buildng SGX Hi all, When i build sgx using yocto, im getting following errors. The same builds fine when i use my local gcc of version 4.8.3. I have used 1.8.1 Yocto its using 4.9.2 gcc. Can you please help me resolve the issue. Thanks in advance Following is the console build error log eurasiacon/opengles1/context.h:11:20: fatal error: stdlib.h: No such file or directory #include <stdlib.h> ^ In file included from eurasiacon/opengles1/fftex.c:8:0: eurasiacon/opengles1/context.h:11:20: fatal error: stdlib.h: No such file or directory #include <stdlib.h> ^ compilation terminated. compilation terminated. In file included from eurasiacon/opengles1/fbo.c:8:0: eurasiacon/opengles1/context.h:11:20: fatal error: stdlib.h: No such file or directory #include <stdlib.h> ^ compilation terminated. In file included from eurasiacon/opengles1/fftexhw.c:8:0: eurasiacon/opengles1/context.h:11:20: fatal error: stdlib.h: No such file or directory #include <stdlib.h> ^ compilation terminated. make[1]: *** [eurasiacon/binary2_incdhad1_linux_release/target/intermediates/opengles1/fbo.o] Error 1 make[1]: *** Waiting for unfinished jobs.... make[1]: *** [eurasiacon/binary2_incdhad1_linux_release/target/intermediates/opengles1/fftex.o] Error 1 make[1]: *** [eurasiacon/binary2_incdhad1_linux_release/target/intermediates/opengles1/eglimage.o] Error 1 make[1]: *** [eurasiacon/binary2_incdhad1_linux_release/target/intermediates/opengles1/fftexhw.o] Error 1 make: *** [build] Error 2 Thanks and Regards, Harinath [-- Attachment #2: Type: text/html, Size: 3846 bytes --] ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Error while buildng SGX 2016-04-28 13:34 Error while buildng SGX Harinath maddelal 2016-04-29 3:21 ` Harinath maddelal @ 2016-04-30 2:11 ` Khem Raj 2016-05-02 5:44 ` Harinath maddelal 1 sibling, 1 reply; 8+ messages in thread From: Khem Raj @ 2016-04-30 2:11 UTC (permalink / raw) To: Harinath maddelal; +Cc: yocto@yoctoproject.org On Thu, Apr 28, 2016 at 6:34 AM, Harinath maddelal <Harinath.maddela@inedasystems.com> wrote: > Hi all, > > > When i build sgx using yocto, im getting following errors. > > The same builds fine when i use my local gcc of version 4.8.3. > > > I have used 1.8.1 Yocto its using 4.9.2 gcc. > > > Can you please help me resolve the issue. Thanks in advance > > > Following is the console build error log Please provide compiler cmdline for the failing compile, most probably its due to messed up -isystem on cmdline ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Error while buildng SGX 2016-04-30 2:11 ` Khem Raj @ 2016-05-02 5:44 ` Harinath maddelal 2016-05-02 15:45 ` Khem Raj 0 siblings, 1 reply; 8+ messages in thread From: Harinath maddelal @ 2016-05-02 5:44 UTC (permalink / raw) To: Khem Raj; +Cc: yocto@yoctoproject.org [-- Attachment #1: Type: text/plain, Size: 1701 bytes --] Hi > The same builds fine when i use my local gcc of version 4.8.3. By this i mean we are using our local copy of mips toolchain(mips-linux-gnu-gcc-4.8.3) So i have used poky mips toolchain to build the entire poky(except SGX). SGX is built with our local copy of mips toolchain (as it was giving the build errors when built with poky mips toolchain, log file attached for reference) Is there any way to build the complete poky using local mips toolchain rather than using the poky mips toolchain? I just want to know how to use our local toolchain setup to build entire poky. Kindly help me in this regard Thanks and Regards, Harinath ________________________________________ From: Khem Raj <raj.khem@gmail.com> Sent: Saturday, April 30, 2016 7:41:40 AM To: Harinath maddelal Cc: yocto@yoctoproject.org Subject: Re: [yocto] Error while buildng SGX On Thu, Apr 28, 2016 at 6:34 AM, Harinath maddelal <Harinath.maddela@inedasystems.com> wrote: > Hi all, > > > When i build sgx using yocto, im getting following errors. > > The same builds fine when i use my local gcc of version 4.8.3. > > > I have used 1.8.1 Yocto its using 4.9.2 gcc. > > > Can you please help me resolve the issue. Thanks in advance > > > Following is the console build error log Please provide compiler cmdline for the failing compile, most probably its due to messed up -isystem on cmdline ______________________________________________________________________ This email has been scanned by the Symantec Email Security.cloud service. For more information please visit http://www.symanteccloud.com ______________________________________________________________________ [-- Attachment #2: log.do_compile --] [-- Type: application/octet-stream, Size: 17633 bytes --] DEBUG: Executing shell function do_compile ****************************************************************************************************************** Building SGX User Mode ****************************************************************************************************************** user mode clean build RM eurasiacon/binary2_incdhad1_linux_release HOST_CC services4/srvinit/devices/sgx/sgx_init.use.asm HOST_CC services4/srvinit/devices/sgx/sgx_timer.use.asm HOST_CC services4/srvinit/devices/sgx/sgx_utils.asm HOST_CC services4/srvinit/devices/sgx/sgx_utils_not3d.asm CC codegen/pixevent/pixeventpbesetup.c CC codegen/usegen/usegen_conversion.c CP eurasiacon/binary2_incdhad1_linux_release/target/glsltest1_vertshader.txt CP eurasiacon/binary2_incdhad1_linux_release/target/glsltest1_fragshaderA.txt CP eurasiacon/binary2_incdhad1_linux_release/target/glsltest1_fragshaderB.txt GEN eurasiacon/binary2_incdhad1_linux_release/target/install.sh GEN eurasiacon/binary2_incdhad1_linux_release/target/rc.pvr In file included from hwdefs/usecodegen.h:13:0, from codegen/usegen/usegen_conversion.c:18: include4/sgxapi.h:20:22: fatal error: unistd.h: No such file or directory #include <unistd.h> ^ CC services4/srvinit/env/linux/pvrsrvctl.c compilation terminated. make[1]: *** [eurasiacon/binary2_incdhad1_linux_release/target/intermediates/usegen/usegen_conversion.o] Error 1 make[1]: *** Waiting for unfinished jobs.... services4/srvinit/env/linux/pvrsrvctl.c:7:25: fatal error: sys/syscall.h: No such file or directory #include <sys/syscall.h> ^ compilation terminated. make[1]: *** [eurasiacon/binary2_incdhad1_linux_release/target/intermediates/pvrsrvctl/pvrsrvctl.o] Error 1 make: *** [build] Error 2 Installing PowerVR Consumer/Embedded DDK 'sgxddk_MAIN@3742159' on host File system installation root is /home/harinathm/yocto-1.8.1/build/tmp/work/mips32r2el-poky-linux/sgx/1.0-r0/SGX_DDK_for_Linux_1.14/../out Uninstalling existing version sgxddk_MAIN@3742159 Uninstallation completed. chown: changing ownership of '/home/harinathm/yocto-1.8.1/build/tmp/work/mips32r2el-poky-linux/sgx/1.0-r0/SGX_DDK_for_Linux_1.14/../out/etc/init.d/rc.pvr': Operation not permitted boot script rc.pvr -> /etc/init.d/rc.pvr chown: changing ownership of '/home/harinathm/yocto-1.8.1/build/tmp/work/mips32r2el-poky-linux/sgx/1.0-r0/SGX_DDK_for_Linux_1.14/../out/usr/local/bin/glsltest1_vertshader.txt': Operation not permitted shader glsltest1_vertshader.txt -> /usr/local/bin/glsltest1_vertshader.txt chown: changing ownership of '/home/harinathm/yocto-1.8.1/build/tmp/work/mips32r2el-poky-linux/sgx/1.0-r0/SGX_DDK_for_Linux_1.14/../out/usr/local/bin/glsltest1_fragshaderA.txt': Operation not permitted shader glsltest1_fragshaderA.txt -> /usr/local/bin/glsltest1_fragshaderA.txt chown: changing ownership of '/home/harinathm/yocto-1.8.1/build/tmp/work/mips32r2el-poky-linux/sgx/1.0-r0/SGX_DDK_for_Linux_1.14/../out/usr/local/bin/glsltest1_fragshaderB.txt': Operation not permitted shader glsltest1_fragshaderB.txt -> /usr/local/bin/glsltest1_fragshaderB.txt Installation complete! ****************************************************************************************************************** Building SGX Kernel Mode ****************************************************************************************************************** kernel mode clean build RM eurasiacon/binary2_incdhad1_linux_release make -C /home/harinathm/yocto-1.8.1/build/tmp/work/dhruva-poky-linux/linux-yocto-custom/3.10.60-r0/linux-dhruva-standard-build \ KBUILD_SRC=/home/harinathm/yocto-1.8.1/build/tmp/work-shared/dhruva/kernel-source \ KBUILD_EXTMOD="/home/harinathm/yocto-1.8.1/build/tmp/work/mips32r2el-poky-linux/sgx/1.0-r0/SGX_DDK_for_Linux_1.14/eurasia_km/eurasiacon/binary2_incdhad1_linux_release/target/kbuild" -f /home/harinathm/yocto-1.8.1/build/tmp/work-shared/dhruva/kernel-source/Makefile \ LD /home/harinathm/yocto-1.8.1/build/tmp/work/mips32r2el-poky-linux/sgx/1.0-r0/SGX_DDK_for_Linux_1.14/eurasia_km/eurasiacon/binary2_incdhad1_linux_release/target/kbuild/built-in.o CC [M] /home/harinathm/yocto-1.8.1/build/tmp/work/mips32r2el-poky-linux/sgx/1.0-r0/SGX_DDK_for_Linux_1.14/eurasia_km/eurasiacon/binary2_incdhad1_linux_release/target/kbuild/services4/3rdparty/bufferclass_example/bufferclass_example.o CC [M] /home/harinathm/yocto-1.8.1/build/tmp/work/mips32r2el-poky-linux/sgx/1.0-r0/SGX_DDK_for_Linux_1.14/eurasia_km/eurasiacon/binary2_incdhad1_linux_release/target/kbuild/services4/3rdparty/bufferclass_example/bufferclass_example_linux.o CC [M] /home/harinathm/yocto-1.8.1/build/tmp/work/mips32r2el-poky-linux/sgx/1.0-r0/SGX_DDK_for_Linux_1.14/eurasia_km/eurasiacon/binary2_incdhad1_linux_release/target/kbuild/services4/3rdparty/bufferclass_example/bufferclass_example_private.o CC [M] /home/harinathm/yocto-1.8.1/build/tmp/work/mips32r2el-poky-linux/sgx/1.0-r0/SGX_DDK_for_Linux_1.14/eurasia_km/eurasiacon/binary2_incdhad1_linux_release/target/kbuild/services4/3rdparty/dc_incdhad1/incdhad1fb_displayclass.o CC [M] /home/harinathm/yocto-1.8.1/build/tmp/work/mips32r2el-poky-linux/sgx/1.0-r0/SGX_DDK_for_Linux_1.14/eurasia_km/eurasiacon/binary2_incdhad1_linux_release/target/kbuild/services4/srvkm/env/linux/osfunc.o CC [M] /home/harinathm/yocto-1.8.1/build/tmp/work/mips32r2el-poky-linux/sgx/1.0-r0/SGX_DDK_for_Linux_1.14/eurasia_km/eurasiacon/binary2_incdhad1_linux_release/target/kbuild/services4/srvkm/env/linux/mutils.o CC [M] /home/harinathm/yocto-1.8.1/build/tmp/work/mips32r2el-poky-linux/sgx/1.0-r0/SGX_DDK_for_Linux_1.14/eurasia_km/eurasiacon/binary2_incdhad1_linux_release/target/kbuild/services4/srvkm/env/linux/mmap.o CC [M] /home/harinathm/yocto-1.8.1/build/tmp/work/mips32r2el-poky-linux/sgx/1.0-r0/SGX_DDK_for_Linux_1.14/eurasia_km/eurasiacon/binary2_incdhad1_linux_release/target/kbuild/services4/srvkm/env/linux/module.o CC [M] /home/harinathm/yocto-1.8.1/build/tmp/work/mips32r2el-poky-linux/sgx/1.0-r0/SGX_DDK_for_Linux_1.14/eurasia_km/eurasiacon/binary2_incdhad1_linux_release/target/kbuild/services4/srvkm/env/linux/pdump.o CC [M] /home/harinathm/yocto-1.8.1/build/tmp/work/mips32r2el-poky-linux/sgx/1.0-r0/SGX_DDK_for_Linux_1.14/eurasia_km/eurasiacon/binary2_incdhad1_linux_release/target/kbuild/services4/srvkm/env/linux/proc.o CC [M] /home/harinathm/yocto-1.8.1/build/tmp/work/mips32r2el-poky-linux/sgx/1.0-r0/SGX_DDK_for_Linux_1.14/eurasia_km/eurasiacon/binary2_incdhad1_linux_release/target/kbuild/services4/srvkm/env/linux/pvr_bridge_k.o CC [M] /home/harinathm/yocto-1.8.1/build/tmp/work/mips32r2el-poky-linux/sgx/1.0-r0/SGX_DDK_for_Linux_1.14/eurasia_km/eurasiacon/binary2_incdhad1_linux_release/target/kbuild/services4/srvkm/env/linux/pvr_debug.o CC [M] /home/harinathm/yocto-1.8.1/build/tmp/work/mips32r2el-poky-linux/sgx/1.0-r0/SGX_DDK_for_Linux_1.14/eurasia_km/eurasiacon/binary2_incdhad1_linux_release/target/kbuild/services4/srvkm/env/linux/mm.o CC [M] /home/harinathm/yocto-1.8.1/build/tmp/work/mips32r2el-poky-linux/sgx/1.0-r0/SGX_DDK_for_Linux_1.14/eurasia_km/eurasiacon/binary2_incdhad1_linux_release/target/kbuild/services4/srvkm/env/linux/mutex.o CC [M] /home/harinathm/yocto-1.8.1/build/tmp/work/mips32r2el-poky-linux/sgx/1.0-r0/SGX_DDK_for_Linux_1.14/eurasia_km/eurasiacon/binary2_incdhad1_linux_release/target/kbuild/services4/srvkm/env/linux/event.o CC [M] /home/harinathm/yocto-1.8.1/build/tmp/work/mips32r2el-poky-linux/sgx/1.0-r0/SGX_DDK_for_Linux_1.14/eurasia_km/eurasiacon/binary2_incdhad1_linux_release/target/kbuild/services4/srvkm/env/linux/osperproc.o CC [M] /home/harinathm/yocto-1.8.1/build/tmp/work/mips32r2el-poky-linux/sgx/1.0-r0/SGX_DDK_for_Linux_1.14/eurasia_km/eurasiacon/binary2_incdhad1_linux_release/target/kbuild/services4/srvkm/common/buffer_manager.o CC [M] /home/harinathm/yocto-1.8.1/build/tmp/work/mips32r2el-poky-linux/sgx/1.0-r0/SGX_DDK_for_Linux_1.14/eurasia_km/eurasiacon/binary2_incdhad1_linux_release/target/kbuild/services4/srvkm/common/devicemem.o CC [M] /home/harinathm/yocto-1.8.1/build/tmp/work/mips32r2el-poky-linux/sgx/1.0-r0/SGX_DDK_for_Linux_1.14/eurasia_km/eurasiacon/binary2_incdhad1_linux_release/target/kbuild/services4/srvkm/common/handle.o CC [M] /home/harinathm/yocto-1.8.1/build/tmp/work/mips32r2el-poky-linux/sgx/1.0-r0/SGX_DDK_for_Linux_1.14/eurasia_km/eurasiacon/binary2_incdhad1_linux_release/target/kbuild/services4/srvkm/common/hash.o CC [M] /home/harinathm/yocto-1.8.1/build/tmp/work/mips32r2el-poky-linux/sgx/1.0-r0/SGX_DDK_for_Linux_1.14/eurasia_km/eurasiacon/binary2_incdhad1_linux_release/target/kbuild/services4/srvkm/common/lists.o CC [M] /home/harinathm/yocto-1.8.1/build/tmp/work/mips32r2el-poky-linux/sgx/1.0-r0/SGX_DDK_for_Linux_1.14/eurasia_km/eurasiacon/binary2_incdhad1_linux_release/target/kbuild/services4/srvkm/common/mem.o CC [M] /home/harinathm/yocto-1.8.1/build/tmp/work/mips32r2el-poky-linux/sgx/1.0-r0/SGX_DDK_for_Linux_1.14/eurasia_km/eurasiacon/binary2_incdhad1_linux_release/target/kbuild/services4/srvkm/common/mem_debug.o CC [M] /home/harinathm/yocto-1.8.1/build/tmp/work/mips32r2el-poky-linux/sgx/1.0-r0/SGX_DDK_for_Linux_1.14/eurasia_km/eurasiacon/binary2_incdhad1_linux_release/target/kbuild/services4/srvkm/common/metrics.o CC [M] /home/harinathm/yocto-1.8.1/build/tmp/work/mips32r2el-poky-linux/sgx/1.0-r0/SGX_DDK_for_Linux_1.14/eurasia_km/eurasiacon/binary2_incdhad1_linux_release/target/kbuild/services4/srvkm/common/osfunc_common.o CC [M] /home/harinathm/yocto-1.8.1/build/tmp/work/mips32r2el-poky-linux/sgx/1.0-r0/SGX_DDK_for_Linux_1.14/eurasia_km/eurasiacon/binary2_incdhad1_linux_release/target/kbuild/services4/srvkm/common/pdump_common.o CC [M] /home/harinathm/yocto-1.8.1/build/tmp/work/mips32r2el-poky-linux/sgx/1.0-r0/SGX_DDK_for_Linux_1.14/eurasia_km/eurasiacon/binary2_incdhad1_linux_release/target/kbuild/services4/srvkm/common/perproc.o CC [M] /home/harinathm/yocto-1.8.1/build/tmp/work/mips32r2el-poky-linux/sgx/1.0-r0/SGX_DDK_for_Linux_1.14/eurasia_km/eurasiacon/binary2_incdhad1_linux_release/target/kbuild/services4/srvkm/common/power.o CC [M] /home/harinathm/yocto-1.8.1/build/tmp/work/mips32r2el-poky-linux/sgx/1.0-r0/SGX_DDK_for_Linux_1.14/eurasia_km/eurasiacon/binary2_incdhad1_linux_release/target/kbuild/services4/srvkm/common/pvrsrv.o CC [M] /home/harinathm/yocto-1.8.1/build/tmp/work/mips32r2el-poky-linux/sgx/1.0-r0/SGX_DDK_for_Linux_1.14/eurasia_km/eurasiacon/binary2_incdhad1_linux_release/target/kbuild/services4/srvkm/common/ra.o CC [M] /home/harinathm/yocto-1.8.1/build/tmp/work/mips32r2el-poky-linux/sgx/1.0-r0/SGX_DDK_for_Linux_1.14/eurasia_km/eurasiacon/binary2_incdhad1_linux_release/target/kbuild/services4/srvkm/common/refcount.o CC [M] /home/harinathm/yocto-1.8.1/build/tmp/work/mips32r2el-poky-linux/sgx/1.0-r0/SGX_DDK_for_Linux_1.14/eurasia_km/eurasiacon/binary2_incdhad1_linux_release/target/kbuild/services4/srvkm/common/resman.o CC [M] /home/harinathm/yocto-1.8.1/build/tmp/work/mips32r2el-poky-linux/sgx/1.0-r0/SGX_DDK_for_Linux_1.14/eurasia_km/eurasiacon/binary2_incdhad1_linux_release/target/kbuild/services4/srvkm/bridged/bridged_support.o CC [M] /home/harinathm/yocto-1.8.1/build/tmp/work/mips32r2el-poky-linux/sgx/1.0-r0/SGX_DDK_for_Linux_1.14/eurasia_km/eurasiacon/binary2_incdhad1_linux_release/target/kbuild/services4/srvkm/bridged/bridged_pvr_bridge.o CC [M] /home/harinathm/yocto-1.8.1/build/tmp/work/mips32r2el-poky-linux/sgx/1.0-r0/SGX_DDK_for_Linux_1.14/eurasia_km/eurasiacon/binary2_incdhad1_linux_release/target/kbuild/services4/system/incdhad1/sysconfig.o CC [M] /home/harinathm/yocto-1.8.1/build/tmp/work/mips32r2el-poky-linux/sgx/1.0-r0/SGX_DDK_for_Linux_1.14/eurasia_km/eurasiacon/binary2_incdhad1_linux_release/target/kbuild/services4/system/incdhad1/sysutils.o CC [M] /home/harinathm/yocto-1.8.1/build/tmp/work/mips32r2el-poky-linux/sgx/1.0-r0/SGX_DDK_for_Linux_1.14/eurasia_km/eurasiacon/binary2_incdhad1_linux_release/target/kbuild/services4/srvkm/common/deviceclass.o CC [M] /home/harinathm/yocto-1.8.1/build/tmp/work/mips32r2el-poky-linux/sgx/1.0-r0/SGX_DDK_for_Linux_1.14/eurasia_km/eurasiacon/binary2_incdhad1_linux_release/target/kbuild/services4/srvkm/common/queue.o CC [M] /home/harinathm/yocto-1.8.1/build/tmp/work/mips32r2el-poky-linux/sgx/1.0-r0/SGX_DDK_for_Linux_1.14/eurasia_km/eurasiacon/binary2_incdhad1_linux_release/target/kbuild/services4/srvkm/bridged/sgx/bridged_sgx_bridge.o CC [M] /home/harinathm/yocto-1.8.1/build/tmp/work/mips32r2el-poky-linux/sgx/1.0-r0/SGX_DDK_for_Linux_1.14/eurasia_km/eurasiacon/binary2_incdhad1_linux_release/target/kbuild/services4/srvkm/devices/sgx/sgxinit.o CC [M] /home/harinathm/yocto-1.8.1/build/tmp/work/mips32r2el-poky-linux/sgx/1.0-r0/SGX_DDK_for_Linux_1.14/eurasia_km/eurasiacon/binary2_incdhad1_linux_release/target/kbuild/services4/srvkm/devices/sgx/sgxpower.o CC [M] /home/harinathm/yocto-1.8.1/build/tmp/work/mips32r2el-poky-linux/sgx/1.0-r0/SGX_DDK_for_Linux_1.14/eurasia_km/eurasiacon/binary2_incdhad1_linux_release/target/kbuild/services4/srvkm/devices/sgx/sgxreset.o CC [M] /home/harinathm/yocto-1.8.1/build/tmp/work/mips32r2el-poky-linux/sgx/1.0-r0/SGX_DDK_for_Linux_1.14/eurasia_km/eurasiacon/binary2_incdhad1_linux_release/target/kbuild/services4/srvkm/devices/sgx/sgxutils.o CC [M] /home/harinathm/yocto-1.8.1/build/tmp/work/mips32r2el-poky-linux/sgx/1.0-r0/SGX_DDK_for_Linux_1.14/eurasia_km/eurasiacon/binary2_incdhad1_linux_release/target/kbuild/services4/srvkm/devices/sgx/sgxkick.o CC [M] /home/harinathm/yocto-1.8.1/build/tmp/work/mips32r2el-poky-linux/sgx/1.0-r0/SGX_DDK_for_Linux_1.14/eurasia_km/eurasiacon/binary2_incdhad1_linux_release/target/kbuild/services4/srvkm/devices/sgx/sgxtransfer.o CC [M] /home/harinathm/yocto-1.8.1/build/tmp/work/mips32r2el-poky-linux/sgx/1.0-r0/SGX_DDK_for_Linux_1.14/eurasia_km/eurasiacon/binary2_incdhad1_linux_release/target/kbuild/services4/srvkm/devices/sgx/mmu.o CC [M] /home/harinathm/yocto-1.8.1/build/tmp/work/mips32r2el-poky-linux/sgx/1.0-r0/SGX_DDK_for_Linux_1.14/eurasia_km/eurasiacon/binary2_incdhad1_linux_release/target/kbuild/services4/srvkm/devices/sgx/pb.o LD [M] /home/harinathm/yocto-1.8.1/build/tmp/work/mips32r2el-poky-linux/sgx/1.0-r0/SGX_DDK_for_Linux_1.14/eurasia_km/eurasiacon/binary2_incdhad1_linux_release/target/kbuild/pvrsrvkm.o LD [M] /home/harinathm/yocto-1.8.1/build/tmp/work/mips32r2el-poky-linux/sgx/1.0-r0/SGX_DDK_for_Linux_1.14/eurasia_km/eurasiacon/binary2_incdhad1_linux_release/target/kbuild/bc_example.o LD [M] /home/harinathm/yocto-1.8.1/build/tmp/work/mips32r2el-poky-linux/sgx/1.0-r0/SGX_DDK_for_Linux_1.14/eurasia_km/eurasiacon/binary2_incdhad1_linux_release/target/kbuild/dc_incdhad1.o Building modules, stage 2. MODPOST 3 modules CC /home/harinathm/yocto-1.8.1/build/tmp/work/mips32r2el-poky-linux/sgx/1.0-r0/SGX_DDK_for_Linux_1.14/eurasia_km/eurasiacon/binary2_incdhad1_linux_release/target/kbuild/bc_example.mod.o CC /home/harinathm/yocto-1.8.1/build/tmp/work/mips32r2el-poky-linux/sgx/1.0-r0/SGX_DDK_for_Linux_1.14/eurasia_km/eurasiacon/binary2_incdhad1_linux_release/target/kbuild/dc_incdhad1.mod.o CC /home/harinathm/yocto-1.8.1/build/tmp/work/mips32r2el-poky-linux/sgx/1.0-r0/SGX_DDK_for_Linux_1.14/eurasia_km/eurasiacon/binary2_incdhad1_linux_release/target/kbuild/pvrsrvkm.mod.o LD [M] /home/harinathm/yocto-1.8.1/build/tmp/work/mips32r2el-poky-linux/sgx/1.0-r0/SGX_DDK_for_Linux_1.14/eurasia_km/eurasiacon/binary2_incdhad1_linux_release/target/kbuild/dc_incdhad1.ko LD [M] /home/harinathm/yocto-1.8.1/build/tmp/work/mips32r2el-poky-linux/sgx/1.0-r0/SGX_DDK_for_Linux_1.14/eurasia_km/eurasiacon/binary2_incdhad1_linux_release/target/kbuild/bc_example.ko LD [M] /home/harinathm/yocto-1.8.1/build/tmp/work/mips32r2el-poky-linux/sgx/1.0-r0/SGX_DDK_for_Linux_1.14/eurasia_km/eurasiacon/binary2_incdhad1_linux_release/target/kbuild/pvrsrvkm.ko make -C /home/harinathm/yocto-1.8.1/build/tmp/work/dhruva-poky-linux/linux-yocto-custom/3.10.60-r0/linux-dhruva-standard-build \ KBUILD_SRC=/home/harinathm/yocto-1.8.1/build/tmp/work-shared/dhruva/kernel-source \ KBUILD_EXTMOD="/home/harinathm/yocto-1.8.1/build/tmp/work/mips32r2el-poky-linux/sgx/1.0-r0/SGX_DDK_for_Linux_1.14/eurasia_km/eurasiacon/binary2_incdhad1_linux_release/target/kbuild" -f /home/harinathm/yocto-1.8.1/build/tmp/work-shared/dhruva/kernel-source/Makefile \ modules_install INSTALL /home/harinathm/yocto-1.8.1/build/tmp/work/mips32r2el-poky-linux/sgx/1.0-r0/SGX_DDK_for_Linux_1.14/eurasia_km/eurasiacon/binary2_incdhad1_linux_release/target/kbuild/bc_example.ko INSTALL /home/harinathm/yocto-1.8.1/build/tmp/work/mips32r2el-poky-linux/sgx/1.0-r0/SGX_DDK_for_Linux_1.14/eurasia_km/eurasiacon/binary2_incdhad1_linux_release/target/kbuild/dc_incdhad1.ko INSTALL /home/harinathm/yocto-1.8.1/build/tmp/work/mips32r2el-poky-linux/sgx/1.0-r0/SGX_DDK_for_Linux_1.14/eurasia_km/eurasiacon/binary2_incdhad1_linux_release/target/kbuild/pvrsrvkm.ko DEPMOD 3.10.60-yocto-standard depmod: WARNING: could not open /home/harinathm/yocto-1.8.1/build/tmp/work/mips32r2el-poky-linux/sgx/1.0-r0/SGX_DDK_for_Linux_1.14/../out/lib/modules/3.10.60-yocto-standard/modules.order: No such file or directory depmod: WARNING: could not open /home/harinathm/yocto-1.8.1/build/tmp/work/mips32r2el-poky-linux/sgx/1.0-r0/SGX_DDK_for_Linux_1.14/../out/lib/modules/3.10.60-yocto-standard/modules.builtin: No such file or directory DEBUG: Shell function do_compile finished ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Error while buildng SGX 2016-05-02 5:44 ` Harinath maddelal @ 2016-05-02 15:45 ` Khem Raj 2016-05-03 5:43 ` Harinath maddelal 0 siblings, 1 reply; 8+ messages in thread From: Khem Raj @ 2016-05-02 15:45 UTC (permalink / raw) To: Harinath maddelal; +Cc: yocto@yoctoproject.org [-- Attachment #1: Type: text/plain, Size: 2417 bytes --] > On May 1, 2016, at 10:44 PM, Harinath maddelal <Harinath.maddela@inedasystems.com> wrote: > > Hi > >> The same builds fine when i use my local gcc of version 4.8.3. > > By this i mean we are using our local copy of mips toolchain(mips-linux-gnu-gcc-4.8.3) > > So i have used poky mips toolchain to build the entire poky(except SGX). > SGX is built with our local copy of mips toolchain (as it was giving the build errors when built with poky mips toolchain, log file attached for reference) SGX build system is probably hardcoding CC/CXX variables and not letting environment to override it. When you build with poky, its important that CC and CXX variables are effective in the components make system. > > Is there any way to build the complete poky using local mips toolchain rather than using the poky mips toolchain? I just want to know how to use our local toolchain setup to build entire poky. you should look into external toolchain recipes, Some samples like sourcery toolchain and Linaro toolchain are available as samples. I for one would advise to not go this route. Since you are not able to take advantage of integration that YP had done using internal toolchain. > > Kindly help me in this regard > > Thanks and Regards, > Harinath > > > ________________________________________ > From: Khem Raj <raj.khem@gmail.com> > Sent: Saturday, April 30, 2016 7:41:40 AM > To: Harinath maddelal > Cc: yocto@yoctoproject.org > Subject: Re: [yocto] Error while buildng SGX > > On Thu, Apr 28, 2016 at 6:34 AM, Harinath maddelal > <Harinath.maddela@inedasystems.com> wrote: >> Hi all, >> >> >> When i build sgx using yocto, im getting following errors. >> >> The same builds fine when i use my local gcc of version 4.8.3. >> >> >> I have used 1.8.1 Yocto its using 4.9.2 gcc. >> >> >> Can you please help me resolve the issue. Thanks in advance >> >> >> Following is the console build error log > > Please provide compiler cmdline for the failing compile, most probably > its due to messed up -isystem > on cmdline > > ______________________________________________________________________ > This email has been scanned by the Symantec Email Security.cloud service. > For more information please visit http://www.symanteccloud.com > ______________________________________________________________________ > <log.do_compile> [-- Attachment #2: Message signed with OpenPGP using GPGMail --] [-- Type: application/pgp-signature, Size: 211 bytes --] ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Error while buildng SGX 2016-05-02 15:45 ` Khem Raj @ 2016-05-03 5:43 ` Harinath maddelal 2016-05-06 3:16 ` Harinath maddelal 0 siblings, 1 reply; 8+ messages in thread From: Harinath maddelal @ 2016-05-03 5:43 UTC (permalink / raw) To: Khem Raj; +Cc: yocto@yoctoproject.org Hi There is one point that i missed out in the last mail. We have earlier used yocto-1.7.3 and SGX was build fine. Now we migrated to yocto-1.8.1 and the issue occurs Yocto-1.7.3 uses compiler of version mipsel-poky-linux-gcc-4.9.1 whereas Yocto-1.8.1 uses version of mipsel-poky-linux-gcc-4.9.2 Is there any way to mention in the poky, to build Yocto-1.8.1 using compiler mipsel-poky-linux-gcc-4.9.1 rather than it using mipsel-poky-linux-gcc-4.9.2? Thanks and Regards, Harinath ________________________________________ From: Khem Raj <raj.khem@gmail.com> Sent: Monday, May 2, 2016 9:15:58 PM To: Harinath maddelal Cc: yocto@yoctoproject.org Subject: Re: [yocto] Error while buildng SGX > On May 1, 2016, at 10:44 PM, Harinath maddelal <Harinath.maddela@inedasystems.com> wrote: > > Hi > >> The same builds fine when i use my local gcc of version 4.8.3. > > By this i mean we are using our local copy of mips toolchain(mips-linux-gnu-gcc-4.8.3) > > So i have used poky mips toolchain to build the entire poky(except SGX). > SGX is built with our local copy of mips toolchain (as it was giving the build errors when built with poky mips toolchain, log file attached for reference) SGX build system is probably hardcoding CC/CXX variables and not letting environment to override it. When you build with poky, its important that CC and CXX variables are effective in the components make system. > > Is there any way to build the complete poky using local mips toolchain rather than using the poky mips toolchain? I just want to know how to use our local toolchain setup to build entire poky. you should look into external toolchain recipes, Some samples like sourcery toolchain and Linaro toolchain are available as samples. I for one would advise to not go this route. Since you are not able to take advantage of integration that YP had done using internal toolchain. > > Kindly help me in this regard > > Thanks and Regards, > Harinath > > > ________________________________________ > From: Khem Raj <raj.khem@gmail.com> > Sent: Saturday, April 30, 2016 7:41:40 AM > To: Harinath maddelal > Cc: yocto@yoctoproject.org > Subject: Re: [yocto] Error while buildng SGX > > On Thu, Apr 28, 2016 at 6:34 AM, Harinath maddelal > <Harinath.maddela@inedasystems.com> wrote: >> Hi all, >> >> >> When i build sgx using yocto, im getting following errors. >> >> The same builds fine when i use my local gcc of version 4.8.3. >> >> >> I have used 1.8.1 Yocto its using 4.9.2 gcc. >> >> >> Can you please help me resolve the issue. Thanks in advance >> >> >> Following is the console build error log > > Please provide compiler cmdline for the failing compile, most probably > its due to messed up -isystem > on cmdline > > ______________________________________________________________________ > This email has been scanned by the Symantec Email Security.cloud service. > For more information please visit http://www.symanteccloud.com > ______________________________________________________________________ > <log.do_compile> ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Error while buildng SGX 2016-05-03 5:43 ` Harinath maddelal @ 2016-05-06 3:16 ` Harinath maddelal 2016-05-06 4:10 ` Khem Raj 0 siblings, 1 reply; 8+ messages in thread From: Harinath maddelal @ 2016-05-06 3:16 UTC (permalink / raw) To: Khem Raj; +Cc: yocto@yoctoproject.org Hi Can you please help me in this Thanks and Regards, Harinath ________________________________________ From: yocto-bounces@yoctoproject.org <yocto-bounces@yoctoproject.org> on behalf of Harinath maddelal <Harinath.maddela@inedasystems.com> Sent: Tuesday, May 3, 2016 11:13:13 AM To: Khem Raj Cc: yocto@yoctoproject.org Subject: Re: [yocto] Error while buildng SGX Hi There is one point that i missed out in the last mail. We have earlier used yocto-1.7.3 and SGX was build fine. Now we migrated to yocto-1.8.1 and the issue occurs Yocto-1.7.3 uses compiler of version mipsel-poky-linux-gcc-4.9.1 whereas Yocto-1.8.1 uses version of mipsel-poky-linux-gcc-4.9.2 Is there any way to mention in the poky, to build Yocto-1.8.1 using compiler mipsel-poky-linux-gcc-4.9.1 rather than it using mipsel-poky-linux-gcc-4.9.2? Thanks and Regards, Harinath ________________________________________ From: Khem Raj <raj.khem@gmail.com> Sent: Monday, May 2, 2016 9:15:58 PM To: Harinath maddelal Cc: yocto@yoctoproject.org Subject: Re: [yocto] Error while buildng SGX > On May 1, 2016, at 10:44 PM, Harinath maddelal <Harinath.maddela@inedasystems.com> wrote: > > Hi > >> The same builds fine when i use my local gcc of version 4.8.3. > > By this i mean we are using our local copy of mips toolchain(mips-linux-gnu-gcc-4.8.3) > > So i have used poky mips toolchain to build the entire poky(except SGX). > SGX is built with our local copy of mips toolchain (as it was giving the build errors when built with poky mips toolchain, log file attached for reference) SGX build system is probably hardcoding CC/CXX variables and not letting environment to override it. When you build with poky, its important that CC and CXX variables are effective in the components make system. > > Is there any way to build the complete poky using local mips toolchain rather than using the poky mips toolchain? I just want to know how to use our local toolchain setup to build entire poky. you should look into external toolchain recipes, Some samples like sourcery toolchain and Linaro toolchain are available as samples. I for one would advise to not go this route. Since you are not able to take advantage of integration that YP had done using internal toolchain. > > Kindly help me in this regard > > Thanks and Regards, > Harinath > > > ________________________________________ > From: Khem Raj <raj.khem@gmail.com> > Sent: Saturday, April 30, 2016 7:41:40 AM > To: Harinath maddelal > Cc: yocto@yoctoproject.org > Subject: Re: [yocto] Error while buildng SGX > > On Thu, Apr 28, 2016 at 6:34 AM, Harinath maddelal > <Harinath.maddela@inedasystems.com> wrote: >> Hi all, >> >> >> When i build sgx using yocto, im getting following errors. >> >> The same builds fine when i use my local gcc of version 4.8.3. >> >> >> I have used 1.8.1 Yocto its using 4.9.2 gcc. >> >> >> Can you please help me resolve the issue. Thanks in advance >> >> >> Following is the console build error log > > Please provide compiler cmdline for the failing compile, most probably > its due to messed up -isystem > on cmdline > > ______________________________________________________________________ > This email has been scanned by the Symantec Email Security.cloud service. > For more information please visit http://www.symanteccloud.com > ______________________________________________________________________ > <log.do_compile> -- _______________________________________________ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto ______________________________________________________________________ This email has been scanned by the Symantec Email Security.cloud service. For more information please visit http://www.symanteccloud.com ______________________________________________________________________ ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Error while buildng SGX 2016-05-06 3:16 ` Harinath maddelal @ 2016-05-06 4:10 ` Khem Raj 0 siblings, 0 replies; 8+ messages in thread From: Khem Raj @ 2016-05-06 4:10 UTC (permalink / raw) To: Harinath maddelal; +Cc: yocto [-- Attachment #1: Type: text/plain, Size: 4328 bytes --] Did you investiagte a bit on the hints that has been provided On May 5, 2016 8:16 PM, "Harinath maddelal" < Harinath.maddela@inedasystems.com> wrote: > Hi > > Can you please help me in this > > Thanks and Regards, > Harinath > > > ________________________________________ > From: yocto-bounces@yoctoproject.org <yocto-bounces@yoctoproject.org> on > behalf of Harinath maddelal <Harinath.maddela@inedasystems.com> > Sent: Tuesday, May 3, 2016 11:13:13 AM > To: Khem Raj > Cc: yocto@yoctoproject.org > Subject: Re: [yocto] Error while buildng SGX > > Hi > > There is one point that i missed out in the last mail. > > We have earlier used yocto-1.7.3 and SGX was build fine. > Now we migrated to yocto-1.8.1 and the issue occurs > > Yocto-1.7.3 uses compiler of version mipsel-poky-linux-gcc-4.9.1 whereas > Yocto-1.8.1 uses version of mipsel-poky-linux-gcc-4.9.2 > > Is there any way to mention in the poky, to build Yocto-1.8.1 using > compiler mipsel-poky-linux-gcc-4.9.1 rather than it using > mipsel-poky-linux-gcc-4.9.2? > > > Thanks and Regards, > Harinath > > > ________________________________________ > From: Khem Raj <raj.khem@gmail.com> > Sent: Monday, May 2, 2016 9:15:58 PM > To: Harinath maddelal > Cc: yocto@yoctoproject.org > Subject: Re: [yocto] Error while buildng SGX > > > On May 1, 2016, at 10:44 PM, Harinath maddelal < > Harinath.maddela@inedasystems.com> wrote: > > > > Hi > > > >> The same builds fine when i use my local gcc of version 4.8.3. > > > > By this i mean we are using our local copy of mips > toolchain(mips-linux-gnu-gcc-4.8.3) > > > > So i have used poky mips toolchain to build the entire poky(except SGX). > > SGX is built with our local copy of mips toolchain (as it was giving the > build errors when built with poky mips toolchain, log file attached for > reference) > > SGX build system is probably hardcoding CC/CXX variables and not letting > environment to override it. When you build with poky, its important > that CC and CXX variables are effective in the components make system. > > > > > Is there any way to build the complete poky using local mips toolchain > rather than using the poky mips toolchain? I just want to know how to use > our local toolchain setup to build entire poky. > > you should look into external toolchain recipes, Some samples like > sourcery toolchain and Linaro toolchain are available as samples. > I for one would advise to not go this route. Since you are not able to > take advantage of integration that YP had done using internal > toolchain. > > > > > Kindly help me in this regard > > > > Thanks and Regards, > > Harinath > > > > > > ________________________________________ > > From: Khem Raj <raj.khem@gmail.com> > > Sent: Saturday, April 30, 2016 7:41:40 AM > > To: Harinath maddelal > > Cc: yocto@yoctoproject.org > > Subject: Re: [yocto] Error while buildng SGX > > > > On Thu, Apr 28, 2016 at 6:34 AM, Harinath maddelal > > <Harinath.maddela@inedasystems.com> wrote: > >> Hi all, > >> > >> > >> When i build sgx using yocto, im getting following errors. > >> > >> The same builds fine when i use my local gcc of version 4.8.3. > >> > >> > >> I have used 1.8.1 Yocto its using 4.9.2 gcc. > >> > >> > >> Can you please help me resolve the issue. Thanks in advance > >> > >> > >> Following is the console build error log > > > > Please provide compiler cmdline for the failing compile, most probably > > its due to messed up -isystem > > on cmdline > > > > ______________________________________________________________________ > > This email has been scanned by the Symantec Email Security.cloud service. > > For more information please visit http://www.symanteccloud.com > > ______________________________________________________________________ > > <log.do_compile> > > -- > _______________________________________________ > yocto mailing list > yocto@yoctoproject.org > https://lists.yoctoproject.org/listinfo/yocto > > ______________________________________________________________________ > This email has been scanned by the Symantec Email Security.cloud service. > For more information please visit http://www.symanteccloud.com > ______________________________________________________________________ > [-- Attachment #2: Type: text/html, Size: 5799 bytes --] ^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2016-05-06 4:11 UTC | newest] Thread overview: 8+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2016-04-28 13:34 Error while buildng SGX Harinath maddelal 2016-04-29 3:21 ` Harinath maddelal 2016-04-30 2:11 ` Khem Raj 2016-05-02 5:44 ` Harinath maddelal 2016-05-02 15:45 ` Khem Raj 2016-05-03 5:43 ` Harinath maddelal 2016-05-06 3:16 ` Harinath maddelal 2016-05-06 4:10 ` Khem Raj
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.