-
Couldn't load subscription status.
- Fork 3k
Description
Prior to PR #2843 security features were turned on even when null entropy was not. This allowed example programs with a link time dependency on TLS but did not actually use TLS to compile and work. One example of this is https://github.com/ARMmbed/mbed-os-example-mesh-minimal.
After PR #2843 examples like this started having linker issues on IAR and ARM since these compilers are less permissive about missing functions, even if they are never referenced. This causes confusing errors to users since it is not obvious that the culprit is a missing entropy source.
TLS should either provide stubs for these functions that have been compiled out, or make it an error to include TLS headers with prototypes that have their definitions turned off.
CC: @andresag01