Skip to contentSkip to conversation

Qt build failing during build of fsl-image-gui

master John Weber 3 participants 8 messages Mar 1, 2013 – Mar 8, 2013

lore
Share & tools
lore

John Weber

author
#0 lore raw

I'm attempting to build fsl-image-gui and I'm using master (synced a couple of days ago). It's failing consistently when compiling Qt:

| ERROR: oe_runmake failed
| ERROR: Function failed: do_compile (see /mnt/YOCTOFSL/fsl-community-bsp/build/tmp/work/wandboard_dual-poky-linux-gnueabi/qt4-x11-free/4.8.4-r51.3/temp/log.do_compile.1605 for further information)
ERROR: Task 418 (/mnt/YOCTOFSL/fsl-community-bsp/sources/poky/meta/recipes-qt/qt4/qt4-x11-free_4.8.4.bb, do_compile) failed with exit code '1'

Avoiding posting the entire log here. ;-) But, here is the error from a snipped of the log:

~~~~~~~~~~

| arm-poky-linux-gnueabi-g++  -march=armv7-a     -mthumb-interwork -mfloat-abi=softfp -mfpu=neon --sysroot=/mnt/YOCTOFSL/fsl-community-bsp/build/tmp/sysroots/wandboard-dual -c -O2 -pipe -g -feliminate-unused-debug-types -fpermissive -fvisibility-inlines-hidden -I/mnt/YOCTOFSL/fsl-community-bsp/build/tmp/sysroots/wandboard-dual/usr/include/mysql -I/mnt/YOCTOFSL/fsl-community-bsp/build/tmp/sysroots/wandboard-dual/usr/include/postgresql -I/mnt/YOCTOFSL/fsl-community-bsp/build/tmp/sysroots/wandboard-dual/usr/src/kernel/include/ -I/mnt/YOCTOFSL/fsl-community-bsp/build/tmp/sysroots/wandboard-dual/usr/include -I/mnt/YOCTOFSL/fsl-community-bsp/build/tmp/sysroots/wandboard-dual/usr/include/freetype2 -O2 -O2 -Wall -W -Wall -W -Wall -W -D_REENTRANT -DQT_WEBKIT -DQT_OPENGL_SUPPORT -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I../../mkspecs/linux-g++ -I. -I../../include/QtCore -I../../include/QtGui -I../../include/QtOpenGL -I../../include -I../shared -I/mnt/YOCTOFSL/fsl-community-bsp/build/tmp/sysroots/wandboard-dual/usr/include/freetype2 -I.moc/release-shared -o .obj/release-shared/main.o main.cpp
| In file included from ../../include/QtCore/qtconcurrentmapkernel.h:1:0,
|                  from ../../include/QtCore/../../src/corelib/concurrent/qtconcurrentfilterkernel.h:50,
|                  from ../../include/QtCore/qtconcurrentfilterkernel.h:1,
|                  from ../../include/QtCore/../../src/corelib/concurrent/qtconcurrentfilter.h:49,
|                  from ../../include/QtCore/qtconcurrentfilter.h:1,
|                  from ../../include/QtCore/QtCore:53,
|                  from ../../include/QtGui/QtGui:3,
|                  from gradients.h:47,
|                  from main.cpp:42:
| ../../include/QtCore/../../src/corelib/concurrent/qtconcurrentmapkernel.h: In function 'QtConcurrent::ThreadEngineStarter<ResultType> QtConcurrent::startMappedReduced(Iterator, Iterator, MapFunctor, ReduceFunctor, QtConcurrent::ReduceOptions)':
| ../../include/QtCore/../../src/corelib/concurrent/qtconcurrentmapkernel.h:262:1: error: expected primary-expression before '}' token
| ../../include/QtCore/../../src/corelib/concurrent/qtconcurrentmapkernel.h:262:1: error: expected ';' before '}' token
| make[2]: *** [.obj/release-shared/main.o] Error 1
| make[2]: Leaving directory `/mnt/YOCTOFSL/fsl-community-bsp/build/tmp/work/wandboard_dual-poky-linux-gnueabi/qt4-x11-free/4.8.4-r51.3/qt-everywhere-opensource-src-4.8.4/demos/gradients'
| make[1]: *** [sub-gradients-make_default] Error 2

~~~~~~~~~~

Taking a look at the source, I don't see a problem:
File: fsl-community-bsp/build/tmp/work/wandboard_dual-poky-linux-gnueabi/qt4-x11-free/4.8.4-r51.3/qt-everywhere-opensource-src-4.8.4/src/corelib/concurrent/qtconcurrentmapkernel.h:

~~~~~~~~
template <typename IntermediateType, typename ResultType, typename Iterator, typename MapFunctor, typename ReduceFunctor> inline ThreadEngineStarter<ResultType> startMappedReduced(Iterator begin, Iterator end,
MapFunctor
mapFunctor, ReduceFunctor reduceFunctor,
ReduceOptions options)
{
typedef ReduceKernel<ReduceFunctor, ResultType, IntermediateType> Reducer;
typedef MappedReducedKernel<ResultType, Iterator, MapFunctor,
ReduceFunctor, Reducer> MappedReduceType;
return startThreadEngine(new MappedReduceType(begin, end, mapFunctor,
reduceFunctor, options)); <<<<----- Line in question
}

} // namespace QtConcurrent
~~~~~~~~~

Is it possible that the problem is related to the toolchain?

John

author
#1 lore raw

I originally sent this to the meta-freescale list, but I thought I might see if someone on the main poky list might have some insight.

-------- Original Message --------
Subject: [master] Qt build failing during build of fsl-image-gui
Date: Fri, 01 Mar 2013 13:06:31 -0600
From: John Weber <[email protected]>
To: [email protected]

I'm attempting to build fsl-image-gui and I'm using master (synced a couple of days ago). It's failing consistently when compiling Qt:

| ERROR: oe_runmake failed
| ERROR: Function failed: do_compile (see /mnt/YOCTOFSL/fsl-community-bsp/build/tmp/work/wandboard_dual-poky-linux-gnueabi/qt4-x11-free/4.8.4-r51.3/temp/log.do_compile.1605

for further information)
ERROR: Task 418 (/mnt/YOCTOFSL/fsl-community-bsp/sources/poky/meta/recipes-qt/qt4/qt4-x11-free_4.8.4.bb,

do_compile) failed with exit code '1'

Avoiding posting the entire log here. ;-) But, here is the error from a snipped of the log:

~~~~~~~~~~
| arm-poky-linux-gnueabi-g++ -march=armv7-a -mthumb-interwork
-mfloat-abi=softfp -mfpu=neon --sysroot=/mnt/YOCTOFSL/fsl-community-bsp/build/tmp/sysroots/wandboard-dual -c -O2 -pipe -g -feliminate-unused-debug-types -fpermissive -fvisibility-inlines-hidden -I/mnt/YOCTOFSL/fsl-community-bsp/build/tmp/sysroots/wandboard-dual/usr/include/mysql

-I/mnt/YOCTOFSL/fsl-community-bsp/build/tmp/sysroots/wandboard-dual/usr/include/postgresql

-I/mnt/YOCTOFSL/fsl-community-bsp/build/tmp/sysroots/wandboard-dual/usr/src/kernel/include/

-I/mnt/YOCTOFSL/fsl-community-bsp/build/tmp/sysroots/wandboard-dual/usr/include -I/mnt/YOCTOFSL/fsl-community-bsp/build/tmp/sysroots/wandboard-dual/usr/include/freetype2

-O2 -O2 -Wall -W -Wall -W -Wall -W -D_REENTRANT -DQT_WEBKIT -DQT_OPENGL_SUPPORT -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I../../mkspecs/linux-g++ -I. -I../../include/QtCore -I../../include/QtGui -I../../include/QtOpenGL -I../../include -I../shared -I/mnt/YOCTOFSL/fsl-community-bsp/build/tmp/sysroots/wandboard-dual/usr/include/freetype2

-I.moc/release-shared -o .obj/release-shared/main.o main.cpp
| In file included from ../../include/QtCore/qtconcurrentmapkernel.h:1:0,
| from
../../include/QtCore/../../src/corelib/concurrent/qtconcurrentfilterkernel.h:50,

|                  from ../../include/QtCore/qtconcurrentfilterkernel.h:1,
|                  from
../../include/QtCore/../../src/corelib/concurrent/qtconcurrentfilter.h:49,
|                  from ../../include/QtCore/qtconcurrentfilter.h:1,
|                  from ../../include/QtCore/QtCore:53,
|                  from ../../include/QtGui/QtGui:3,
|                  from gradients.h:47,
|                  from main.cpp:42:
| ../../include/QtCore/../../src/corelib/concurrent/qtconcurrentmapkernel.h: In

function 'QtConcurrent::ThreadEngineStarter<ResultType>
QtConcurrent::startMappedReduced(Iterator, Iterator, MapFunctor, ReduceFunctor,
QtConcurrent::ReduceOptions)':
|
../../include/QtCore/../../src/corelib/concurrent/qtconcurrentmapkernel.h:262:1:
error: expected primary-expression before '}' token
|
../../include/QtCore/../../src/corelib/concurrent/qtconcurrentmapkernel.h:262:1:
error: expected ';' before '}' token
| make[2]: *** [.obj/release-shared/main.o] Error 1
| make[2]: Leaving directory `/mnt/YOCTOFSL/fsl-community-bsp/build/tmp/work/wandboard_dual-poky-linux-gnueabi/qt4-x11-free/4.8.4-r51.3/qt-everywhere-opensource-src-4.8.4/demos/gradients' | make[1]: *** [sub-gradients-make_default] Error 2
~~~~~~~~~~

