[Bug 221807] audio/oss: port passes $LDFLAGS to direct linker invocation, not compiler driver

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Mar 27 21:42:53 UTC 2018


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=221807

--- Comment #2 from commit-hook at freebsd.org ---
A commit references this bug:

Author: emaste
Date: Tue Mar 27 21:42:09 UTC 2018
New revision: 465763
URL: https://svnweb.freebsd.org/changeset/ports/465763

Log:
  audio/oss: set LLD_UNSAFE to link using ld.bfd

  This port fails when attempting to link with lld as the system linker.
  It passes -fPIC to the linker, which is actually a compiler flag.
  ld.bfd accepts the flag but it results in a bogus DT_AUXILIARY entry
  in the ouptut:

  Dynamic section at offset 0x5000 contains 15 entries:
    Tag                Type                  Name/Value
   0x000000007ffffffd AUXILIARY            Auxiliary library: [PIC]

  PR:           221807
  Approved by:  portmgr (LLD_UNSAFE blanket)
  Sponsored by: The FreeBSD Foundation

Changes:
  head/audio/oss/Makefile

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list