[meta-ti] Cannot compile omapdrm-pvr for A15
Denys Dmytriyenko
denys at ti.com
Wed Dec 16 09:44:51 PST 2015
On Tue, Dec 15, 2015 at 12:40:30PM -0800, Aymeric Dumaz wrote:
> 2015-12-15 11:49 GMT-08:00 Denys Dmytriyenko <denys at ti.com>:
> > On Tue, Dec 15, 2015 at 11:41:10AM -0800, Aymeric Dumaz wrote:
> >> Hello,
> >>
> >> I am trying to create an image with Qt5 for my BeagleBoard X15. I set
> >> up the build environment as explained in the Arago wiki, and add that
> >> my local.conf:
> >>
> >> IMAGE_INSTALL_append = " kernel-modules omap5-sgx-ddk-um-linux
> >> omapdrm-pvr libgbm libdrm libdrm-omap qtbase qtbase-plugins
> >> qtbase-fonts qtquick1 qtquick1-qmlplugins kmscube"
> >>
> >> But when it tries to compile omapdrm-pvr, it prints the following
> >> errors (same if I try with the OMAP5432 uEVM).
> >>
> >> I am missing something?
> >> Regards
> >
> > I see that you are using Daisy branch and 3.14 kernel. Make sure you build
> > against linux-ti-staging_3.14 kernel, as it is specifically patches with
> > necessary SGX API (like omap_gem_* symbols below).
>
> Thank you for your answer.
> I did a "cleansstate virtual/kernel" and rebuild omapdrm-pvr, which
> triggered the kernel to be rebuilt too.
> It is the correct version
> (linux-ti-staging-3.14.49+gitAUTOINC+e9cd4cc819-r7a-arago2), but
> omapdrm-pvr fails with the same errors.
Aymeric,
We've moved on to Fido setup with 4.1 kernel some time back and I personally
haven't tried Daisy/3.14 recently. Can you try Fido/4.1 as well?
Karthik,
Were you still using Daisy with 3.14 kernel? Have you had any issues with
omapdrm-pvr?
--
Denys
> >> $ MACHINE=am57xx-evm bitbake omapdrm-pvr
> >> NOTE: Started PRServer with DBfile: /tisdk/build/cache/prserv.sqlite3,
> >> IP: 127.0.0.1, PORT: 40922, PID: 19820
> >> Loading cache: 100%
> >> |########################################################| ETA:
> >> 00:00:00
> >> Loaded 2270 entries from dependency cache.
> >> Parsing recipes: 100%
> >> |######################################################| Time:
> >> 00:00:00
> >> Parsing of 1827 .bb files complete (1826 cached, 1 parsed). 2270
> >> targets, 212 skipped, 0 masked, 0 errors.
> >> WARNING: No recipes available for:
> >> /tisdk/sources/meta-arago/meta-arago-distro/recipes-connectivity/openssl/openssl_1.0.1m.bbappend
> >> NOTE: Resolving any missing task queue dependencies
> >>
> >> Build Configuration:
> >> BB_VERSION = "1.26.0"
> >> BUILD_SYS = "x86_64-linux"
> >> NATIVELSBSTRING = "Ubuntu-12.04"
> >> TARGET_SYS = "arm-linux-gnueabi"
> >> MACHINE = "am57xx-evm"
> >> DISTRO = "arago"
> >> DISTRO_VERSION = "2015.05"
> >> TUNE_FEATURES = "armv7a vfp thumb neon callconvention-hard cortexa15"
> >> TARGET_FPU = "vfp-neon"
> >> meta-arago-distro
> >> meta-arago-extras = "daisy:dc89e06d2a64f33d9e9662e6f7fe1f8466ff167c"
> >> meta-qt5 = "(nobranch):17eb158c6d2cd290b054b5bd54311aa44a02d04d"
> >> toolchain-layer
> >> meta-networking
> >> meta-ruby
> >> meta-oe = "daisy:d3d14d3fcca7fcde362cf0b31411dc4eea6d20aa"
> >> meta-ti = "daisy:090b02a104924886afd0fa79be7b5d08eebf071f"
> >> meta-linaro-toolchain = "daisy:06008235ca752fea678953e85adaa29a491d246b"
> >> meta = "daisy:e1a2540227250d854d5bba278634bcc9e7572cda"
> >>
> >> NOTE: Preparing RunQueue
> >> NOTE: Executing SetScene Tasks
> >> NOTE: Executing RunQueue Tasks
> >> ERROR: Function failed: do_compile (log file is located at
> >> /tisdk/build/arago-tmp-external-linaro-toolchain/work/am57xx_evm-linux-gnueabi/omapdrm-pvr/1.9.2253347-r7k/temp/log.do_compile.19911)
> >> ERROR: Logfile of failure stored in:
> >> /tisdk/build/arago-tmp-external-linaro-toolchain/work/am57xx_evm-linux-gnueabi/omapdrm-pvr/1.9.2253347-r7k/temp/log.do_compile.19911
> >> Log data follows:
> >> | DEBUG: Executing shell function do_compile
> >> | NOTE: make -j 8 -e MAKEFLAGS=
> >> KERNELDIR=/tisdk/build/arago-tmp-external-linaro-toolchain/sysroots/am57xx-evm/usr/src/kernel
> >> KERNEL_PATH=/tisdk/build/arago-tmp-external-linaro-toolchain/sysroots/am57xx-evm/usr/src/kernel
> >> KERNEL_SRC=/tisdk/build/arago-tmp-external-linaro-toolchain/sysroots/am57xx-evm/usr/src/kernel
> >> KERNEL_VERSION=3.14.49-ge9cd4cc CC=arm-linux-gnueabihf-gcc
> >> -mno-thumb-interwork -marm LD=arm-linux-gnueabihf-ld.bfd
> >> AR=arm-linux-gnueabihf-ar
> >> | ../config/core.mk:419: $(KERNELDIR)/vmlinux does not exist. Kbuild may fail.
> >> | CC [M] /tisdk/build/arago-tmp-external-linaro-toolchain/work/am57xx_evm-linux-gnueabi/omapdrm-pvr/1.9.2253347-r7k/git/eurasia_km/eurasiacon/binary2_omap5430_linux_release/target/kbuild/services4/srvkm/env/linux/mmap.o
> >> | /tisdk/build/arago-tmp-external-linaro-toolchain/work/am57xx_evm-linux-gnueabi/omapdrm-pvr/1.9.2253347-r7k/git/eurasia_km/eurasiacon/binary2_omap5430_linux_release/target/kbuild/services4/srvkm/env/linux/mmap.c:
> >> In function 'create_gem_wrapper':
> >> | /tisdk/build/arago-tmp-external-linaro-toolchain/work/am57xx_evm-linux-gnueabi/omapdrm-pvr/1.9.2253347-r7k/git/eurasia_km/eurasiacon/binary2_omap5430_linux_release/target/kbuild/services4/srvkm/env/linux/mmap.c:480:2:
> >> error: implicit declaration of function 'omap_gem_new_ext'
> >> [-Werror=implicit-function-declaration]
> >> | /tisdk/build/arago-tmp-external-linaro-toolchain/work/am57xx_evm-linux-gnueabi/omapdrm-pvr/1.9.2253347-r7k/git/eurasia_km/eurasiacon/binary2_omap5430_linux_release/target/kbuild/services4/srvkm/env/linux/mmap.c:480:2:
> >> error: return makes pointer from integer without a cast [-Werror]
> >> | /tisdk/build/arago-tmp-external-linaro-toolchain/work/am57xx_evm-linux-gnueabi/omapdrm-pvr/1.9.2253347-r7k/git/eurasia_km/eurasiacon/binary2_omap5430_linux_release/target/kbuild/services4/srvkm/env/linux/mmap.c:
> >> In function 'MMapVOpenExt':
> >> | /tisdk/build/arago-tmp-external-linaro-toolchain/work/am57xx_evm-linux-gnueabi/omapdrm-pvr/1.9.2253347-r7k/git/eurasia_km/eurasiacon/binary2_omap5430_linux_release/target/kbuild/services4/srvkm/env/linux/mmap.c:1370:2:
> >> error: implicit declaration of function 'omap_gem_priv'
> >> [-Werror=implicit-function-declaration]
> >> | /tisdk/build/arago-tmp-external-linaro-toolchain/work/am57xx_evm-linux-gnueabi/omapdrm-pvr/1.9.2253347-r7k/git/eurasia_km/eurasiacon/binary2_omap5430_linux_release/target/kbuild/services4/srvkm/env/linux/mmap.c:1370:15:
> >> error: initialization makes pointer from integer without a cast
> >> [-Werror]
> >> | /tisdk/build/arago-tmp-external-linaro-toolchain/work/am57xx_evm-linux-gnueabi/omapdrm-pvr/1.9.2253347-r7k/git/eurasia_km/eurasiacon/binary2_omap5430_linux_release/target/kbuild/services4/srvkm/env/linux/mmap.c:
> >> In function 'MMapVCloseExt':
> >> | /tisdk/build/arago-tmp-external-linaro-toolchain/work/am57xx_evm-linux-gnueabi/omapdrm-pvr/1.9.2253347-r7k/git/eurasia_km/eurasiacon/binary2_omap5430_linux_release/target/kbuild/services4/srvkm/env/linux/mmap.c:1384:15:
> >> error: initialization makes pointer from integer without a cast
> >> [-Werror]
> >> | /tisdk/build/arago-tmp-external-linaro-toolchain/work/am57xx_evm-linux-gnueabi/omapdrm-pvr/1.9.2253347-r7k/git/eurasia_km/eurasiacon/binary2_omap5430_linux_release/target/kbuild/services4/srvkm/env/linux/mmap.c:
> >> In function 'PVRMMapExt':
> >> | /tisdk/build/arago-tmp-external-linaro-toolchain/work/am57xx_evm-linux-gnueabi/omapdrm-pvr/1.9.2253347-r7k/git/eurasia_km/eurasiacon/binary2_omap5430_linux_release/target/kbuild/services4/srvkm/env/linux/mmap.c:1442:2:
> >> error: implicit declaration of function 'omap_gem_set_priv'
> >> [-Werror=implicit-function-declaration]
> >> | /tisdk/build/arago-tmp-external-linaro-toolchain/work/am57xx_evm-linux-gnueabi/omapdrm-pvr/1.9.2253347-r7k/git/eurasia_km/eurasiacon/binary2_omap5430_linux_release/target/kbuild/services4/srvkm/env/linux/mmap.c:
> >> At top level:
> >> | /tisdk/build/arago-tmp-external-linaro-toolchain/work/am57xx_evm-linux-gnueabi/omapdrm-pvr/1.9.2253347-r7k/git/eurasia_km/eurasiacon/binary2_omap5430_linux_release/target/kbuild/services4/srvkm/env/linux/mmap.c:1473:15:
> >> error: variable 'gem_ops' has initializer but incomplete type
> >> | /tisdk/build/arago-tmp-external-linaro-toolchain/work/am57xx_evm-linux-gnueabi/omapdrm-pvr/1.9.2253347-r7k/git/eurasia_km/eurasiacon/binary2_omap5430_linux_release/target/kbuild/services4/srvkm/env/linux/mmap.c:1474:3:
> >> error: unknown field 'open' specified in initializer
> >> | /tisdk/build/arago-tmp-external-linaro-toolchain/work/am57xx_evm-linux-gnueabi/omapdrm-pvr/1.9.2253347-r7k/git/eurasia_km/eurasiacon/binary2_omap5430_linux_release/target/kbuild/services4/srvkm/env/linux/mmap.c:1474:3:
> >> error: excess elements in struct initializer [-Werror]
> >> | /tisdk/build/arago-tmp-external-linaro-toolchain/work/am57xx_evm-linux-gnueabi/omapdrm-pvr/1.9.2253347-r7k/git/eurasia_km/eurasiacon/binary2_omap5430_linux_release/target/kbuild/services4/srvkm/env/linux/mmap.c:1474:3:
> >> error: (near initialization for 'gem_ops') [-Werror]
> >> | /tisdk/build/arago-tmp-external-linaro-toolchain/work/am57xx_evm-linux-gnueabi/omapdrm-pvr/1.9.2253347-r7k/git/eurasia_km/eurasiacon/binary2_omap5430_linux_release/target/kbuild/services4/srvkm/env/linux/mmap.c:1475:3:
> >> error: unknown field 'close' specified in initializer
> >> | /tisdk/build/arago-tmp-external-linaro-toolchain/work/am57xx_evm-linux-gnueabi/omapdrm-pvr/1.9.2253347-r7k/git/eurasia_km/eurasiacon/binary2_omap5430_linux_release/target/kbuild/services4/srvkm/env/linux/mmap.c:1475:3:
> >> error: excess elements in struct initializer [-Werror]
> >> | /tisdk/build/arago-tmp-external-linaro-toolchain/work/am57xx_evm-linux-gnueabi/omapdrm-pvr/1.9.2253347-r7k/git/eurasia_km/eurasiacon/binary2_omap5430_linux_release/target/kbuild/services4/srvkm/env/linux/mmap.c:1475:3:
> >> error: (near initialization for 'gem_ops') [-Werror]
> >> | /tisdk/build/arago-tmp-external-linaro-toolchain/work/am57xx_evm-linux-gnueabi/omapdrm-pvr/1.9.2253347-r7k/git/eurasia_km/eurasiacon/binary2_omap5430_linux_release/target/kbuild/services4/srvkm/env/linux/mmap.c:1476:3:
> >> error: unknown field 'mmap' specified in initializer
> >> | /tisdk/build/arago-tmp-external-linaro-toolchain/work/am57xx_evm-linux-gnueabi/omapdrm-pvr/1.9.2253347-r7k/git/eurasia_km/eurasiacon/binary2_omap5430_linux_release/target/kbuild/services4/srvkm/env/linux/mmap.c:1476:3:
> >> error: excess elements in struct initializer [-Werror]
> >> | /tisdk/build/arago-tmp-external-linaro-toolchain/work/am57xx_evm-linux-gnueabi/omapdrm-pvr/1.9.2253347-r7k/git/eurasia_km/eurasiacon/binary2_omap5430_linux_release/target/kbuild/services4/srvkm/env/linux/mmap.c:1476:3:
> >> error: (near initialization for 'gem_ops') [-Werror]
> >> | cc1: all warnings being treated as errors
> >> | make[3]: *** [/tisdk/build/arago-tmp-external-linaro-toolchain/work/am57xx_evm-linux-gnueabi/omapdrm-pvr/1.9.2253347-r7k/git/eurasia_km/eurasiacon/binary2_omap5430_linux_release/target/kbuild/services4/srvkm/env/linux/mmap.o]
> >> Error 1
> >> | make[2]: *** [_module_/tisdk/build/arago-tmp-external-linaro-toolchain/work/am57xx_evm-linux-gnueabi/omapdrm-pvr/1.9.2253347-r7k/git/eurasia_km/eurasiacon/binary2_omap5430_linux_release/target/kbuild]
> >> Error 2
> >> | make[1]: *** [kbuild] Error 2
> >> | make: *** [build] Error 2
> >> | ERROR: oe_runmake failed
> >> | WARNING: exit code 1 from a shell command.
> >> | ERROR: Function failed: do_compile (log file is located at
> >> /tisdk/build/arago-tmp-external-linaro-toolchain/work/am57xx_evm-linux-gnueabi/omapdrm-pvr/1.9.2253347-r7k/temp/log.do_compile.19911)
> >> ERROR: Task 8 (/tisdk/sources/meta-ti/recipes-bsp/powervr-drivers/omapdrm-pvr_1.9.2253347.bb,
> >> do_compile) failed with exit code '1'
> >> NOTE: Tasks Summary: Attempted 406 tasks of which 403 didn't need to
> >> be rerun and 1 failed.
> >> NOTE: Writing buildhistory
> >> Waiting for 0 running tasks to finish:
> >>
> >> Summary: 1 task failed:
> >> /tisdk/sources/meta-ti/recipes-bsp/powervr-drivers/omapdrm-pvr_1.9.2253347.bb,
> >> do_compile
> >> Summary: There was 1 WARNING message shown.
> >> Summary: There was 1 ERROR message shown, returning a non-zero exit code.
> >> --
> >> _______________________________________________
> >> meta-ti mailing list
> >> meta-ti at yoctoproject.org
> >> https://lists.yoctoproject.org/listinfo/meta-ti
>
>
>
> --
> Aymeric Dumaz
> Epita 2014
More information about the meta-ti
mailing list