[Bug 243657] www/qt5-webengine: fix build on aarch64

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Jan 27 20:15:26 UTC 2020


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

            Bug ID: 243657
           Summary: www/qt5-webengine: fix build on aarch64
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
               URL: http://thunderx1.nyi.freebsd.org/data/head-arm64-defau
                    lt/p521042_s356139/logs/errors/qt5-webengine-5.13.2.lo
                    g
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs at FreeBSD.org
          Reporter: mikael at FreeBSD.org

Created attachment 211113
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=211113&action=edit
patch

error:
../../../../qtwebengine-everywhere-src-5.13.2/src/3rdparty/chromium/third_party/zlib/arm_features.c:27:9:
warning: implicit declaration of function 'ID_AA64ISAR0_AES' is invalid in C99
[-Wimplicit-function-declaration]
    if (ID_AA64ISAR0_AES(id_aa64isar0) == ID_AA64ISAR0_AES_PMULL)
        ^
../../../../qtwebengine-everywhere-src-5.13.2/src/3rdparty/chromium/third_party/zlib/arm_features.c:29:9:
warning: implicit declaration of function 'ID_AA64ISAR0_CRC32' is invalid in
C99 [-Wimplicit-function-declaration]
    if (ID_AA64ISAR0_CRC32(id_aa64isar0) == ID_AA64ISAR0_CRC32_BASE)
        ^
../../../../qtwebengine-everywhere-src-5.13.2/src/3rdparty/chromium/third_party/zlib/arm_features.c:26:20:
error: expected readable system register
    id_aa64isar0 = READ_SPECIALREG(ID_AA64ISAR0_EL1);
                   ^
/usr/include/machine/armreg.h:61:19: note: expanded from macro
'READ_SPECIALREG'
        __asm __volatile("mrs   %0, " __STRING(reg) : "=&r" (_val));    \
                         ^
<inline asm>:1:11: note: instantiated into assembly here
        mrs     x19, (((3) << 19) | ((0) << 16) | ((0) << 12) | ((6) << 8) |
((0) << 5))
                     ^

The interface has changed a bit on -current.

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


More information about the freebsd-ports-bugs mailing list