Hello
The code runs on x86 without a problem, because there may be a difference between x86 and the arm64 platform in the way variadic functions (functions with unnamed, optional arguments) are handled.
The part of code from the sofia-sip modul you posted on Stackoverflow makes heavy usage of variadic arguments in their tag list implementation. And thats where most likely the error on arm64 happens.
Please have a look at this file, beginning with line 105
[login to view URL]
There are two different ways how the macro for ta_start() can be defined, depending on wether the flag SU_HAVE_TAGSTACK is set or not.
Maybe the x86 build uses another definition than the ARM build does.
As a first step, could you please check that SU_HAVE_TAGSTACK is defined in the auto generated su_config / su_configure file for ARM platform and that the flag is not defined if you create the configuration for x86 (or vice versa)?
And could you please share your notes about the build process for arm64 and which toolchain is used?
Best regards