Bug 90878

Summary: nodelete linker configure test is wrong and is wrongly applied to executables
Product: PulseAudio Reporter: shawn.walker <shawn.walker>
Component: build-systemAssignee: pulseaudio-bugs
Status: RESOLVED FIXED QA Contact: pulseaudio-bugs
Severity: normal    
Priority: medium CC: lennart, shawn.walker
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments: test nodelete properly and apply only to modules / libraries

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.