Summary: | lang/qt5-qml: for armv7 (rpi2), error: "The cacheFlush support is missing on this platform." (stops the build) | ||
---|---|---|---|
Product: | Ports & Packages | Reporter: | Mark Millard <marklmi26-fbsd> |
Component: | Individual Port(s) | Assignee: | freebsd-kde (group) <kde> |
Status: | Closed FIXED | ||
Severity: | Affects Only Me | CC: | freebsd-arm, mikael, mmel, sbruno, w.schwarzenfeld |
Priority: | --- | Flags: | rakuco:
maintainer-feedback+
|
Version: | Latest | ||
Hardware: | arm | ||
OS: | Any | ||
See Also: | https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=224441 |
Description
Mark Millard
2016-02-11 03:38:04 UTC
Similar error happend here: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=197483 (patch https://bz-attachments.freebsd.org/attachment.cgi?id=153286) => usr/ports/lang/qt5-qml/work/qtdeclarative-opensource-src-5.5.1//src//3rdparty/masm/assembler/ARMv7Assembler.h: I think +#elif CPU(ARM_TRADITIONAL) && OS(FREEBSD) && COMPILER(CLANG) + __clear_cache(code, reinterpret_cast<char*>(code) + size); should inserted here: 2305 #elif OS(WINCE) 2306 CacheRangeFlush(code, size, CACHE_SYNC_ALL); 2307 #elif OS(QNX) 2308 #if !ENABLE(ASSEMBLER_WX_EXCLUSIVE) 2309 msync(code, size, MS_INVALIDATE_ICACHE); (In reply to w.schwarzenfeld from comment #1) I tried this just to provide a cross check but I still got the same error. The text from the updated file that I used looks like: . . . linuxPageFlush(current, end); #elif OS(WINCE) CacheRangeFlush(code, size, CACHE_SYNC_ALL); #elif CPU(ARM_TRADITIONAL) && OS(FREEBSD) && COMPILER(CLANG) __clear_cache(code, reinterpret_cast<char*>(code) + size); #elif OS(QNX) #if !ENABLE(ASSEMBLER_WX_EXCLUSIVE) msync(code, size, MS_INVALIDATE_ICACHE); #else UNUSED_PARAM(code); UNUSED_PARAM(size); #endif #else #error "The cacheFlush support is missing on this platform." #endif May be -march=armv7-a -mcpu=cortex-a7 is not "traditional" for arm? I think this it is. But I don't know the correct notation. CC'ing some ARM folks, as I have no idea about ARM code and how to best fix this. bug #207099 contains a patch for armv7 crap I linked the wrong pr :( the good one is bug #216735 the issue should be fixed with ports r442470 FYI: there is the same error for www/qt5-webkit (even with the patches from bugzilla 215974 and 216816 in order to get this far): The cacheFlush support is missing on this platform. The specific lines from the www/qt5-webkit log file for the build attempt are: In file included from /wrkdirs/usr/ports/www/qt5-webkit/work/qtwebkit-5.212.0-alpha2/Source/JavaScriptCore/llint/LLIntOffsetsExtractor.cpp:28: In file included from /wrkdirs/usr/ports/www/qt5-webkit/work/qtwebkit-5.212.0-alpha2/Source/JavaScriptCore/bytecode/ArrayProfile.h:30: In file included from /wrkdirs/usr/ports/www/qt5-webkit/work/qtwebkit-5.212.0-alpha2/Source/JavaScriptCore/runtime/JSArray.h:25: In file included from /wrkdirs/usr/ports/www/qt5-webkit/work/qtwebkit-5.212.0-alpha2/Source/JavaScriptCore/runtime/ButterflyInlines.h:31: In file included from /wrkdirs/usr/ports/www/qt5-webkit/work/qtwebkit-5.212.0-alpha2/Source/JavaScriptCore/heap/CopiedSpaceInlines.h:32: In file included from /wrkdirs/usr/ports/www/qt5-webkit/work/qtwebkit-5.212.0-alpha2/Source/JavaScriptCore/runtime/VM.h:32: In file included from /wrkdirs/usr/ports/www/qt5-webkit/work/qtwebkit-5.212.0-alpha2/Source/JavaScriptCore/runtime/ControlFlowProfiler.h:30: In file included from /wrkdirs/usr/ports/www/qt5-webkit/work/qtwebkit-5.212.0-alpha2/Source/JavaScriptCore/runtime/BasicBlockLocation.h:30: In file included from /wrkdirs/usr/ports/www/qt5-webkit/work/qtwebkit-5.212.0-alpha2/Source/JavaScriptCore/assembler/MacroAssembler.h:40: In file included from /wrkdirs/usr/ports/www/qt5-webkit/work/qtwebkit-5.212.0-alpha2/Source/JavaScriptCore/assembler/MacroAssemblerARM.h:33: /wrkdirs/usr/ports/www/qt5-webkit/work/qtwebkit-5.212.0-alpha2/Source/JavaScriptCore/assembler/ARMAssembler.h:1132:2: error: "The cacheFlush support is missing on this platform." #error "The cacheFlush support is missing on this platform." ^ 1 error generated. ninja: build stopped: subcommand failed. ===> Compilation failed unexpectedly. Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to the maintainer. *** Error code 1 Stop. make: stopped in /usr/ports/www/qt5-webkit =>> Cleaning up wrkdir ===> Cleaning for qt5-webkit-5.212.0.a2_1 build of www/qt5-webkit | qt5-webkit-5.212.0.a2_1 ended at Mon Sep 25 01:26:16 PDT 2017 build time: 00:05:12 !!! build failure encountered !!! This was with /usr/ports -r450478 (patched=) under head -r323676 . lang/qt5-qml on armv[67] has been fixed in r442470. |