<html>
<body>
<div style="font-family: Verdana, Arial, Helvetica, Sans-Serif;">
<table bgcolor="#f9f3c9" width="100%" cellpadding="8" style="border: 1px #c9c399 solid;">
<tr>
<td>
This is an automatically generated e-mail. To reply, visit:
<a href="https://reviewboard.asterisk.org/r/2760/">https://reviewboard.asterisk.org/r/2760/</a>
</td>
</tr>
</table>
<br />
<table bgcolor="#fefadf" width="100%" cellspacing="0" cellpadding="8" style="background-image: url('https://reviewboard.asterisk.org/static/rb/images/review_request_box_top_bg.png'); background-position: left top; background-repeat: repeat-x; border: 1px black solid;">
<tr>
<td>
<div>Review request for Asterisk Developers and jkister.</div>
<div>By wdoekes.</div>
<div style="margin-top: 1.5em;">
<b style="color: #575012; font-size: 10pt; margin-top: 1.5em;">Bugs: </b>
<a href="https://issues.asterisk.org/jira/browse/ASTERISK-21763">ASTERISK-21763</a>
</div>
<div style="margin-top: 1.5em;">
<b style="color: #575012; font-size: 10pt;">Repository: </b>
Asterisk
</div>
<h1 style="color: #575012; font-size: 10pt; margin-top: 1.5em;">Description </h1>
<table width="100%" bgcolor="#ffffff" cellspacing="0" cellpadding="10" style="border: 1px solid #b8b5a0">
<tr>
<td>
<pre style="margin: 0; padding: 0; white-space: pre-wrap; white-space: -moz-pre-wrap; white-space: -pre-wrap; white-space: -o-pre-wrap; word-wrap: break-word;">Asterisk was killed by SIGBUSes on Jeremy Kisters' Sparc.
One of the problems was that the STDIO file structures were getting misaligned because of some compatibility code.
A Mozilla bug report on the Debian tracker provides lots of useful info.
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=634261#94
>>> FYI, I found that it is triggered by the _IO_stdin_used symbol
>>> not being exported from the binary, which happened because of a
>>> version-script couple with -rdynamic. I still think there is
>>> something fishy going on on the libc6 side, but not as bad as
>>> originally thought.
>> This seems to be a known and more or less documented behavior of
>> libc to determine which ABI to use for an application software.
> A build process that mangles the export of _IO_stdin_used is (as
> defined by the libc ABI, even if not explicitly written down)
> broken.
I added comments[1] in the asterisk.exports.in file so we wouldn't forget what that strange entry is doing there.
[1] http://www.scoberlin.de/content/media/http/informatik/gcc_docs/ld_3.html#SEC7</pre>
</td>
</tr>
</table>
<h1 style="color: #575012; font-size: 10pt; margin-top: 1.5em;">Testing </h1>
<table width="100%" bgcolor="#ffffff" cellspacing="0" cellpadding="10" style="border: 1px solid #b8b5a0">
<tr>
<td>
<pre style="margin: 0; padding: 0; white-space: pre-wrap; white-space: -moz-pre-wrap; white-space: -pre-wrap; white-space: -o-pre-wrap; word-wrap: break-word;">See bug reports: ASTERISK-21763 and ASTERISK-21665.
Note that this doesn't fix all the problems on the Sparc, but it's a start.</pre>
</td>
</tr>
</table>
<h1 style="color: #575012; font-size: 10pt; margin-top: 1.5em;">Diffs</b> </h1>
<ul style="margin-left: 3em; padding-left: 0;">
<li>/branches/1.8/default.exports <span style="color: grey">(396721)</span></li>
<li>/branches/1.8/main/asterisk.exports.in <span style="color: grey">(396721)</span></li>
</ul>
<p><a href="https://reviewboard.asterisk.org/r/2760/diff/" style="margin-left: 3em;">View Diff</a></p>
</td>
</tr>
</table>
</div>
</body>
</html>