Bug 124492 - [MIPS] Offlineasm failures.
Summary: [MIPS] Offlineasm failures.
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: JavaScriptCore (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-11-18 04:08 PST by Balazs Kilvady
Modified: 2013-12-31 06:14 PST (History)
8 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Balazs Kilvady 2013-11-18 04:08:53 PST
Following errors appeared on the current master:
/tmp/ccbjRHBi.s:817: Error: opcode not supported on this processor: mips2 (mips2) `movz $v1,$t8,$t7'
/tmp/ccbjRHBi.s:881: Error: opcode not supported on this processor: mips2 (mips2) `movn $v0,$t7,$t8'
Comment 1 Balazs Kilvady 2013-11-18 07:40:34 PST
Sorry, flash alarm. Only problem with the config of our buildbot.
Comment 2 Dmitry Shachnev 2013-12-31 04:55:02 PST
This still happens when building QtWebKit 5.2 (based on WebKit 538.1) on Debian GNU/Linux:

g++ -c -Wall -Wextra -Wreturn-type -fno-strict-aliasing -Wchar-subscripts -Wformat-security -Wreturn-type -Wno-unused-parameter -Wno-sign-compare -Wno-switch -Wno-switch-enum -Wundef -Wmissing-noreturn -Winit-self -g -O2 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fno-stack-protector -Wno-c++0x-compat -O3 -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -std=c++0x -pthread -fno-exceptions -D_REENTRANT -MD -DQT_NO_XKB -DBUILDING_QT__=1 -DNDEBUG -DENABLE_3D_RENDERING=1 -DENABLE_BLOB=1 -DENABLE_CANVAS_PATH=1 -DENABLE_CHANNEL_MESSAGING=1 -DENABLE_CSS_BOX_DECORATION_BREAK=1 -DENABLE_CSS_COMPOSITING=1 -DENABLE_CSS_EXCLUSIONS=1 -DENABLE_CSS_FILTERS=1 -DENABLE_CSS_IMAGE_SET=1 -DENABLE_CSS_REGIONS=1 -DENABLE_CSS_SHAPES=1 -DENABLE_CSS_STICKY_POSITION=1 -DENABLE_CSS_TRANSFORMS_ANIMATIONS_UNPREFIXED=1 -DENABLE_DATALIST_ELEMENT=1 -DENABLE_DETAILS_ELEMENT=1 -DENABLE_FAST_MOBILE_SCROLLING=1 -DENABLE_FILTERS=1 -DENABLE_FTPDIR=1 -DENABLE_FULLSCREEN_API=1 -DENABLE_GESTURE_EVENTS=1 -DENABLE_ICONDATABASE=1 -DENABLE_IFRAME_SEAMLESS=1 -DENABLE_INPUT_TYPE_COLOR=1 -DENABLE_INSPECTOR=1 -DENABLE_INSPECTOR_SERVER=1 -DENABLE_JAVASCRIPT_DEBUGGER=1 -DENABLE_LEGACY_NOTIFICATIONS=1 -DENABLE_LEGACY_VIEWPORT_ADAPTION=1 -DENABLE_LEGACY_VENDOR_PREFIXES=1 -DENABLE_LEGACY_WEB_AUDIO=1 -DENABLE_LINK_PREFETCH=1 -DENABLE_METER_ELEMENT=1 -DENABLE_MHTML=1 -DENABLE_NOTIFICATIONS=1 -DENABLE_PAGE_VISIBILITY_API=1 -DENABLE_PROGRESS_ELEMENT=1 -DENABLE_RESOLUTION_MEDIA_QUERY=1 -DENABLE_REQUEST_ANIMATION_FRAME=1 -DENABLE_SHARED_WORKERS=1 -DENABLE_SMOOTH_SCROLLING=1 -DENABLE_SQL_DATABASE=1 -DENABLE_SUBPIXEL_LAYOUT=1 -DENABLE_SVG=1 -DENABLE_SVG_FONTS=1 -DENABLE_TOUCH_ADJUSTMENT=1 -DENABLE_TOUCH_EVENTS=1 -DENABLE_VIEW_MODE_CSS_MEDIA=1 -DENABLE_WEB_SOCKETS=1 -DENABLE_WEB_TIMING=1 -DENABLE_WORKERS=1 -DENABLE_XHR_TIMEOUT=1 -DWTF_USE_TILED_BACKING_STORE=1 -DWTF_USE_CROSS_PLATFORM_CONTEXT_MENUS=1 -DHAVE_QTQUICK=1 -DHAVE_QTPRINTSUPPORT=1 -DHAVE_QSTYLE=1 -DHAVE_QTTESTLIB=1 -DWTF_USE_LIBXML2=1 -DENABLE_XSLT=1 -DWTF_USE_ZLIB=1 -DWTF_USE_WEBP=1 -DWTF_USE_LIBJPEG=1 -DWTF_USE_LIBPNG=1 -DHAVE_XCOMPOSITE=1 -DHAVE_XRENDER=1 -DHAVE_GLX=1 -DHAVE_FONTCONFIG=1 -DENABLE_NETSCAPE_PLUGIN_API=1 -DWTF_USE_PLUGIN_BACKEND_XLIB=1 -DPLUGIN_ARCHITECTURE_X11=1 -DENABLE_PLUGIN_PROCESS=1 -DWTF_USE_3D_GRAPHICS=1 -DENABLE_WEBGL=1 -DENABLE_CSS_SHADERS=1 -DENABLE_VIDEO=1 -DWTF_USE_GSTREAMER=1 -DWTF_USE_GSTREAMER010=1 -DWTF_USE_NATIVE_FULLSCREEN_VIDEO=1 -DHAVE_SQLITE3=1 -DENABLE_GAMEPAD=1 -DWTF_USE_GRAPHICS_SURFACE=1 -DWTF_USE_GLX=1 -DENABLE_TOUCH_SLIDER=1 -DWTF_USE_GLIB=1 -DHAVE_QTTESTSUPPORT=1 -DENABLE_ACCELERATED_2D_CANVAS=0 -DENABLE_BATTERY_STATUS=0 -DENABLE_CANVAS_PROXY=0 -DENABLE_CSP_NEXT=0 -DENABLE_CSS_GRID_LAYOUT=0 -DENABLE_CSS_HIERARCHIES=0 -DENABLE_CSS_IMAGE_ORIENTATION=0 -DENABLE_CSS_IMAGE_RESOLUTION=0 -DENABLE_CSS_VARIABLES=0 -DENABLE_CSS3_CONDITIONAL_RULES=0 -DENABLE_CSS3_TEXT=0 -DENABLE_CSS3_TEXT_LINE_BREAK=0 -DENABLE_DASHBOARD_SUPPORT=0 -DENABLE_DATAGRID=0 -DENABLE_DATA_TRANSFER_ITEMS=0 -DENABLE_DEVICE_ORIENTATION=0 -DENABLE_DIRECTORY_UPLOAD=0 -DENABLE_DOWNLOAD_ATTRIBUTE=0 -DENABLE_FILE_SYSTEM=0 -DENABLE_FONT_LOAD_EVENTS=0 -DENABLE_GEOLOCATION=0 -DENABLE_HIGH_DPI_CANVAS=0 -DENABLE_INDEXED_DATABASE=0 -DENABLE_INPUT_SPEECH=0 -DENABLE_INPUT_TYPE_DATE=0 -DENABLE_INPUT_TYPE_DATETIME_INCOMPLETE=0 -DENABLE_INPUT_TYPE_DATETIMELOCAL=0 -DENABLE_INPUT_TYPE_MONTH=0 -DENABLE_INPUT_TYPE_TIME=0 -DENABLE_INPUT_TYPE_WEEK=0 -DENABLE_LEGACY_CSS_VENDOR_PREFIXES=0 -DENABLE_MATHML=0 -DENABLE_MEDIA_SOURCE=0 -DENABLE_MEDIA_STATISTICS=0 -DENABLE_MEDIA_STREAM=0 -DENABLE_MICRODATA=0 -DENABLE_MOUSE_CURSOR_SCALE=0 -DENABLE_NAVIGATOR_CONTENT_UTILS=0 -DENABLE_NETWORK_INFO=0 -DENABLE_NOSNIFF=0 -DENABLE_ORIENTATION_EVENTS=0 -DENABLE_PROXIMITY_EVENTS=0 -DENABLE_QUOTA=0 -DENABLE_RESOURCE_TIMING=0 -DENABLE_SCRIPTED_SPEECH=0 -DENABLE_SECCOMP_FILTERS=0 -DENABLE_SHADOW_DOM=0 -DENABLE_STYLE_SCOPED=0 -DENABLE_TEMPLATE_ELEMENT=0 -DENABLE_TEXT_AUTOSIZING=0 -DENABLE_THREADED_HTML_PARSER=0 -DENABLE_TOUCH_ICON_LOADING=0 -DENABLE_USER_TIMING=0 -DENABLE_VIBRATION=0 -DENABLE_VIDEO_TRACK=0 -DENABLE_WEB_AUDIO=0 -DSTATICALLY_LINKED_WITH_WTF -DBUILDING_JavaScriptCore -DBUILDING_WEBKIT -DQT_ASCII_CAST_WARNINGS -DQT_NO_EXCEPTIONS -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_NO_DEBUG -DQT_CORE_LIB -I/usr/share/qt5/mkspecs/linux-g++ -I. -I. -I../../Source -I../WTF -Iassembler -Ibytecode -Ibytecompiler -Iheap -Idfg -Idebugger -Idisassembler -Iinterpreter -Ijit -Illint -Iparser -Iprofiler -Iruntime -Itools -Iyarr -IAPI -IForwardingHeaders -Igenerated -I../../Source -I/«BUILDDIR»/qtwebkit-opensource-src-5.2.0+dfsg/Source/include -I/usr/include/qt5 -I/usr/include/qt5/QtScript -I../WTF -I/usr/include/glib-2.0 -I/usr/lib/mips-linux-gnu/glib-2.0/include -I/usr/include/qt5/QtCore -I.moc -o .obj/llint/LowLevelInterpreter.o llint/LowLevelInterpreter.cpp
/tmp/ccbkplyb.s: Assembler messages:
/tmp/ccbkplyb.s:34: Warning: no .cprestore pseudo-op used in PIC code
...
/tmp/ccbkplyb.s:581: Warning: no .cprestore pseudo-op used in PIC code
/tmp/ccbkplyb.s:638: Error: opcode not supported on this processor: mips2 (mips2) `movz $v0,$t8,$t7'
/tmp/ccbkplyb.s:652: Warning: no .cprestore pseudo-op used in PIC code
/tmp/ccbkplyb.s:684: Error: opcode not supported on this processor: mips2 (mips2) `movz $v1,$t8,$t7'
/tmp/ccbkplyb.s:690: Error: opcode not supported on this processor: mips2 (mips2) `movz $t2,$t8,$t7'
/tmp/ccbkplyb.s:695: Error: opcode not supported on this processor: mips2 (mips2) `movz $v1,$t7,$t8'
/tmp/ccbkplyb.s:758: Error: opcode not supported on this processor: mips2 (mips2) `movn $v0,$t8,$t7'
/tmp/ccbkplyb.s:772: Warning: no .cprestore pseudo-op used in PIC code
/tmp/ccbkplyb.s:804: Error: opcode not supported on this processor: mips2 (mips2) `movn $v1,$t8,$t7'
/tmp/ccbkplyb.s:810: Error: opcode not supported on this processor: mips2 (mips2) `movn $t2,$t8,$t7'
/tmp/ccbkplyb.s:815: Error: opcode not supported on this processor: mips2 (mips2) `movn $v1,$t7,$t8'
...

The full build log can be found here: https://buildd.debian.org/status/fetch.php?pkg=qtwebkit-opensource-src&arch=mips&ver=5.2.0%2Bdfsg-2&stamp=1388205434
Comment 3 Balazs Kilvady 2013-12-31 06:14:22 PST
(In reply to comment #2)
> This still happens when building QtWebKit 5.2 (based on WebKit 538.1) on Debian GNU/Linux:
> 
> g++ -c -Wall -Wextra -Wreturn-type -fno-strict-aliasing -Wchar-subscripts -Wformat-security -llint/LowLevelInterpreter.cpp
> /tmp/ccbkplyb.s: Assembler messages:
> /tmp/ccbkplyb.s:34: Warning: no .cprestore pseudo-op used in PIC code
> ...
> /tmp/ccbkplyb.s:581: Warning: no .cprestore pseudo-op used in PIC code
> /tmp/ccbkplyb.s:638: Error: opcode not supported on this processor: mips2 (mips2) `movz $v0,$t8,$t7'
> /tmp/ccbkplyb.s:758: Error: opcode not supported on this processor: mips2 (mips2) `movn $v0,$t8,$t7'

movz and movn instructions are included in MIPS32 specification and we support MIPS32(r1) and MIPS32r2 processors only. So -mips32 or -mips32r2 flag should be added to the command line of the  cross compiler (in qmake.conf).

As Qt port was removed from WebKit trunk, 5.1 was the last supported Qt version on MIPS.