Date: Thu, 5 Dec 2019 19:57:37 +0000 (UTC) From: Piotr Kubaj <pkubaj@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r519106 - head/audio/traverso/files Message-ID: <201912051957.xB5Jvcj2010849@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: pkubaj Date: Thu Dec 5 19:57:37 2019 New Revision: 519106 URL: https://svnweb.freebsd.org/changeset/ports/519106 Log: audio/traverso: fix build on powerpc64 elfv2 For some reason, even though ARCH_X86 isn't defined on powerpc64, clang doesn't finish the function on #ifndef ARCH_X86, but tries to compile further and fails at x86-specific assembly. PR: 242462 Approved by: yuri (maintainer), mentors (implicit approval) Added: head/audio/traverso/files/patch-src_common_fpu.cc (contents, props changed) Added: head/audio/traverso/files/patch-src_common_fpu.cc ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/audio/traverso/files/patch-src_common_fpu.cc Thu Dec 5 19:57:37 2019 (r519106) @@ -0,0 +1,21 @@ +--- src/common/fpu.cc.orig 2019-12-05 16:58:12 UTC ++++ src/common/fpu.cc +@@ -33,9 +33,7 @@ FPU::FPU () + + _flags = Flags (0); + +-#ifndef ARCH_X86 +- return; +-#endif ++#ifdef ARCH_X86 + + #ifndef USE_X86_64_ASM + asm volatile ( +@@ -108,6 +106,7 @@ FPU::FPU () + free (fxbuf); + } + } ++#endif + } + + FPU::~FPU ()
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201912051957.xB5Jvcj2010849>