From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-vb0-f45.google.com (mail-vb0-f45.google.com [209.85.212.45]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by yocto-www.yoctoproject.org (Postfix) with ESMTPS id D50E9E014AB for ; Mon, 4 Mar 2013 11:02:32 -0800 (PST) Received: by mail-vb0-f45.google.com with SMTP id p1so1002381vbi.18 for ; Mon, 04 Mar 2013 11:02:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:message-id:date:from:user-agent:mime-version:to:cc :subject:references:in-reply-to:content-type :content-transfer-encoding; bh=6lXbFCExVVk+yC7r5Kby/wWCXXL/3IdjxEpthFS3tac=; b=xBxpLWGSiLHtMuhQNg9bwFrGpVADKKCwUIJNhoORikDLR05rk3RvCmxECuCFvz5Xk0 zFs5GqRid323wXU8HEq1rKG0flxKuV0niMG9Zcf/x6UQoDn2I8MLI+0dGVSJzYJPT9+C qwx5ArjLnnw2t+7YWrq6WV854jvXIUi/AhF5Y0LRlP87R2M7nsWYnMt8pBnpH9xL4xwv cCFZJ8SR81tf+5vcqEqBeae5NNJvFZj+O/VM7V9ZKdDdm55ZFJG4c1bYw47Qe7khgyEE SvWqhMvJqgkIG3I6DqQWCuwGOyiIuvaA8cC+EZotvrb7eJNhZ359eVCt/jYE6ePwBTIv +M0w== X-Received: by 10.220.222.133 with SMTP id ig5mr8226955vcb.32.1362423751779; Mon, 04 Mar 2013 11:02:31 -0800 (PST) Received: from goober.local ([75.76.228.60]) by mx.google.com with ESMTPS id cl9sm4877059vdb.3.2013.03.04.11.02.30 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 04 Mar 2013 11:02:31 -0800 (PST) Message-ID: <5134EFC5.6020609@gmail.com> Date: Mon, 04 Mar 2013 13:02:29 -0600 From: John Weber User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:17.0) Gecko/20130216 Thunderbird/17.0.3 MIME-Version: 1.0 To: Otavio Salvador References: <5130FC37.5020700@gmail.com> <5134EBA3.7020305@gmail.com> In-Reply-To: Cc: "meta-freescale@yoctoproject.org" Subject: Re: [master] Qt build failing during build of fsl-image-gui X-BeenThere: meta-freescale@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Usage and development list for the meta-fsl-* layers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Mar 2013 19:02:33 -0000 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit On 3/4/13 12:56 PM, Otavio Salvador wrote: > On Mon, Mar 4, 2013 at 3:44 PM, John Weber wrote: >> >> >> On 3/4/13 7:09 AM, Otavio Salvador wrote: >>> >>> On Fri, Mar 1, 2013 at 4:06 PM, John Weber wrote: >>>> >>>> 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 >>>> 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 >>> Iterator, >>>> typename MapFunctor, typename ReduceFunctor> >>>> inline ThreadEngineStarter startMappedReduced(Iterator begin, >>>> Iterator end, >>>> MapFunctor >>>> mapFunctor, ReduceFunctor reduceFunctor, >>>> ReduceOptions >>>> options) >>>> { >>>> typedef ReduceKernel >>>> Reducer; >>>> typedef MappedReducedKernel>>> 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? >>> >>> >>> 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 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. >> > > Are you using Yocto toolchain or another one? > I believe I'm using the Yocto toolchain: [john@192.168.0.125] /mnt/YOCTOFSL/fsl-community-bsp/build/tmp/sysroots/i686-linux/usr/bin/armv7a-vfp-neon-poky-linux-gnueabi > ./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.