青少年科创大赛作品:QTBUG-17355 QML "Bus error" caused by align in mips platform
来源:百度文库 编辑:九乡新闻网 时间:2024/05/05 19:57:40
It is a problem about align in mips platform
Description
In src/script/bridge/qscriptdeclarativeclass_p.h 75 line
"dummy[8]" will cause qml "bus error",When I modify it to "char dummy[8] _attribute_ ((aligned(8)))",it can work normally.
First I use Qt in soft-float environment,so it performance good. If I change environment to hard-float,it would "bus error",when I run qml; I trace this problem ,i find error occur in "JSValue.h" .But it is called in "QScriptDeclarative::Value::Value(QScriptEngine *eng,float value)".So I think it's a problem of align.
I think in embed environment ,it need 8 byte align for use double type.Comments
In QtQuick2 we've switched to V8, which doesn't have this problem.
QTBUG-17355 QML "Bus error" caused by align in mips platform
Bus drivers hold demonstration in Dhaka, Bang...
Azure Services Platform Step by Step1
Death toll in bus overturn in Shanghai rises ...
10 killed, 14 injured after bus overturns in ...
At least 2 dead, 10 trapped in bus after collision in Southern Calif.
Death toll rises to 18 in bus-truck crash in N China
Win7安vc2008编译报LINK : fatal error LNK1000: Internal error during In...
U.S. style school bus shown at auto expo in B...
Justice?by?death?in?China
Luxurious jewelry used by imperial family in ...
Remarks by the President in Town Hall
Remarks by the President in Back
Speech?By?Larry?Ellison?In?Yale?University
Senior managers do not pay attention to an error in communication
Often prone to error in the absence of experienced people to manage the team ------------
Error 0x5 port in use gnu.io.PortInUseException: Unknown Application
linux mips启动分析
Error writing file: A file cannot be larger than the value set by ulimit
Second sub in 2011 ordered by US navy - Focus...
BBC News - Liger cubs nursed by dog in China'...
Remarks by the President to Parliament in London, United Kingdom
One killed, 7 wounded by explosion in SE Turk...
Remarks by President Obama in Address to the ...