[asterisk-bugs] [Asterisk 0012289]: Cannot compile asterisk with DONT_OPTIMIZE

noreply at bugs.digium.com noreply at bugs.digium.com
Tue Mar 25 08:53:21 CDT 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=12289 
====================================================================== 
Reported By:                francesco_r
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   12289
Category:                   Utilities/General
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
Asterisk Version:           SVN 
SVN Branch (only for SVN checkouts, not tarball releases):  1.4  
SVN Revision (number only!): 110395 
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             03-24-2008 11:11 CDT
Last Modified:              03-25-2008 08:53 CDT
====================================================================== 
Summary:                    Cannot compile asterisk with DONT_OPTIMIZE
Description: 
I use Slackware 11 (gcc 3.4.6)

   [CC] chan_phone.c -> chan_phone.o
In file included from /usr/src/asterisk-1.4/include/asterisk/cdr.h:49,
                 from
/usr/src/asterisk-1.4/include/asterisk/channel.h:115,
                 from chan_phone.c:57:
/usr/src/asterisk-1.4/include/asterisk/utils.h: In function
`_ast_asprintf':
/usr/src/asterisk-1.4/include/asterisk/utils.h:476: sorry, unimplemented:
functi               on '_ast_asprintf' can never be inlined because it
uses variable argument lists
make[1]: *** [chan_phone.o] Error 1

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

---------------------------------------------------------------------- 
 davidw - 03-25-08 08:53  
---------------------------------------------------------------------- 
I was going to report this one as well.  I'm reluctant to change a key
component of Slackware 11 to one that I'll have to manage manually.

Does the fix in gcc 4 actually make it inline the code, or does it simply
stop it complaining? 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
03-25-08 08:53  davidw         Note Added: 0084495                          
======================================================================




More information about the asterisk-bugs mailing list