[kde-freebsd] [Bug 207099] lang/qt5-qml: for armv7 (rpi2), error: "The cacheFlush support is missing on this platform." (stops the build)

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Feb 11 03:38:04 UTC 2016


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

            Bug ID: 207099
           Summary: lang/qt5-qml: for armv7 (rpi2), error: "The cacheFlush
                    support is missing on this platform." (stops the
                    build)
           Product: Ports & Packages
           Version: Latest
          Hardware: arm
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: kde at FreeBSD.org
          Reporter: markmi at dsl-only.net
             Flags: maintainer-feedback?(kde at FreeBSD.org)
          Assignee: kde at FreeBSD.org

[Context basics: projects/clang380-import -r295351 for buildworld/buildkernel
that targeted an rpi2 (armv7-a/cortex-a7). This context requires strict
alignment: FreeBSD 11.0-CURRENT has SCTLR bit[1]==1 for such contexts.]

When I attempt portinstall/portmaster builds for lang/qt5-qml I get the
following.

. . .
--- .obj/qv4isel_masm.o ---
In file included from jit/qv4isel_masm.cpp:34:
In file included from jit/qv4isel_masm_p.h:48:
In file included from jit/qv4assembler_p.h:42:
In file included from jit/qv4targetplatform_p.h:42:
In file included from ../3rdparty/masm/assembler/MacroAssembler.h:34:
In file included from ../3rdparty/masm/assembler/MacroAssemblerARMv7.h:32:
../3rdparty/masm/assembler/ARMv7Assembler.h:2315:2: error: "The cacheFlush
support is missing on this platform."
#error "The cacheFlush support is missing on this platform."
 ^
../3rdparty/masm/assembler/ARMv7Assembler.h:2284:34: warning: unused parameter
'code' [-Wunused-parameter]
    static void cacheFlush(void* code, size_t size)
                                 ^
../3rdparty/masm/assembler/ARMv7Assembler.h:2284:47: warning: unused parameter
'size' [-Wunused-parameter]
    static void cacheFlush(void* code, size_t size)
                                              ^
--- .obj/qv4assembler.o ---
2 warnings and 1 error generated.
*** [.obj/qv4assembler.o] Error code 1
. . .

which stops the overall build.

Stop reading the description here if you do not care about supporting details
at this point.

Other context details:

# svnlite info /usr/ports/lang/qt5-qml
Path: lang/qt5-qml
Working Copy Root Path: /usr/ports
URL: https://svn0.us-west.freebsd.org/ports/head/lang/qt5-qml
Relative URL: ^/head/lang/qt5-qml
Repository Root: https://svn0.us-west.freebsd.org/ports
Repository UUID: 35697150-7ecd-e111-bb59-0022644237b5
Revision: 408464
Node Kind: directory
Schedule: normal
Last Changed Author: rakuco
Last Changed Rev: 407169
Last Changed Date: 2016-01-24 18:10:14 +0000 (Sun, 24 Jan 2016)

# freebsd-version -ku; uname -aKU
11.0-CURRENT
11.0-CURRENT
FreeBSD rpi2 11.0-CURRENT FreeBSD 11.0-CURRENT #14 r295351M: Sun Feb  7
03:23:24 PST 2016    
markmi at FreeBSDx64:/usr/obj/clang/arm.armv6/usr/src/sys/RPI2-NODBG  arm 1100097
1100097

# more /etc/make.conf 
DEFAULT_VERSIONS+=perl5=5.22
WRKDIRPREFIX=/usr/obj/portswork
WITH_DEBUG=
WITH_DEBUG_FILES=
MALLOC_PRODUCTION=
#
TO_TYPE=armv6
VERSION_CONTEXT=11.0
CFLAGS+=-target ${TO_TYPE}--freebsd${VERSION_CONTEXT}-gnueabi -march=armv7-a
-mcpu=cortex-a7 -mfloat-abi=softfp -mno-unaligned-access
.if ${.MAKE.LEVEL} == 0
CC=/usr/bin/clang
CXX=/usr/bin/clang++
CPP=/usr/bin/clang-cpp
.export CC
.export CXX
.export CPP
.endif

(In case it is not clear: This is a clang 3.8.0 usage/testing context.)

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


More information about the kde-freebsd mailing list