All of lore.kernel.org
 help / color / mirror / Atom feed
* omap3-sgx-modules kernel 3.14
@ 2016-07-14 15:57 Daniel Gomez
  2016-07-14 16:29 ` Denys Dmytriyenko
  0 siblings, 1 reply; 5+ messages in thread
From: Daniel Gomez @ 2016-07-14 15:57 UTC (permalink / raw)
  To: meta-ti

[-- Attachment #1: Type: text/plain, Size: 7434 bytes --]

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?

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

[-- Attachment #2: Type: text/html, Size: 8662 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: omap3-sgx-modules kernel 3.14
  2016-07-14 15:57 omap3-sgx-modules kernel 3.14 Daniel Gomez
@ 2016-07-14 16:29 ` Denys Dmytriyenko
  2016-07-15  7:14   ` Daniel Gomez
  0 siblings, 1 reply; 5+ messages in thread
From: Denys Dmytriyenko @ 2016-07-14 16:29 UTC (permalink / raw)
  To: Daniel Gomez; +Cc: meta-ti

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



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: omap3-sgx-modules kernel 3.14
  2016-07-14 16:29 ` Denys Dmytriyenko
@ 2016-07-15  7:14   ` Daniel Gomez
  2016-07-18  8:34     ` Daniel Gomez
  2016-08-20  2:49     ` Denys Dmytriyenko
  0 siblings, 2 replies; 5+ messages in thread
From: Daniel Gomez @ 2016-07-15  7:14 UTC (permalink / raw)
  To: Denys Dmytriyenko; +Cc: meta-ti

[-- Attachment #1: Type: text/plain, Size: 8824 bytes --]

Hi Denys,

I'm using this kernel recipe (linux-mainline):

* Recipe:
meta-ti/recipes-kernel/linux-mainline-3.14.bb

$ bitbake -s
..
linux-mainline
:3.14.43-r0


omap3.inc file has not been modified:
poky/meta-ti/conf$ grep -r "linux" .
..
./machine/include/omap3.inc:PREFERRED_PROVIDER_virtual/kernel =
"linux-mainline"



Daniel Gómez

2016-07-14 18:29 GMT+02:00 Denys Dmytriyenko <denys@ti.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
>
>

[-- Attachment #2: Type: text/html, Size: 11606 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: omap3-sgx-modules kernel 3.14
  2016-07-15  7:14   ` Daniel Gomez
@ 2016-07-18  8:34     ` Daniel Gomez
  2016-08-20  2:49     ` Denys Dmytriyenko
  1 sibling, 0 replies; 5+ messages in thread
From: Daniel Gomez @ 2016-07-18  8:34 UTC (permalink / raw)
  To: Denys Dmytriyenko; +Cc: meta-ti

