[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:29:07 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:                     closed
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:              
Resolution:                 fixed
Fixed in Version:           
====================================================================== 
Date Submitted:             2011-05-16 04:05 CDT
Last Modified:              2011-05-16 09:29 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)
====================================================================== 

---------------------------------------------------------------------- 
 (0134970) svnbot (reporter) - 2011-05-16 09:29
 https://issues.asterisk.org/view.php?id=19298#c134970 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 319084

_U  trunk/
U   trunk/formats/format_wav.c

------------------------------------------------------------------------
r319084 | dvossel | 2011-05-16 09:29:07 -0500 (Mon, 16 May 2011) | 12
lines

Merged revisions 319083 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.8

........
  r319083 | dvossel | 2011-05-16 09:26:33 -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=319084 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2011-05-16 09:29 svnbot         Checkin                                      
2011-05-16 09:29 svnbot         Note Added: 0134970                          
======================================================================




More information about the asterisk-bugs mailing list