XCode 14.3.1: `try catch` in c++ no longer working

All of our c++ codes that's wrapped in try catch no longer working in XCode 14.3.1, the error that supposed to be caught but now they would all throw exception and crash immediately. This works fine if built in XCode 14.2 & lower, can someone help tell if there's anything new affecting libc++?

For example, this code with empty string terminated the app while there's a catch: libc++abi: terminating due to uncaught exception of type boost::wrapexcept<boost::bad_lexical_cast>: bad lexical cast: source type value could not be interpreted as target

We found out that the issue was due to flags that were used to fix warnings with Intel IPP library, we removed the library for transition to Apple Silicon and likely the remaining flags caused issue with Apple Silicon Mac. The flags are -Wl,-no_compact_unwind & -Wl,-keep_dwarf_unwind.

XCode 14.3.1: &#96;try catch&#96; in c&#43;&#43; no longer working
 
 
Q