Discussion Board

Results 1 to 4 of 4
  1. #1
    Registered User
    Join Date
    Nov 2009

    S60V5 SDK + GCC 4

    Hi all,
    I've tried to update my s60v5 sdk using this guide, I used the 4.4.1 version as suggested in the comments to the article, however it doesn't work.

    When I compile my project (which worked fine with the previous gcc version) the first time after cleaning it, I get one error:
    instantiated from here[/S60/devices/S60_5th_Edition_SDK_v1.0/epoc32/include/s32stor.inl]
    Here's the part of the commandline output which I think matches:
    /S60/devices/S60_5th_Edition_SDK_v1.0/epoc32/include/eikmenup.h:242: warning: enumeral mismatch in conditional expression: 'TFalse' vs 'TTrue'
    In file included from /S60/devices/S60_5th_Edition_SDK_v1.0/epoc32/include/e32cmn.h:6691,
                     from /S60/devices/S60_5th_Edition_SDK_v1.0/epoc32/include/e32std.h:13,
                     from /S60/devices/S60_5th_Edition_SDK_v1.0/epoc32/include/e32base.h:8,
                     from /S60/devices/S60_5th_Edition_SDK_v1.0/epoc32/include/coemain.h:9,
                     from /S60/devices/S60_5th_Edition_SDK_v1.0/epoc32/include/eikenv.h:10,
                     from /Symbian_Projekte/IPAQEngine/inc/IPAQ/IPAQPlatformprops.h:109,
                     from /Symbian_Projekte/IPAQEngine/src/IPAQ/ipaqplatformprops.cpp:8:
    /S60/devices/S60_5th_Edition_SDK_v1.0/epoc32/include/e32cmn.inl: In member function 'T& TPckgBuf<T>::operator()() [with T = int]':
    /S60/devices/S60_5th_Edition_SDK_v1.0/epoc32/include/s32stor.inl:68:   instantiated from here
    /S60/devices/S60_5th_Edition_SDK_v1.0/epoc32/include/e32cmn.inl:2744: warning: dereferencing type-punned pointer will break strict-aliasing rules
    Now the strange thing: when I build the project again wihout cleaning, It does not report any errors and creates a sis file. This sis file is 30 kb larger than the one built with 3.4.3, and it crashes on the phone (don't know the exact panic, ODD doesn't work).

    I really need GCC 4 to use the NEON core of the Cortex-A8, did somebody make it work?

    Thanks in advance!

  2. #2
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Oslo, Norway

    Re: S60V5 SDK + GCC 4

    Since it is a warning, your .sis is probably created on the first attempt already. Somewhere it is said that new GCC-s are more strict about the language, that may be a reason for getting new messages.
    Upgrading the compiler does not really affect the CPU... Are you testing this code with a device having NEON actually?

  3. #3
    Registered User
    Join Date
    Nov 2009

    Re: S60V5 SDK + GCC 4

    Although in the commandline it is called a warning, carbide says its an error in the problems-panel, and it only creates the sis when building the second time.
    My test-device is a SE Satio (Cortex-A8).
    I need to update to GCC4 to write inline assembly which contains neon-only instructions (doesn't compile on 3.4.3), also the gcc contains the neon intrinsics header ("arm_neon.h") only starting at version 4.

  4. #4
    Registered User
    Join Date
    Nov 2009

    Re: S60V5 SDK + GCC 4

    I found out how to make the error and the related warnings go away: add
    OPTION GCCE -fno-strict-aliasing
    to the mmp file

    GCCE now seems to work, basic application created by carbide work fine on my phone, however my project which worked with gcce 3 does not.

Similar Threads

  1. S60v5 or N97 SDK ?
    By rahulkadukar in forum Symbian Tools & SDKs
    Replies: 5
    Last Post: 2010-05-19, 22:27
  2. aptana studio not detecting s60v5 sdk
    By Kalel17 in forum Symbian
    Replies: 1
    Last Post: 2009-07-06, 20:52
  3. symbian error -15 with s60v5 sdk 1.0
    By hellmaster1024 in forum Mobile Java Tools & SDKs
    Replies: 1
    Last Post: 2009-04-18, 08:35
  4. Getting started S60v5 SDK problem
    By utgamer2004 in forum Symbian
    Replies: 4
    Last Post: 2009-04-03, 19:48

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts