bitbake glmark2
WARNING: You have included the meta-gnome layer, but 'x11' has not been enabled in your DISTRO_FEATURES. Some bbappend files may not take effect. See the meta-gnome README for details on enabling meta-gnome support.
Loading cache: 100% |###########################################################################################################################################################################################################################################| Time: 0:00:00
Loaded 3909 entries from dependency cache.
Parsing recipes: 100% |#########################################################################################################################################################################################################################################| Time: 0:00:07
Parsing of 2943 .bb files complete (2737 cached, 206 parsed). 4109 targets, 490 skipped, 2 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies
NOTE: preferred version 3.2.48 of bash not available (for item bash)
NOTE: versions of bash available: 4.4.18
NOTE: preferred version 3.2.48 of bash not available (for item bash-dev)
NOTE: versions of bash available: 4.4.18
Build Configuration:
BB_VERSION = "1.42.0"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING = "universal"
TARGET_SYS = "arm-poky-linux-gnueabi"
MACHINE = "fly"
DISTRO = "poky"
DISTRO_VERSION = "2.7.1"
TUNE_FEATURES = "arm armv7ve vfp thumb neon callconvention-hard"
TARGET_FPU = "hard"
meta
meta-poky
meta-yocto-bsp = "HEAD:4686af030cf4933bde640322f1f1e254949f5739"
meta-bosch-build = "HEAD:81aa956ccfadb1aced1f9ccbfe834d4a3c94b7bd"
staging = "<unknown>:<unknown>"
meta-bui35x
meta-bui3xx-common = "HEAD:2316467e69cdc85922d89ea5492b0bf641096abd"
meta-freescale = "HEAD:6f1a07fa91caa73f6555565bf2012cc576c771bc"
meta-qt5 = "HEAD:5f99fc56b827e62ba4acee12f8d9164b75e164f2"
meta-clang = "HEAD:1f8d62ee6de51361a23316733a42d0dd4ca67390"
meta-java = "HEAD:2fc78571483465ca2fc69d6bd77632acd35e0770"
meta-oe
meta-python
meta-gnome
meta-multimedia
meta-webserver
meta-filesystems
meta-xfce
meta-networking = "HEAD:67b55a2b0750f31fc03908a823f05a8a152c54e3"
Initialising tasks: 100% |######################################################################################################################################################################################################################################| Time: 0:00:03
Sstate summary: Wanted 5 Found 0 Missed 5 Current 335 (0% match, 98% complete)
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
ERROR: glmark2-20190205+AUTOINC+0c90dd48df-r0 do_configure: Function failed: do_configure (log file is located at /work/repo/smart/out/flypcb/tmp/work/armv7vet2hf-neon-imx-poky-linux-gnueabi/glmark2/20190205+AUTOINC+0c90dd48df-r0/temp/log.do_configure.31849)
ERROR: Logfile of failure stored in: /work/repo/smart/out/flypcb/tmp/work/armv7vet2hf-neon-imx-poky-linux-gnueabi/glmark2/20190205+AUTOINC+0c90dd48df-r0/temp/log.do_configure.31849
Log data follows:
| DEBUG: Executing python function waf_preconfigure
| DEBUG: Python function waf_preconfigure finished
| DEBUG: Executing shell function do_configure
| Setting top to : /work/repo/smart/out/flypcb/tmp/work/armv7vet2hf-neon-imx-poky-linux-gnueabi/glmark2/20190205+AUTOINC+0c90dd48df-r0/git
| Setting out to : /work/repo/smart/out/flypcb/tmp/work/armv7vet2hf-neon-imx-poky-linux-gnueabi/glmark2/20190205+AUTOINC+0c90dd48df-r0/build
| Checking for 'gcc' (C compiler) : arm-poky-linux-gnueabi-gcc -march=armv7ve -mthumb -mfpu=neon -mfloat-abi=hard -fstack-protector-strong -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=/work/repo/smart/out/flypcb/tmp/work/armv7vet2hf-neon-imx-poky-linux-gnueabi/glmark2/20190205+AUTOINC+0c90dd48df-r0/recipe-sysroot
| Checking for 'g++' (C++ compiler) : arm-poky-linux-gnueabi-g++ -march=armv7ve -mthumb -mfpu=neon -mfloat-abi=hard -fstack-protector-strong -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=/work/repo/smart/out/flypcb/tmp/work/armv7vet2hf-neon-imx-poky-linux-gnueabi/glmark2/20190205+AUTOINC+0c90dd48df-r0/recipe-sysroot
| Checking for header stdlib.h : yes
| Checking for header string.h : yes
| Checking for header unistd.h : yes
| Checking for header stdint.h : yes
| Checking for header stdio.h : yes
| Checking for header jpeglib.h : yes
| Checking for library m : yes
| Checking for library jpeg : yes
| Checking for function memset : yes
| Checking for function sqrt : yes
| Checking for program 'pkg-config' : /work/repo/smart/out/flypcb/tmp/work/armv7vet2hf-neon-imx-poky-linux-gnueabi/glmark2/20190205+AUTOINC+0c90dd48df-r0/recipe-sysroot-native/usr/bin/pkg-config
| Checking for 'libpng12' : not found
| Checking for 'libpng15' : not found
| Checking for 'libpng16' : yes
| Checking for 'x11' : not found
| Checking for 'gl' : not found
| The configuration failed
| (complete log in /work/repo/smart/out/flypcb/tmp/work/armv7vet2hf-neon-imx-poky-linux-gnueabi/glmark2/20190205+AUTOINC+0c90dd48df-r0/build/config.log)
| WARNING: exit code 1 from a shell command.
| ERROR: Function failed: do_configure (log file is located at /work/repo/smart/out/flypcb/tmp/work/armv7vet2hf-neon-imx-poky-linux-gnueabi/glmark2/20190205+AUTOINC+0c90dd48df-r0/temp/log.do_configure.31849)
ERROR: Task (/work/repo/smart/out/flypcb/../../build/yocto/meta-openembedded/meta-oe/recipes-benchmark/glmark2/glmark2_git.bb:do_configure) failed with exit code '1'
NOTE: Tasks Summary: Attempted 1411 tasks of which 1410 didn't need to be rerun and 1 failed.
Summary: 1 task failed:
/work/repo/smart/out/flypcb/../../build/yocto/meta-openembedded/meta-oe/recipes-benchmark/glmark2/glmark2_git.bb:do_configure
Summary: There was 1 WARNING message shown.
Summary: There was 1 ERROR message shown, returning a non-zero exit code.
Thank you for contacting NXP Support!
Hi @ravicalm!
I recommend following Yocto User Guide (Chapter 3 to Chapter 5):
https://www.nxp.com/docs/en/user-guide/IMX_YOCTO_PROJECT_USERS_GUIDE.pdf
I do the "bitbake glmark2" without problems for our iMX7ULP-EVK.
What steps are you following to compile your image?
What board do you have?
What kernel do you want to compile?
@Chavira this is an internal project , this project is not supporting any imx-realted things I will give what ever I have known
Operating System: Poky (Yocto Project Reference Distro) 2.7.1 (warrior)
Kernel: Linux 4.14.98
uname -a
Linux fly 4.14.98 #1 SMP PREEMPT Mon Jul 10 16:01:38 UTC 2023 armv7l GNU/Linux
build/yocto/poky/meta-yocto-bsp/conf : file content
# We have a conf and classes directory, add to BBPATH
BBPATH .= ":${LAYERDIR}"
# We have recipes-* directories, add to BBFILES
BBFILES += "${LAYERDIR}/recipes-*/*/*.bb \
${LAYERDIR}/recipes-*/*/*.bbappend"
BBFILE_COLLECTIONS += "yoctobsp"
BBFILE_PATTERN_yoctobsp = "^${LAYERDIR}/"
BBFILE_PRIORITY_yoctobsp = "5"
LAYERVERSION_yoctobsp = "4"
LAYERSERIES_COMPAT_yoctobsp = "warrior"
Hi @ravicalm!
Sorry, we only support our BSP for our boards.
But you can download our source code by following the link: