This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

unknown CPU architecture

Hi, Guys,

I compiled a shared object using mali GPU. But when linking it to produce an application I got an error:.../libGLES_mali.so:unknown CPU architecture.The CFLAGES is  -mcpu=cortex-a15  -O2.

What's wrong? I need some help.

Best Regards!

Parents
  • That normally happens if your build is picking up host GCC rather than a cross-compiled version one part of the build (i.e. building an ARM library and trying to link with x86 tools, or visa-versa).

    It is possible to share a small reproducer? It's hard to provide more specific help without seeing your whole build sequence.

    Thanks,

    Pete

Reply
  • That normally happens if your build is picking up host GCC rather than a cross-compiled version one part of the build (i.e. building an ARM library and trying to link with x86 tools, or visa-versa).

    It is possible to share a small reproducer? It's hard to provide more specific help without seeing your whole build sequence.

    Thanks,

    Pete

Children