Taking a look at the source, I don't see a problem:
File:
fsl-community-bsp/build/tmp/work/wandboard_dual-poky-linux-gnueabi/qt4-x11-free/4.8.4-r51.3/qt-everywhere-opensource-src-4.8.4/src/corelib/concurrent/qtconcurrentmapkernel.h:

~~~~~~~~
template <typename IntermediateType, typename ResultType, typename Iterator, typename MapFunctor, typename ReduceFunctor>
inline ThreadEngineStarter<ResultType> startMappedReduced(Iterator begin, Iterator end,
MapFunctor
mapFunctor, ReduceFunctor reduceFunctor,
ReduceOptions options)
{
typedef ReduceKernel<ReduceFunctor, ResultType, IntermediateType> Reducer; typedef MappedReducedKernel<ResultType, Iterator, MapFunctor,
ReduceFunctor, Reducer> MappedReduceType;
return startThreadEngine(new MappedReduceType(begin, end, mapFunctor,
reduceFunctor, options)); <<<<----- Line in question
}

} // namespace QtConcurrent
~~~~~~~~~

Is it possible that the problem is related to the toolchain?

John

#3 lore raw
In reply to John Weber
Quoted 81 lines · John Weber

I'm attempting to build fsl-image-gui and I'm using master (synced a couple of days ago). It's failing consistently when compiling Qt:

| ERROR: oe_runmake failed
| ERROR: Function failed: do_compile (see /mnt/YOCTOFSL/fsl-community-bsp/build/tmp/work/wandboard_dual-poky-linux-gnueabi/qt4-x11-free/4.8.4-r51.3/temp/log.do_compile.1605 for further information)
ERROR: Task 418
(/mnt/YOCTOFSL/fsl-community-bsp/sources/poky/meta/recipes-qt/qt4/qt4-x11-free_4.8.4.bb,
do_compile) failed with exit code '1'

Avoiding posting the entire log here. ;-) But, here is the error from a snipped of the log:

~~~~~~~~~~
| arm-poky-linux-gnueabi-g++ -march=armv7-a -mthumb-interwork

