Well, to the question about what options fpm(1) uses, add “–verbose”. If your code can also compile with the debug flags add “–profile debug”. Once you add flags manually, the default switches are no longer applied unless you explicitly add a profile. That will give you the flags to give you the line numbers where the calls occur.