ltib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Ltib] __concurrence_broadcast_error in code generated by gcc-4.3.2-


From: Dmitry Vinokurov
Subject: Re: [Ltib] __concurrence_broadcast_error in code generated by gcc-4.3.2-glibc-2.7 (VFP with soft-float) for LPC3250
Date: Wed, 22 Jul 2009 22:14:54 +0600
User-agent: Mozilla-Thunderbird 2.0.0.19 (X11/20090103)

Hi Kevin,

Thanks for your answer.
After removing all code, libs and compile flags that doesn't lead to error, I find that this error was caused by '-static' flag used with pthread library. Simple threading hello world, compiled using shared objects, build and run fine, but static version of it fail with __concurrence_broadcast_error. Kernel, all libs and my app was build with the same toolchain.

Now I gave up using static compilation (in my current work it isn't necessary, I use '-static' habitually) and seems like everything is fine. Thanks again.


Kevin Wells wrote:
Hi Dimitry,

I haven't seen this issue before, but then again haven't compiled a lot of C++ 
apps.
I don't think it has anything to do with your code, have you tried just 
compiling and executing a 'hello world' C++ app on your board?
Was the kernel compiled with the same toolchain?

Kevin

-----Original Message-----
Sent: Tuesday, July 21, 2009 10:18 PM
To: address@hidden
Subject: [Ltib] __concurrence_broadcast_error in code generated by gcc-
4.3.2-glibc-2.7 (VFP with soft-float) for LPC3250

Hello

I'm developing embedded system on Phytec LPC3250 using C++ and faced
strange problem. My application compiles and runs without any mistakes
on desktop Linux, but when I try to run it on the target board, I get
unhandled exception (it arise even before entering 'main' function):
-------------------------
terminate called after throwing an instance of
'__gnu_cxx::__concurrence_broadcast_error'
 what():  __gnu_cxx::__concurrence_broadcast_error
Aborted
-------------------------

Have anybody faced same things?

Thanks in advance.

P.S.:
Phytec LPC3250 RDK
last cvs ltib revision
linux 2.6.27.8
gcc-4.3.2-glibc-2.7 (VFP with soft-float) for LPC3250 toolchain

--
Best Regards,
Dmitry Vinokurov



_______________________________________________
LTIB home page: http://ltib.org

Ltib mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/ltib


--
Best Regards, Dmitry Vinokurov <address@hidden>





reply via email to

[Prev in Thread] Current Thread [Next in Thread]