(quoted diff) +0 -16
-mfloat-abi=softfp -mfpu=neon
--sysroot=/mnt/YOCTOFSL/fsl-community-bsp/build/tmp/sysroots/wandboard-dual
-c -O2 -pipe -g -feliminate-unused-debug-types -fpermissive
-fvisibility-inlines-hidden
-I/mnt/YOCTOFSL/fsl-community-bsp/build/tmp/sysroots/wandboard-dual/usr/include/mysql
-I/mnt/YOCTOFSL/fsl-community-bsp/build/tmp/sysroots/wandboard-dual/usr/include/postgresql
-I/mnt/YOCTOFSL/fsl-community-bsp/build/tmp/sysroots/wandboard-dual/usr/src/kernel/include/
-I/mnt/YOCTOFSL/fsl-community-bsp/build/tmp/sysroots/wandboard-dual/usr/include
-I/mnt/YOCTOFSL/fsl-community-bsp/build/tmp/sysroots/wandboard-dual/usr/include/freetype2
-O2 -O2 -Wall -W -Wall -W -Wall -W -D_REENTRANT -DQT_WEBKIT
-DQT_OPENGL_SUPPORT -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_NO_DEBUG
-DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED
-I../../mkspecs/linux-g++ -I. -I../../include/QtCore -I../../include/QtGui
-I../../include/QtOpenGL -I../../include -I../shared
-I/mnt/YOCTOFSL/fsl-community-bsp/build/tmp/sysroots/wandboard-dual/usr/include/freetype2
-I.moc/release-shared -o .obj/release-shared/main.o main.cpp

| In file included from ../../include/QtCore/qtconcurrentmapkernel.h:1:0,
| from
../../include/QtCore/../../src/corelib/concurrent/qtconcurrentfilterkernel.h:50,

|                  from ../../include/QtCore/qtconcurrentfilterkernel.h:1,
|                  from
../../include/QtCore/../../src/corelib/concurrent/qtconcurrentfilter.h:49,
|                  from ../../include/QtCore/qtconcurrentfilter.h:1,
|                  from ../../include/QtCore/QtCore:53,
|                  from ../../include/QtGui/QtGui:3,
|                  from gradients.h:47,
|                  from main.cpp:42:
| ../../include/QtCore/../../src/corelib/concurrent/qtconcurrentmapkernel.h:

In function 'QtConcurrent::ThreadEngineStarter<ResultType>
QtConcurrent::startMappedReduced(Iterator, Iterator, MapFunctor,
ReduceFunctor, QtConcurrent::ReduceOptions)':
|
../../include/QtCore/../../src/corelib/concurrent/qtconcurrentmapkernel.h:262:1:
error: expected primary-expression before '}' token
|
../../include/QtCore/../../src/corelib/concurrent/qtconcurrentmapkernel.h:262:1:
error: expected ';' before '}' token
| make[2]: *** [.obj/release-shared/main.o] Error 1
| make[2]: Leaving directory `/mnt/YOCTOFSL/fsl-community-bsp/build/tmp/work/wandboard_dual-poky-linux-gnueabi/qt4-x11-free/4.8.4-r51.3/qt-everywhere-opensource-src-4.8.4/demos/gradients' | make[1]: *** [sub-gradients-make_default] Error 2
~~~~~~~~~~

Taking a look at the source, I don't see a problem:
File:
fsl-community-bsp/build/tmp/work/wandboard_dual-poky-linux-gnueabi/qt4-x11-free/4.8.4-r51.3/qt-everywhere-opensource-src-4.8.4/src/corelib/concurrent/qtconcurrentmapkernel.h:

~~~~~~~~
template <typename IntermediateType, typename ResultType, typename Iterator, typename MapFunctor, typename ReduceFunctor>
inline ThreadEngineStarter<ResultType> startMappedReduced(Iterator begin, Iterator end,
MapFunctor
mapFunctor, ReduceFunctor reduceFunctor,
ReduceOptions
options)
{
typedef ReduceKernel<ReduceFunctor, ResultType, IntermediateType>
Reducer;
typedef MappedReducedKernel<ResultType, Iterator, MapFunctor,
ReduceFunctor, Reducer> MappedReduceType;
return startThreadEngine(new MappedReduceType(begin, end, mapFunctor,
reduceFunctor, options)); <<<<----- Line in question
}

Quoted 4 lines

} // namespace QtConcurrent
~~~~~~~~~

Is it possible that the problem is related to the toolchain?

Can you do a repo sync and give it a new try? I did a full build during weekend and I had no problem.

Signature · 3 lines
Otavio Salvador                             O.S. Systems
E-mail: [email protected]  http://www.ossystems.com.br
Mobile: +55 53 9981-7854              http://projetos.ossystems.com.br
author
#4 lore raw
Quoted 82 lines · Otavio Salvador
Quoted 81 lines · John Weber

I'm attempting to build fsl-image-gui and I'm using master (synced a couple of days ago). It's failing consistently when compiling Qt:

| ERROR: oe_runmake failed
| ERROR: Function failed: do_compile (see /mnt/YOCTOFSL/fsl-community-bsp/build/tmp/work/wandboard_dual-poky-linux-gnueabi/qt4-x11-free/4.8.4-r51.3/temp/log.do_compile.1605 for further information)
ERROR: Task 418
(/mnt/YOCTOFSL/fsl-community-bsp/sources/poky/meta/recipes-qt/qt4/qt4-x11-free_4.8.4.bb,
do_compile) failed with exit code '1'

Avoiding posting the entire log here. ;-) But, here is the error from a snipped of the log:

~~~~~~~~~~
| arm-poky-linux-gnueabi-g++ -march=armv7-a -mthumb-interwork

(quoted diff) +0 -16
-mfloat-abi=softfp -mfpu=neon
--sysroot=/mnt/YOCTOFSL/fsl-community-bsp/build/tmp/sysroots/wandboard-dual
-c -O2 -pipe -g -feliminate-unused-debug-types -fpermissive
-fvisibility-inlines-hidden
-I/mnt/YOCTOFSL/fsl-community-bsp/build/tmp/sysroots/wandboard-dual/usr/include/mysql
-I/mnt/YOCTOFSL/fsl-community-bsp/build/tmp/sysroots/wandboard-dual/usr/include/postgresql
-I/mnt/YOCTOFSL/fsl-community-bsp/build/tmp/sysroots/wandboard-dual/usr/src/kernel/include/
-I/mnt/YOCTOFSL/fsl-community-bsp/build/tmp/sysroots/wandboard-dual/usr/include
-I/mnt/YOCTOFSL/fsl-community-bsp/build/tmp/sysroots/wandboard-dual/usr/include/freetype2
-O2 -O2 -Wall -W -Wall -W -Wall -W -D_REENTRANT -DQT_WEBKIT
-DQT_OPENGL_SUPPORT -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_NO_DEBUG
-DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED
-I../../mkspecs/linux-g++ -I. -I../../include/QtCore -I../../include/QtGui
-I../../include/QtOpenGL -I../../include -I../shared
-I/mnt/YOCTOFSL/fsl-community-bsp/build/tmp/sysroots/wandboard-dual/usr/include/freetype2
-I.moc/release-shared -o .obj/release-shared/main.o main.cpp

| In file included from ../../include/QtCore/qtconcurrentmapkernel.h:1:0,
| from
../../include/QtCore/../../src/corelib/concurrent/qtconcurrentfilterkernel.h:50,

|                  from ../../include/QtCore/qtconcurrentfilterkernel.h:1,
|                  from
../../include/QtCore/../../src/corelib/concurrent/qtconcurrentfilter.h:49,
|                  from ../../include/QtCore/qtconcurrentfilter.h:1,
|                  from ../../include/QtCore/QtCore:53,
|                  from ../../include/QtGui/QtGui:3,
|                  from gradients.h:47,
|                  from main.cpp:42:
| ../../include/QtCore/../../src/corelib/concurrent/qtconcurrentmapkernel.h:

In function 'QtConcurrent::ThreadEngineStarter<ResultType>
QtConcurrent::startMappedReduced(Iterator, Iterator, MapFunctor,
ReduceFunctor, QtConcurrent::ReduceOptions)':
|
../../include/QtCore/../../src/corelib/concurrent/qtconcurrentmapkernel.h:262:1:
error: expected primary-expression before '}' token
|
../../include/QtCore/../../src/corelib/concurrent/qtconcurrentmapkernel.h:262:1:
error: expected ';' before '}' token
| make[2]: *** [.obj/release-shared/main.o] Error 1
| make[2]: Leaving directory `/mnt/YOCTOFSL/fsl-community-bsp/build/tmp/work/wandboard_dual-poky-linux-gnueabi/qt4-x11-free/4.8.4-r51.3/qt-everywhere-opensource-src-4.8.4/demos/gradients' | make[1]: *** [sub-gradients-make_default] Error 2
~~~~~~~~~~

