OpenOCD can no longer be built on macOS after the 36ae487 commit:
../src/helper/command.c:157:22: error: aliases are not supported on darwin __attribute__((weak, alias("workaround_createcommand")));
The OS is x86_64-apple-darwin19.6.0 and the compiler used is x86_64-apple-darwin13.4.0-clang .
The commit 36ae487 is supposed to have short life and be quickly reverted. There is already http://openocd.zylin.com/6228/ queued to remove it. But my plan is to first merge http://openocd.zylin.com/6226/ and after some time if nobody reports issues, merge also 6227 and 6228.
This issue with macOS is unexpected, but I don't have a macOS for testing. Thanks for reporting it!
As a quick fix I will have just sent out a patch to allow compiling the code of 36ae487 on Linux only.
http://openocd.zylin.com/6241/
Thanks for your help and such a quick reaction. I'm looking forward for that fix to be merged to master.
If you can, please test http://openocd.zylin.com/6241 and add the code-review score.
I have added your email at sourceforge as "Reported-by:". If you prefer I use another email, just let me know
I tested the new master with this change and the issue is fixed on macOS, thanks!
I'm not sure how can I add any score there and I'm wondering if it's still important since it's been merged already?
Closed! Thanks