Re: [arm-gnu] Re: global static problem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [arm-gnu] Re: global static problem



Hi,
Guys at UIQ said that it was a
compiler bug :-) Anyway, my elf2e32.exe's version is 2.0, where can I
find a newer one?


Best Regards,
Gabor Posz
Developer


2008/4/22, stefan.karlsson@xxxxxxxxxxx <stefan.karlsson@xxxxxxxxxxx>:
>
>
> Wrong mailing list :-) I have seen problems identical to yours caused by
> an old version of the Symbian postlinker (elf2e32).
>
>
>
>
>
> *"Gabor POSZ" <uiqporting@xxxxxxxxx>*
>
> 22/04/2008 12:53 To
> arm-gnu@xxxxxxxxxxxxxxxx cc
> Subject
> Re: [arm-gnu] Re: global static problem



Hi,
>   We are using the 2008q1 release of the Codesourcery G++ for ARM
> SymbianOS platform with the posix PIPS C libraries (*
> http://developer.symbian.com/wiki/display/pub/P.I.P.S.*<http://developer.symbian.com/wiki/display/pub/P.I.P.S.>),
> and these are the command lines:
>
> To compile:
>
> arm-none-symbianelf-g++ -w -fno-exceptions -fpermissive -c
> -fno-unit-at-a-time -nostdinc -march=armv5t -mapcs -msoft-float
> -__SYMBIAN32__
> -D__UIQ30_SDK__ -D__UIQ31_SDK__ -D__GCCE__ -D__GCC32__ -D__EPOC32__
> -D__MARM__ -D__EABI__ -D__MARM_ARMV5__ -D__EXE__ -D_UNICODE
> -D__PRODUCT_INCLUDE__=\"d:/UIQ/UIQ3.1SDK/epoc32/include/variant/UIQ_3.1.hrh\"
> -DPLATFORM_UIQ3 -DDEBUG -D_DEBUG -I. -I.. -I d:/UIQ/UIQ3.1SDK/epoc32/include
> -I d:/UIQ/UIQ3.1SDK/epoc32/include/stdapis -c myhelloworld.cpp -o
> myhelloworld.o
>
> To link:
>
> arm-none-symbianelf-ld -o helloworld myhelloworld.o
> d:/UIQ/UIQ3.1SDK/epoc32/release/ARMV5/UREL/eexe.lib
> d:/UIQ/UIQ3.1SDK/epoc32/release/ARMV5/UREL/usrt2_2.lib
> d:/UIQ/UIQ3.1SDK/epoc32/release/ARMV5/UREL/stlport_s.lib
> d:/UIQ/UIQ3.1SDK/epoc32/release/ARMV5/UREL/libcrt0.lib
> d:/UIQ/UIQ3.1SDK/epoc32/release/ARMV5/LIB/dfpaeabi.dso
> d:/UIQ/UIQ3.1SDK/epoc32/release/ARMV5/LIB/drtaeabi.dso
> d:/UIQ/UIQ3.1SDK/epoc32/release/ARMV5/LIB/euser.dso
> d:/UIQ/UIQ3.1SDK/epoc32/release/ARMV5/LIB/drtrvct2_2.dso
> d:/UIQ/UIQ3.1SDK/epoc32/release/ARMV5/LIB/libc.dso
> d:/UIQ/UIQ3.1SDK/epoc32/release/ARMV5/LIB/libm.dso
> d:/UIQ/UIQ3.1SDK/epoc32/release/ARMV5/LIB/efsrv.dso
> d:/UIQ/UIQ3.1SDK/epoc32/release/ARMV5/LIB/libpthread.dso
> -LD:/UIQ/GCC/arm-none-symbianelf/lib/ -lsupc++
> -LD:/UIQ/GCC/lib/gcc/arm-none-symbianelf/4.2.3 -lgcc -shared --no-undefined
> --target1-abs -Ttext 0x8000 -Tdata 0xa00000 --default-symver -soname
> helloworld{00040000}[e0001001].exe --entry _E32Startup -u _E32Startup
>
> And to create a symbian binary:
>
> elf2e32 --sid=0xe0001001 --version=10.0 --uid1=0x1000007a
> --uid2=0x20004c45 --uid3=0xe0001001 --capability=none --fpu=softvfp
> --targettype=EXE --output="..\..\build\helloworld\targets\HelloWorld.exe"
> --elfinput=..\..\build\helloworld\targets\helloworld
> --linkas=helloworld{00040000}[e0001001].exe
> --libpath="%UIQ_SDK_DIR%/epoc32/release/ARMV5/LIB"
>
> If you need I can send you a complete test application, but you must have
> the UIQ symbian SDK 3.1 with PIPS installed, and a UIQ Symbian device to be
> able to test it.
>
> Best Regards,
> Gabor Posz
> Developer
>
>
> 2008/4/22, Nathan Sidwell <*nathan@xxxxxxxxxxxxxxxx*<nathan@xxxxxxxxxxxxxxxx>
> >:
> Gabor POSZ wrote:
> Hi,
> We made some more experimenting, and we unfortunatelly realised that it is
> the same with the local static variables too:
>
> We've not seen this problem.  Do you have a complete testcase?  How are
> you compiling and linking your application?
>
> nathan
>
> --
> Nathan Sidwell    ::   *http://www.codesourcery.com*<http://www.codesourcery.com/>  ::         CodeSourcery
>
>
>
> **********************************************************************
> Symbian Software Ltd is a company registered in England and Wales with
> registered number 4190020 and registered office at 2-6 Boundary Row,
> Southwark, London, SE1 8HP, UK. This message is intended only for use by the
> named addressee and may contain privileged and/or confidential information.
> If you are not the named addressee you should not disseminate, copy or take
> any action in reliance on it. If you have received this message in error
> please notify postmaster@xxxxxxxxxxx and delete the message and any
> attachments accompanying it immediately. Neither Symbian nor any of its
> Affiliates accepts liability for any corruption, interception, amendment,
> tampering or viruses occurring to this message in transit or for any message
> sent by its employees which is not in compliance with Symbian corporate
> policy.
> **********************************************************************