Tasklist

FS#74 - firefox: (efikamx) 39.0-2 - gcc Illegal instruction fail

Attached to Project: CRUX-ARM
Opened by Tazy (Tazy) - Monday, 27 July 2015, 03:00 GMT
Last edited by Victor Martinez (pitillo) - Monday, 31 August 2015, 18:11 GMT
Task Type Bug Report
Category ports/opt-arm
Status Closed
Assigned To Jose V Beneyto (sepen)
Victor Martinez (pitillo)
Operating System CRUX-ARM
Severity Medium
Priority Normal
Reported Version 3.1
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Currently with default efikamx rootfs i get an illegal instruction fail (efikamx smartbook):

prt-get depinst firefox.. (full log at http://pastebin.com/LYFwgjDA )
....
make[5]: Leaving directory '/usr/ports/opt-arm/firefox/work/src/mozilla-release/firefox-shared/netwerk/dns'
make[5]: Entering directory '/usr/ports/opt-arm/firefox/work/src/mozilla-release/firefox-shared/toolkit/devtools/security'
Unified_cpp_devtools_security0.o
libtoolkit_devtools_security.a.desc
make[5]: Leaving directory '/usr/ports/opt-arm/firefox/work/src/mozilla-release/firefox-shared/toolkit/devtools/security'
make[5]: Entering directory '/usr/ports/opt-arm/firefox/work/src/mozilla-release/firefox-shared/widget'
nsBaseWidget.o
Unified_cpp_widget0.o
liburiloader_prefetch.a.desc
make[5]: Leaving directory '/usr/ports/opt-arm/firefox/work/src/mozilla-release/firefox-shared/uriloader/prefetch'
Unified_cpp_widget1.o
Unified_cpp_widget2.o
make[5]: Entering directory '/usr/ports/opt-arm/firefox/work/src/mozilla-release/firefox-shared/editor/libeditor'
Unified_cpp_editor_libeditor0.o
Unified_cpp_editor_libeditor1.o
Unified_cpp_editor_libeditor2.o
libwidget.a.desc
make[5]: Leaving directory '/usr/ports/opt-arm/firefox/work/src/mozilla-release/firefox-shared/widget'
In file included from /usr/ports/opt-arm/firefox/work/src/mozilla-release/firefox-shared/editor/libeditor/Unified_cpp_editor_libeditor1.cpp:11:0:
/usr/ports/opt-arm/firefox/work/src/mozilla-release/editor/libeditor/nsEditor.cpp: In member function 'nsresult nsEditor::JoinNodes(nsINode&, nsINode&)':
/usr/ports/opt-arm/firefox/work/src/mozilla-release/editor/libeditor/nsEditor.cpp:1507:10: warning: 'result' may be used uninitialized in this function [-Wmaybe-uninitialized]
return result;
^
make[5]: Entering directory '/usr/ports/opt-arm/firefox/work/src/mozilla-release/firefox-shared/dom/battery'
BatteryManager.o
libdom_battery.a.desc
make[5]: Leaving directory '/usr/ports/opt-arm/firefox/work/src/mozilla-release/firefox-shared/dom/battery'
make[5]: Entering directory '/usr/ports/opt-arm/firefox/work/src/mozilla-release/firefox-shared/security/manager/boot/src'
Unified_cpp_manager_boot_src0.o
libsecurity_manager_boot_src.a.desc
make[5]: Leaving directory '/usr/ports/opt-arm/firefox/work/src/mozilla-release/firefox-shared/security/manager/boot/src'
make[5]: Entering directory '/usr/ports/opt-arm/firefox/work/src/mozilla-release/firefox-shared/dom/mathml'
Unified_cpp_dom_mathml0.o
libdom_mathml.a.desc
make[5]: Leaving directory '/usr/ports/opt-arm/firefox/work/src/mozilla-release/firefox-shared/dom/mathml'
make[5]: Entering directory '/usr/ports/opt-arm/firefox/work/src/mozilla-release/firefox-shared/intl/uconv'
Unified_c_intl_uconv0.o
Unified_cpp_intl_uconv0.o
Unified_cpp_intl_uconv1.o
Unified_cpp_intl_uconv2.o
Unified_cpp_intl_uconv3.o
Unified_cpp_intl_uconv4.o
Unified_cpp_intl_uconv5.o
Unified_cpp_intl_uconv6.o
libintl_uconv.a.desc
make[5]: Leaving directory '/usr/ports/opt-arm/firefox/work/src/mozilla-release/firefox-shared/intl/uconv'
make[5]: Entering directory '/usr/ports/opt-arm/firefox/work/src/mozilla-release/firefox-shared/accessible/base'
Unified_cpp_accessible_base0.o
Unified_cpp_accessible_base1.o
In file included from /usr/ports/opt-arm/firefox/work/src/mozilla-release/firefox-shared/editor/libeditor/Unified_cpp_editor_libeditor1.cpp:110:0:
/usr/ports/opt-arm/firefox/work/src/mozilla-release/editor/libeditor/nsHTMLEditor.cpp: In member function 'virtual nsresult nsHTMLEditor::BeginningOfDocument()':
/usr/ports/opt-arm/firefox/work/src/mozilla-release/editor/libeditor/nsHTMLEditor.cpp:579:48: warning: 'selOffset' may be used uninitialized in this function [-Wmaybe-uninitialized]
return selection->Collapse(selNode, selOffset);
^
In file included from /usr/ports/opt-arm/firefox/work/src/mozilla-release/firefox-shared/editor/libeditor/Unified_cpp_editor_libeditor1.cpp:137:0:
/usr/ports/opt-arm/firefox/work/src/mozilla-release/editor/libeditor/nsHTMLInlineTableEditor.cpp: At global scope:
/usr/ports/opt-arm/firefox/work/src/mozilla-release/editor/libeditor/nsHTMLInlineTableEditor.cpp:271:1: internal compiler error: Illegal instruction
}
^
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.

