Possible to cross link arduino .a files with freertos .a files?

asked 2022-06-03 15:03:00 -0500

I am trying to build a MicroROS application the runs FreeRTOS. Part of the build process involves linking in one library file (libmicroros.a) which was generated for an arduino system. The library does not contain any calls to arduino system specific functions. When I try to link that .a file into my FreeRTOS build collect2 issues the error message:

ld: final link failed: bad value

Is there an incompatibility between .a files generated for arduino and FreeRTOS? Both builds were targeting the ESP32 platform. Unfortunately, the error message "bad value" doesn't give me much to go on and I am struggling to figure out what is wrong here.

Is there any path to learning more about what the bad value might be? I attempted to enable verbose output in the build process and didn't successfully learn

edit retag flag offensive close merge delete