Hi I am using Sourcery G++ Lite 4.4.1 version with Codeblock IDE. In my example program i used sprintf but the compiler is giving error like arm-none-eabi-ld.exe: DISCARD has both ordered [`.ARM.exidx' in D:\CodeSourcery\Sourcery G++ Lite\lib\gcc\arm-none-eabi\4.4.1\libgcc.a(_divdi3.o)] and unordered [`.ARM.extab' in D:\CodeSourcery\Sourcery G++ Lite\lib\gcc\arm-none-eabi\4.4.1\libgcc.a(_divdi3.o)] sections GNU ld (Sourcery G++ Lite 2009q3-68) 2.19.51.20090709 arm-none-eabi-ld.exe: final link failed: Bad value Regards, Shweta --------------------------------------- Posted through http://www.EmbeddedRelated.com
linking error in libgcc.a
Started by ●April 19, 2010
Reply by ●April 19, 20102010-04-19
On Apr 19, 4:59=A0am, "s.kosamkar" <s.kosamkar@n_o_s_p_a_m.gmail.com> wrote:> Hi > =A0 =A0I am using Sourcery G++ Lite 4.4.1 version with Codeblock IDE. In =my> example program i used sprintf but the compiler is giving error like > > arm-none-eabi-ld.exe: DISCARD has both ordered [`.ARM.exidx' in > D:\CodeSourcery\Sourcery G++ > Lite\lib\gcc\arm-none-eabi\4.4.1\libgcc.a(_divdi3.o)] and unordered > [`.ARM.extab' in D:\CodeSourcery\Sourcery G++ > Lite\lib\gcc\arm-none-eabi\4.4.1\libgcc.a(_divdi3.o)] sections > GNU ld (Sourcery G++ Lite 2009q3-68) 2.19.51.20090709 > arm-none-eabi-ld.exe: final link failed: Bad value > > Regards, > =A0 Shweta > > --------------------------------------- =A0 =A0 =A0 =A0 > Posted throughhttp://www.EmbeddedRelated.comTry posting your question here: <http://www.codesourcery.com/archives/arm-gnu/maillist.html> RK