There is an issue in binutils 2.38 objcopy when called with '--weaken' flag: https://sourceware.org/bugzilla/show_bug.cgi?id=27493 To circumvent it, patch the trustfence-cst config.mk to call specifically with 'weaken-symbol err_msg' which is apparently the only symbol that's overriden by the code. Signed-off-by: Hector Palacios <hector.palacios@digi.com> https://onedigi.atlassian.net/browse/DEL-8033 https://onedigi.atlassian.net/browse/DEL-8332