Necessitas 0.3: Release builds not actually release?

mingw android mingw.android at gmail.com
Sat Nov 12 18:54:38 UTC 2011


Due to some of the more aggressive optimisations, bugs in your code
that are hidden at -O0 can occur.

Occasionally there's a need to debug the optimised code as the
un-optimised code doesn't crash.

But yeah, debugging debug builds is a lot more fun!

On Sat, Nov 12, 2011 at 6:35 PM, Chris Browet <cbro at semperpax.com> wrote:
> Stripped? I don't think so, at least not on Windows. Qt Components with "-g"
> => 2 x 5Mb, without "-g" => 2 x 738Kb
>
> I'l still disable it in qmake.conf, because 35Mb Qt + 10Mb Qt components +
> 12Mb for an app is just too much for my device limited storage ;)
> If I want to debug, I'll compile in debug...
>
> - Chris -
>
> On Sat, Nov 12, 2011 at 19:24, BogDan <bog_dan_ro at yahoo.com> wrote:
>>
>> Hi Chris,
>>    Is normal, all libs form your package are stripped. We turn on the
>> debugging to give you the possibility to debug your application even if is
>> compiled in release mode, the debugging experience is not perfect, but at
>> lease you can set a break point and step into your code.
>>
>> Cheers,
>> BoggDan.
>>
>> ________________________________
>> From: Chris Browet <cbro at semperpax.com>
>> To: necessitas-devel at kde.org
>> Sent: Saturday, November 12, 2011 6:12 PM
>> Subject: Necessitas 0.3: Release builds not actually release?
>>
>> Hi,
>>
>> I've noticed an increase in .so size in 0.3. Checking the compilation log,
>> I see that the "-g" flag" is still enabled for a release build.
>> Is this normal, only me or a bug?
>>
>> e.g.
>>
>> d:/necessitas/android-ndk-r6b/toolchains/arm-linux-androideabi-4.4.3/prebuilt/windows/bin/arm-linux-androideabi-g++
>> -c -Wno-psabi -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -fpic
>> -ffunction-sections -funwind-tables -fstack-protector -fno-short-enums
>> -DANDROID -D__ARM_ARCH_5__ -D__ARM_ARCH_5T__ -D__ARM_ARCH_5E__
>> -D__ARM_ARCH_5TE__ -Wa,--noexecstack -DQT_NO_QWS_TRANSFORMED -O2 -mthumb -Os
>> -g -fomit-frame-pointer -fno-strict-aliasing -finline-limit=64 -D_REENTRANT
>> -Wall -Wno-psabi -W -fPIC -DUSE_DEPRECATED_SCREEN_WIDTH_HEIGHT
>> -DQT_BUILD_COMPONENTS_LIB -DQT_NO_DEBUG -DQT_PLUGIN -DQT_DECLARATIVE_LIB
>> -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED
>> -I../../../../necessitas/Android/Qt/480/armeabi-v7a/mkspecs/android-g++
>> -I../../../qt-components/src/components
>> -I../../../../necessitas/Android/Qt/480/armeabi-v7a/include/QtCore
>> -I../../../../necessitas/Android/Qt/480/armeabi-v7a/include/QtGui
>> -I../../../../necessitas/Android/Qt/480/armeabi-v7a/include/QtDeclarative
>> -I../../../../necessitas/Android/Qt/480/armeabi-v7a/include
>> -I../../../qt-components/src/components
>> -I../../../qt-components/src/components/models -I.release
>> -I../../../../necessitas/Android/Qt/480/armeabi-v7a/include
>> -I../../../../necessitas/Android/Qt/480/armeabi-v7a/include/QtMobility
>> -I.release -I../../../qt-components/src/components
>> -I../../../../necessitas/android-ndk-r6b/platforms/android-5/arch-arm/usr/include
>> -I../../../../necessitas/android-ndk-r6b/sources/cxx-stl/gnu-libstdc++/include
>> -I../../../../necessitas/android-ndk-r6b/sources/cxx-stl/gnu-libstdc++/libs/armeabi-v7a/include
>> -I. -o .release/plugin.o ../../../qt-components/src/components/plugin.cpp
>>
>>
>> _______________________________________________
>> Necessitas-devel mailing list
>> Necessitas-devel at kde.org
>> https://mail.kde.org/mailman/listinfo/necessitas-devel
>>
>>
>
>
> _______________________________________________
> Necessitas-devel mailing list
> Necessitas-devel at kde.org
> https://mail.kde.org/mailman/listinfo/necessitas-devel
>
>


More information about the Necessitas-devel mailing list