Summary: | graphics/mesa-dri: fails to build on aarch64 | ||
---|---|---|---|
Product: | Ports & Packages | Reporter: | Jan Beich <jbeich> |
Component: | Individual Port(s) | Assignee: | freebsd-x11 (Nobody) <x11> |
Status: | Closed FIXED | ||
Severity: | Affects Only Me | CC: | rezny |
Priority: | --- | Keywords: | regression |
Version: | Latest | Flags: | rezny:
maintainer-feedback+
|
Hardware: | Any | ||
OS: | Any | ||
Bug Depends on: | |||
Bug Blocks: | 219406 |
Description
Jan Beich
![]() ![]() -mfpu=neon is also unnecessary on aarch64: $ clang -target aarch64-unknown-freebsd12.0 -mfpu=neon -c test.c clang: warning: argument unused during compilation: '-mfpu=neon' [-Wunused-command-line-argument] $ aarch64-unknown-freebsd12.0-gcc -mfpu=neon -c test.c aarch64-unknown-freebsd12.0-gcc: error: unrecognized command line option '-mfpu=neon' -march=armv7-a seems wrong even for armv6 in case user defines CPUTYPE=thunderx (or armv8-a) via make.conf. (In reply to Jan Beich from comment #2) > CPUTYPE=thunderx Oops, wrong example. Cavium ThunderX doesn't implement aarch32. A commit references this bug: Author: rezny Date: Tue Jun 6 05:09:54 UTC 2017 New revision: 442741 URL: https://svnweb.freebsd.org/changeset/ports/442741 Log: Update the Mesa ports to 17.1.1 - fix build on aarch64 by limiting the vc4 neon patch to armv6 [1] PR: 219441 [1] Submitted by: strejda [1] Reported by: jbeich [1] Reviewed by: kwm Approved by: swills (mentor) Differential Revision: https://reviews.freebsd.org/D11066 Changes: head/graphics/mesa-dri/Makefile head/graphics/mesa-dri/Makefile.common head/graphics/mesa-dri/distinfo head/graphics/mesa-dri/files/extra-src_gallium_drivers_vc4_Makefile.in head/graphics/mesa-dri/files/patch-src_gallium_drivers_vc4_Makefile.in strejda informed me that the patch for building the neon bits of vc4 was only meant to be used on armv6 |