[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:05:00 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:05 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).
======================================================================
----------------------------------------------------------------------
(0117863) tilghman (administrator) - 2010-02-08 16:04
https://issues.asterisk.org/view.php?id=16596#c117863
----------------------------------------------------------------------
kpfleming: while that appears to be true for _ASTCFLAGS, I don't see that
it is solved for _ASTLDFLAGS. Looks like that flag was simply missed for
the main and channels directories (in trunk), as reported.
Issue History
Date Modified Username Field Change
======================================================================
2010-02-08 16:05 tilghman Note Added: 0117863
======================================================================
More information about the asterisk-bugs
mailing list