Bug 242462

Summary: audio/traverso: fix build on powerpc64 elfv2
Product: Ports & Packages Reporter: Piotr Kubaj <pkubaj>
Component: Individual Port(s)Assignee: Piotr Kubaj <pkubaj>
Status: Closed FIXED    
Severity: Affects Only Me CC: yuri
Priority: --- Flags: yuri: maintainer-feedback+
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
patch pkubaj: maintainer-approval? (yuri)

Description Piotr Kubaj freebsd_committer freebsd_triage 2019-12-05 18:22:05 UTC
Created attachment 209735 [details]
patch

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.
Comment 1 commit-hook freebsd_committer freebsd_triage 2019-12-05 19:57:56 UTC
A commit references this bug:

Author: pkubaj
Date: Thu Dec  5 19:57:38 UTC 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)

Changes:
  head/audio/traverso/files/patch-src_common_fpu.cc