Bug 246913 - graphics/mesa-devel: fix build on powerpc64
Summary: graphics/mesa-devel: fix build on powerpc64
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: powerpc Any
: --- Affects Only Me
Assignee: Jan Beich
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-06-01 14:19 UTC by Piotr Kubaj
Modified: 2020-06-02 00:32 UTC (History)
1 user (show)

See Also:
jbeich: maintainer-feedback+


Attachments
patch (2.57 KB, patch)
2020-06-01 14:19 UTC, Piotr Kubaj
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Piotr Kubaj freebsd_committer 2020-06-01 14:19:59 UTC
Created attachment 215137 [details]
patch

Libunwind doesn't work on powerpc64.

i965 and iris don't compile on powerpc64, but they are only available on amd64 anyway.
Comment 1 Jan Beich freebsd_committer 2020-06-01 15:04:50 UTC
Comment on attachment 215137 [details]
patch

I'd like to keep the style declarative which means no ugly .if conditionals and duplication. aarch64 and DragonFly are in similar boat.

Being able to add/remove each driver is on the table. I've played with OPTIONS a bit but don't like the result yet.
Comment 2 commit-hook freebsd_committer 2020-06-01 23:26:05 UTC
A commit references this bug:

Author: jbeich
Date: Mon Jun  1 23:25:44 UTC 2020
New revision: 537515
URL: https://svnweb.freebsd.org/changeset/ports/537515

Log:
  graphics/mesa-devel: allow users to disable drivers

  - DragonFly cannot use anv without futex (Linux, OpenBSD) or _umtx_op (FreeBSD)
  - DragonFly doesn't install libelf from ELF Tool Chain
  - powerpc64 cannot use LIBUNWIND as it yet to be ported
  - powerpc64 on FreeBSD < 13 cannot use -fuse-ld=lld
  - anv, i965, iris only support Intel GPUs on x86
  - anv, i965, iris work fine without LLVM support

  PR:		246913

Changes:
  head/graphics/mesa-devel/Makefile
  head/graphics/mesa-devel/files/libmap.conf.in
  head/graphics/mesa-devel/pkg-plist
Comment 3 Jan Beich freebsd_committer 2020-06-01 23:31:49 UTC
Piotr, does it work now?
Comment 4 Piotr Kubaj freebsd_committer 2020-06-02 00:32:06 UTC
Yes, that works, thank you!