[asterisk-bugs] [Asterisk 0010226]: compile errors and choppy sound with gcc 4.2.1

noreply at bugs.digium.com noreply at bugs.digium.com
Sun Sep 23 15:57:06 CDT 2007


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=10226 
====================================================================== 
Reported By:                pj
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   10226
Category:                   Core/BuildSystem
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     feedback
Asterisk Version:            SVN 
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!): 75505 
Disclaimer on File?:        No 
Request Review:              
====================================================================== 
Date Submitted:             07-18-2007 07:05 CDT
Last Modified:              09-23-2007 15:57 CDT
====================================================================== 
Summary:                    compile errors and choppy sound with gcc 4.2.1
Description: 
compiling asterisk wih new gcc 4.2.1 & glibc 2.6 generates lot of errors.
probably as consequence this, codecs trancoding make sound very choppy, it
means, when I try to connect two phones operating with different codecs, or
playback asterisk sounds (in gsm format) to phone with alaw, sound is very
choppy. without transcoding eg. alaw-alaw, gsm-gsm and mp3 playback sound
is OK). otherwise asterisk is working fine (but I'm using only simple
features for call processing).
same asterisk revision compiles cleanly with gcc 4.1.2, no choppy sound
when codecs translation is used.

====================================================================== 

---------------------------------------------------------------------- 
 pj - 09-23-07 15:57  
---------------------------------------------------------------------- 
sad to say, choppy sound persist,
also some warnings still present (but probably unrelated to choppy audio
issue)
trunk r83619
gcc version 4.2.2 20070909 (mandriva linux)



   [CC] ael/ael.tab.c -> ael/ael.tab.o
ael.y: In function ‘ael_yyerror’:
ael.y:762: warning: passing argument 1 of ‘ael_token_subst’ discards
qualifiers from pointer target type
   [CC] ael/pval.c -> ael/pval.o



In file included from editline.c:8:
el.c: In function ‘el_get’:
el.c:284: warning: dereferencing type-punned pointer will break
strict-aliasing rules
el.c:288: warning: dereferencing type-punned pointer will break
strict-aliasing rules


history.c: In function ‘history_def_add’:
history.c:352: warning: implicit declaration of function ‘strlcpy’
history.c:353: warning: implicit declaration of function ‘strlcat’ 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
09-23-07 15:57  pj             Note Added: 0071004                          
======================================================================




More information about the asterisk-bugs mailing list