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

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun Jan 12 03:01:04 UTC 2020


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

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

Author: pkubaj
Date: Sun Jan 12 03:00:45 UTC 2020
New revision: 522746
URL: https://svnweb.freebsd.org/changeset/ports/522746

Log:
  MFH: r522745

  audio/ardour5: fix build on powerpc64

  _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.

  PR:           243281
  Approved by:  portmgr (blanket: build fix)

Changes:
_U  branches/2020Q1/
  branches/2020Q1/audio/ardour5/Makefile
  branches/2020Q1/audio/ardour5/files/

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


More information about the freebsd-ppc mailing list