Taking a look at the source, I don't see a problem:
File:
fsl-community-bsp/build/tmp/work/wandboard_dual-poky-linux-gnueabi/qt4-x11-free/4.8.4-r51.3/qt-everywhere-opensource-src-4.8.4/src/corelib/concurrent/qtconcurrentmapkernel.h:

~~~~~~~~
template <typename IntermediateType, typename ResultType, typename Iterator, typename MapFunctor, typename ReduceFunctor>
inline ThreadEngineStarter<ResultType> startMappedReduced(Iterator begin, Iterator end,
MapFunctor
mapFunctor, ReduceFunctor reduceFunctor,
ReduceOptions
options)
{
typedef ReduceKernel<ReduceFunctor, ResultType, IntermediateType>
Reducer;
typedef MappedReducedKernel<ResultType, Iterator, MapFunctor,
ReduceFunctor, Reducer> MappedReduceType;
return startThreadEngine(new MappedReduceType(begin, end, mapFunctor,
reduceFunctor, options)); <<<<----- Line in question
}

Quoted 8 lines
Quoted 4 lines

} // namespace QtConcurrent
~~~~~~~~~

Is it possible that the problem is related to the toolchain?

Can you do a repo sync and give it a new try? I did a full build during weekend and I had no problem.

I did a repo sync, removed the tmp directory completely, and reran bitbake fsl-image-gui. It still had a problem building QT4, but the error is now different:

~~~~~~~~~~~~~~~~

| schema/qxsdschemachecker.cpp: In member function 'void QPatternist::XsdSchemaChecker::checkConstrainingFacets(const Hash&, const Ptr&)':
| schema/qxsdschemachecker.cpp:1616:1: internal compiler error: Segmentation fault
| Please submit a full bug report,
| with preprocessed source if appropriate.
| See <http://gcc.gnu.org/bugs.html> for instructions.
| make[1]: *** [.obj/release-shared/qxsdschemachecker.o] Error 1
| make[1]: *** Waiting for unfinished jobs....

~~~~~~~~~~~~~~~

I've seen this before, but the error resolved itself after multiple attempts. This makes me think that it could be a build parallelism/dependency problem (currently set to -j 2). I'm attempting the build again now.

#5 lore raw
Quoted 134 lines · John Weber
Quoted 106 lines · Otavio Salvador
Quoted 104 lines · John Weber

I'm attempting to build fsl-image-gui and I'm using master (synced a couple
of days ago). It's failing consistently when compiling Qt:

| ERROR: oe_runmake failed
| ERROR: Function failed: do_compile (see

/mnt/YOCTOFSL/fsl-community-bsp/build/tmp/work/wandboard_dual-poky-linux-gnueabi/qt4-x11-free/4.8.4-r51.3/temp/log.do_compile.1605 for further information)
ERROR: Task 418

(/mnt/YOCTOFSL/fsl-community-bsp/sources/poky/meta/recipes-qt/qt4/qt4-x11-free_4.8.4.bb, do_compile) failed with exit code '1'

Avoiding posting the entire log here. ;-) But, here is the error from a snipped of the log:

~~~~~~~~~~
| arm-poky-linux-gnueabi-g++ -march=armv7-a -mthumb-interwork

(quoted diff) +0 -18
-mfloat-abi=softfp -mfpu=neon
 
--sysroot=/mnt/YOCTOFSL/fsl-community-bsp/build/tmp/sysroots/wandboard-dual
-c -O2 -pipe -g -feliminate-unused-debug-types -fpermissive
-fvisibility-inlines-hidden
 
-I/mnt/YOCTOFSL/fsl-community-bsp/build/tmp/sysroots/wandboard-dual/usr/include/mysql
 
-I/mnt/YOCTOFSL/fsl-community-bsp/build/tmp/sysroots/wandboard-dual/usr/include/postgresql
 
-I/mnt/YOCTOFSL/fsl-community-bsp/build/tmp/sysroots/wandboard-dual/usr/src/kernel/include/
 
-I/mnt/YOCTOFSL/fsl-community-bsp/build/tmp/sysroots/wandboard-dual/usr/include
 
-I/mnt/YOCTOFSL/fsl-community-bsp/build/tmp/sysroots/wandboard-dual/usr/include/freetype2
-O2 -O2 -Wall -W -Wall -W -Wall -W -D_REENTRANT -DQT_WEBKIT
-DQT_OPENGL_SUPPORT -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE
-DQT_NO_DEBUG
-DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED
-I../../mkspecs/linux-g++ -I. -I../../include/QtCore
-I../../include/QtGui
-I../../include/QtOpenGL -I../../include -I../shared
 
