<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">It is a core dependency required to work at all.<div class=""><br class=""><div><blockquote type="cite" class=""><div class="">On Dec 2, 2014, at 10:55 PM, Андрей Аппалонов &lt;<a href="mailto:appalonovandrey@gmail.com" class="">appalonovandrey@gmail.com</a>&gt; wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class="">Is it possible to disable the APR of configure and make?<br class=""><div class="gmail_extra"><br class=""><div class="gmail_quote">2014-12-02 23:15 GMT+05:00  <span dir="ltr" class="">&lt;<a href="mailto:freeswitch-dev-request@lists.freeswitch.org" target="_blank" class="">freeswitch-dev-request@lists.freeswitch.org</a>&gt;</span>:<br class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Send FreeSWITCH-dev mailing list submissions to<br class="">
&nbsp; &nbsp; &nbsp; &nbsp; <a href="mailto:freeswitch-dev@lists.freeswitch.org" class="">freeswitch-dev@lists.freeswitch.org</a><br class="">
<br class="">
To subscribe or unsubscribe via the World Wide Web, visit<br class="">
&nbsp; &nbsp; &nbsp; &nbsp; <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev" class="">http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev</a><br class="">
or, via email, send a message with subject or body 'help' to<br class="">
&nbsp; &nbsp; &nbsp; &nbsp; <a href="mailto:freeswitch-dev-request@lists.freeswitch.org" class="">freeswitch-dev-request@lists.freeswitch.org</a><br class="">
<br class="">
You can reach the person managing the list at<br class="">
&nbsp; &nbsp; &nbsp; &nbsp; <a href="mailto:freeswitch-dev-owner@lists.freeswitch.org" class="">freeswitch-dev-owner@lists.freeswitch.org</a><br class="">
<br class="">
When replying, please edit your Subject line so it is more specific<br class="">
than "Re: Contents of FreeSWITCH-dev digest..."<br class="">
<br class="">Today's Topics:<br class="">
<br class="">
&nbsp; &nbsp;1. Re: FreeSwitch on PowerPC (Anthony Minessale)<br class="">
<br class=""><br class="">---------- Пересылаемое сообщение ----------<br class="">From:&nbsp;Anthony Minessale &lt;<a href="mailto:anthony.minessale@gmail.com" class="">anthony.minessale@gmail.com</a>&gt;<br class="">To:&nbsp;<a href="mailto:freeswitch-dev@lists.freeswitch.org" class="">freeswitch-dev@lists.freeswitch.org</a><br class="">Cc:&nbsp;<br class="">Date:&nbsp;Tue, 2 Dec 2014 12:14:56 -0600<br class="">Subject:&nbsp;Re: [Freeswitch-dev] FreeSwitch on PowerPC<br class=""><div dir="ltr" class="">That is an abort in switch_core_memory.c<div class=""><br class=""></div><div class=""><p class=""><span class="">apr_pool_create_ex is failing so maybe there is an issue in how you cross compiled APR.</span></p><p class=""><span class=""><br class=""></span></p><p class=""><span class=""><br class=""></span></p></div></div><div class="gmail_extra"><br class=""><div class="gmail_quote">On Tue, Dec 2, 2014 at 11:45 AM, Андрей Аппалонов <span dir="ltr" class="">&lt;<a href="mailto:appalonovandrey@gmail.com" target="_blank" class="">appalonovandrey@gmail.com</a>&gt;</span> wrote:<br class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr" class="">Made<br class=""><div class=""><div class=""><br class=""><span lang="en" class="">gdb /usr/local/freeswitch/bin/freeswitch</span><br class=""><span lang="en" class="">(gdb)handle SIGABRT stop print nopass</span><br class=""><span lang="en" class="">(gdb)run -nonat -c<br class=""><br class="">Issued:<br class=""></span><br class=""><span lang="en" class=""><span class="">Program received signal SIGABRT, Aborted.<span class=""><br class="">0x0f84e564 in raise () from /lib/libc.so.6<br class=""><br class=""></span></span></span><span lang="en" class=""><span class=""><span lang="en" class=""><span class="">made</span> <span class="">after</span> <span class="">run<br class=""></span></span>(gdb)bt</span> <span class="">,</span> <br class=""><span class="">issued</span><span class="">:<br class=""><br class=""></span></span><span class=""><br class="">#0&nbsp; 0x0f84e564 in raise () from /lib/libc.so.6<br class=""></span>#1&nbsp; 0x0f8501b4 in abort () from /lib/libc.so.6<br class="">#2&nbsp; 0x0fcfecdc in switch_core_memory_init () at src/switch_core_memory.c:634<br class="">#3&nbsp; 0x0fd23160 in switch_core_init (flags=68097, console=SWITCH_TRUE,<br class="">&nbsp; &nbsp; err=0xbfca80e8) at src/switch_core.c:1597<br class="">#4&nbsp; 0x0fd237d4 in switch_core_init_and_modload (flags=0, console=1485,<br class="">&nbsp; &nbsp; err=0x6) at src/switch_core.c:2048<br class="">#5&nbsp; 0x100053d4 in main (argc=3, argv=0xbfca9dd4) at src/switch.c:1083<br class=""><br class=""></div><div class="">After:<br class=""><br class="">(gdb) list<br class="">421&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;/* skip whitespaces */<br class="">422&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
&nbsp;while ((*p == 13) || (*p == 10) || (*p == 9) || (*p == 32) || (*&nbsp; &nbsp; &nbsp; &nbsp;
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;p 
== 11)) p++;<br class="">423&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;return (p[0] == '-');<br class="">424&nbsp; &nbsp; &nbsp;}<br class="">425<br class="">426<br class="">427&nbsp; &nbsp; &nbsp;/* the main application entry point */<br class="">428&nbsp; &nbsp; &nbsp;int main(int argc, char *argv[])<br class="">429&nbsp; &nbsp; &nbsp;{<br class="">430&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;char pid_path[PATH_MAX] = "";&nbsp; &nbsp;/* full path to the pid file */<br class="">(gdb) up<br class="">#1&nbsp; 0x0f8501b4 in abort () from /lib/libc.so.6<br class="">(gdb) list<br class="">431&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;char pid_buffer[32] = "";&nbsp; &nbsp; &nbsp; &nbsp;/* pid string */<br class="">432&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;char old_pid_buffer[32] = "";&nbsp; &nbsp;/* pid string */<br class="">433&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;switch_size_t pid_len, old_pid_len;<br class="">434&nbsp;
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;const char *err = NULL;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;/* error value for return 
from f&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;reeswitch initialization */<br class="">435&nbsp; &nbsp; &nbsp;#ifndef WIN32<br class="">436&nbsp; &nbsp;
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;switch_bool_t nf = SWITCH_FALSE;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
&nbsp;/&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
 &nbsp; &nbsp; &nbsp;* TRUE if we are running in nofork mode */<br class="">437&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;switch_bool_t do_wait = SWITCH_FALSE;<br class="">438&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;char *runas_user = NULL;<br class="">439&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;char *runas_group = NULL;<br class="">440&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;int fds[2] = { 0, 0 };<br class="">(gdb) up<br class="">#2&nbsp; 0x0fcfecdc in switch_core_memory_init () at src/switch_core_memory.c:634<br class="">634&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;abort();<br class="">(gdb) list<br class="">629&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;}<br class="">630<br class="">631&nbsp;
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;if ((apr_pool_create_ex(&amp;memory_manager.memory_pool, 
NULL, NULL,&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; my_allocator)) != APR_SUCCESS) {<br class="">632&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;apr_allocator_destroy(my_allocator);<br class="">633&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;my_allocator = NULL;<br class="">634&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;abort();<br class="">635&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;}<br class="">636<br class="">637&nbsp;
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;if ((apr_thread_mutex_create(&amp;my_mutex, 
APR_THREAD_MUTEX_NESTED,&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; memory_manager.memory_pool)) != 
APR_SUCCESS) {<br class="">638&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;abort();<br class="">(gdb) up<br class="">#3&nbsp; 0x0fd23160 in switch_core_init (flags=68097, console=SWITCH_TRUE,<br class="">&nbsp; &nbsp; err=0xbff110f8) at src/switch_core.c:1597<br class="">1597&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if (!(runtime.memory_pool = switch_core_memory_init())) {<br class="">(gdb) list<br class="">1592&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if (apr_initialize() != SWITCH_STATUS_SUCCESS) {<br class="">1593&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; *err = "FATAL ERROR! Could not initialize APR\n";<br class="">1594&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; return SWITCH_STATUS_MEMERR;<br class="">1595&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br class="">1596<br class="">1597&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if (!(runtime.memory_pool = switch_core_memory_init())) {<br class="">1598&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; *err = "FATAL ERROR! Could not allocate memory pool\n";<br class="">1599&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; return SWITCH_STATUS_MEMERR;<br class="">1600&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br class="">1601&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; switch_assert(runtime.memory_pool != NULL);<br class="">(gdb) up<br class="">#4&nbsp; 0x0fd237d4 in switch_core_init_and_modload (flags=0, console=1541,<br class="">&nbsp; &nbsp; err=0x6) at src/switch_core.c:2048<br class="">2048&nbsp;
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if (switch_core_init(flags, console, err) != 
SWITCH_STATUS_SUCCE&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;SS) {<br class="">(gdb) list<br class="">2043&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; int x = 0;<br class="">2044&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; const char *use = NULL;<br class="">2045&nbsp; &nbsp; #include "cc.h"<br class="">2046<br class="">2047<br class="">2048&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if (switch_core_init(flags, console, err) != SWITCH_STATUS_SUCCESS) {<br class="">2049&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; return SWITCH_STATUS_GENERR;<br class="">2050&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br class="">2051<br class="">2052&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if (runtime.runlevel &gt; 1) {<br class="">(gdb) up<br class="">#5&nbsp; 0x100053d4 in main (argc=3, argv=0xbff12de4) at src/switch.c:1083<br class="">1083&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if (switch_core_init_and_modload(flags, nc ? SWITCH_FALSE : SWITCH_TRUE, &amp;err) != SWITCH_STATUS_SUCCESS) {<br class="">(gdb) list<br class="">1078&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; return 255;<br class="">1079&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br class="">1080<br class="">1081&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; switch_file_write(fd, pid_buffer, &amp;pid_len);<br class="">1082<br class="">1083&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if (switch_core_init_and_modload(flags, nc ? SWITCH_FALSE : SWITCH_TRUE, &amp;err) != SWITCH_STATUS_SUCCESS) {<br class="">1084&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; fprintf(stderr, "Cannot Initialize [%s]\n", err);<br class="">1085&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; return 255;<br class="">1086&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br class="">1087<br class=""></div><div class=""><br class=""><div class="gmail_extra"><br class=""><div class="gmail_quote">2014-12-02 22:28 GMT+05:00  <span dir="ltr" class="">&lt;<a href="mailto:freeswitch-dev-request@lists.freeswitch.org" target="_blank" class="">freeswitch-dev-request@lists.freeswitch.org</a>&gt;</span>:<br class=""><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Send FreeSWITCH-dev mailing list submissions to<br class="">
&nbsp; &nbsp; &nbsp; &nbsp; <a href="mailto:freeswitch-dev@lists.freeswitch.org" target="_blank" class="">freeswitch-dev@lists.freeswitch.org</a><br class="">
<br class="">
To subscribe or unsubscribe via the World Wide Web, visit<br class="">
&nbsp; &nbsp; &nbsp; &nbsp; <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev" target="_blank" class="">http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev</a><br class="">
or, via email, send a message with subject or body 'help' to<br class="">
&nbsp; &nbsp; &nbsp; &nbsp; <a href="mailto:freeswitch-dev-request@lists.freeswitch.org" target="_blank" class="">freeswitch-dev-request@lists.freeswitch.org</a><br class="">
<br class="">
You can reach the person managing the list at<br class="">
&nbsp; &nbsp; &nbsp; &nbsp; <a href="mailto:freeswitch-dev-owner@lists.freeswitch.org" target="_blank" class="">freeswitch-dev-owner@lists.freeswitch.org</a><br class="">
<br class="">
When replying, please edit your Subject line so it is more specific<br class="">
than "Re: Contents of FreeSWITCH-dev digest..."<br class="">
<br class="">Today's Topics:<br class="">
<br class="">
&nbsp; &nbsp;1. Re: FreeSwitch and PowerPC (?????? ?????????)<br class="">
&nbsp; &nbsp;2. Re: FreeSwitch on PowerPC (Anthony Minessale)<br class="">
&nbsp; &nbsp;3. Re: FreeSWITCH-dev Digest, Vol 102, Issue 1 (?????? ?????????)<br class="">
<br class=""><br class="">---------- Пересылаемое сообщение ----------<br class="">From:&nbsp;"Андрей Аппалонов" &lt;<a href="mailto:appalonovandrey@gmail.com" target="_blank" class="">appalonovandrey@gmail.com</a>&gt;<br class="">To:&nbsp;<a href="mailto:FreeSWITCH-dev@lists.freeswitch.org" target="_blank" class="">FreeSWITCH-dev@lists.freeswitch.org</a><br class="">Cc:&nbsp;<br class="">Date:&nbsp;Mon, 1 Dec 2014 23:01:45 +0500<br class="">Subject:&nbsp;Re: [Freeswitch-dev] FreeSwitch and PowerPC<br class=""><div dir="ltr" class=""><span lang="en" class=""><span class="">system</span> <span class="">Linux 2.6.29.6</span> <span class="">from</span> <span class="">Freescale.</span> <span class="">proc mpc83021- big endian</span><br class=""> <span class="">PowerPC</span> <span class="">architecture</span></span><br clear="all" class=""><br class=""><br class=""><br class="">Best Regards,<br class="">Appalonov Andrei.
</div>
<br class=""><br class="">---------- Пересылаемое сообщение ----------<br class="">From:&nbsp;Anthony Minessale &lt;<a href="mailto:anthony.minessale@gmail.com" target="_blank" class="">anthony.minessale@gmail.com</a>&gt;<br class="">To:&nbsp;<a href="mailto:freeswitch-dev@lists.freeswitch.org" target="_blank" class="">freeswitch-dev@lists.freeswitch.org</a><br class="">Cc:&nbsp;<br class="">Date:&nbsp;Mon, 1 Dec 2014 12:48:53 -0600<br class="">Subject:&nbsp;Re: [Freeswitch-dev] FreeSwitch on PowerPC<div class=""><div class=""><br class=""><div dir="ltr" class="">can you get a backtrace from gdb of the core file rather than strace?<div class="">I know the srtp lib has had a problem in big endian.</div><div class=""><br class=""></div><div class="">You could try adding --disable-srtp to configure params</div><div class=""><br class=""></div>







<div class=""><br class=""></div></div><div class="gmail_extra"><br class=""><div class="gmail_quote">On Mon, Dec 1, 2014 at 6:50 AM, Андрей Аппалонов <span dir="ltr" class="">&lt;<a href="mailto:appalonovandrey@gmail.com" target="_blank" class="">appalonovandrey@gmail.com</a>&gt;</span> wrote:<br class=""><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr" class=""><div class=""><div class=""><span class="">Hello</span><span class=""></span><span class="">!</span><br class=""><span lang="en" class=""> <span class="">Can you</span> <span class="">help me?</span> <span class="">The problem</span> <span class="">is as follows:</span><br class=""><br class=""> <span class="">I compiled</span> <span class="">FreeSwitch</span> <span class="">for</span> <span class="">PowerPC.</span> <span class="">FS</span> <span class="">compiled,</span> <span class="">but</span> <span class="">does not want to</span> <span class="">run</span><span class="">.</span> <span class="">Gives</span> <span class="">a</span> <span class="">Aborted</span><span class="">.</span> <span class="">Runs under</span> <span class="">strace,</span> <span class="">this is what</span> <span class="">gives</span> <span class="">(the last</span> <span class="">38</span> <span class="">lines):</span></span><br class=""><br class="">open("/proc/stat", O_RDONLY)&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = 3<br class="">fstat64(3, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0<br class="">mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x48023000<br class="">read(3, "cpu&nbsp; 278 0 1857 11232 0 10 29 0 0"..., 1024) = 1024<br class="">read(3, "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0"..., 1024) = 161<br class="">read(3, ""..., 1024)&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = 0<br class="">close(3)&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = 0<br class="">munmap(0x48023000, 4096)&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = 0<br class="">sched_setscheduler(0, SCHED_FIFO, { 1 }) = 0<br class="">setpriority(PRIO_PROCESS, 1485, -10)&nbsp; &nbsp; = 0<br class="">setrlimit(RLIMIT_STACK, {rlim_cur=240*1024, rlim_max=8192*1024}) = 0<br class="">setrlimit(RLIMIT_NOFILE, {rlim_cur=999999, rlim_max=999999}) = 0<br class="">setrlimit(RLIMIT_CPU, {rlim_cur=RLIM_INFINITY, rlim_max=RLIM_INFINITY}) = 0<br class="">setrlimit(RLIMIT_DATA, {rlim_cur=RLIM_INFINITY, rlim_max=RLIM_INFINITY}) = 0<br class="">setrlimit(RLIMIT_FSIZE, {rlim_cur=RLIM_INFINITY, rlim_max=RLIM_INFINITY}) = 0<br class="">setrlimit(RLIMIT_NPROC, {rlim_cur=RLIM_INFINITY, rlim_max=RLIM_INFINITY}) = 0<br class="">setrlimit(RLIMIT_RTPRIO, {rlim_cur=RLIM_INFINITY, rlim_max=RLIM_INFINITY}) = 0<br class="">setrlimit(RLIMIT_AS, {rlim_cur=RLIM_INFINITY, rlim_max=RLIM_INFINITY}) = 0<br class="">mkdir("/usr/local/freeswitch/<div class="">run", 0750) = -1 EEXIST (File exists)<br class="">open("/usr/local/freeswitch/run/freeswitch.pid", O_RDONLY) = 3<br class="">read(3, "1483"..., 32)&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = 4<br class="">close(3)&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = 0<br class="">open("/usr/local/freeswitch/run/freeswitch.pid", O_WRONLY|O_CREAT|O_TRUNC, 0600) = 3<br class="">fcntl64(3, F_SETLK, {type=F_WRLCK, whence=SEEK_SET, start=0, len=0}) = 0<br class="">write(3, "1485"..., 4)&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = 4<br class="">uname({sys="Linux", node="OD-171/172", ...}) = 0<br class="">open("/proc/stat", O_RDONLY)&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = 4<br class="">fstat64(4, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0<br class="">mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x48023000<br class="">read(4, "cpu&nbsp; 279 0 1858 11232 0 10 29 0 0"..., 1024) = 1024<br class="">read(4, "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0"..., 1024) = 161<br class="">read(4, ""..., 1024)&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = 0<br class="">close(4)&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = 0<br class="">munmap(0x48023000, 4096)&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = 0<br class="">rt_sigprocmask(SIG_UNBLOCK, [ABRT], NULL, 8) = 0<br class="">tgkill(1485, 1485, SIGABRT)&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;= 0<br class="">--- SIGABRT (Aborted) @ 0 (0) ---<br class="">+++ killed by SIGABRT +++<br class=""><br class=""><font size="4" class=""><span lang="en" class=""><span class="">it</span> <span class="">wrote</span> <span class="">gdb</span></span></font>:<br class=""><br class=""></div><div class="">warning: exec file is newer than core file.<br class=""><br class="">warning: Can't read pathname for load map: Input/output error.<br class="">Reading symbols from /lib/libm.so.6...done.<br class="">Loaded symbols for /lib/libm.so.6<br class="">Reading symbols from /lib/libpthread.so.0...done.<br class="">Loaded symbols for /lib/libpthread.so.0<br class="">Reading symbols from /usr/local/freeswitch/lib/libfreeswitch.so.1...done.<br class="">Loaded symbols for /usr/local/freeswitch/lib/libfreeswitch.so.1<br class="">Reading symbols from /usr/lib/libz.so.1...done.<br class="">Loaded symbols for /usr/lib/libz.so.1<br class="">Reading symbols from /lib/librt.so.1...done.<br class="">Loaded symbols for /lib/librt.so.1<br class="">Reading symbols from /lib/libdl.so.2...done.<br class="">Loaded symbols for /lib/libdl.so.2<br class="">Reading symbols from /lib/libcrypt.so.1...done.<br class="">Loaded symbols for /lib/libcrypt.so.1<br class="">Reading symbols from /usr/lib/libssl.so.0.9.8...done.<br class="">Loaded symbols for /usr/lib/libssl.so.0.9.8<br class="">Reading symbols from /usr/lib/libcrypto.so.0.9.8...done.<br class="">Loaded symbols for /usr/lib/libcrypto.so.0.9.8<br class="">Reading symbols from /usr/lib/libjpeg.so.62...done.<br class="">Loaded symbols for /usr/lib/libjpeg.so.62<br class="">Reading symbols from /lib/libc.so.6...done.<br class="">Loaded symbols for /lib/libc.so.6<br class="">Reading symbols from /lib/ld.so.1...done.<br class="">Loaded symbols for /lib/ld.so.1<br class="">Reading symbols from /lib/libstdc++.so.6...done.<br class="">Loaded symbols for /lib/libstdc++.so.6<br class="">Reading symbols from /lib/libgcc_s.so.1...done.<br class="">Loaded symbols for /lib/libgcc_s.so.1<br class="">Core was generated by `./freeswitch'.<br class="">Program terminated with signal 6, Aborted.<br class="">#0&nbsp; 0x0f84e564 in raise () from /lib/libc.so.6<br class=""><font size="4" class=""><br class=""></font></div></div></div><div class=""><span lang="en" class=""><font size="4" class=""><span class="">Under</span> <span class="">gdb</span> <span class="">run:</span></font><br class=""><br class=""> <span class="">export CFLAGS = "- g -ggdb"</span><br class=""> <span class="">export MOD_CFLAGS = "- g -ggdb"</span><br class=""> <span class="">./run_configure</span><br class=""> <span class="">make</span><br class=""><br class=""> <span class="">ulimit -c unlimited</span><br class=""> <span class="">./freeswitch</span><br class=""><br class=""> <span class="">gdb bin / freeswitch core</span><br class=""><font size="4" class=""><br class=""> <span class="">Version</span> <span class="">FreeSwitch 1.4.0.</span></font><br class=""><br class=""> <font size="4" class=""><span class="">run_configure</span> <span class="">looks like this:</span><br class=""></font><br class=""> <span class="">export PATH = / opt / freescale / usr / local / gcc-4.1.78-eglibc-2.5.78-1 / powerpc-e300c3-linux-gnu / bin: \</span><br class=""> <span class="">/ home / common / ltib-mpc83xx / mpc8308erdb / rootfs / usr / lib: \</span><br class=""> <span class="">/ home / common / ltib-mpc83xx / mpc8308erdb / rootfs: \</span><br class=""> <span class="">/ home / common / ltib-mpc83xx / mpc8308erdb / rootfs / lib: $ PATH</span><br class=""><br class=""> <span class="">#export CC = powerpc-e300c3-linux-gnu-gcc</span><br class=""><br class=""> <span class="">declare -x CROSS_COMPILE = "powerpc-e300c3-linux-gnu-"</span><br class=""> <span class="">declare -x CC = "$ CROSS_COMPILE" gcc</span><br class=""> <span class="">declare -x CXX = "$ CROSS_COMPILE" g ++</span><br class=""> <span class="">declare -x CPP = "$ CROSS_COMPILE" cpp</span><br class=""> <span class="">declare -x STRIP = "$ CROSS_COMPILE" strip</span><br class=""> <span class="">declare -x RANLIB = "$ CROSS_COMPILE" ranlib</span><br class=""> <span class="">declare -x AR = "$ CROSS_COMPILE" ar</span><br class=""> <span class="">declare -x AS = "$ CROSS_COMPILE" as</span><br class=""> <span class="">declare -x NM = "$ CROSS_COMPILE" nm</span><br class=""> <span class="">declare -x LD = "$ CROSS_COMPILE" ld</span><br class=""> <span class="">export LDFLAGS = -L / home / common / ltib-mpc83xx / mpc8308erdb / rootfs / usr / lib</span><br class=""><br class=""> <span class="">export ac_cv_sizeof_ssize_t =</span> <span class="">4</span><br class=""> <span class="">export ac_cv_lib_z_inflateReset = yes</span><br class=""> <span class="">./configure
 --target = powerpc --with-lib-subdir = / home / common / ltib-mpc83xx /
 mpc8308erdb / rootfs / usr / lib --with-gcc-arch = powerpc --host = 
powerpc-e300c3-linux</span> <span class="">-gnu \</span><br class=""> <span class="">ac_cv_file__dev_ptmx = yes --disable-core-libedit-support --without-apr-util</span></span></div><span class=""><div class=""><br class=""></div><br class=""><span lang="en" class=""><span class="">What</span> <span class="">could be</span> <span class="">the reason for such</span> <span class="">behavior?<br class=""><br class=""><br class=""></span></span></span><span class=""><font color="#888888" class=""><span class=""><font color="#888888" class=""><div class=""><div dir="ltr" class=""><span lang="en" class=""><span class="">Best Regards</span><span class="">,</span><br class=""> <span class="">Appalonov</span> <span class="">Andrei.</span></span></div></div></font></span></font></span><br class=""></div>
<br class="">_________________________________________________________________________<br class="">
Professional FreeSWITCH Consulting Services:<br class="">
<a href="mailto:consulting@freeswitch.org" target="_blank" class="">consulting@freeswitch.org</a><br class="">
<a href="http://www.freeswitchsolutions.com/" target="_blank" class="">http://www.freeswitchsolutions.com</a><br class="">
<br class="">
Official FreeSWITCH Sites<br class="">
<a href="http://www.freeswitch.org/" target="_blank" class="">http://www.freeswitch.org</a><br class="">
<a href="http://wiki.freeswitch.org/" target="_blank" class="">http://wiki.freeswitch.org</a><br class="">
<a href="http://www.cluecon.com/" target="_blank" class="">http://www.cluecon.com</a><br class="">
<br class="">
FreeSWITCH-dev mailing list<br class="">
<a href="mailto:FreeSWITCH-dev@lists.freeswitch.org" target="_blank" class="">FreeSWITCH-dev@lists.freeswitch.org</a><br class="">
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev" target="_blank" class="">http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev</a><br class="">
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-dev" target="_blank" class="">http://lists.freeswitch.org/mailman/options/freeswitch-dev</a><br class="">
<a href="http://www.freeswitch.org/" target="_blank" class="">http://www.freeswitch.org</a><br class="">
<br class=""></blockquote></div><br class=""><br clear="all" class=""><div class=""><br class=""></div>-- <br class=""><div class=""><div dir="ltr" class="">Anthony Minessale II &nbsp; &nbsp; &nbsp; ♬ @anthmfs&nbsp;&nbsp;♬ @FreeSWITCH&nbsp;&nbsp;♬<div class=""><br class=""><div class="">☞ <a href="http://freeswitch.org/" target="_blank" class="">http://freeswitch.org/</a> &nbsp;☞ <a href="http://cluecon.com/" target="_blank" class="">http://cluecon.com/</a> &nbsp;☞ <a href="http://twitter.com/FreeSWITCH" target="_blank" class="">http://twitter.com/FreeSWITCH</a></div><div class=""><div class="">☞ <a href="http://irc.freenode.net/" target="_blank" class="">irc.freenode.net</a> #freeswitch&nbsp;☞ <u class=""><a href="http://freeswitch.org/g+" target="_blank" class="">http://freeswitch.org/g+</a></u><br class=""><br class=""></div><div class="">ClueCon Weekly Development Call&nbsp;<br class=""></div><div class="">☎&nbsp;<a href="mailto:sip%3A888@conference.freeswitch.org" target="_blank" class="">sip:888@conference.freeswitch.org</a> &nbsp;☎ <a href="tel:%2B19193869900" value="+19193869900" target="_blank" class="">+19193869900</a>&nbsp;</div><div class=""><br class=""></div></div></div></div></div>
</div>
<br class=""><br class=""></div></div>---------- Пересылаемое сообщение ----------<br class="">From:&nbsp;"Андрей Аппалонов" &lt;<a href="mailto:appalonovandrey@gmail.com" target="_blank" class="">appalonovandrey@gmail.com</a>&gt;<br class="">To:&nbsp;<a href="mailto:freeswitch-dev@lists.freeswitch.org" target="_blank" class="">freeswitch-dev@lists.freeswitch.org</a><br class="">Cc:&nbsp;<br class="">Date:&nbsp;Tue, 2 Dec 2014 22:27:08 +0500<br class="">Subject:&nbsp;Re: [Freeswitch-dev] FreeSWITCH-dev Digest, Vol 102, Issue 1<br class=""><div dir="ltr" class=""><span lang="en" class=""><span class="">system</span> <span class="">Linux 2.6.29.6</span> <span class="">from</span> <span class="">Freescale.</span> <span class="">proc mpc83021- big endian</span><br class=""> <span class="">PowerPC</span> <span class="">architecture</span></span><div class="gmail_extra"><br class=""><div class="gmail_quote">2014-12-01 19:22 GMT+05:00  <span dir="ltr" class="">&lt;<a href="mailto:freeswitch-dev-request@lists.freeswitch.org" target="_blank" class="">freeswitch-dev-request@lists.freeswitch.org</a>&gt;</span>:<br class=""><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Send FreeSWITCH-dev mailing list submissions to<br class="">
&nbsp; &nbsp; &nbsp; &nbsp; <a href="mailto:freeswitch-dev@lists.freeswitch.org" target="_blank" class="">freeswitch-dev@lists.freeswitch.org</a><br class="">
<br class="">
To subscribe or unsubscribe via the World Wide Web, visit<br class="">
&nbsp; &nbsp; &nbsp; &nbsp; <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev" target="_blank" class="">http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev</a><br class="">
or, via email, send a message with subject or body 'help' to<br class="">
&nbsp; &nbsp; &nbsp; &nbsp; <a href="mailto:freeswitch-dev-request@lists.freeswitch.org" target="_blank" class="">freeswitch-dev-request@lists.freeswitch.org</a><br class="">
<br class="">
You can reach the person managing the list at<br class="">
&nbsp; &nbsp; &nbsp; &nbsp; <a href="mailto:freeswitch-dev-owner@lists.freeswitch.org" target="_blank" class="">freeswitch-dev-owner@lists.freeswitch.org</a><br class="">
<br class="">
When replying, please edit your Subject line so it is more specific<br class="">
than "Re: Contents of FreeSWITCH-dev digest..."<br class="">
<br class="">Today's Topics:<br class="">
<br class="">
&nbsp; &nbsp;1. FreeSwitch and PowerPC (?????? ?????????)<br class="">
&nbsp; &nbsp;2. FreeSWITCH Friday FreeForAll Reminder! (Ken Rice)<br class="">
&nbsp; &nbsp;3. FreeSwitch on PowerPC (?????? ?????????)<br class="">
&nbsp; &nbsp;4. Re: FreeSwitch and PowerPC (Brian West)<br class="">
<br class=""><br class="">---------- Пересылаемое сообщение ----------<br class="">From:&nbsp;"Андрей Аппалонов" &lt;<a href="mailto:appalonovandrey@gmail.com" target="_blank" class="">appalonovandrey@gmail.com</a>&gt;<br class="">To:&nbsp;<a href="mailto:FreeSWITCH-dev@lists.freeswitch.org" target="_blank" class="">FreeSWITCH-dev@lists.freeswitch.org</a><br class="">Cc:&nbsp;<br class="">Date:&nbsp;Thu, 27 Nov 2014 18:41:55 +0500<br class="">Subject:&nbsp;[Freeswitch-dev] FreeSwitch and PowerPC<br class=""><div dir="ltr" class=""><div class=""><div class="">Hello! <br class="">Help me, please.<br class=""></div><div class=""><br class=""><span lang="en" class=""><span class="">I did</span> <span class="">cross-compilation</span> <span class="">FreeSwitch</span> <span class="">for</span> <span class="">PowerPC.</span> <span class="">In the end,</span> <span class="">everything has been</span> <span class="">successfully</span> <span class="">compiled.</span> <span class="">But</span> <span class="">when</span> <span class="">you try to start</span> <span class="">FreeSwitch</span> <span class="">on</span> PowerPC<span class=""></span> <span class="">gives</span> <span class="">just</span> <span class="">Aborted</span><span class="">.</span> <span class="">When you try to</span> <span class="">run through the</span> <span class="">/usr/bin/strace</span> <span class="">gives the following</span></span><span class=""><br class=""><br class="">open("/usr/local/freeswitch/run/freeswitch.pid", O_WRONLY|O_CREAT|O_TRUNC, 0600) = 3<br class="">fcntl64(3, F_SETLK, {type=F_WRLCK, whence=SEEK_SET, start=0, len=0}) = 0<br class=""></span>write(3, "2701"..., 4)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = 4<span class=""><br class="">uname({sys="Linux", node="OD-171/172", ...}) = 0<br class="">open("/proc/stat", O_RDONLY)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = 4<br class="">fstat64(4, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0<br class="">mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x48023000<br class=""></span>read(4, "cpu&nbsp; 5014 0 14136 1112775 0 692 1"..., 1024) = 1024<br class="">read(4, " 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 "..., 1024) = 188<span class=""><br class="">read(4, ""..., 1024)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = 0<br class="">close(4)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = 0<br class="">munmap(0x48023000, 4096)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = 0<br class="">rt_sigprocmask(SIG_UNBLOCK, [ABRT], NULL, 8) = 0<br class=""></span>tgkill(2701, 2701, SIGABRT)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = 0<span class=""><br class="">--- SIGABRT (Aborted) @ 0 (0) ---<br class="">+++ killed by SIGABRT +++<br class=""><br class=""></span>&nbsp;<span lang="en" class=""><span class="">What</span> <span class="">could be wrong?</span></span></div>
<div class=""><br class=""><br class=""><br class=""></div>Best Regards,<br class=""></div>Appalonov Andrei.</div>
<br class=""><br class="">---------- Пересылаемое сообщение ----------<br class="">From:&nbsp;Ken Rice &lt;<a href="mailto:krice@freeswitch.org" target="_blank" class="">krice@freeswitch.org</a>&gt;<br class="">To:&nbsp;<a href="mailto:freeswitch-users@lists.freeswitch.org" target="_blank" class="">freeswitch-users@lists.freeswitch.org</a>, <a href="mailto:freeswitch-dev@lists.freeswitch.org" target="_blank" class="">freeswitch-dev@lists.freeswitch.org</a><br class="">Cc:&nbsp;<br class="">Date:&nbsp;Fri, 28 Nov 2014 15:03:44 +0000<br class="">Subject:&nbsp;[Freeswitch-dev] FreeSWITCH Friday FreeForAll Reminder!<br class="">FreeSWITCHers, Do not forget to join us at 2PM CST for the FreeSWITCH Friday FreeFor All<br class="">
Visit <a href="http://ift.tt/1n3h0Pf" target="_blank" class="">http://ift.tt/1n3h0Pf</a> and Click Call 888 with your WebRTC enabled Browser and headset, Call <a href="mailto:sip%3A888@conference.freeswitch.org" target="_blank" class="">sip:888@conference.freeswitch.org</a> or see <a href="http://ift.tt/1prwIZL" target="_blank" class="">http://ift.tt/1prwIZL</a> for access info!<br class="">
-- Ken <a href="http://FreeSWITCH.org" class="">FreeSWITCH.org</a> <a href="http://ClueCon.com" class="">ClueCon.com</a> <a href="http://OSTAG.org" class="">OSTAG.org</a> <a href="http://irc.freenode.net/" target="_blank" class="">irc.freenode.net</a> #freeswitch Twitter: @FreeSWITCH @ClueCon
<br class=""><br class="">---------- Пересылаемое сообщение ----------<br class="">From:&nbsp;"Андрей Аппалонов" &lt;<a href="mailto:appalonovandrey@gmail.com" target="_blank" class="">appalonovandrey@gmail.com</a>&gt;<br class="">To:&nbsp;<a href="mailto:FreeSWITCH-dev@lists.freeswitch.org" target="_blank" class="">FreeSWITCH-dev@lists.freeswitch.org</a><br class="">Cc:&nbsp;<br class="">Date:&nbsp;Mon, 1 Dec 2014 17:50:58 +0500<br class="">Subject:&nbsp;[Freeswitch-dev] FreeSwitch on PowerPC<div class=""><div class=""><br class=""><div dir="ltr" class=""><span class="">Hello</span><span class=""></span><span class="">!</span><br class=""><span lang="en" class=""> <span class="">Can you</span> <span class="">help me?</span> <span class="">The problem</span> <span class="">is as follows:</span><br class=""><br class=""> <span class="">I compiled</span> <span class="">FreeSwitch</span> <span class="">for</span> <span class="">PowerPC.</span> <span class="">FS</span> <span class="">compiled,</span> <span class="">but</span> <span class="">does not want to</span> <span class="">run</span><span class="">.</span> <span class="">Gives</span> <span class="">a</span> <span class="">Aborted</span><span class="">.</span> <span class="">Runs under</span> <span class="">strace,</span> <span class="">this is what</span> <span class="">gives</span> <span class="">(the last</span> <span class="">38</span> <span class="">lines):</span></span><br class=""><br class="">open("/proc/stat", O_RDONLY)&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = 3<br class="">fstat64(3, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0<br class="">mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x48023000<br class="">read(3, "cpu&nbsp; 278 0 1857 11232 0 10 29 0 0"..., 1024) = 1024<br class="">read(3, "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0"..., 1024) = 161<br class="">read(3, ""..., 1024)&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = 0<br class="">close(3)&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = 0<br class="">munmap(0x48023000, 4096)&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = 0<br class="">sched_setscheduler(0, SCHED_FIFO, { 1 }) = 0<br class="">setpriority(PRIO_PROCESS, 1485, -10)&nbsp; &nbsp; = 0<br class="">setrlimit(RLIMIT_STACK, {rlim_cur=240*1024, rlim_max=8192*1024}) = 0<br class="">setrlimit(RLIMIT_NOFILE, {rlim_cur=999999, rlim_max=999999}) = 0<br class="">setrlimit(RLIMIT_CPU, {rlim_cur=RLIM_INFINITY, rlim_max=RLIM_INFINITY}) = 0<br class="">setrlimit(RLIMIT_DATA, {rlim_cur=RLIM_INFINITY, rlim_max=RLIM_INFINITY}) = 0<br class="">setrlimit(RLIMIT_FSIZE, {rlim_cur=RLIM_INFINITY, rlim_max=RLIM_INFINITY}) = 0<br class="">setrlimit(RLIMIT_NPROC, {rlim_cur=RLIM_INFINITY, rlim_max=RLIM_INFINITY}) = 0<br class="">setrlimit(RLIMIT_RTPRIO, {rlim_cur=RLIM_INFINITY, rlim_max=RLIM_INFINITY}) = 0<br class="">setrlimit(RLIMIT_AS, {rlim_cur=RLIM_INFINITY, rlim_max=RLIM_INFINITY}) = 0<br class="">mkdir("/usr/local/freeswitch/<div class="">run", 0750) = -1 EEXIST (File exists)<br class="">open("/usr/local/freeswitch/run/freeswitch.pid", O_RDONLY) = 3<br class="">read(3, "1483"..., 32)&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = 4<br class="">close(3)&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = 0<br class="">open("/usr/local/freeswitch/run/freeswitch.pid", O_WRONLY|O_CREAT|O_TRUNC, 0600) = 3<br class="">fcntl64(3, F_SETLK, {type=F_WRLCK, whence=SEEK_SET, start=0, len=0}) = 0<br class="">write(3, "1485"..., 4)&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = 4<br class="">uname({sys="Linux", node="OD-171/172", ...}) = 0<br class="">open("/proc/stat", O_RDONLY)&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = 4<br class="">fstat64(4, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0<br class="">mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x48023000<br class="">read(4, "cpu&nbsp; 279 0 1858 11232 0 10 29 0 0"..., 1024) = 1024<br class="">read(4, "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0"..., 1024) = 161<br class="">read(4, ""..., 1024)&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = 0<br class="">close(4)&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = 0<br class="">munmap(0x48023000, 4096)&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = 0<br class="">rt_sigprocmask(SIG_UNBLOCK, [ABRT], NULL, 8) = 0<br class="">tgkill(1485, 1485, SIGABRT)&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;= 0<br class="">--- SIGABRT (Aborted) @ 0 (0) ---<br class="">+++ killed by SIGABRT +++<br class=""><br class=""><font size="4" class=""><span lang="en" class=""><span class="">it</span> <span class="">wrote</span> <span class="">gdb</span></span></font>:<br class=""><br class=""></div><div class="">warning: exec file is newer than core file.<br class=""><br class="">warning: Can't read pathname for load map: Input/output error.<br class="">Reading symbols from /lib/libm.so.6...done.<br class="">Loaded symbols for /lib/libm.so.6<br class="">Reading symbols from /lib/libpthread.so.0...done.<br class="">Loaded symbols for /lib/libpthread.so.0<br class="">Reading symbols from /usr/local/freeswitch/lib/libfreeswitch.so.1...done.<br class="">Loaded symbols for /usr/local/freeswitch/lib/libfreeswitch.so.1<br class="">Reading symbols from /usr/lib/libz.so.1...done.<br class="">Loaded symbols for /usr/lib/libz.so.1<br class="">Reading symbols from /lib/librt.so.1...done.<br class="">Loaded symbols for /lib/librt.so.1<br class="">Reading symbols from /lib/libdl.so.2...done.<br class="">Loaded symbols for /lib/libdl.so.2<br class="">Reading symbols from /lib/libcrypt.so.1...done.<br class="">Loaded symbols for /lib/libcrypt.so.1<br class="">Reading symbols from /usr/lib/libssl.so.0.9.8...done.<br class="">Loaded symbols for /usr/lib/libssl.so.0.9.8<br class="">Reading symbols from /usr/lib/libcrypto.so.0.9.8...done.<br class="">Loaded symbols for /usr/lib/libcrypto.so.0.9.8<br class="">Reading symbols from /usr/lib/libjpeg.so.62...done.<br class="">Loaded symbols for /usr/lib/libjpeg.so.62<br class="">Reading symbols from /lib/libc.so.6...done.<br class="">Loaded symbols for /lib/libc.so.6<br class="">Reading symbols from /lib/ld.so.1...done.<br class="">Loaded symbols for /lib/ld.so.1<br class="">Reading symbols from /lib/libstdc++.so.6...done.<br class="">Loaded symbols for /lib/libstdc++.so.6<br class="">Reading symbols from /lib/libgcc_s.so.1...done.<br class="">Loaded symbols for /lib/libgcc_s.so.1<br class="">Core was generated by `./freeswitch'.<br class="">Program terminated with signal 6, Aborted.<br class="">#0&nbsp; 0x0f84e564 in raise () from /lib/libc.so.6<br class=""><font size="4" class=""><br class=""></font></div><div class=""><span lang="en" class=""><font size="4" class=""><span class="">Under</span> <span class="">gdb</span> <span class="">run:</span></font><br class=""><br class=""> <span class="">export CFLAGS = "- g -ggdb"</span><br class=""> <span class="">export MOD_CFLAGS = "- g -ggdb"</span><br class=""> <span class="">./run_configure</span><br class=""> <span class="">make</span><br class=""><br class=""> <span class="">ulimit -c unlimited</span><br class=""> <span class="">./freeswitch</span><br class=""><br class=""> <span class="">gdb bin / freeswitch core</span><br class=""><font size="4" class=""><br class=""> <span class="">Version</span> <span class="">FreeSwitch 1.4.0.</span></font><br class=""><br class=""> <font size="4" class=""><span class="">run_configure</span> <span class="">looks like this:</span><br class=""></font><br class=""> <span class="">export PATH = / opt / freescale / usr / local / gcc-4.1.78-eglibc-2.5.78-1 / powerpc-e300c3-linux-gnu / bin: \</span><br class=""> <span class="">/ home / common / ltib-mpc83xx / mpc8308erdb / rootfs / usr / lib: \</span><br class=""> <span class="">/ home / common / ltib-mpc83xx / mpc8308erdb / rootfs: \</span><br class=""> <span class="">/ home / common / ltib-mpc83xx / mpc8308erdb / rootfs / lib: $ PATH</span><br class=""><br class=""> <span class="">#export CC = powerpc-e300c3-linux-gnu-gcc</span><br class=""><br class=""> <span class="">declare -x CROSS_COMPILE = "powerpc-e300c3-linux-gnu-"</span><br class=""> <span class="">declare -x CC = "$ CROSS_COMPILE" gcc</span><br class=""> <span class="">declare -x CXX = "$ CROSS_COMPILE" g ++</span><br class=""> <span class="">declare -x CPP = "$ CROSS_COMPILE" cpp</span><br class=""> <span class="">declare -x STRIP = "$ CROSS_COMPILE" strip</span><br class=""> <span class="">declare -x RANLIB = "$ CROSS_COMPILE" ranlib</span><br class=""> <span class="">declare -x AR = "$ CROSS_COMPILE" ar</span><br class=""> <span class="">declare -x AS = "$ CROSS_COMPILE" as</span><br class=""> <span class="">declare -x NM = "$ CROSS_COMPILE" nm</span><br class=""> <span class="">declare -x LD = "$ CROSS_COMPILE" ld</span><br class=""> <span class="">export LDFLAGS = -L / home / common / ltib-mpc83xx / mpc8308erdb / rootfs / usr / lib</span><br class=""><br class=""> <span class="">export ac_cv_sizeof_ssize_t =</span> <span class="">4</span><br class=""> <span class="">export ac_cv_lib_z_inflateReset = yes</span><br class=""> <span class="">./configure
 --target = powerpc --with-lib-subdir = / home / common / ltib-mpc83xx /
 mpc8308erdb / rootfs / usr / lib --with-gcc-arch = powerpc --host = 
powerpc-e300c3-linux</span> <span class="">-gnu \</span><br class=""> <span class="">ac_cv_file__dev_ptmx = yes --disable-core-libedit-support --without-apr-util</span></span></div><div class=""><br class=""></div><br class=""><span lang="en" class=""><span class="">What</span> <span class="">could be</span> <span class="">the reason for such</span> <span class="">behavior?<br class=""><br class=""><br class=""></span></span><span class=""><font color="#888888" class=""><span class=""><font color="#888888" class=""><div class=""><div dir="ltr" class=""><span lang="en" class=""><span class="">Best Regards</span><span class="">,</span><br class=""> <span class="">Appalonov</span> <span class="">Andrei.</span></span></div></div></font></span></font></span><br class=""></div>
<br class=""><br class=""></div></div>---------- Пересылаемое сообщение ----------<br class="">From:&nbsp;Brian West &lt;<a href="mailto:brian@freeswitch.org" target="_blank" class="">brian@freeswitch.org</a>&gt;<br class="">To:&nbsp;"<a href="mailto:freeswitch-dev@lists.freeswitch.org" target="_blank" class="">freeswitch-dev@lists.freeswitch.org</a>" &lt;<a href="mailto:freeswitch-dev@lists.freeswitch.org" target="_blank" class="">freeswitch-dev@lists.freeswitch.org</a>&gt;<br class="">Cc:&nbsp;<br class="">Date:&nbsp;Mon, 1 Dec 2014 08:22:14 -0600<br class="">Subject:&nbsp;Re: [Freeswitch-dev] FreeSwitch and PowerPC<br class=""><div dir="ltr" class="">What system are you running on and what rev of FreeSWITCH are you trying?&nbsp; This is why I wanted to get my hands on some big endian systems to make sure everything was still working properly.</div><div class="gmail_extra"><br class=""><div class="gmail_quote"><span class="">On Thu, Nov 27, 2014 at 7:41 AM, Андрей Аппалонов <span dir="ltr" class="">&lt;<a href="mailto:appalonovandrey@gmail.com" target="_blank" class="">appalonovandrey@gmail.com</a>&gt;</span> wrote:<br class=""></span><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr" class=""><div class=""><div class="">Hello! <br class="">Help me, please.<br class=""></div><div class=""><br class=""><span lang="en" class=""><span class="">I did</span> <span class="">cross-compilation</span> <span class="">FreeSwitch</span> <span class="">for</span> <span class="">PowerPC.</span> <span class="">In the end,</span> <span class="">everything has been</span> <span class="">successfully</span> <span class="">compiled.</span> <span class="">But</span> <span class="">when</span> <span class="">you try to start</span> <span class="">FreeSwitch</span> <span class="">on</span> PowerPC<span class=""></span> <span class="">gives</span> <span class="">just</span> <span class="">Aborted</span><span class="">.</span> <span class="">When you try to</span> <span class="">run through the</span> <span class="">/usr/bin/strace</span> <span class="">gives the following</span></span><span class=""><br class=""><br class="">open("/usr/local/freeswitch/run/freeswitch.pid", O_WRONLY|O_CREAT|O_TRUNC, 0600) = 3<br class="">fcntl64(3, F_SETLK, {type=F_WRLCK, whence=SEEK_SET, start=0, len=0}) = 0<br class=""></span>write(3, "2701"..., 4)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = 4<span class=""><br class="">uname({sys="Linux", node="OD-171/172", ...}) = 0<br class="">open("/proc/stat", O_RDONLY)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = 4<br class="">fstat64(4, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0<br class="">mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x48023000<br class=""></span>read(4, "cpu&nbsp; 5014 0 14136 1112775 0 692 1"..., 1024) = 1024<br class="">read(4, " 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 "..., 1024) = 188<span class=""><br class="">read(4, ""..., 1024)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = 0<br class="">close(4)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = 0<br class="">munmap(0x48023000, 4096)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = 0<br class="">rt_sigprocmask(SIG_UNBLOCK, [ABRT], NULL, 8) = 0<br class=""></span>tgkill(2701, 2701, SIGABRT)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = 0<span class=""><br class="">--- SIGABRT (Aborted) @ 0 (0) ---<br class="">+++ killed by SIGABRT +++<br class=""><br class=""></span>&nbsp;<span lang="en" class=""><span class="">What</span> <span class="">could be wrong?</span></span></div>
</div></div></blockquote></div></div></blockquote></div></div></div></blockquote></div></div></div></div></div></blockquote></div></div></blockquote></div></div></div></div></blockquote></div><br class=""></div></body></html>