Known Issues

I.MX 6 Chip Erratas

Library version mismatches while debugging


While cross-debugging (e.g. with QtCreator) you might note messages like these:

.dynamic section for "/opt/exceet/mx6sexceet/sysroots/cortexa9hf-vfp-neon-exceet-linux-gnueabi/usr/lib/" is not at the expected address (wrong library or version mismatch?)


The root cause of this is often that the library version in the toolchain, that is used differs from the one on the target.
Sometimes it can happen, that you use a new image and although nothing has changed in the library since the previous build of the toolchain, these messages occur. This is because sometimes paths relative to the build directory on the build host are compiled into the binaries. If this information changes, e.g. because the new image was build on an other machine, it might happen that the addresses in the library files are shifted and though the content of the library is essentially the same, its structure has slightly changed, what produces the messages in the debug log.


This problem has been approached in recent versions of Yocto by trying to strip all the absolute paths from the target binaries.
Check what caused the changes in the library and decide whether to build/install a new toolchain or not.