Hi,
we were actually updating our yocto to a newer version (From sumo to dunfell). This lead us to the following problem.
We use a own machine configuration derived from the colibri_vf.conf machine defined in meta-freescale-3rd party. In both yocto versions we set in machine configuration:
DEFAULTTUNE = "cortexa5thf-neon"
In yocto sumo that leads to a toolchain
.../build/tmp/work/cortexa5hf-neon-poky-linux-gnueabi
But in the newer dunfell system this leads to
.../build/tmp/work/cortexa5t2hf-neon-poky-linux-gnueabi
And this where our problem begins. We get a precompiled library without -fPIC that fails at linking time.
relocation R_ARM_THM_MOVW_ABS_NC against `a local symbol' can not be used when making a shared object; recompile with -fPIC
Any idea how to tweak yocto that the same toolchain is used in the newer yocto version?
Any hints are welcome, maybe I don’t got the problem right and it’s somehow else to resolve.
Kind regards,
Sebastian