I am facing below linker errors:
Unresolved symbol: __stack_chk_guard
Unresolved symbol: __stack_chk_fail
Compiler: armclang 6.16.2
In vectorcast unit test environment, I have tried to compile with -fno-stack-protector but it's not resolved.
I have also tried to link using -lssp but it's not available.
Please let me know how to resolve these errors.
Madjunath,
Stack protection is disabled by default. Are you sure you have not enabled it somehow?
https://developer.arm.com/documentation/102284/6-16-2LTS/armclang-Reference/armclang-Command-line-Options/-fstack-protector---fstack-protector-all---fstack-protector-strong---fno-stack-protector
Could you provide a reproducible example? You can create a support case from the menu above so that it can be shared privately with Arm.