[asterisk-bugs] [Asterisk 0011485]: Alignment issues building on solaris sparc

Asterisk Bug Tracker noreply at bugs.digium.com
Thu Dec 4 15:48:50 CST 2008


The following issue has been CLOSED 
====================================================================== 
http://bugs.digium.com/view.php?id=11485 
====================================================================== 
Reported By:                snuffy
Assigned To:                kpfleming
====================================================================== 
Project:                    Asterisk
Issue ID:                   11485
Category:                   Core/Portability
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     closed
Asterisk Version:           1.6.0-beta8 
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!): 91232 
Disclaimer on File?:        N/A 
Request Review:              
Resolution:                 open
Fixed in Version:           
====================================================================== 
Date Submitted:             2007-12-06 16:34 CST
Last Modified:              2008-12-04 15:48 CST
====================================================================== 
Summary:                    Alignment issues building on solaris sparc
Description: 
GCC stops compiling with the following:

warning: cast increases required alignment of target type

Errors for the following files.
chan_sip.c
chan_iax2.c

A lot of codecs

The codec errors seem to stem from the following line:
int16_t *dst = (int16_t *) pvt->outbuf + pvt->samples;

codec_adpcm.c
codec_alaw.c
codec_g722.c
codec_g726.c

======================================================================
Relationships       ID      Summary
----------------------------------------------------------------------
related to          0012932 [patch] Union rather than cast for outb...
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2008-12-04 15:48 blitzrage      Status                   assigned => closed  
======================================================================




More information about the asterisk-bugs mailing list