Wind River Support Network

HomeDefectsLIN6-3395
Not to be fixed

LIN6-3395 : freeglut building error for haswell

Created: Jun 28, 2013    Updated: Feb 23, 2018
Resolved Date: Feb 22, 2018
Previous ID: LIN5-2719, LIN6-2816
Found In Version: 6.0
Severity: Severe
Applicable for: Wind River Linux 6
Component/s: BSP - Async

Description

NOTE: Resolving any missing task queue dependencies
NOTE: Preparing runqueue
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
ERROR: Function failed: do_compile (see /new_build/bigworld/bitbake_build/tmp/work/haswell-wrsmllib32-linux/lib32-freeglut-2.8.0-r0/temp/do_compile/log.do_compile.28608 for further information)
ERROR: Logfile of failure stored in: /new_build/bigworld/bitbake_build/tmp/work/haswell-wrsmllib32-linux/lib32-freeglut-2.8.0-r0/temp/do_compile/log.do_compile.28608
Log data follows:
| DEBUG: SITE files ['endian-little', 'bit-32', 'ix86-common', 'common-linux', 'common-glibc', 'i586-linux', 'common']
| DEBUG: Executing shell function do_compile
| NOTE: make -j 4
| make  all-recursive
| make[1]: Entering directory `/new_build/bigworld/bitbake_build/tmp/work/haswell-wrsmllib32-linux/lib32-freeglut-2.8.0-r0/freeglut-2.8.0'
| Making all in src
| make[2]: Entering directory `/new_build/bigworld/bitbake_build/tmp/work/haswell-wrsmllib32-linux/lib32-freeglut-2.8.0-r0/freeglut-2.8.0/src'
| make[2]: Nothing to be done for `all'.
| make[2]: Leaving directory `/new_build/bigworld/bitbake_build/tmp/work/haswell-wrsmllib32-linux/lib32-freeglut-2.8.0-r0/freeglut-2.8.0/src'
| Making all in include
| make[2]: Entering directory `/new_build/bigworld/bitbake_build/tmp/work/haswell-wrsmllib32-linux/lib32-freeglut-2.8.0-r0/freeglut-2.8.0/include'
| Making all in GL
| make[3]: Entering directory `/new_build/bigworld/bitbake_build/tmp/work/haswell-wrsmllib32-linux/lib32-freeglut-2.8.0-r0/freeglut-2.8.0/include/GL'
| make[3]: Nothing to be done for `all'.
| make[3]: Leaving directory `/new_build/bigworld/bitbake_build/tmp/work/haswell-wrsmllib32-linux/lib32-freeglut-2.8.0-r0/freeglut-2.8.0/include/GL'
| make[3]: Entering directory `/new_build/bigworld/bitbake_build/tmp/work/haswell-wrsmllib32-linux/lib32-freeglut-2.8.0-r0/freeglut-2.8.0/include'
| make[3]: Nothing to be done for `all-am'.
| make[3]: Leaving directory `/new_build/bigworld/bitbake_build/tmp/work/haswell-wrsmllib32-linux/lib32-freeglut-2.8.0-r0/freeglut-2.8.0/include'
| make[2]: Leaving directory `/new_build/bigworld/bitbake_build/tmp/work/haswell-wrsmllib32-linux/lib32-freeglut-2.8.0-r0/freeglut-2.8.0/include'
| Making all in progs
| make[2]: Entering directory `/new_build/bigworld/bitbake_build/tmp/work/haswell-wrsmllib32-linux/lib32-freeglut-2.8.0-r0/freeglut-2.8.0/progs'
| Making all in demos
| make[3]: Entering directory `/new_build/bigworld/bitbake_build/tmp/work/haswell-wrsmllib32-linux/lib32-freeglut-2.8.0-r0/freeglut-2.8.0/progs/demos'
| Making all in CallbackMaker
| make[4]: Entering directory `/new_build/bigworld/bitbake_build/tmp/work/haswell-wrsmllib32-linux/lib32-freeglut-2.8.0-r0/freeglut-2.8.0/progs/demos/CallbackMaker'
| make[4]: Nothing to be done for `all'.
| make[4]: Leaving directory `/new_build/bigworld/bitbake_build/tmp/work/haswell-wrsmllib32-linux/lib32-freeglut-2.8.0-r0/freeglut-2.8.0/progs/demos/CallbackMaker'
| Making all in Fractals
| make[4]: Entering directory `/new_build/bigworld/bitbake_build/tmp/work/haswell-wrsmllib32-linux/lib32-freeglut-2.8.0-r0/freeglut-2.8.0/progs/demos/Fractals'
| make[4]: Nothing to be done for `all'.
| make[4]: Leaving directory `/new_build/bigworld/bitbake_build/tmp/work/haswell-wrsmllib32-linux/lib32-freeglut-2.8.0-r0/freeglut-2.8.0/progs/demos/Fractals'
| Making all in Fractals_random
| make[4]: Entering directory `/new_build/bigworld/bitbake_build/tmp/work/haswell-wrsmllib32-linux/lib32-freeglut-2.8.0-r0/freeglut-2.8.0/progs/demos/Fractals_random'
| make[4]: Nothing to be done for `all'.
| make[4]: Leaving directory `/new_build/bigworld/bitbake_build/tmp/work/haswell-wrsmllib32-linux/lib32-freeglut-2.8.0-r0/freeglut-2.8.0/progs/demos/Fractals_random'
| Making all in Lorenz
| make[4]: Entering directory `/new_build/bigworld/bitbake_build/tmp/work/haswell-wrsmllib32-linux/lib32-freeglut-2.8.0-r0/freeglut-2.8.0/progs/demos/Lorenz'
| make[4]: Nothing to be done for `all'.
| make[4]: Leaving directory `/new_build/bigworld/bitbake_build/tmp/work/haswell-wrsmllib32-linux/lib32-freeglut-2.8.0-r0/freeglut-2.8.0/progs/demos/Lorenz'
| Making all in One
| make[4]: Entering directory `/new_build/bigworld/bitbake_build/tmp/work/haswell-wrsmllib32-linux/lib32-freeglut-2.8.0-r0/freeglut-2.8.0/progs/demos/One'
| make[4]: Nothing to be done for `all'.
| make[4]: Leaving directory `/new_build/bigworld/bitbake_build/tmp/work/haswell-wrsmllib32-linux/lib32-freeglut-2.8.0-r0/freeglut-2.8.0/progs/demos/One'
| Making all in shapes
| make[4]: Entering directory `/new_build/bigworld/bitbake_build/tmp/work/haswell-wrsmllib32-linux/lib32-freeglut-2.8.0-r0/freeglut-2.8.0/progs/demos/shapes'
| make[4]: Nothing to be done for `all'.
| make[4]: Leaving directory `/new_build/bigworld/bitbake_build/tmp/work/haswell-wrsmllib32-linux/lib32-freeglut-2.8.0-r0/freeglut-2.8.0/progs/demos/shapes'
| Making all in smooth_opengl3
| make[4]: Entering directory `/new_build/bigworld/bitbake_build/tmp/work/haswell-wrsmllib32-linux/lib32-freeglut-2.8.0-r0/freeglut-2.8.0/progs/demos/smooth_opengl3'
| haswell-wrswrap-linux-gnu-gcc   -m32 --sysroot=/new_build/bigworld/bitbake_build/tmp/sysroots/lib32-intel-xeon-core-haswell -DHAVE_CONFIG_H -I. -I../../..    -I../../../include  -O2 -pipe -g -Wall -pedantic -c -o smooth_opengl3-smooth_opengl3.o `test -f 'smooth_opengl3.c' || echo './'`smooth_opengl3.c
| smooth_opengl3.c:106:25: error: conflicting types for 'PFNGLSHADERSOURCEPROC'
| In file included from /new_build/bigworld/bitbake_build/tmp/sysroots/lib32-intel-xeon-core-haswell/usr/include/GL/gl.h:2085:0,
|                  from ../../../include/GL/freeglut_std.h:122,
|                  from ../../../include/GL/freeglut.h:17,
|                  from smooth_opengl3.c:45:
| /new_build/bigworld/bitbake_build/tmp/sysroots/lib32-intel-xeon-core-haswell/usr/include/GL/glext.h:6699:25: note: previous declaration of 'PFNGLSHADERSOURCEPROC' was here
| make[4]: *** [smooth_opengl3-smooth_opengl3.o] Error 1
| make[4]: Leaving directory `/new_build/bigworld/bitbake_build/tmp/work/haswell-wrsmllib32-linux/lib32-freeglut-2.8.0-r0/freeglut-2.8.0/progs/demos/smooth_opengl3'
| make[3]: *** [all-recursive] Error 1
| make[3]: Leaving directory `/new_build/bigworld/bitbake_build/tmp/work/haswell-wrsmllib32-linux/lib32-freeglut-2.8.0-r0/freeglut-2.8.0/progs/demos'
| make[2]: *** [all-recursive] Error 1
| make[2]: Leaving directory `/new_build/bigworld/bitbake_build/tmp/work/haswell-wrsmllib32-linux/lib32-freeglut-2.8.0-r0/freeglut-2.8.0/progs'
| make[1]: *** [all-recursive] Error 1
| make[1]: Leaving directory `/new_build/bigworld/bitbake_build/tmp/work/haswell-wrsmllib32-linux/lib32-freeglut-2.8.0-r0/freeglut-2.8.0'
| make: *** [all] Error 2
| ERROR: oe_runmake failed
| WARNING: /new_build/bigworld/bitbake_build/tmp/work/haswell-wrsmllib32-linux/lib32-freeglut-2.8.0-r0/temp/do_compile/run.do_compile.28608:110 exit 1 from
|   exit 1
| ERROR: Function failed: do_compile (see /new_build/bigworld/bitbake_build/tmp/work/haswell-wrsmllib32-linux/lib32-freeglut-2.8.0-r0/temp/do_compile/log.do_compile.28608 for further information)
ERROR: Task 7 (virtual:multilib:lib32:/new_build/bigworld/layers/wr-features/recipes-graphics/freeglut/freeglut_2.8.0.bb, do_compile) failed with exit code '1'
NOTE: Tasks Summary: Attempted 1104 tasks of which 1103 didn't need to be rerun and 1 failed.
No currently running tasks (820 of 1110)

Summary: 1 task failed:
  virtual:multilib:lib32:/new_build/bigworld/layers/wr-features/recipes-graphics/freeglut/freeglut_2.8.0.bb, do_compile
Summary: There was 1 ERROR message shown, returning a non-zero exit code.
make: *** [lib32-freeglut] Error 1
make: Leaving directory `/new_build/bigworld/build'

Steps to Reproduce

1. /disk2/wrlinux-x/wrlinux/configure --enable-kernel=standard --enable-rootfs=glibc-std-sato --enable-board=intel-xeon-core-haswell --enable-test=yes --with-layer=wr-intel-support,wr-features,/disk2/wr-osve,meta-webserver --with-template=feature/intel-support,feature/intel-qat,feature/intel-dpdk,feature/intel-amt,feature/kexec,feature/kdump,feature/edac,feature/intel-ras,feature/target-toolchain --enable-internet-download=yes --enable-reconfig=yes --enable-parallel-pkgbuilds=8 --enable-jobs=4 

2. make -C build freeglut

Other Downloads


Live chat
Online