Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 12 Jan 2020 00:17:36 +0000
From:      bugzilla-noreply@freebsd.org
To:        powerpc@FreeBSD.org
Subject:   [Bug 243281] audio/ardour5: fix build on powerpc64
Message-ID:  <bug-243281-25139@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D243281

            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@FreeBSD.org
          Reporter: pkubaj@FreeBSD.org
                CC: beerml@sigma6audio.de, powerpc@FreeBSD.org
             Flags: maintainer-feedback?(beerml@sigma6audio.de)
                CC: beerml@sigma6audio.de, powerpc@FreeBSD.org

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

_POSIX_SOURCE causes some errors in errno.h not to be seen (like EAFNOSUPPO=
RT),
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.

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-243281-25139>