[Bug 231293] devel/qt5-core: fails to build on armv7 after 5.11 update

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Sep 10 22:16:59 BST 2018


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=231293

Jan Beich <jbeich at FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |kde at FreeBSD.org
 Attachment #197016|                            |maintainer-approval?(kde at Fr
              Flags|                            |eeBSD.org)

--- Comment #1 from Jan Beich <jbeich at FreeBSD.org> ---
Created attachment 197016
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=197016&action=edit
v0

Clang hides vcvt_f16_f32() and vcvt_f32_f16() behind (__ARM_FP & 2) where 2
refers to -mfpu=fp-armv8. However, GCC would only build this code if
-march=armv8.2-a+fp16 is passed as well.

  $ clang60 -dM -E -</dev/null | fgrep __ARM_FP
  #define __ARM_FP 0xc
  #define __ARM_FP16_ARGS 1
  #define __ARM_FP16_FORMAT_IEEE 1

  $ clang60 -mfpu=fp-armv8 -dM -E -</dev/null | fgrep __ARM_FP
  #define __ARM_FP 0xe
  #define __ARM_FP16_ARGS 1
  #define __ARM_FP16_FORMAT_IEEE 1
  #define __ARM_FPV5__ 1

  $ gcc7 -dM -E -</dev/null | fgrep __ARM_FP
  #define __ARM_FP 12

  $ gcc7 -mfpu=fp-armv8 -dM -E -</dev/null | fgrep __ARM_FP
  #define __ARM_FP 14

  $ gcc7 -march=armv8.2-a+fp16 -mfpu=fp-armv8 -dM -E -</dev/null | fgrep
__ARM_FP
  #define __ARM_FP 14
  #define __ARM_FP16_FORMAT_IEEE 1
  #define __ARM_FP16_ARGS 1

build log: https://ptpb.pw/MxS9

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.


More information about the kde-freebsd mailing list