[Bug 243281] audio/ardour5: fix build on powerpc64

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun Jan 12 00:17:38 UTC 2020


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

            Bug ID: 243281
           Summary: audio/ardour5: fix build on powerpc64
           Product: Ports & Packages
           Version: Latest
          Hardware: powerpc
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs at FreeBSD.org
          Reporter: pkubaj at FreeBSD.org
                CC: beerml at sigma6audio.de, powerpc at FreeBSD.org
             Flags: maintainer-feedback?(beerml at sigma6audio.de)
                CC: beerml at sigma6audio.de, powerpc at FreeBSD.org

Created attachment 210645
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=210645&action=edit
patch

_POSIX_SOURCE causes some errors in errno.h not to be seen (like EAFNOSUPPORT),
so remove it.

On ELFv2 lld can't link it, throws errors like:
ld: error: relocation R_PPC64_ADDR32 cannot be used against local symbol;
recompile with -fPIC
>>> defined in libs/ardour/cycle_timer.cc.1.o
>>> referenced by cycle_timer.cc
>>>               libs/ardour/cycle_timer.cc.1.o:(__ftr_fixup+0x8)

Recompiling with -fPIC doesn't help, so use GNU ld there.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the freebsd-ppc mailing list