In the directory /usr/ports/opt-arm/firefox/work/src/mozilla-release/firefox-shared/editor/libeditor
The following command failed to execute properly:
c++ -o Unified_cpp_editor_libeditor1.o -c -I../../dist/stl_wrappers -I../../dist/system_wrappers -include /usr/ports/opt-arm/firefox/work/src/mozilla-release/config/gcc_hidden.h -DSTATIC_EXPORTABLE_JS_API -DMOZILLA_INTERNAL_API -DIMPL_LIBXUL -DMOZ_GLUE_IN_PROGRAM -DAB_CD=en-US -DNO_NSPR_10_SUPPORT -I/usr/ports/opt-arm/firefox/work/src/mozilla-release/editor/libeditor -I. -I/usr/ports/opt-arm/firefox/work/src/mozilla-release/dom/base -I/usr/ports/opt-arm/firefox/work/src/mozilla-release/editor/txmgr -I/usr/ports/opt-arm/firefox/work/src/mozilla-release/extensions/spellcheck/src -I/usr/ports/opt-arm/firefox/work/src/mozilla-release/layout/generic -I/usr/ports/opt-arm/firefox/work/src/mozilla-release/layout/style -I/usr/ports/opt-arm/firefox/work/src/mozilla-release/layout/tables -I/usr/ports/opt-arm/firefox/work/src/mozilla-release/layout/xul -I../../dist/include -I/usr/include/nspr -I/usr/include/nss -I/usr/include/pixman-1 -fPIC -DMOZILLA_CLIENT -include ../../mozilla-config.h -MD -MP -MF .deps/Unified_cpp_editor_libeditor1.o.pp -Wall -Wempty-body -Woverloaded-virtual -Wsign-compare -Wwrite-strings -Wno-invalid-offsetof -O2 -pipe -mfloat-abi=hard -march=armv7-a -mfpu=vfpv3-d16 -fno-exceptions -fno-strict-aliasing -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O2 -pipe -mfloat-abi=hard -march=armv7-a -mfpu=vfpv3-d16 -fomit-frame-pointer /usr/ports/opt-arm/firefox/work/src/mozilla-release/firefox-shared/editor/libeditor/Unified_cpp_editor_libeditor1.cpp
/usr/ports/opt-arm/firefox/work/src/mozilla-release/config/rules.mk:930: recipe for target 'Unified_cpp_editor_libeditor1.o' failed
make[5]: *** [Unified_cpp_editor_libeditor1.o] Error 1
make[5]: Leaving directory '/usr/ports/opt-arm/firefox/work/src/mozilla-release/firefox-shared/editor/libeditor'
/usr/ports/opt-arm/firefox/work/src/mozilla-release/config/recurse.mk:74: recipe for target 'editor/libeditor/target' failed
make[4]: *** [editor/libeditor/target] Error 2
make[4]: *** Waiting for unfinished jobs....
libaccessible_base.a.desc
make[5]: Leaving directory '/usr/ports/opt-arm/firefox/work/src/mozilla-release/firefox-shared/accessible/base'
make[4]: Leaving directory '/usr/ports/opt-arm/firefox/work/src/mozilla-release/firefox-shared'
/usr/ports/opt-arm/firefox/work/src/mozilla-release/config/recurse.mk:36: recipe for target 'compile' failed
make[3]: *** [compile] Error 2
make[3]: Leaving directory '/usr/ports/opt-arm/firefox/work/src/mozilla-release/firefox-shared'
/usr/ports/opt-arm/firefox/work/src/mozilla-release/config/rules.mk:541: recipe for target 'default' failed
make[2]: *** [default] Error 2
make[2]: Leaving directory '/usr/ports/opt-arm/firefox/work/src/mozilla-release/firefox-shared'
/usr/ports/opt-arm/firefox/work/src/mozilla-release/client.mk:400: recipe for target 'realbuild' failed
make[1]: *** [realbuild] Error 2
make[1]: Leaving directory '/usr/ports/opt-arm/firefox/work/src/mozilla-release'
client.mk:171: recipe for target 'build' failed
make: *** [build] Error 2
=======> ERROR: Building '/usr/ports/opt-arm/firefox/firefox#39.0-2.pkg.tar.gz' failed.
This task depends upon

