Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Feb 2016 03:38:04 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 207099] lang/qt5-qml: for armv7 (rpi2), error: "The cacheFlush support is missing on this platform." (stops the build)
Message-ID:  <bug-207099-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D207099

            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@FreeBSD.org
          Reporter: markmi@dsl-only.net
             Flags: maintainer-feedback?(kde@FreeBSD.org)
          Assignee: kde@FreeBSD.org

[Context basics: projects/clang380-import -r295351 for buildworld/buildkern=
el
that targeted an rpi2 (armv7-a/cortex-a7). This context requires strict
alignment: FreeBSD 11.0-CURRENT has SCTLR bit[1]=3D=3D1 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 parame=
ter
'code' [-Wunused-parameter]
    static void cacheFlush(void* code, size_t size)
                                 ^
../3rdparty/masm/assembler/ARMv7Assembler.h:2284:47: warning: unused parame=
ter
'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 detai=
ls
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=20=20=20=20
markmi@FreeBSDx64:/usr/obj/clang/arm.armv6/usr/src/sys/RPI2-NODBG  arm 1100=
097
1100097

# more /etc/make.conf=20
DEFAULT_VERSIONS+=3Dperl5=3D5.22
WRKDIRPREFIX=3D/usr/obj/portswork
WITH_DEBUG=3D
WITH_DEBUG_FILES=3D
MALLOC_PRODUCTION=3D
#
TO_TYPE=3Darmv6
VERSION_CONTEXT=3D11.0
CFLAGS+=3D-target ${TO_TYPE}--freebsd${VERSION_CONTEXT}-gnueabi -march=3Dar=
mv7-a
-mcpu=3Dcortex-a7 -mfloat-abi=3Dsoftfp -mno-unaligned-access
.if ${.MAKE.LEVEL} =3D=3D 0
CC=3D/usr/bin/clang
CXX=3D/usr/bin/clang++
CPP=3D/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.)

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-207099-13>