-I/mnt/YOCTOFSL/fsl-community-bsp/build/tmp/sysroots/wandboard-dual/usr/include/freetype2
-I.moc/release-shared -o .obj/release-shared/main.o main.cpp

| In file included from ../../include/QtCore/qtconcurrentmapkernel.h:1:0,
| from

../../include/QtCore/../../src/corelib/concurrent/qtconcurrentfilterkernel.h:50,
| from
../../include/QtCore/qtconcurrentfilterkernel.h:1,
| from

../../include/QtCore/../../src/corelib/concurrent/qtconcurrentfilter.h:49,

|                  from ../../include/QtCore/qtconcurrentfilter.h:1,
|                  from ../../include/QtCore/QtCore:53,
|                  from ../../include/QtGui/QtGui:3,
|                  from gradients.h:47,
|                  from main.cpp:42:
|

../../include/QtCore/../../src/corelib/concurrent/qtconcurrentmapkernel.h:
In function 'QtConcurrent::ThreadEngineStarter<ResultType> QtConcurrent::startMappedReduced(Iterator, Iterator, MapFunctor, ReduceFunctor, QtConcurrent::ReduceOptions)':
|

../../include/QtCore/../../src/corelib/concurrent/qtconcurrentmapkernel.h:262:1:
error: expected primary-expression before '}' token
|

../../include/QtCore/../../src/corelib/concurrent/qtconcurrentmapkernel.h:262:1:
error: expected ';' before '}' token
| make[2]: *** [.obj/release-shared/main.o] Error 1
| make[2]: Leaving directory

`/mnt/YOCTOFSL/fsl-community-bsp/build/tmp/work/wandboard_dual-poky-linux-gnueabi/qt4-x11-free/4.8.4-r51.3/qt-everywhere-opensource-src-4.8.4/demos/gradients' | make[1]: *** [sub-gradients-make_default] Error 2
~~~~~~~~~~

Taking a look at the source, I don't see a problem:
File:

fsl-community-bsp/build/tmp/work/wandboard_dual-poky-linux-gnueabi/qt4-x11-free/4.8.4-r51.3/qt-everywhere-opensource-src-4.8.4/src/corelib/concurrent/qtconcurrentmapkernel.h:

~~~~~~~~
template <typename IntermediateType, typename ResultType, typename Iterator,
typename MapFunctor, typename ReduceFunctor>
inline ThreadEngineStarter<ResultType> startMappedReduced(Iterator begin, Iterator end,
MapFunctor
mapFunctor, ReduceFunctor reduceFunctor,
ReduceOptions
options)
{
typedef ReduceKernel<ReduceFunctor, ResultType, IntermediateType>
Reducer;
typedef MappedReducedKernel<ResultType, Iterator, MapFunctor,
ReduceFunctor, Reducer> MappedReduceType;
return startThreadEngine(new MappedReduceType(begin, end,
mapFunctor,
reduceFunctor, options)); <<<<----- Line in question
}

Quoted 9 lines
Quoted 4 lines

} // namespace QtConcurrent
~~~~~~~~~

Is it possible that the problem is related to the toolchain?

Can you do a repo sync and give it a new try? I did a full build during weekend and I had no problem.

I did a repo sync, removed the tmp directory completely, and reran bitbake fsl-image-gui. It still had a problem building QT4, but the error is now different:

~~~~~~~~~~~~~~~~
| schema/qxsdschemachecker.cpp: In member function 'void QPatternist::XsdSchemaChecker::checkConstrainingFacets(const Hash&, const Ptr&)':
| schema/qxsdschemachecker.cpp:1616:1: internal compiler error: Segmentation fault

| Please submit a full bug report,
| with preprocessed source if appropriate.
| See <http://gcc.gnu.org/bugs.html> for instructions.
| make[1]: *** [.obj/release-shared/qxsdschemachecker.o] Error 1
| make[1]: *** Waiting for unfinished jobs....
Quoted 7 lines

~~~~~~~~~~~~~~~

I've seen this before, but the error resolved itself after multiple attempts. This makes me think that it could be a build parallelism/dependency problem (currently set to -j 2). I'm attempting the build again now.

Are you using Yocto toolchain or another one?

Signature · 3 lines
Otavio Salvador                             O.S. Systems
E-mail: [email protected]  http://www.ossystems.com.br
Mobile: +55 53 9981-7854              http://projetos.ossystems.com.br
author
#6 lore raw
Quoted 137 lines · Otavio Salvador
Quoted 136 lines · John Weber
Quoted 106 lines · Otavio Salvador
Quoted 104 lines · John Weber

I'm attempting to build fsl-image-gui and I'm using master (synced a couple
of days ago). It's failing consistently when compiling Qt:

| ERROR: oe_runmake failed
| ERROR: Function failed: do_compile (see

/mnt/YOCTOFSL/fsl-community-bsp/build/tmp/work/wandboard_dual-poky-linux-gnueabi/qt4-x11-free/4.8.4-r51.3/temp/log.do_compile.1605 for further information)
ERROR: Task 418

(/mnt/YOCTOFSL/fsl-community-bsp/sources/poky/meta/recipes-qt/qt4/qt4-x11-free_4.8.4.bb, do_compile) failed with exit code '1'

Avoiding posting the entire log here. ;-) But, here is the error from a snipped of the log:

~~~~~~~~~~
| arm-poky-linux-gnueabi-g++ -march=armv7-a -mthumb-interwork

(quoted diff) +0 -18
-mfloat-abi=softfp -mfpu=neon
 
--sysroot=/mnt/YOCTOFSL/fsl-community-bsp/build/tmp/sysroots/wandboard-dual
-c -O2 -pipe -g -feliminate-unused-debug-types -fpermissive
-fvisibility-inlines-hidden
 
-I/mnt/YOCTOFSL/fsl-community-bsp/build/tmp/sysroots/wandboard-dual/usr/include/mysql
 
-I/mnt/YOCTOFSL/fsl-community-bsp/build/tmp/sysroots/wandboard-dual/usr/include/postgresql
 
-I/mnt/YOCTOFSL/fsl-community-bsp/build/tmp/sysroots/wandboard-dual/usr/src/kernel/include/
 
-I/mnt/YOCTOFSL/fsl-community-bsp/build/tmp/sysroots/wandboard-dual/usr/include
 
-I/mnt/YOCTOFSL/fsl-community-bsp/build/tmp/sysroots/wandboard-dual/usr/include/freetype2
-O2 -O2 -Wall -W -Wall -W -Wall -W -D_REENTRANT -DQT_WEBKIT
-DQT_OPENGL_SUPPORT -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE
-DQT_NO_DEBUG
-DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED
-I../../mkspecs/linux-g++ -I. -I../../include/QtCore
-I../../include/QtGui
-I../../include/QtOpenGL -I../../include -I../shared
 
-I/mnt/YOCTOFSL/fsl-community-bsp/build/tmp/sysroots/wandboard-dual/usr/include/freetype2
-I.moc/release-shared -o .obj/release-shared/main.o main.cpp

| In file included from ../../include/QtCore/qtconcurrentmapkernel.h:1:0,
| from

../../include/QtCore/../../src/corelib/concurrent/qtconcurrentfilterkernel.h:50,
| from
../../include/QtCore/qtconcurrentfilterkernel.h:1,
| from

../../include/QtCore/../../src/corelib/concurrent/qtconcurrentfilter.h:49,

|                  from ../../include/QtCore/qtconcurrentfilter.h:1,
|                  from ../../include/QtCore/QtCore:53,
|                  from ../../include/QtGui/QtGui:3,
|                  from gradients.h:47,
|                  from main.cpp:42:
|

../../include/QtCore/../../src/corelib/concurrent/qtconcurrentmapkernel.h:
In function 'QtConcurrent::ThreadEngineStarter<ResultType> QtConcurrent::startMappedReduced(Iterator, Iterator, MapFunctor, ReduceFunctor, QtConcurrent::ReduceOptions)':
|

../../include/QtCore/../../src/corelib/concurrent/qtconcurrentmapkernel.h:262:1:
error: expected primary-expression before '}' token
|

../../include/QtCore/../../src/corelib/concurrent/qtconcurrentmapkernel.h:262:1:
error: expected ';' before '}' token
| make[2]: *** [.obj/release-shared/main.o] Error 1
| make[2]: Leaving directory

`/mnt/YOCTOFSL/fsl-community-bsp/build/tmp/work/wandboard_dual-poky-linux-gnueabi/qt4-x11-free/4.8.4-r51.3/qt-everywhere-opensource-src-4.8.4/demos/gradients' | make[1]: *** [sub-gradients-make_default] Error 2
~~~~~~~~~~

