Hi! Unfortunately init_priority do not work as we intended in MacOS.
clang generate correct assembly/object file but the MacOS linker do not sort and merge the sections of different files. The result is that it reorder correctly only per cpp file, not across different cpp files. Adriano Firebird-Devel mailing list, web interface at https://lists.sourceforge.net/lists/listinfo/firebird-devel