Bug 242462 - audio/traverso: fix build on powerpc64 elfv2
Summary: audio/traverso: fix build on powerpc64 elfv2
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Piotr Kubaj
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-12-05 18:22 UTC by Piotr Kubaj
Modified: 2019-12-05 19:57 UTC (History)
1 user (show)

See Also:
yuri: maintainer-feedback+


Attachments
patch (903 bytes, patch)
2019-12-05 18:22 UTC, Piotr Kubaj
pkubaj: maintainer-approval? (yuri)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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