Taking a look at the source, I don't see a problem:
File:

fsl-community-bsp/build/tmp/work/wandboard_dual-poky-linux-gnueabi/qt4-x11-free/4.8.4-r51.3/qt-everywhere-opensource-src-4.8.4/src/corelib/concurrent/qtconcurrentmapkernel.h:

~~~~~~~~
template <typename IntermediateType, typename ResultType, typename Iterator,
typename MapFunctor, typename ReduceFunctor>
inline ThreadEngineStarter<ResultType> startMappedReduced(Iterator begin, Iterator end,
MapFunctor
mapFunctor, ReduceFunctor reduceFunctor,
ReduceOptions
options)
{
typedef ReduceKernel<ReduceFunctor, ResultType, IntermediateType>
Reducer;
typedef MappedReducedKernel<ResultType, Iterator, MapFunctor,
ReduceFunctor, Reducer> MappedReduceType;
return startThreadEngine(new MappedReduceType(begin, end,
mapFunctor,
reduceFunctor, options)); <<<<----- Line in question
}

Quoted 9 lines
Quoted 4 lines

} // namespace QtConcurrent
~~~~~~~~~

Is it possible that the problem is related to the toolchain?

Can you do a repo sync and give it a new try? I did a full build during weekend and I had no problem.

I did a repo sync, removed the tmp directory completely, and reran bitbake fsl-image-gui. It still had a problem building QT4, but the error is now different:

~~~~~~~~~~~~~~~~
| schema/qxsdschemachecker.cpp: In member function 'void QPatternist::XsdSchemaChecker::checkConstrainingFacets(const Hash&, const Ptr&)':
| schema/qxsdschemachecker.cpp:1616:1: internal compiler error: Segmentation fault

| Please submit a full bug report,
| with preprocessed source if appropriate.
| See <http://gcc.gnu.org/bugs.html> for instructions.
| make[1]: *** [.obj/release-shared/qxsdschemachecker.o] Error 1
| make[1]: *** Waiting for unfinished jobs....

~~~~~~~~~~~~~~~

Quoted 8 lines
Quoted 5 lines

I've seen this before, but the error resolved itself after multiple attempts. This makes me think that it could be a build parallelism/dependency problem (currently set to -j 2). I'm attempting the build again now.

Are you using Yocto toolchain or another one?

I believe I'm using the Yocto toolchain:
[[email protected]] /mnt/YOCTOFSL/fsl-community-bsp/build/tmp/sysroots/i686-linux/usr/bin/armv7a-vfp-neon-poky-linux-gnueabi

Quoted 1 line

./arm-poky-linux-gnueabi-gcc --version

arm-poky-linux-gnueabi-gcc (GCC) 4.7.2
Copyright (C) 2012 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

#7 lore raw
Quoted 181 lines · John Weber
Quoted 164 lines · Otavio Salvador
Quoted 162 lines · John Weber
Quoted 131 lines · Otavio Salvador
Quoted 128 lines · John Weber

I'm attempting to build fsl-image-gui and I'm using master (synced a couple
of days ago). It's failing consistently when compiling Qt:

| ERROR: oe_runmake failed
| ERROR: Function failed: do_compile (see

/mnt/YOCTOFSL/fsl-community-bsp/build/tmp/work/wandboard_dual-poky-linux-gnueabi/qt4-x11-free/4.8.4-r51.3/temp/log.do_compile.1605 for further information)
ERROR: Task 418

(/mnt/YOCTOFSL/fsl-community-bsp/sources/poky/meta/recipes-qt/qt4/qt4-x11-free_4.8.4.bb, do_compile) failed with exit code '1'

