All of lore.kernel.org
 help / color / mirror / Atom feed
From: Denys Dmytriyenko <denys@ti.com>
To: Daniel Gomez <dgomez@iseebcn.com>
Cc: meta-ti@yoctoproject.org
Subject: Re: omap3-sgx-modules kernel 3.14
Date: Thu, 14 Jul 2016 12:29:13 -0400	[thread overview]
Message-ID: <20160714162913.GF32054@edge> (raw)
In-Reply-To: <CADqvwgO+fJYtxOf4pq7LaGWsMC0H_nrpQGR7Zf3zP_pSvnGqnw@mail.gmail.com>

On Thu, Jul 14, 2016 at 05:57:42PM +0200, Daniel Gomez wrote:
> Hi,
> 
> I'm trying to compile omap3-sgx-modules for the omap3 platform (omap3630)
> against 3.14 kernel version but several errors have appeared on bc_cat.c
> file compilation.
> 
> Is it possible to compile SDK 4.05 or higher against 3.13 or 3.14 kernel
> versions and get SGX acceleration?

What kernel recipe/tree is being used?


> Thank you
> 
> HOST Environment:
> * Kernel
> Linux xubuntu-VirtualBox 3.2.0-104-generic #145-Ubuntu SMP Thu Jun 9
> 09:53:59 UTC 2016 i686 i686 i386 GNU/Linux
> 
> * Distro
> Distributor ID:    Ubuntu
> Description:    Ubuntu 12.04.5 LTS
> Release:    12.04
> Codename:    precise
> 
> * poky:
> repo: git://git.yoctoproject.org/poky
> branch: fido
> 
> * meta-ti
> repo: git://git.yoctoproject.org/meta-ti
> branch: fido
> 
> * machine
> MACHINE=beagleboard
> 
> * recipe omap3-sgx-modules
> meta-ti/recipes-bsp/powervr-drivers/omap3-sgx-modules_4.05.00.03.bb
> TI_PLATFORM_omap3 = "omap3630"
> 
> # output
> $ MACHINE=beagleboard bitbake omap3-sgx-modules
> WARNING: Host distribution "Ubuntu-12.04" has not been validated with this
> version of the build system; you may possibly experience unexpected
> failures. It is recommended that you use a tested distribution.
> Loading cache: 100%
> |########################################################################################################################################################################################################|
> ETA:  00:00:00
> Loaded 2 entries from dependency cache.
> Parsing recipes: 100%
> |######################################################################################################################################################################################################|
> Time: 00:01:37
> Parsing of 1059 .bb files complete (1 cached, 1058 parsed). 1469 targets,
> 151 skipped, 0 masked, 0 errors.
> NOTE: Resolving any missing task queue dependencies
> 
> Build Configuration:
> BB_VERSION        = "1.26.0"
> BUILD_SYS         = "i686-linux"
> NATIVELSBSTRING   = "Ubuntu-12.04"
> TARGET_SYS        = "arm-poky-linux-gnueabi"
> MACHINE           = "beagleboard"
> DISTRO            = "poky"
> DISTRO_VERSION    = "1.8.2"
> TUNE_FEATURES     = "arm armv7a vfp thumb neon callconvention-hard cortexa8"
> TARGET_FPU        = "vfp-neon"
> meta
> meta-yocto
> meta-yocto-bsp    = "fido:c9f0a99050ec0050f0dbcd55d0cd2ab18848113f"
> meta-ti           = "fido:632ea21d490022bbca34ee43bda31bbe5678a779"
> 
> NOTE: Preparing RunQueue
> NOTE: Executing SetScene Tasks
> NOTE: Executing RunQueue Tasks
> WARNING: Failed to fetch URL
> http://www.openssl.org/source/old/1.0.2/openssl-1.0.2h.tar.gz, attempting
> MIRRORS if available
> WARNING:
> /<path>/poky/build/tmp/work/beagleboard-poky-linux-gnueabi/omap3-sgx-modules/4.05.00.03-r126c/Graphics_SDK_4_05_00_03/GFX_Linux_KM
> ('S') doesn't exist, please set 'S' to a proper value
> WARNING: TI installer requires 32bit glibc libraries for proper operation
> run 'yum install glibc.i686' on Fedora or 'apt-get install ia32-libs' on
> Ubuntu/Debian
> ERROR: Function failed: do_compile (log file is located at
> /<path>/poky/build/tmp/work/beagleboard-poky-linux-gnueabi/omap3-sgx-modules/4.05.00.03-r126c/temp/log.do_compile.6024)
> ERROR: Logfile of failure stored in:
> /<path>/poky/build/tmp/work/beagleboard-poky-linux-gnueabi/omap3-sgx-modules/4.05.00.03-r126c/temp/log.do_compile.6024
> Log data follows:
> | DEBUG: Executing shell function do_compile
> | NOTE: make -j 2 -e MAKEFLAGS=
> KERNEL_SRC=/<path>/poky/build/tmp/work-shared/beagleboard/kernel-source
> KERNEL_PATH=/<path>/poky/build/tmp/work-shared/beagleboard/kernel-source
> KERNEL_VERSION=3.14.43-g1325370701 CC=arm-poky-linux-gnueabi-gcc
>  -mno-thumb-interwork -marm LD=arm-poky-linux-gnueabi-ld.bfd
> AR=arm-poky-linux-gnueabi-ar
>  O=/<path>/poky/build/tmp/work-shared/beagleboard/kernel-build-artifacts
> BUILD=release TI_PLATFORM=omap3630
> | make -C /<path>/poky/build/tmp/work-shared/beagleboard/kernel-source
> M=`pwd`
> | make[1]: Entering directory
> `/<path>/poky/build/tmp/work-shared/beagleboard/kernel-source'
> |   LD
>  /<path>/poky/build/tmp/work/beagleboard-poky-linux-gnueabi/omap3-sgx-modules/4.05.00.03-r126c/Graphics_SDK_4_05_00_03/GFX_Linux_KM/services4/3rdparty/bufferclass_ti/built-in.o
> |   CC [M]
>  /<path>/poky/build/tmp/work/beagleboard-poky-linux-gnueabi/omap3-sgx-modules/4.05.00.03-r126c/Graphics_SDK_4_05_00_03/GFX_Linux_KM/services4/3rdparty/bufferclass_ti/bc_cat.o
> |
> /<path>/poky/build/tmp/work/beagleboard-poky-linux-gnueabi/omap3-sgx-modules/4.05.00.03-r126c/Graphics_SDK_4_05_00_03/GFX_Linux_KM/services4/3rdparty/bufferclass_ti/bc_cat.c:
> In function 'bc_cat_init':
> |
> /<path>/poky/build/tmp/work/beagleboard-poky-linux-gnueabi/omap3-sgx-modules/4.05.00.03-r126c/Graphics_SDK_4_05_00_03/GFX_Linux_KM/services4/3rdparty/bufferclass_ti/bc_cat.c:612:6:
> error: implicit declaration of function 'cpu_is_omap3530'
> [-Werror=implicit-function-declaration]
> |       width_align = cpu_is_omap3530() && ( omap_rev() <
> OMAP3430_REV_ES3_0 ) ? 32 : 8;
> |       ^
> |
> /<path>/poky/build/tmp/work/beagleboard-poky-linux-gnueabi/omap3-sgx-modules/4.05.00.03-r126c/Graphics_SDK_4_05_00_03/GFX_Linux_KM/services4/3rdparty/bufferclass_ti/bc_cat.c:612:6:
> error: implicit declaration of function 'omap_rev'
> [-Werror=implicit-function-declaration]
> |
> /<path>/poky/build/tmp/work/beagleboard-poky-linux-gnueabi/omap3-sgx-modules/4.05.00.03-r126c/Graphics_SDK_4_05_00_03/GFX_Linux_KM/services4/3rdparty/bufferclass_ti/bc_cat.c:612:56:
> error: 'OMAP3430_REV_ES3_0' undeclared (first use in this function)
> |       width_align = cpu_is_omap3530() && ( omap_rev() <
> OMAP3430_REV_ES3_0 ) ? 32 : 8;
> |                                                         ^
> |
> /<path>/poky/build/tmp/work/beagleboard-poky-linux-gnueabi/omap3-sgx-modules/4.05.00.03-r126c/Graphics_SDK_4_05_00_03/GFX_Linux_KM/services4/3rdparty/bufferclass_ti/bc_cat.c:612:56:
> note: each undeclared identifier is reported only once for each function it
> appears in
> | cc1: some warnings being treated as errors
> | make[4]: ***
> [/<path>/poky/build/tmp/work/beagleboard-poky-linux-gnueabi/omap3-sgx-modules/4.05.00.03-r126c/Graphics_SDK_4_05_00_03/GFX_Linux_KM/services4/3rdparty/bufferclass_ti/bc_cat.o]
> Error 1
> | make[3]: ***
> [/<path>/poky/build/tmp/work/beagleboard-poky-linux-gnueabi/omap3-sgx-modules/4.05.00.03-r126c/Graphics_SDK_4_05_00_03/GFX_Linux_KM/services4/3rdparty/bufferclass_ti]
> Error 2
> | make[2]: ***
> [_module_/<path>/poky/build/tmp/work/beagleboard-poky-linux-gnueabi/omap3-sgx-modules/4.05.00.03-r126c/Graphics_SDK_4_05_00_03/GFX_Linux_KM]
> Error 2
> | make[1]: *** [sub-make] Error 2
> | make[1]: Leaving directory
> `/<path>/poky/build/tmp/work-shared/beagleboard/kernel-source'
> | make: *** [all] Error 2
> | ERROR: oe_runmake failed
> | WARNING: exit code 1 from a shell command.
> | ERROR: Function failed: do_compile (log file is located at
> /<path>/poky/build/tmp/work/beagleboard-poky-linux-gnueabi/omap3-sgx-modules/4.05.00.03-r126c/temp/log.do_compile.6024)
> ERROR: Task 7 (/<path>/poky/meta-ti/recipes-bsp/powervr-drivers/
> omap3-sgx-modules_4.05.00.03.bb, do_compile) failed with exit code '1'
> NOTE: Tasks Summary: Attempted 417 tasks of which 0 didn't need to be rerun
> and 1 failed.
> Waiting for 0 running tasks to finish:
> 
> Summary: 1 task failed:
>   /<path>/poky/meta-ti/recipes-bsp/powervr-drivers/
> omap3-sgx-modules_4.05.00.03.bb, do_compile
> Summary: There were 4 WARNING messages shown.
> Summary: There was 1 ERROR message shown, returning a non-zero exit code.
> 
> Daniel Gómez

> -- 
> _______________________________________________
> meta-ti mailing list
> meta-ti@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-ti



  reply	other threads:[~2016-07-14 16:29 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-07-14 15:57 omap3-sgx-modules kernel 3.14 Daniel Gomez
2016-07-14 16:29 ` Denys Dmytriyenko [this message]
2016-07-15  7:14   ` Daniel Gomez
2016-07-18  8:34     ` Daniel Gomez
2016-08-20  2:49     ` Denys Dmytriyenko

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20160714162913.GF32054@edge \
    --to=denys@ti.com \
    --cc=dgomez@iseebcn.com \
    --cc=meta-ti@yoctoproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.