Bug 90878 - nodelete linker configure test is wrong and is wrongly applied to executables
Summary: nodelete linker configure test is wrong and is wrongly applied to executables
Status: RESOLVED FIXED
Alias: None
Product: PulseAudio
Classification: Unclassified
Component: build-system (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: pulseaudio-bugs
QA Contact: pulseaudio-bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-06-05 23:18 UTC by shawn.walker@oracle.com
Modified: 2015-08-11 14:31 UTC (History)
2 users (show)

See Also:
i915 platform:
i915 features:


Attachments
test nodelete properly and apply only to modules / libraries (7.78 KB, text/plain)
2015-06-05 23:18 UTC, shawn.walker@oracle.com
Details

Description shawn.walker@oracle.com 2015-06-05 23:18:18 UTC
Created attachment 116326 [details]
test nodelete properly and apply only to modules / libraries

The nodelete configure test that determines whether the linker supports -z nodelete is wrong; it blindly tests it against an executable (which makes no sense) instead of a general shared object.

It should not be a surprise then that nodelete is applied blindly to all things when linking instead of only modules and libraries.

On some platforms this results in either the configure test failing or the build failing because -z nodelete is not valid for executables.

The attached patch is one suggested way of resolving this.
Comment 1 Tanu Kaskinen 2015-08-11 14:31:18 UTC
Thanks! I pushed the patch to the "next" branch.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.