Files
asterisk/main
Walter Doekes 0bdd6ce706 Add _IO_stdin_used in version-script to fix SIGBUSes on Sparc.
The --version-script,asterisk.exports linker flag (and the module
exports) didn't provide _IO_stdin_used in the list of exported symbols.
That causes some kind of libc compatibility mode to kick in, where
stdio file structures (stdout/stderr) land somewhere else. In the
case of the Sparc, they landed on misaligned memory.

This became apparent first after r376428 (Reorder startup sequence)
when a lot of ast_log's were replaced with fprintf's. Writing to
stderr triggered a SIGBUS. (Compared to x86 and amd64 architectures,
the Sparc is very picky about memory alignment.)

(issue ASTERISK-21763)
(issue ASTERISK-21665)

Reported by: Jeremy Kister
Review: https://reviewboard.asterisk.org/r/2760/
........

Merged revisions 397377 from http://svn.asterisk.org/svn/asterisk/branches/1.8


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/11@397378 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2013-08-22 08:22:39 +00:00
..
2012-12-03 20:43:03 +00:00
2012-06-15 16:20:16 +00:00
2012-03-24 02:42:42 +00:00
2013-08-20 15:27:16 +00:00
2012-06-15 16:20:16 +00:00
2012-06-15 16:20:16 +00:00
2012-07-06 15:31:52 +00:00
2012-06-15 16:20:16 +00:00
2012-03-22 19:51:16 +00:00
2012-06-15 16:20:16 +00:00
2012-06-15 16:20:16 +00:00
2012-12-11 00:34:46 +00:00
2012-03-22 19:51:16 +00:00
2012-06-15 16:20:16 +00:00
2012-06-15 16:20:16 +00:00
2012-06-15 16:20:16 +00:00
2012-06-15 16:20:16 +00:00
2012-06-15 16:20:16 +00:00
2012-06-15 16:20:16 +00:00
2013-08-21 17:07:06 +00:00
2012-12-11 02:12:26 +00:00
2012-06-15 16:20:16 +00:00
2012-06-15 16:20:16 +00:00
2013-02-26 19:19:51 +00:00
2012-04-28 01:33:49 +00:00
2013-04-18 16:07:03 +00:00
2012-06-15 16:20:16 +00:00
2012-06-15 16:20:16 +00:00
2012-06-15 16:20:16 +00:00
2012-09-25 23:09:40 +00:00
2012-06-15 16:20:16 +00:00
2012-03-22 19:51:16 +00:00
2012-06-15 16:20:16 +00:00
2012-06-15 16:20:16 +00:00
2012-06-15 16:20:16 +00:00
2012-12-11 20:45:02 +00:00
2012-06-15 16:20:16 +00:00
2012-06-15 16:20:16 +00:00
2012-07-30 23:26:51 +00:00
2012-06-15 16:20:16 +00:00
2012-06-15 16:20:16 +00:00
2013-08-20 14:25:30 +00:00