<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - nodelete linker configure test is wrong and is applied to things that are not libraries"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=90878">90878</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>nodelete linker configure test is wrong and is applied to things that are not libraries
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>PulseAudio
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>unspecified
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>Other
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>build-system
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>pulseaudio-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>shawn.walker@oracle.com
          </td>
        </tr>

        <tr>
          <th>QA Contact</th>
          <td>pulseaudio-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>lennart@poettering.net
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=116326" name="attach_116326" title="test nodelete properly and apply only to modules / libraries">attachment 116326</a> <a href="attachment.cgi?id=116326&action=edit" title="test nodelete properly and apply only to modules / libraries">[details]</a></span>
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.</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the QA Contact for the bug.</li>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>