: alsa-lib make check: static building doesn't work on PIC architectures
The following issue has been SUBMITTED.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1541>
======================================================================
Reported By: Flameeyes
Assigned To:
======================================================================
Project: ALSA - utils Issue ID: 1541 Category: aconnect Reproducibility: always Severity: minor Priority: normal Status: new ====================================================================== Date Submitted: 11-10-2005 12:44 CET Last Modified: 11-10-2005 12:44 CET
======================================================================
Summary: alsa-lib make check: static building doesn't work on
PIC architectures
Description:
Some architectures, such as AMD64, IA64 and Alpha cannot mix PIC and non-PIC objects when creating a PIC output. Hardened compilers (which uses SSP and PIE) creates PIC executables, passing -static in CFLAGS for tests in make check in alsa-lib makes their linking to fail.
The attached patch removes the -static flag, and let libtool handle the linking to the local copy of libasound instead of the system's one.
======================================================================
Issue History
Date Modified Username Field Change
======================================================================
11-10-05 12:44 Flameeyes New Issue
11-10-05 12:44 Flameeyes File Added: alsa-lib-1.0.10_rc3-hardened.patch
======================================================================
-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php