Avoiding posting the entire log here. ;-) But, here is the error from a
snipped of the log:

~~~~~~~~~~
| arm-poky-linux-gnueabi-g++ -march=armv7-a -mthumb-interwork

(quoted diff) +0 -18
-mfloat-abi=softfp -mfpu=neon
 
 
--sysroot=/mnt/YOCTOFSL/fsl-community-bsp/build/tmp/sysroots/wandboard-dual
-c -O2 -pipe -g -feliminate-unused-debug-types -fpermissive
-fvisibility-inlines-hidden
 
 
-I/mnt/YOCTOFSL/fsl-community-bsp/build/tmp/sysroots/wandboard-dual/usr/include/mysql
 
 
-I/mnt/YOCTOFSL/fsl-community-bsp/build/tmp/sysroots/wandboard-dual/usr/include/postgresql
 
 
-I/mnt/YOCTOFSL/fsl-community-bsp/build/tmp/sysroots/wandboard-dual/usr/src/kernel/include/
 
 
-I/mnt/YOCTOFSL/fsl-community-bsp/build/tmp/sysroots/wandboard-dual/usr/include
 
 
-I/mnt/YOCTOFSL/fsl-community-bsp/build/tmp/sysroots/wandboard-dual/usr/include/freetype2
-O2 -O2 -Wall -W -Wall -W -Wall -W -D_REENTRANT -DQT_WEBKIT
-DQT_OPENGL_SUPPORT -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE
-DQT_NO_DEBUG
-DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED
-I../../mkspecs/linux-g++ -I. -I../../include/QtCore
-I../../include/QtGui
-I../../include/QtOpenGL -I../../include -I../shared
 
 
-I/mnt/YOCTOFSL/fsl-community-bsp/build/tmp/sysroots/wandboard-dual/usr/include/freetype2
-I.moc/release-shared -o .obj/release-shared/main.o main.cpp

| In file included from
../../include/QtCore/qtconcurrentmapkernel.h:1:0,
| from

../../include/QtCore/../../src/corelib/concurrent/qtconcurrentfilterkernel.h:50,
| from
../../include/QtCore/qtconcurrentfilterkernel.h:1,
| from

../../include/QtCore/../../src/corelib/concurrent/qtconcurrentfilter.h:49,

|                  from ../../include/QtCore/qtconcurrentfilter.h:1,
|                  from ../../include/QtCore/QtCore:53,
|                  from ../../include/QtGui/QtGui:3,
|                  from gradients.h:47,
|                  from main.cpp:42:
|

../../include/QtCore/../../src/corelib/concurrent/qtconcurrentmapkernel.h:
In function 'QtConcurrent::ThreadEngineStarter<ResultType> QtConcurrent::startMappedReduced(Iterator, Iterator, MapFunctor, ReduceFunctor, QtConcurrent::ReduceOptions)':
|

../../include/QtCore/../../src/corelib/concurrent/qtconcurrentmapkernel.h:262:1:
error: expected primary-expression before '}' token
|

../../include/QtCore/../../src/corelib/concurrent/qtconcurrentmapkernel.h:262:1:
error: expected ';' before '}' token
| make[2]: *** [.obj/release-shared/main.o] Error 1
| make[2]: Leaving directory

