<div dir="ltr"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><span style="font-family:arial,sans-serif;font-size:13px">Currently I don't think there are checks in the FreeSWITCH build system<br>
</span><span style="font-family:arial,sans-serif;font-size:13px">that would bail on known bad architectures and compiler version</span></blockquote><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<span style="font-family:arial,sans-serif;font-size:13px">combinations.</span></blockquote><div><br></div><div>Since it's based on Debian, are you building for Raspbian directly from source (ie running make) or via .deb packages? If the latter then debian/control can require a minimum gcc version in the Build-Depends header</div>
</div><div class="gmail_extra"><br><br><div class="gmail_quote">On 16 June 2014 00:45, William King <span dir="ltr"><<a href="mailto:william.king@quentustech.com" target="_blank">william.king@quentustech.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">This particular bug was pretty fickle. You could change a handful of<br>
items in that block of code and the bug would not replicate(or at least<br>
not in the same way). Building FreeSWITCH with GCC 4.7.2, which is the<br>
latest version of gcc available on Raspbian, didn't replicate the same<br>
issue.<br>
<br>
I've now filed it against Raspbian as well:<br>
<a href="https://bugs.launchpad.net/raspbian/+bug/1330270" target="_blank">https://bugs.launchpad.net/raspbian/+bug/1330270</a><br>
<br>
Since the bug doesn't reproduce with 4.7.2, this particular issue is now<br>
an educational exercise. A potential follow up would be to use a cross<br>
compilation setup and git bisect between the RTL commits(of which there<br>
are 206 between 4.6.3 and 4.7.2) and see if there is one that provides<br>
more insight into the root cause.<br>
<br>
Currently I don't think there are checks in the FreeSWITCH build system<br>
that would bail on known bad architectures and compiler version<br>
combinations.<br>
<br>
After digging into this issue I'm now curious which compiler(and<br>
version) the major distros are using to build the release packages.<br>
<br>
Also it appears which gcc version used by default in Debian Wheezy<br>
depends on the architecture: i386 and amd64 use 4.7 by default, while<br>
all others use 4.6.<br>
<div class="im HOEnZb"><br>
William King<br>
Senior Engineer<br>
Quentus Technologies, INC<br>
1037 NE 65th St Suite 273<br>
Seattle, WA 98115<br>
Main: <a href="tel:%28877%29%20211-9337" value="+18772119337">(877) 211-9337</a><br>
Office: <a href="tel:%28206%29%20388-4772" value="+12063884772">(206) 388-4772</a><br>
Cell: <a href="tel:%28253%29%20686-5518" value="+12536865518">(253) 686-5518</a><br>
<a href="mailto:william.king@quentustech.com">william.king@quentustech.com</a><br>
<br>
</div><div class="HOEnZb"><div class="h5">On 06/14/2014 11:03 PM, Steve Underwood wrote:<br>
> On 06/15/2014 04:42 AM, William King wrote:<br>
>> <a href="http://quentusrex.com/freeswitch-raspberrypi-gcc-compiler-bug.html" target="_blank">http://quentusrex.com/freeswitch-raspberrypi-gcc-compiler-bug.html</a><br>
>><br>
> Does an up to date GCC do the same thing? If it does, you should have<br>
> reported against that. If it doesn't, you should report against the<br>
> distros, telling them to update to something that works. Nobody is going<br>
> to fix an old compiler, so it is pointless reporting bugs against it.<br>
><br>
> Regards,<br>
> Steve<br>
><br>
><br>
> _________________________________________________________________________<br>
> Professional FreeSWITCH Consulting Services:<br>
> <a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
> <a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
><br>
> FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
> <a href="http://www.cudatel.com" target="_blank">http://www.cudatel.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-users mailing list<br>
> <a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
> <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
> UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
> <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
><br>
<br>
_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.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-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
</div></div></blockquote></div><br></div>