Summary: |
nodelete linker configure test is wrong and is wrongly applied to executables |
Product: |
PulseAudio
|
Reporter: |
shawn.walker <shawn.walker> |
Component: |
build-system | Assignee: |
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
|
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.
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.