Open Zhangzhenyu1996 opened 6 years ago
hi,I try to build QT5.4.1 in the ubuntu ,but I'm getting an error as below. I'm using Ubuntu 16.04 with gcc 5.3.1 /home/zhang/qt-everywhere-opensource-src-5.4.1/qtwebkit/Source/JavaScriptCore//libJavaScriptCore.a(/home/zhang/qt-everywhere-opensource-src-5.4.1/qtwebkit/Source/JavaScriptCore//.obj/runtime/JSArray.o):JSArray.cpp:function JSC::JSArray::push(JSC::ExecState*, JSC::JSValue): error: undefined reference to 'void JSC::JSObject::putByIndexBeyondVectorLengthWithoutAttributes<(unsigned char)20>(JSC::ExecState*, unsigned int, JSC::JSValue)' collect2: error: ld returned 1 exit status Makefile.jsc:98: recipe for target '../../bin/jsc' failed make[3]: *** [../../bin/jsc] Error 1 make[3]: Leaving directory '/home/zhang/qt-everywhere-opensource-src-5.4.1/qtwebkit/Source/JavaScriptCore' Makefile.JavaScriptCore:126: recipe for target 'sub-jsc-pro-make_first-ordered' failed make[2]: *** [sub-jsc-pro-make_first-ordered] Error 2 make[2]: Leaving directory '/home/zhang/qt-everywhere-opensource-src-5.4.1/qtwebkit/Source/JavaScriptCore' Makefile:93: recipe for target 'sub-Source-JavaScriptCore-JavaScriptCore-pro-make_first-ordered' failed make[1]: *** [sub-Source-JavaScriptCore-JavaScriptCore-pro-make_first-ordered] Error 2 make[1]: Leaving directory '/home/zhang/qt-everywhere-opensource-src-5.4.1/qtwebkit' Makefile:485: recipe for target 'module-qtwebkit-make_first' failed make: *** [module-qtwebkit-make_first] Error 2
/home/zhang/qt-everywhere-opensource-src-5.4.1/qtwebkit/Source/JavaScriptCore//libJavaScriptCore.a(/home/zhang/qt-everywhere-opensource-src-5.4.1/qtwebkit/Source/JavaScriptCore//.obj/runtime/JSArray.o):JSArray.cpp:function JSC::JSArray::push(JSC::ExecState*, JSC::JSValue): error: undefined reference to 'void JSC::JSObject::putByIndexBeyondVectorLengthWithoutAttributes<(unsigned char)20>(JSC::ExecState*, unsigned int, JSC::JSValue)' collect2: error: ld returned 1 exit status Makefile.jsc:98: recipe for target '../../bin/jsc' failed make[3]: *** [../../bin/jsc] Error 1 make[3]: Leaving directory '/home/zhang/qt-everywhere-opensource-src-5.4.1/qtwebkit/Source/JavaScriptCore' Makefile.JavaScriptCore:126: recipe for target 'sub-jsc-pro-make_first-ordered' failed make[2]: *** [sub-jsc-pro-make_first-ordered] Error 2 make[2]: Leaving directory '/home/zhang/qt-everywhere-opensource-src-5.4.1/qtwebkit/Source/JavaScriptCore' Makefile:93: recipe for target 'sub-Source-JavaScriptCore-JavaScriptCore-pro-make_first-ordered' failed make[1]: *** [sub-Source-JavaScriptCore-JavaScriptCore-pro-make_first-ordered] Error 2 make[1]: Leaving directory '/home/zhang/qt-everywhere-opensource-src-5.4.1/qtwebkit' Makefile:485: recipe for target 'module-qtwebkit-make_first' failed make: *** [module-qtwebkit-make_first] Error 2
I found the answerhttps://bugreports.qt.io/browse/QTBUG-44829
hi,I try to build QT5.4.1 in the ubuntu ,but I'm getting an error as below. I'm using Ubuntu 16.04 with gcc 5.3.1
/home/zhang/qt-everywhere-opensource-src-5.4.1/qtwebkit/Source/JavaScriptCore//libJavaScriptCore.a(/home/zhang/qt-everywhere-opensource-src-5.4.1/qtwebkit/Source/JavaScriptCore//.obj/runtime/JSArray.o):JSArray.cpp:function JSC::JSArray::push(JSC::ExecState*, JSC::JSValue): error: undefined reference to 'void JSC::JSObject::putByIndexBeyondVectorLengthWithoutAttributes<(unsigned char)20>(JSC::ExecState*, unsigned int, JSC::JSValue)' collect2: error: ld returned 1 exit status Makefile.jsc:98: recipe for target '../../bin/jsc' failed make[3]: *** [../../bin/jsc] Error 1 make[3]: Leaving directory '/home/zhang/qt-everywhere-opensource-src-5.4.1/qtwebkit/Source/JavaScriptCore' Makefile.JavaScriptCore:126: recipe for target 'sub-jsc-pro-make_first-ordered' failed make[2]: *** [sub-jsc-pro-make_first-ordered] Error 2 make[2]: Leaving directory '/home/zhang/qt-everywhere-opensource-src-5.4.1/qtwebkit/Source/JavaScriptCore' Makefile:93: recipe for target 'sub-Source-JavaScriptCore-JavaScriptCore-pro-make_first-ordered' failed make[1]: *** [sub-Source-JavaScriptCore-JavaScriptCore-pro-make_first-ordered] Error 2 make[1]: Leaving directory '/home/zhang/qt-everywhere-opensource-src-5.4.1/qtwebkit' Makefile:485: recipe for target 'module-qtwebkit-make_first' failed make: *** [module-qtwebkit-make_first] Error 2