I am trying to cross-compile a C/C++ application using Petalinux SDK. I am seeing the following error.
aarch64-xilinx-linux-ld: unrecognized option '-Wl,-O1'
As you can see below the linker options being complained about are part of the environment setup file in the SDK that is sourced before cross compiling.
I will continue to try and track a solution down but wanted to reach out to the community in parallel to see if anyone could assist.
Thanks,
Dan