[-- Attachment #1: Type: text/plain, Size: 20799 bytes --]

Hi Denys,

I have repeated the same procedure in another environment and this is the
result:

HOST Environment:
* Kernel
Linux dgx1404 4.2.0-42-generic #49~14.04.1-Ubuntu SMP Wed Jun 29 20:22:11
UTC 2016 x86_64 x86_64 x86_64 GNU/Linux

* Distro
Distributor ID:    Ubuntu
Description:    Ubuntu 14.04.4 LTS
Release:    14.04
Codename:    trusty

# Steps:
$ git clone -b fido git://git.yoctoproject.org/poky
$ cd poky; git clone -b fido git://git.yoctoproject.org/meta-ti
$ source oe-env-xx

# added 'meta-ti' to conf/bblayers.conf
# added MACHINE ?= "beagleboard" into the conf/local.conf
# added PREFERRED_VERSION_omap3-sgx-modules = "5.01.01.01" into the
conf/local.conf
# added PREFERRED_VERSION_libgles-omap3 = "5.01.01.01" into the
conf/local.conf

$ bitbake omap3-sgx-modules -v

# output
Log data follows:
| DEBUG: Executing shell function do_compile
| +
| cd
|
/<path>/poky/build/tmp/work/beagleboard-poky-linux-gnueabi/omap3-sgx-modules/5.01.01.01-r126d/Graphics_SDK_5_01_01_01/GFX_Linux_KM
|
|
| +
| do_compile
|
|
| +
| module_do_compile
|
|
| +
| unset
|  CFLAGS
|  CPPFLAGS
|  CXXFLAGS
|  LDFLAGS
|
|
| +
| oe_runmake
|  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 SUPPORT_XORG=
| + oe_runmake_call
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 SUPPORT_XORG=
| + bbnote make -j 4 -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 SUPPORT_XORG=
| + echo NOTE: make -j 4 -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 SUPPORT_XORG=
| NOTE: make -j 4 -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 SUPPORT_XORG=
| + make -j 4 -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 SUPPORT_XORG=
|
| 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'
|
|   CC [M]
/<path>/poky/build/tmp/work/beagleboard-poky-linux-gnueabi/omap3-sgx-modules/5.01.01.01-r126d/Graphics_SDK_5_01_01_01/GFX_Linux_KM/services4/3rdparty/dc_omapfb3_linux/omaplfb_linux.o
|
|
/<path>/poky/build/tmp/work/beagleboard-poky-linux-gnueabi/omap3-sgx-modules/5.01.01.01-r126d/Graphics_SDK_5_01_01_01/GFX_Linux_KM/services4/3rdparty/dc_omapfb3_linux/omaplfb_linux.c:
In function 'OMAPLFBWaitForVSync':
|
|
/<path>/poky/build/tmp/work/beagleboard-poky-linux-gnueabi/omap3-sgx-modules/5.01.01.01-r126d/Graphics_SDK_5_01_01_01/GFX_Linux_KM/services4/3rdparty/dc_omapfb3_linux/omaplfb_linux.c:180:92:
error: 'struct omap_dss_device' has no member named 'output'
|  #define OMAP_DSS_MANAGER(man, dev) struct omap_overlay_manager *man =
(dev) != NULL ? (dev)->output->manager : NULL
|
^
|
/<path>/poky/build/tmp/work/beagleboard-poky-linux-gnueabi/omap3-sgx-modules/5.01.01.01-r126d/Graphics_SDK_5_01_01_01/GFX_Linux_KM/services4/3rdparty/dc_omapfb3_linux/omaplfb_linux.c:821:2:
note: in expansion of macro 'OMAP_DSS_MANAGER'
|   OMAP_DSS_MANAGER(psDSSMan, psDSSDev);
|   ^
|
| + cd
/<path>/poky/build/tmp/work/beagleboard-poky-linux-gnueabi/omap3-sgx-modules/5.01.01.01-r126d/Graphics_SDK_5_01_01_01/GFX_Linux_KM
| + do_compile
| + module_do_compile
| + unset CFLAGS CPPFLAGS CXXFLAGS LDFLAGS
| + oe_runmake
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 SUPPORT_XORG=
| + oe_runmake_call
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 SUPPORT_XORG=
| + bbnote make -j 4 -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 SUPPORT_XORG=
| + echo NOTE: make -j 4 -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 SUPPORT_XORG=
| NOTE: make -j 4 -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 SUPPORT_XORG=
| + make -j 4 -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 SUPPORT_XORG=
| 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'
|   CC [M]
/<path>/poky/build/tmp/work/beagleboard-poky-linux-gnueabi/omap3-sgx-modules/5.01.01.01-r126d/Graphics_SDK_5_01_01_01/GFX_Linux_KM/services4/3rdparty/dc_omapfb3_linux/omaplfb_linux.o
|
/<path>/poky/build/tmp/work/beagleboard-poky-linux-gnueabi/omap3-sgx-modules/5.01.01.01-r126d/Graphics_SDK_5_01_01_01/GFX_Linux_KM/services4/3rdparty/dc_omapfb3_linux/omaplfb_linux.c:
In function 'OMAPLFBWaitForVSync':
| /<path>/poky/build/tmpmake[4]: ***
[/<path>/poky/build/tmp/work/beagleboard-poky-linux-gnueabi/omap3-sgx-modules/5.01.01.01-r126d/Graphics_SDK_5_01_01_01/GFX_Linux_KM/services4/3rdparty/dc_omapfb3_linux/omaplfb_linux.o]
Error 1
|
| make[3]: ***
[/<path>/poky/build/tmp/work/beagleboard-poky-linux-gnueabi/omap3-sgx-modules/5.01.01.01-r126d/Graphics_SDK_5_01_01_01/GFX_Linux_KM/services4/3rdparty/dc_omapfb3_linux]
Error 2
|
| make[2]: ***
[_module_/<path>/poky/build/tmp/work/beagleboard-poky-linux-gnueabi/omap3-sgx-modules/5.01.01.01-r126d/Graphics_SDK_5_01_01_01/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
|
| + die oe_runmake failed
| + bbfatal oe_runmake failed
| + echo ERROR: oe_runmake failed
| ERROR: oe_runmake failed
| + exit 1
| + bb_exit_handler
| + ret=1
| + echo WARNING: exit code 1 from a shell command.
| WARNING: exit code 1 from a shell command.
| + exit 1
|
|
/work/beagleboard-poky-linux-gnueabi/omap3-sgx-modules/5.01.01.01-r126d/Graphics_SDK_5_01_01_01/GFX_Linux_KM/services4/3rdparty/dc_omapfb3_linux/omaplfb_linux.c:180:92:
error: 'struct omap_dss_device' has no member named 'output'
|  #define OMAP_DSS_MANAGER(man, dev) struct omap_overlay_manager *man =
(dev) != NULL ? (dev)->output->manager : NULL
|
^
|
/<path>/poky/build/tmp/work/beagleboard-poky-linux-gnueabi/omap3-sgx-modules/5.01.01.01-r126d/Graphics_SDK_5_01_01_01/GFX_Linux_KM/services4/3rdparty/dc_omapfb3_linux/omaplfb_linux.c:821:2:
note: in expansion of macro 'OMAP_DSS_MANAGER'
|   OMAP_DSS_MANAGER(psDSSMan, psDSSDev);
|   ^
| make[4]: ***
[/<path>/poky/build/tmp/work/beagleboard-poky-linux-gnueabi/omap3-sgx-modules/5.01.01.01-r126d/Graphics_SDK_5_01_01_01/GFX_Linux_KM/services4/3rdparty/dc_omapfb3_linux/omaplfb_linux.o]
Error 1
| make[3]: ***
[/<path>/poky/build/tmp/work/beagleboard-poky-linux-gnueabi/omap3-sgx-modules/5.01.01.01-r126d/Graphics_SDK_5_01_01_01/GFX_Linux_KM/services4/3rdparty/dc_omapfb3_linux]
Error 2
| make[2]: ***
[_module_/<path>/poky/build/tmp/work/beagleboard-poky-linux-gnueabi/omap3-sgx-modules/5.01.01.01-r126d/Graphics_SDK_5_01_01_01/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
| + die oe_runmake failed
| + bbfatal oe_runmake failed
| + echo ERROR: oe_runmake failed
| ERROR: oe_runmake failed
| + exit 1
| + bb_exit_handler
| + ret=1
| + echo WARNING: exit code 1 from a shell command.
| WARNING: exit code 1 from a shell command.
| + exit 1
| ERROR: Function failed: do_compile (log file is located at
/<path>/poky/build/tmp/work/beagleboard-poky-linux-gnueabi/omap3-sgx-modules/5.01.01.01-r126d/temp/log.do_compile.12455)
ERROR: Task 7 (/<path>/poky/meta-ti/recipes-bsp/powervr-drivers/
omap3-sgx-modules_5.01.01.01.bb, do_compile) failed with exit code '1'


There is any kernel patch needed to supply this output member? Or this
omaplfb_linux source file needs an update/patch?

Thank you in advance


Daniel Gómez

2016-07-15 9:14 GMT+02:00 Daniel Gomez <dgomez@iseebcn.com>:

> Hi Denys,
>
> I'm using this kernel recipe (linux-mainline):
>
> * Recipe:
> meta-ti/recipes-kernel/linux-mainline-3.14.bb
>
> $ bitbake -s
> ..
> linux-mainline
> :3.14.43-r0
>
>
> omap3.inc file has not been modified:
> poky/meta-ti/conf$ grep -r "linux" .
> ..
> ./machine/include/omap3.inc:PREFERRED_PROVIDER_virtual/kernel =
> "linux-mainline"
>
>
>
> Daniel Gómez
>
> 2016-07-14 18:29 GMT+02:00 Denys Dmytriyenko <denys@ti.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
>>
>>
>

[-- Attachment #2: Type: text/html, Size: 26756 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: omap3-sgx-modules kernel 3.14
  2016-07-15  7:14   ` Daniel Gomez
  2016-07-18  8:34     ` Daniel Gomez
@ 2016-08-20  2:49     ` Denys Dmytriyenko
  1 sibling, 0 replies; 5+ messages in thread
From: Denys Dmytriyenko @ 2016-08-20  2:49 UTC (permalink / raw)
  To: Daniel Gomez; +Cc: meta-ti

On Fri, Jul 15, 2016 at 09:14:23AM +0200, Daniel Gomez wrote:
> Hi Denys,
> 
> I'm using this kernel recipe (linux-mainline):
> 
> * Recipe:
> meta-ti/recipes-kernel/linux-mainline-3.14.bb

Only linux-ti-staging had necessary modifications required by omap3-sgx-modules

Originally the patches were external, but eventually they got picked up in the 
kernel tree used by linux-ti-staging recipe.

-- 
Denys


> $ bitbake -s
> ..
> linux-mainline
> :3.14.43-r0
> 
> 
> omap3.inc file has not been modified:
> poky/meta-ti/conf$ grep -r "linux" .
> ..
> ./machine/include/omap3.inc:PREFERRED_PROVIDER_virtual/kernel =
> "linux-mainline"
> 
> 
> 
> Daniel Gómez
> 
> 2016-07-14 18:29 GMT+02:00 Denys Dmytriyenko <denys@ti.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
> >
> >


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2016-08-20  2:49 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-07-14 15:57 omap3-sgx-modules kernel 3.14 Daniel Gomez
2016-07-14 16:29 ` Denys Dmytriyenko
2016-07-15  7:14   ` Daniel Gomez
2016-07-18  8:34     ` Daniel Gomez
2016-08-20  2:49     ` Denys Dmytriyenko

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.