`/mnt/YOCTOFSL/fsl-community-bsp/build/tmp/work/wandboard_dual-poky-linux-gnueabi/qt4-x11-free/4.8.4-r51.3/qt-everywhere-opensource-src-4.8.4/demos/gradients' | make[1]: *** [sub-gradients-make_default] Error 2
~~~~~~~~~~

Taking a look at the source, I don't see a problem:
File:

fsl-community-bsp/build/tmp/work/wandboard_dual-poky-linux-gnueabi/qt4-x11-free/4.8.4-r51.3/qt-everywhere-opensource-src-4.8.4/src/corelib/concurrent/qtconcurrentmapkernel.h:

~~~~~~~~
template <typename IntermediateType, typename ResultType, typename Iterator,
typename MapFunctor, typename ReduceFunctor>
inline ThreadEngineStarter<ResultType> startMappedReduced(Iterator begin,
Iterator end,
MapFunctor
mapFunctor, ReduceFunctor reduceFunctor,

ReduceOptions
options)
{
typedef ReduceKernel<ReduceFunctor, ResultType, IntermediateType>
Reducer;
typedef MappedReducedKernel<ResultType, Iterator, MapFunctor,
ReduceFunctor, Reducer> MappedReduceType;
return startThreadEngine(new MappedReduceType(begin, end,
mapFunctor,
reduceFunctor, options)); <<<<----- Line in question
}

} // namespace QtConcurrent
~~~~~~~~~

Quoted 7 lines
Quoted 1 line

Is it possible that the problem is related to the toolchain?

Can you do a repo sync and give it a new try? I did a full build during weekend and I had no problem.

I did a repo sync, removed the tmp directory completely, and reran bitbake
fsl-image-gui. It still had a problem building QT4, but the error is now different:

~~~~~~~~~~~~~~~~
| schema/qxsdschemachecker.cpp: In member function 'void QPatternist::XsdSchemaChecker::checkConstrainingFacets(const Hash&, const Ptr&)':
| schema/qxsdschemachecker.cpp:1616:1: internal compiler error:
Segmentation
fault

| Please submit a full bug report,
| with preprocessed source if appropriate.
| See <http://gcc.gnu.org/bugs.html> for instructions.
| make[1]: *** [.obj/release-shared/qxsdschemachecker.o] Error 1
| make[1]: *** Waiting for unfinished jobs....

~~~~~~~~~~~~~~~

Quoted 9 lines
Quoted 6 lines

I've seen this before, but the error resolved itself after multiple attempts. This makes me think that it could be a build parallelism/dependency problem (currently set to -j 2). I'm attempting the
build again now.

Are you using Yocto toolchain or another one?

I believe I'm using the Yocto toolchain:
[[email protected]] /mnt/YOCTOFSL/fsl-community-bsp/build/tmp/sysroots/i686-linux/usr/bin/armv7a-vfp-neon-poky-linux-gnueabi

Quoted 1 line
Quoted 6 lines
Quoted 1 line

./arm-poky-linux-gnueabi-gcc --version

arm-poky-linux-gnueabi-gcc (GCC) 4.7.2
Copyright (C) 2012 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Hum; yes you're using it.

I'd say you to send an e-mail to oe-core mailing list.

Signature · 3 lines
Otavio Salvador                             O.S. Systems
E-mail: [email protected]  http://www.ossystems.com.br
Mobile: +55 53 9981-7854              http://projetos.ossystems.com.br
#2 lore raw
In reply to John Weber
Quoted 20 lines · John Weber

I originally sent this to the meta-freescale list, but I thought I might see if someone on the main poky list might have some insight.

-------- Original Message --------
Subject: [master] Qt build failing during build of fsl-image-gui
Date: Fri, 01 Mar 2013 13:06:31 -0600
From: John Weber <[email protected]>
To: [email protected]

I'm attempting to build fsl-image-gui and I'm using master (synced a couple of days ago). It's failing consistently when compiling Qt:

| ERROR: oe_runmake failed
| ERROR: Function failed: do_compile (see /mnt/YOCTOFSL/fsl-community-bsp/build/tmp/work/wandboard_dual-poky-linux-gnueabi/qt4-x11-free/4.8.4-r51.3/temp/log.do_compile.1605 for further information)
ERROR: Task 418
(/mnt/YOCTOFSL/fsl-community-bsp/sources/poky/meta/recipes-qt/qt4/qt4-x11-free_4.8.4.bb,
do_compile) failed with exit code '1'

Quoted 3 lines

Avoiding posting the entire log here. ;-) But, here is the error from a snipped of the log:

preprocess this file and pastebin it

Quoted 45 lines

~~~~~~~~~~
| arm-poky-linux-gnueabi-g++ -march=armv7-a -mthumb-interwork

(quoted diff) +0 -16
-mfloat-abi=softfp -mfpu=neon
--sysroot=/mnt/YOCTOFSL/fsl-community-bsp/build/tmp/sysroots/wandboard-dual -c
-O2 -pipe -g -feliminate-unused-debug-types -fpermissive
-fvisibility-inlines-hidden
-I/mnt/YOCTOFSL/fsl-community-bsp/build/tmp/sysroots/wandboard-dual/usr/include/mysql 
-I/mnt/YOCTOFSL/fsl-community-bsp/build/tmp/sysroots/wandboard-dual/usr/include/postgresql 
-I/mnt/YOCTOFSL/fsl-community-bsp/build/tmp/sysroots/wandboard-dual/usr/src/kernel/include/ 
-I/mnt/YOCTOFSL/fsl-community-bsp/build/tmp/sysroots/wandboard-dual/usr/include
-I/mnt/YOCTOFSL/fsl-community-bsp/build/tmp/sysroots/wandboard-dual/usr/include/freetype2 
-O2 -O2 -Wall -W -Wall -W -Wall -W -D_REENTRANT -DQT_WEBKIT -DQT_OPENGL_SUPPORT
-D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_NO_DEBUG -DQT_OPENGL_LIB
-DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I../../mkspecs/linux-g++ -I.
-I../../include/QtCore -I../../include/QtGui -I../../include/QtOpenGL
-I../../include -I../shared
-I/mnt/YOCTOFSL/fsl-community-bsp/build/tmp/sysroots/wandboard-dual/usr/include/freetype2 
-I.moc/release-shared -o .obj/release-shared/main.o main.cpp

| In file included from ../../include/QtCore/qtconcurrentmapkernel.h:1:0,
| from
../../include/QtCore/../../src/corelib/concurrent/qtconcurrentfilterkernel.h:50,

|                  from ../../include/QtCore/qtconcurrentfilterkernel.h:1,
|                  from
../../include/QtCore/../../src/corelib/concurrent/qtconcurrentfilter.h:49,
|                  from ../../include/QtCore/qtconcurrentfilter.h:1,
|                  from ../../include/QtCore/QtCore:53,
|                  from ../../include/QtGui/QtGui:3,
|                  from gradients.h:47,
|                  from main.cpp:42:
| ../../include/QtCore/../../src/corelib/concurrent/qtconcurrentmapkernel.h: In

function 'QtConcurrent::ThreadEngineStarter<ResultType>
QtConcurrent::startMappedReduced(Iterator, Iterator, MapFunctor, ReduceFunctor,
QtConcurrent::ReduceOptions)':
|
../../include/QtCore/../../src/corelib/concurrent/qtconcurrentmapkernel.h:262:1:
error: expected primary-expression before '}' token
|
../../include/QtCore/../../src/corelib/concurrent/qtconcurrentmapkernel.h:262:1:
error: expected ';' before '}' token
| make[2]: *** [.obj/release-shared/main.o] Error 1
| make[2]: Leaving directory `/mnt/YOCTOFSL/fsl-community-bsp/build/tmp/work/wandboard_dual-poky-linux-gnueabi/qt4-x11-free/4.8.4-r51.3/qt-everywhere-opensource-src-4.8.4/demos/gradients' | make[1]: *** [sub-gradients-make_default] Error 2
~~~~~~~~~~

Quoted 1 line

Taking a look at the source, I don't see a problem:

sometimes typedefs or defines are missing elsewhere.

Quoted 19 lines

File:
fsl-community-bsp/build/tmp/work/wandboard_dual-poky-linux-gnueabi/qt4-x11-free/4.8.4-r51.3/qt-everywhere-opensource-src-4.8.4/src/corelib/concurrent/qtconcurrentmapkernel.h:

~~~~~~~~
template <typename IntermediateType, typename ResultType, typename Iterator, typename MapFunctor, typename ReduceFunctor>
inline ThreadEngineStarter<ResultType> startMappedReduced(Iterator begin, Iterator end,
MapFunctor
mapFunctor, ReduceFunctor reduceFunctor,
ReduceOptions options)
{
typedef ReduceKernel<ReduceFunctor, ResultType, IntermediateType> Reducer; typedef MappedReducedKernel<ResultType, Iterator, MapFunctor,
ReduceFunctor, Reducer> MappedReduceType;
return startThreadEngine(new MappedReduceType(begin, end, mapFunctor,
reduceFunctor, options)); <<<<----- Line in question
}

Quoted 5 lines

} // namespace QtConcurrent
~~~~~~~~~

Is it possible that the problem is related to the toolchain?

less likely but could be.

Quoted 7 lines

John

_______________________________________________
poky mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/poky