[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-
Re: [Ltib] __concurrence_broadcast_error in code generated by gcc-4.3.2-glibc-2.7 (VFP with soft-float) for LPC3250
Wed, 22 Jul 2009 22:14:54 +0600
Mozilla-Thunderbird 22.214.171.124 (X11/20090103)
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:
I haven't seen this issue before, but then again haven't compiled a lot of C++
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?
Sent: Tuesday, July 21, 2009 10:18 PM
Subject: [Ltib] __concurrence_broadcast_error in code generated by gcc-
4.3.2-glibc-2.7 (VFP with soft-float) for LPC3250
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
Have anybody faced same things?
Thanks in advance.
Phytec LPC3250 RDK
last cvs ltib revision
gcc-4.3.2-glibc-2.7 (VFP with soft-float) for LPC3250 toolchain
LTIB home page: http://ltib.org
Ltib mailing list