https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120515
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |documentation --- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- ``` %{!nodefaultexport: \ %{%:version-compare(>= 10.11 asm_macosx_version_min= -U): \ ___emutls_get_address -exported_symbol ___emutls_get_address \ -U ___emutls_register_common \ -exported_symbol ___emutls_register_common \ -U ___gcc_nested_func_ptr_created \ -exported_symbol ___gcc_nested_func_ptr_created \ -U ___gcc_nested_func_ptr_deleted \ -exported_symbol ___gcc_nested_func_ptr_deleted \ }} \ ``` You should use -nodefaultexport to get those not included. Though -nodefaultexport is not documented.