[asterisk-bugs] [Asterisk 0016596]: [patch] LD (llinker) options not used by main/ and channels/ builds

Asterisk Bug Tracker noreply at bugs.digium.com
Mon Feb 8 16:31:42 CST 2010


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=16596 
====================================================================== 
Reported By:                pprindeville
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   16596
Category:                   Core/BuildSystem
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     confirmed
Asterisk Version:           1.6.2.0 
JIRA:                       SWP-720 
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2010-01-13 13:39 CST
Last Modified:              2010-02-08 16:31 CST
====================================================================== 
Summary:                    [patch] LD (llinker) options not used by main/ and
channels/ builds
Description: 
The top-level makefile passes $(ASTLDFLAGS) which is user-specified and
$(_ASTLDFLAGS) which is system-generated to the subdirs main/ and channels/
when they are built.  Unfortunately, the makefiles in these directories
don't use them.

If building in an environment that requires additional flags for
correctness (e.g. when building against multiple versions of the same
libraries), this may cause linkage against the wrong libraries (in this
case, the system default libraries would be used) which would result in
incorrect binaries being built.

Since the binaries are somewhat likely to succeed (with the default
libraries), this would result in incorrect test results when doing software
validation (since the desired libraries would not have been used, and hence
not tested).

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

---------------------------------------------------------------------- 
 (0117865) svnbot (reporter) - 2010-02-08 16:31
 https://issues.asterisk.org/view.php?id=16596#c117865 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 245578

U   trunk/channels/Makefile
U   trunk/main/Makefile

------------------------------------------------------------------------
r245578 | tilghman | 2010-02-08 16:31:41 -0600 (Mon, 08 Feb 2010) | 12
lines

Actually use _ASTLDFLAGS in the main/ and channels/ Makefiles.

They were previously passed correctly, but they simply weren't used.  This
caused issues with various platforms whose builds needed to pass special
linker flags via the configure script.

(closes issue https://issues.asterisk.org/view.php?id=16596)
 Reported by: pprindeville
 Patches: 
       asterisk-1.6-astldflags.patch uploaded by pprindeville (license
347)
 Tested by: tilghman

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

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

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-02-08 16:31 svnbot         Checkin                                      
2010-02-08 16:31 svnbot         Note Added: 0117865                          
======================================================================




More information about the asterisk-bugs mailing list