You are correct, I have an external library which .o files I include in my library and I had forgotten to remove -fPIC from their compilation. Now it's linking without error
... however, the code isn't running on the core. If I use e-run on the device with the Epiphany executable I get an
"illegal instruction at 0x108, program stopped with signal 4 (Illegal instruction)" error. Haven's tried to debug that yet.
Update #1: I have to use --e-external-fetch with e-run to get it to run (the illegal instruction was caused by that)
Update #2: A simple C based test runs just fine (even with your legacy.ldf), but linking my lib cause it to not run