Closed by  Victor Martinez (pitillo)
Monday, 31 August 2015, 18:11 GMT
Reason for closing:  Fixed
Additional comments about closing:  We have overlayed firefox port letting -mfpu=neon in vpx CFLAGS. This seems to be the only device which needs to build libvpx with neon optimizations.

Commit:
https://crux-arm.nu/gitweb?p=ports/efika mx-arm.git;a=commit;h=eeeebc0f44ccfe6910 203d98bb90196babc564b4
Comment by Tazy (Tazy) - Thursday, 30 July 2015, 22:30 GMT
getting odder, with -j1 , not only takes ages but same error at another point?
Proceeding to upgrade GCC 4.8.3 > 4.8.5.

http://pastebin.com/yhxF3ssp

gfxASurface.o
gfxDrawable.o
gfxFT2FontBase.o
gfxFT2Utils.o
gfxFontconfigUtils.o
gfxGdkNativeRenderer.o
gfxPDFSurface.o
gfxPSSurface.o
gfxPangoFonts.o
gfxPlatform.o
gfxPlatformGtk.o
gfxPrefs.o
gfxXlibNativeRenderer.o
gfxXlibSurface.o
Unified_cpp_gfx_thebes0.o
Unified_cpp_gfx_thebes1.o
In file included from /usr/ports/opt-arm/firefox/work/src/mozilla-release/firefox-shared/gfx/thebes/Unified_cpp_gfx_thebes1.cpp:11:0:
/usr/ports/opt-arm/firefox/work/src/mozilla-release/gfx/thebes/gfxGraphiteShaper.cpp: In member function 'nsresult gfxGraphiteShaper::SetGlyphsFromSegment(gfxContext*, gfxShapedText*, uint32_t, uint32_t, const char16_t*, gr_segment*)':
/usr/ports/opt-arm/firefox/work/src/mozilla-release/gfx/thebes/gfxGraphiteShaper.cpp:332:48: warning: 'clusterLoc' may be used uninitialized in this function [-Wmaybe-uninitialized]
(xLocs[j] - clusterLoc - adv);
^
Unified_cpp_gfx_thebes2.o
libgfx_thebes.a.desc
make[5]: Leaving directory '/usr/ports/opt-arm/firefox/work/src/mozilla-release/firefox-shared/gfx/thebes'
make[5]: Entering directory '/usr/ports/opt-arm/firefox/work/src/mozilla-release/firefox-shared/netwerk/protocol/res'
nsResProtocolHandler.o
libnetwerk_protocol_res.a.desc
make[5]: Leaving directory '/usr/ports/opt-arm/firefox/work/src/mozilla-release/firefox-shared/netwerk/protocol/res'
make[5]: Entering directory '/usr/ports/opt-arm/firefox/work/src/mozilla-release/firefox-shared/embedding/components/appstartup'
nsAppStartupNotifier.o
libembedding_components_appstartup.a.desc
make[5]: Leaving directory '/usr/ports/opt-arm/firefox/work/src/mozilla-release/firefox-shared/embedding/components/appstartup'
make[5]: Entering directory '/usr/ports/opt-arm/firefox/work/src/mozilla-release/firefox-shared/extensions/universalchardet/src/xpcom'
Unified_cpp_src_xpcom0.o
libextensions_universalchardet_src_xpcom.a.desc
make[5]: Leaving directory '/usr/ports/opt-arm/firefox/work/src/mozilla-release/firefox-shared/extensions/universalchardet/src/xpcom'
make[5]: Entering directory '/usr/ports/opt-arm/firefox/work/src/mozilla-release/firefox-shared/js/ipc'
Unified_cpp_js_ipc0.o
libjs_ipc.a.desc
make[5]: Leaving directory '/usr/ports/opt-arm/firefox/work/src/mozilla-release/firefox-shared/js/ipc'
make[5]: Entering directory '/usr/ports/opt-arm/firefox/work/src/mozilla-release/firefox-shared/dom/xml'
Unified_cpp_dom_xml0.o
libdom_xml.a.desc
make[5]: Leaving directory '/usr/ports/opt-arm/firefox/work/src/mozilla-release/firefox-shared/dom/xml'
make[5]: Entering directory '/usr/ports/opt-arm/firefox/work/src/mozilla-release/firefox-shared/dom/fetch'
Unified_cpp_dom_fetch0.o
libdom_fetch.a.desc
make[5]: Leaving directory '/usr/ports/opt-arm/firefox/work/src/mozilla-release/firefox-shared/dom/fetch'
make[5]: Entering directory '/usr/ports/opt-arm/firefox/work/src/mozilla-release/firefox-shared/embedding/components/find'
Unified_cpp_components_find0.o
libembedding_components_find.a.desc
make[5]: Leaving directory '/usr/ports/opt-arm/firefox/work/src/mozilla-release/firefox-shared/embedding/components/find'
make[5]: Entering directory '/usr/ports/opt-arm/firefox/work/src/mozilla-release/firefox-shared/rdf/datasource'
Unified_cpp_rdf_datasource0.o
librdf_datasource.a.desc
make[5]: Leaving directory '/usr/ports/opt-arm/firefox/work/src/mozilla-release/firefox-shared/rdf/datasource'
make[5]: Entering directory '/usr/ports/opt-arm/firefox/work/src/mozilla-release/firefox-shared/dom/bindings'
PrototypeList.o
RegisterBindings.o
RegisterWorkerBindings.o
ResolveSystemBinding.o
UnionTypes.o
UnifiedBindings0.o
UnifiedBindings1.o
UnifiedBindings10.o
UnifiedBindings11.o
UnifiedBindings12.o
UnifiedBindings13.o
UnifiedBindings14.o
UnifiedBindings15.o
UnifiedBindings16.o
UnifiedBindings17.o
UnifiedBindings18.o
UnifiedBindings19.o
In file included from /usr/ports/opt-arm/firefox/work/src/mozilla-release/firefox-shared/dom/bindings/SourceBufferListBinding.cpp:12:0,
from /usr/ports/opt-arm/firefox/work/src/mozilla-release/firefox-shared/dom/bindings/UnifiedBindings19.cpp:2:
../../dist/include/mozilla/dom/PrimitiveConversions.h: In function 'bool mozilla::dom::PrimitiveConversionTraits_EnforceRange(JSContext*, double const&, T*) [with T = unsigned int]':
../../dist/include/mozilla/dom/PrimitiveConversions.h:222:44: internal compiler error: Segmentation fault
return Enforce(cx, intermediate, retval);
^
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.

