<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - -Wl,--no-undefined gives undefined references to libc symbols on OpenBSD"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=76856#c3">Comment # 3</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - -Wl,--no-undefined gives undefined references to libc symbols on OpenBSD"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=76856">bug 76856</a>
              from <span class="vcard"><a class="email" href="mailto:jsg@openbsd.org" title="Jonathan Gray <jsg@openbsd.org>"> <span class="fn">Jonathan Gray</span></a>
</span></b>
        <pre>So it seems DT_NEEDED entries are not added for libc and libpthread over
concerns that specific versions of those libraries would be referenced in a way
that would prevent changing the major version of those libraries in future.

So the problem here is the combination of --no-uneeded and -no-undefined.

If the relevant lines could be contained to a variable in configure.ac instead
of mentioned in the various Makefile.am files that would allow them to not be
specified on OpenBSD.</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>