[asterisk-bugs] [Asterisk 0019298]: [regression] Big Endian breakage (regression since gcc 4.6 fix)

Asterisk Bug Tracker noreply at bugs.digium.com
Mon May 16 09:26:39 CDT 2011


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=19298 
====================================================================== 
Reported By:                tzafrir
Assigned To:                dvossel
====================================================================== 
Project:                    Asterisk
Issue ID:                   19298
Category:                   General
Reproducibility:            always
Severity:                   block
Priority:                   normal
Status:                     assigned
Asterisk Version:           1.8.4 
JIRA:                       SWP-3470 
Regression:                 Yes 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2011-05-16 04:05 CDT
Last Modified:              2011-05-16 09:26 CDT
====================================================================== 
Summary:                    [regression] Big Endian breakage (regression since
gcc 4.6 fix)
Description: 
(Filed under General: I noticed one simple case in formats/format_wav.c
from a build log, but did not get to try this on a test build system. Will
update summary and add a patch later on)

r316265 removed many cases of unused variables, reported by gcc 4.6. Sadly
It also, at least in one case, broke building of big-endian systems. Fix in
this case should be simple (move decleration of tmp into the ifdef above
rather than remove it).

(The version number might confuse: the built code is 1.8.4 with that
specific fix applied on top of it. 1.8.4 does not include that fix)
====================================================================== 

---------------------------------------------------------------------- 
 (0134969) svnbot (reporter) - 2011-05-16 09:26
 https://issues.asterisk.org/view.php?id=19298#c134969 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 319083

U   branches/1.8/formats/format_wav.c

------------------------------------------------------------------------
r319083 | dvossel | 2011-05-16 09:26:34 -0500 (Mon, 16 May 2011) | 5 lines

Fixes Big Endian build issue.

(closes issue https://issues.asterisk.org/view.php?id=19298)
Reported by: tzafrir

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=319083 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2011-05-16 09:26 svnbot         Note Added: 0134969                          
======================================================================




More information about the asterisk-bugs mailing list