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







<p><font face="courier new, monospace"><b><i><font size="4">Brian West</font></i></b><br><span style="font-size:x-small"><a href="mailto:brian@freeswitch.org" target="_blank">brian@freeswitch.org</a></span></font></p>
<p><font face="courier new, monospace" size="1"><img src="http://billing.freeswitch.org/templates/default/img/whmcslogo.png"><br></font></p><p><font face="courier new, monospace"><b><i>Twitter: @FreeSWITCH , @briankwest</i></b><br><a href="http://www.freeswitchbook.com" target="_blank">http://www.freeswitchbook.com</a><br><a href="http://www.freeswitchcookbook.com" target="_blank">http://www.freeswitchcookbook.com</a></font></p>
<p><font face="courier new, monospace"><b>T:</b>+19184209001 | <b>F:</b>+19184209002 | <b>M:</b>+1918424WEST (9378)<br><b>iNUM:</b>+883 5100 1420 9001 | <b>ISN:</b>410*543 | <b>Skype:</b>briankwest</font></p></div></div>
</div>
<br>_______________________________________________<br>
FreeSWITCH-dev mailing list<br>
<a href="mailto:FreeSWITCH-dev@lists.freeswitch.org" target="_blank">FreeSWITCH-dev@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-dev" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-dev</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br><br clear="all"><span lang="en"><span>system</span> <span>Linux 2.6.29.6</span> <span>from</span> <span>Freescale.</span> <span>proc mpc83021- big endian</span><br> <span>PowerPC</span> <span>architecture</span></span><br clear="all"><br><br><br>Best Regards,<br>Appalonov Andrei.
</div></div>