Bug 75736

Summary: build failure in jit/JITStubs.h
Product: WebKit Reporter: Pavel Heimlich (hajma) <tropikhajma>
Component: JavaScriptCoreAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: ap, webkit.review.bot
Priority: P3    
Version: 528+ (Nightly build)   
Hardware: Other   
OS: Other   
Attachments:
Description Flags
Patch none

Description Pavel Heimlich (hajma) 2012-01-06 13:39:01 PST
building Qt 4.8 on Solaris fails with the below error.
This is because Solaris Studio does not support fastcall

/opt/test2/SolarisStudio12.3-solaris-x86-bin/solarisstudio12.3/bin/CC -c -I../../../../../mkspecs/solaris-cc -I. -I../../../../../include/QtCore -I../../../../../include -I. -I../../Source -I../ThirdParty -Iassembler -Ibytecode -Ibytecompiler -Iheap -Idfg -Idebugger -Iinterpreter -Ijit -Iparser -Iprofiler -Iruntime -Iwtf -Iwtf/gobject -I/opt/test2/packages/BUILD/qt-4.8.0/i386/qt-everywhere-opensource-src-4.8.0/src/3rdparty/webkit/Source/JavaScriptCore/wtf/symbian -Iwtf/unicode -Iyarr -IAPI -IForwardingHeaders -Igenerated -I../../Source -I../../include -I/include/QtWebKit -I/include -I.moc/debug-static -I/usr/sfw/include -D_REENTRANT -DNDEBUG -D__EXTENSIONS__ -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_POSIX_PTHREAD_SEMANTICS -DSOLARIS -DNO_DEBUG -D_UNICODE -DUNICODE -D_RWSTD_REENTRANT -D_XOPEN_SOURCE=500 -D_XPG5 -I/opt/kde4/include -m32 -xarch=sse2 -features=extensions,nestedaccess,tmplrefstatic -template=geninlinefuncs -s -xlang=c99 -xustr=ascii_utf16_ushort -Qoption ccfe -features=gcc -Qoption ccfe -features=zla -Qoption ccfe ++boolflag:sunwcch=false -R/opt/kde4/lib -library=stdcxx4 -lCrun -I/usr/include/libpng14 -I/opt/kde4/include -I/usr/mysql/5.1/include/mysql -I/usr/include/libmng -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/odbc -KPIC -mt -DNDEBUG -DBUILDING_QT__=1 -DQT_ASCII_CAST_WARNINGS -DBUILDING_JavaScriptCore -DBUILDING_WTF -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_CORE_LIB -DQT_HAVE_MMX -DQT_HAVE_SSE -DQT_HAVE_MMXEXT -DQT_HAVE_SSE2 -DQT_HAVE_SSE3 -DQT_SHARED -o .obj/debug-static/DateMath.o wtf/DateMath.cpp
"./wtf/OSAllocator.h", line 43: Warning: Identifier expected instead of "}".
"jit/JITStubs.h", line 270: Error: #error "JIT_STUB function calls require fastcall conventions on x86, add appropriate directive/attribute here for your compiler!".
Comment 1 Pavel Heimlich (hajma) 2012-01-06 13:53:24 PST
Created attachment 121488 [details]
Patch
Comment 2 Alexey Proskuryakov 2012-01-09 10:30:16 PST
Comment on attachment 121488 [details]
Patch

I assume that you want this landed. 

In the future, please mark patches with cq? to make the intention clear.
Comment 3 WebKit Review Bot 2012-01-09 12:02:24 PST
Comment on attachment 121488 [details]
Patch

Clearing flags on attachment: 121488

Committed r104473: <http://trac.webkit.org/changeset/104473>
Comment 4 WebKit Review Bot 2012-01-09 12:02:29 PST
All reviewed patches have been landed.  Closing bug.