From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 96CFEE00AC0; Wed, 5 Aug 2015 02:27:18 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on yocto-www.yoctoproject.org X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.1 X-Spam-HAM-Report: * -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low * trust * [85.31.212.142 listed in list.dnswl.org] * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] X-Greylist: delayed 125 seconds by postgrey-1.32 at yocto-www; Wed, 05 Aug 2015 02:27:11 PDT Received: from fx802.security-mail.net (smtpout140.security-mail.net [85.31.212.142]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 51997E00A97 for ; Wed, 5 Aug 2015 02:27:11 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by fx802.security-mail.net (MTA) with SMTP id C8222F8B3A3 for ; Wed, 5 Aug 2015 11:25:01 +0200 (CEST) Received: from fx802 (localhost [127.0.0.1]) by fx802.security-mail.net (MTA) with ESMTP id 257C7F8B397 for ; Wed, 5 Aug 2015 11:25:01 +0200 (CEST) X-Virus-Scanned: E-securemail x-secugrey: score=-10 x-secugrey: filter=out_default,id=20150805112500-23257-00007,score=-20 Received: from cg92.security-mail.net (cg92.security-mail.net [172.16.248.92]) by fx802.security-mail.net (MTA) with ESMTPS id 84322F8B362 for ; Wed, 5 Aug 2015 11:25:00 +0200 (CEST) Received: by cg92.security-mail.net (MTA, from userid 0) id 7F9DE13B61; Wed, 5 Aug 2015 11:25:00 +0200 (CEST) Received: from [89.91.77.218] (account julien.carbonnier@analogway.com HELO [192.168.0.72]) by mails.optimails.com (CommuniGate Pro SMTP 6.0.11) with ESMTPSA id 1841689178 for meta-freescale@yoctoproject.org; Wed, 05 Aug 2015 11:25:00 +0200 Message-ID: <55C1D66A.2020403@analogway.com> Date: Wed, 05 Aug 2015 11:24:58 +0200 From: Julien CARBONNIER User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.8.0 MIME-Version: 1.0 To: "meta-freescale@yoctoproject.org" X-Virus-Scanned: by Security-Mail Subject: Unable to compile Qt5 Application in Release Mode 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: Wed, 05 Aug 2015 09:27:18 -0000 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Hi, I'm on branch "imx-3.14.28-1.0.1_patch" an I cannot compile Qt Application in release mode. I configure qtbase recipe like this : PACKAGECONFIG_remove_mx6dl = "alsa pulseaudio tslib icu examples tests tools sql-ibase sql-mysql sql-psql sql-odbc sql-oci sql-tds sql-db2 sql-sqlite2 sql-sqlite xinerama directfb openssl gtkstyle qtwebkit kms nis mitshm" QT_CONFIG_FLAGS_append_mx6dl = " -no-qml-debug -no-compile-examples" In my recipe application, I use a git repository and add depends to qtbase and to compile it I use "require recipes-qt/qt5/qt5.inc". I have a problem with the size of my application because in build directory the binary size is ~90M. I use an external toolchain with the source from qt and the rootfs of my machine and the binary size is ~5M. When I deploy this application it works like a charm. I searched for the flags -force-debug-info in qtbase configuration and I can't find where is set because I think that my application is in release mode with debug info. Best regards, Julien