[Bug target/62100] c++11 threads invoke pure virtual function on arm embedded system
pab at pabigot dot com
gcc-bugzilla@gcc.gnu.org
Thu Aug 14 14:03:00 GMT 2014
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62100
--- Comment #7 from Peter A. Bigot <pab at pabigot dot com> ---
DEAR PEOPLE FROM THE FUTURE:
The problem is that OpenEmbedded used target-specific flags to build the
libraries, but did not ensure that the compiler was configured to default to
the corresponding architecture. Thus the compiler was defaulting to armv5t
while the libraries were built for armv7-a.
Until fixed in OpenEmbedded upstream a cleaner workaround is to add
-mcpu=cortex-a8 which comes closer to matching the assumptions of the
libraries.
See
http://www.mail-archive.com/openembedded-core@lists.openembedded.org/msg55490.html
More information about the Gcc-bugs
mailing list