In the directory /usr/ports/opt-arm/firefox/work/src/mozilla-release/firefox-shared/dom/bindings
The following command failed to execute properly:
c++ -o UnifiedBindings19.o -c -I../../dist/stl_wrappers -I../../dist/system_wrappers -include /usr/ports/opt-arm/firefox/work/src/mozilla-release/config/gcc_hidden.h -DOS_POSIX=1 -DOS_LINUX=1 -DHAVE_SIDEBAR -DSTATIC_EXPORTABLE_JS_API -DMOZILLA_INTERNAL_API -DIMPL_LIBXUL -DMOZ_GLUE_IN_PROGRAM -DAB_CD=en-US -DNO_NSPR_10_SUPPORT -I/usr/ports/opt-arm/firefox/work/src/mozilla-release/dom/bindings -I. -I../../dist/include/mozilla/dom -I/usr/ports/opt-arm/firefox/work/src/mozilla-release/firefox-shared/ipc/ipdl/_ipdlheaders -I/usr/ports/opt-arm/firefox/work/src/mozilla-release/dom/base -I/usr/ports/opt-arm/firefox/work/src/mozilla-release/dom/battery -I/usr/ports/opt-arm/firefox/work/src/mozilla-release/dom/bluetooth -I/usr/ports/opt-arm/firefox/work/src/mozilla-release/dom/camera -I/usr/ports/opt-arm/firefox/work/src/mozilla-release/dom/canvas -I/usr/ports/opt-arm/firefox/work/src/mozilla-release/dom/geolocation -I/usr/ports/opt-arm/firefox/work/src/mozilla-release/dom/html -I/usr/ports/opt-arm/firefox/work/src/mozilla-release/dom/indexedDB -I/usr/ports/opt-arm/firefox/work/src/mozilla-release/dom/media/webaudio -I/usr/ports/opt-arm/firefox/work/src/mozilla-release/dom/media/webspeech/recognition -I/usr/ports/opt-arm/firefox/work/src/mozilla-release/dom/svg -I/usr/ports/opt-arm/firefox/work/src/mozilla-release/dom/workers -I/usr/ports/opt-arm/firefox/work/src/mozilla-release/dom/xbl -I/usr/ports/opt-arm/firefox/work/src/mozilla-release/dom/xml -I/usr/ports/opt-arm/firefox/work/src/mozilla-release/dom/xslt/base -I/usr/ports/opt-arm/firefox/work/src/mozilla-release/dom/xslt/xpath -I/usr/ports/opt-arm/firefox/work/src/mozilla-release/dom/xul -I/usr/ports/opt-arm/firefox/work/src/mozilla-release/js/xpconnect/src -I/usr/ports/opt-arm/firefox/work/src/mozilla-release/js/xpconnect/wrappers -I/usr/ports/opt-arm/firefox/work/src/mozilla-release/layout/style -I/usr/ports/opt-arm/firefox/work/src/mozilla-release/layout/xul/tree -I/usr/ports/opt-arm/firefox/work/src/mozilla-release/media/mtransport -I/usr/ports/opt-arm/firefox/work/src/mozilla-release/media/webrtc/ -I/usr/ports/opt-arm/firefox/work/src/mozilla-release/media/webrtc/signaling/src/common/time_profiling -I/usr/ports/opt-arm/firefox/work/src/mozilla-release/media/webrtc/signaling/src/peerconnection -I/usr/ports/opt-arm/firefox/work/src/mozilla-release/ipc/chromium/src -I/usr/ports/opt-arm/firefox/work/src/mozilla-release/ipc/glue -I../../dist/include -I/usr/include/nspr -I/usr/include/nss -I/usr/include/pixman-1 -fPIC -DMOZILLA_CLIENT -include ../../mozilla-config.h -MD -MP -MF .deps/UnifiedBindings19.o.pp -Wall -Wempty-body -Woverloaded-virtual -Wsign-compare -Wwrite-strings -Wno-invalid-offsetof -O2 -pipe -mfloat-abi=hard -march=armv7-a -mfpu=vfpv3-d16 -fno-exceptions -fno-strict-aliasing -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -Wno-uninitialized -DNDEBUG -DTRIMMED -g -O2 -pipe -mfloat-abi=hard -march=armv7-a -mfpu=vfpv3-d16 -fomit-frame-pointer /usr/ports/opt-arm/firefox/work/src/mozilla-release/firefox-shared/dom/bindings/UnifiedBindings19.cpp
/usr/ports/opt-arm/firefox/work/src/mozilla-release/config/rules.mk:930: recipe for target 'UnifiedBindings19.o' failed
make[5]: *** [UnifiedBindings19.o] Error 1
make[5]: Leaving directory '/usr/ports/opt-arm/firefox/work/src/mozilla-release/firefox-shared/dom/bindings'
/usr/ports/opt-arm/firefox/work/src/mozilla-release/config/recurse.mk:74: recipe for target 'dom/bindings/target' failed
make[4]: *** [dom/bindings/target] Error 2
make[4]: Leaving directory '/usr/ports/opt-arm/firefox/work/src/mozilla-release/firefox-shared'
/usr/ports/opt-arm/firefox/work/src/mozilla-release/config/recurse.mk:36: recipe for target 'compile' failed
make[3]: *** [compile] Error 2
make[3]: Leaving directory '/usr/ports/opt-arm/firefox/work/src/mozilla-release/firefox-shared'
/usr/ports/opt-arm/firefox/work/src/mozilla-release/config/rules.mk:541: recipe for target 'default' failed
make[2]: *** [default] Error 2
make[2]: Leaving directory '/usr/ports/opt-arm/firefox/work/src/mozilla-release/firefox-shared'
/usr/ports/opt-arm/firefox/work/src/mozilla-release/client.mk:400: recipe for target 'realbuild' failed
make[1]: *** [realbuild] Error 2
make[1]: Leaving directory '/usr/ports/opt-arm/firefox/work/src/mozilla-release'
client.mk:171: recipe for target 'build' failed
make: *** [build] Error 2
=======> ERROR: Building '/usr/ports/opt-arm/firefox/firefox#39.0-2.pkg.tar.gz' failed.
Comment by Tazy (Tazy) - Monday, 17 August 2015, 16:37 GMT
Firefox 40 and still same/new fails http://dpaste.com/3Y5Y40F
In file included from /usr/ports/opt-arm/firefox/work/src/mozilla-release/firefox-shared/dom/bindings/UnifiedBindings13.cpp:266:0:
/usr/ports/opt-arm/firefox/work/src/mozilla-release/firefox-shared/dom/bindings/PermissionSettingsBinding.cpp: In function 'bool mozilla::dom::PermissionSettingsBinding::isExplicit(JSContext*, JS::Handle<JSObject*>, mozilla::dom::PermissionSettings*, const JSJitMethodCallArgs&)':
/usr/ports/opt-arm/firefox/work/src/mozilla-release/firefox-shared/dom/bindings/PermissionSettingsBinding.cpp:191:1: internal compiler error: Segmentation fault
}

Loading...