[sr-dev] [kamailio/kamailio] cannot start on aarch64 with Google ASAN (Issue #2897)
notifications at github.com
Sat Oct 23 22:15:55 CEST 2021
I have compiled Kamailio on aarch64 hosts with Google ASAN. Also used system memory manager ("make MEMPKG=sys cfg").
During compilation used flags
-fsanitize=address -fsanitize=undefined -fno-sanitize-recover=all -fsanitize=float-divide-by-zero -fsanitize=float-cast-overflow -fno-sanitize=null -fno-sanitize=alignment
When Kamailio is started with the default config file I get an error
core/script_cb.c:85:31: runtime error: left shift of 1 by 31 places cannot be represented in type 'int'
As used 64 bit CPU, looks like a strange this error
### Additional Information
compiled commit 102d5dab4f45cab238ffeb72e7ddf378c8daa17d
* **Operating System**:
[root at logger-west kamailio]# uname -a
Linux example.com 4.18.0-305.7.1.el8_4.aarch64 #1 SMP Tue Jun 29 21:32:00 UTC 2021 aarch64 aarch64 aarch64 GNU/Linux
[root at logger-west kamailio]# lsb_release -a
LSB Version: :core-4.1-aarch64:core-4.1-noarch
Distributor ID: CentOS
Description: CentOS Linux release 8.4.2105
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the sr-dev