Bug #896
[icecat] armv7 ==> ERROR: A failure occurred in build().
100%
Description
I build icecat with chroot-armv7h qemu-arm
Here fragment of report:
c++ -o Unified_cpp_webrtc_signaling0.i_o -c -I../../../../dist/system_wrappers -include /home/ebrasca/abslibre/libre/icecat/src/gnuzilla-release/config/gcc_hidden.h -D_FILE_OFFSET_BITS='64' -DCHROMIUM_BUILD -DUSE_LIBJPEG_TURBO='1' -DUSE_NSS='1' -DENABLE_ONE_CLICK_SIGNIN -DGTK_DISABLE_SINGLE_INCLUDES='1' -D_ISOC99_SOURCE='1' -DENABLE_REMOTING='1' -DENABLE_WEBRTC='1' -DENABLE_CONFIGURATION_POLICY -DENABLE_INPUT_SPEECH -DENABLE_NOTIFICATIONS -DENABLE_GPU='1' -DENABLE_EGLIMAGE='1' -DUSE_SKIA='1' -DENABLE_TASK_MANAGER='1' -DENABLE_WEB_INTENTS='1' -DENABLE_EXTENSIONS='1' -DENABLE_PLUGIN_INSTALLATION='1' -DENABLE_PROTECTOR_SERVICE='1' -DENABLE_SESSION_SERVICE='1' -DENABLE_THEMES='1' -DENABLE_BACKGROUND='1' -DENABLE_AUTOMATION='1' -DENABLE_PRINTING='1' -DENABLE_CAPTIVE_PORTAL_DETECTION='1' -DLOG4CXX_STATIC -D_NO_LOG4CXX -DUSE_SSLEAY -D_CPR_USE_EXTERNAL_LOGGER -DWEBRTC_RELATIVE_PATH -DHAVE_WEBRTC_VIDEO -DHAVE_WEBRTC_VOICE -DHAVE_STDINT_H='1' -DHAVE_STDLIB_H='1' -DHAVE_UINT8_T='1' -DHAVE_UINT16_T='1' -DHAVE_UINT32_T='1' -DHAVE_UINT64_T='1' -DMOZILLA_INTERNAL_API -DOS_LINUX -DSIP_OS_LINUX -DWEBRTC_POSIX -D_GNU_SOURCE -DLINUX -DGIPS_VER='3510' -DSECLIB_OPENSSL -D__STDC_FORMAT_MACROS -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED='0' -DSTATIC_EXPORTABLE_JS_API -DMOZILLA_INTERNAL_API -DIMPL_LIBXUL -DMOZ_GLUE_IN_PROGRAM -DAB_CD=en-US -DNO_NSPR_10_SUPPORT -I/home/ebrasca/abslibre/libre/icecat/src/gnuzilla-release/media/webrtc/signaling -I. -I/home/ebrasca/abslibre/libre/icecat/src/gnuzilla-release/obj-armv7l-unknown-linux-gnueabihf/ipc/ipdl/_ipdlheaders -I/home/ebrasca/abslibre/libre/icecat/src/gnuzilla-release/media/webrtc/signaling/.. -I/home/ebrasca/abslibre/libre/icecat/src/gnuzilla-release/media/webrtc/signaling/./src -I/home/ebrasca/abslibre/libre/icecat/src/gnuzilla-release/media/webrtc/signaling/./src/common -I/home/ebrasca/abslibre/libre/icecat/src/gnuzilla-release/media/webrtc/signaling/./src/common/browser_logging -I/home/ebrasca/abslibre/libre/icecat/src/gnuzilla-release/media/webrtc/signaling/./src/common/time_profiling -I/home/ebrasca/abslibre/libre/icecat/src/gnuzilla-release/media/webrtc/signaling/./src/media -I/home/ebrasca/abslibre/libre/icecat/src/gnuzilla-release/media/webrtc/signaling/./src/media-conduit -I/home/ebrasca/abslibre/libre/icecat/src/gnuzilla-release/media/webrtc/signaling/./src/mediapipeline -I/home/ebrasca/abslibre/libre/icecat/src/gnuzilla-release/media/webrtc/signaling/./src/peerconnection -I/home/ebrasca/abslibre/libre/icecat/src/gnuzilla-release/media/webrtc/signaling/./src/sdp/sipcc -I/home/ebrasca/abslibre/libre/icecat/src/gnuzilla-release/media/webrtc/signaling/../../../xpcom/base -I/home/ebrasca/abslibre/libre/icecat/src/gnuzilla-release/media/webrtc/signaling/../../../dom/base -I/home/ebrasca/abslibre/libre/icecat/src/gnuzilla-release/media/webrtc/signaling/../../../dom/media -I/home/ebrasca/abslibre/libre/icecat/src/gnuzilla-release/media/webrtc/signaling/../../../media/mtransport -I/home/ebrasca/abslibre/libre/icecat/src/gnuzilla-release/media/webrtc/signaling/../trunk -I/home/ebrasca/abslibre/libre/icecat/src/gnuzilla-release/media/webrtc/signaling/../../libyuv/include -I/home/ebrasca/abslibre/libre/icecat/src/gnuzilla-release/media/webrtc/signaling/../../mtransport/third_party/nrappkit/src/util/libekr -I/home/ebrasca/abslibre/libre/icecat/src/gnuzilla-release/media/webrtc/signaling/../../../netwerk/srtp/src/include -I/home/ebrasca/abslibre/libre/icecat/src/gnuzilla-release/media/webrtc/signaling/../../../netwerk/srtp/src/crypto/include -I/home/ebrasca/abslibre/libre/icecat/src/gnuzilla-release/ipc/chromium/src -I/home/ebrasca/abslibre/libre/icecat/src/gnuzilla-release/ipc/glue -I../../../../dist/include -fPIC -D_FORTIFY_SOURCE=2 -DMOZILLA_CLIENT -include ../../../../mozilla-config.h -MD -MP -MF .deps/Unified_cpp_webrtc_signaling0.i_o.pp -D_FORTIFY_SOURCE=2 -Wall -Wempty-body -Woverloaded-virtual -Wsign-compare -Wwrite-strings -Wno-invalid-offsetof -march=armv7-a -mfloat-abi=hard -mfpu=vfpv3-d16 -O2 -pipe -fstack-protector -g -fvar-tracking-assignments -g -fvar-tracking-assignments -fno-exceptions -fno-strict-aliasing -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -fprofile-generate -O3 -fomit-frame-pointer -I/usr/include/nspr -I/usr/include/nss -I/usr/include/pixman-1 /home/ebrasca/abslibre/libre/icecat/src/gnuzilla-release/obj-armv7l-unknown-linux-gnueabihf/media/webrtc/signaling/signaling_ecc/Unified_cpp_webrtc_signaling0.cpp
libaccessible_generic.a.desc
rm -f libaccessible_generic.a
/home/ebrasca/abslibre/libre/icecat/src/gnuzilla-release/obj-armv7l-unknown-linux-gnueabihf/_virtualenv/bin/python /home/ebrasca/abslibre/libre/icecat/src/gnuzilla-release/config/expandlibs_gen.py -o libaccessible_generic.a.desc Unified_cpp_accessible_generic0.i_o
make6: Leaving directory '/home/ebrasca/abslibre/libre/icecat/src/gnuzilla-release/obj-armv7l-unknown-linux-gnueabihf/accessible/generic'
In file included from /home/ebrasca/abslibre/libre/icecat/src/gnuzilla-release/media/webrtc/signaling/../trunk/webrtc/common_video/interface/i420_video_frame.h:15:0,
from /home/ebrasca/abslibre/libre/icecat/src/gnuzilla-release/media/webrtc/signaling/../trunk/webrtc/modules/video_coding/codecs/interface/video_codec_interface.h:17,
from /home/ebrasca/abslibre/libre/icecat/src/gnuzilla-release/media/webrtc/signaling/src/media-conduit/VideoConduit.h:24,
from /home/ebrasca/abslibre/libre/icecat/src/gnuzilla-release/media/webrtc/signaling/src/media-conduit/WebrtcGmpVideoCodec.h:29,
from /home/ebrasca/abslibre/libre/icecat/src/gnuzilla-release/media/webrtc/signaling/src/media-conduit/GmpVideoCodec.cpp:5,
from /home/ebrasca/abslibre/libre/icecat/src/gnuzilla-release/obj-armv7l-unknown-linux-gnueabihf/media/webrtc/signaling/signaling_ecc/Unified_cpp_webrtc_signaling0.cpp:20:
/home/ebrasca/abslibre/libre/icecat/src/gnuzilla-release/media/webrtc/signaling/../trunk/webrtc/video_frame.h: In member function 'virtual void mozilla::WebrtcGmpVideoEncoder::Encoded(GMPVideoEncodedFrame*, const nsTArray<unsigned char>&)':
/home/ebrasca/abslibre/libre/icecat/src/gnuzilla-release/media/webrtc/signaling/../trunk/webrtc/video_frame.h:202:29: warning: 'size' may be used uninitialized in this function [-Wmaybe-uninitialized]
_completeFrame(false) {}
^
In file included from /home/ebrasca/abslibre/libre/icecat/src/gnuzilla-release/obj-armv7l-unknown-linux-gnueabihf/media/webrtc/signaling/signaling_ecc/Unified_cpp_webrtc_signaling0.cpp:29:0:
/home/ebrasca/abslibre/libre/icecat/src/gnuzilla-release/media/webrtc/signaling/src/media-conduit/WebrtcGmpVideoCodec.cpp:454:14: note: 'size' was declared here
uint32_t size;
^
libecc.a.desc
rm -f libecc.a
/home/ebrasca/abslibre/libre/icecat/src/gnuzilla-release/obj-armv7l-unknown-linux-gnueabihf/_virtualenv/bin/python /home/ebrasca/abslibre/libre/icecat/src/gnuzilla-release/config/expandlibs_gen.py -o libecc.a.desc cpr_string.i_o sdp_access.i_o sdp_attr.i_o sdp_attr_access.i_o sdp_base64.i_o sdp_config.i_o sdp_main.i_o sdp_services_unix.i_o sdp_token.i_o sdp_utils.i_o Unified_c_webrtc_signaling0.i_o CSFLog.i_o JsepSessionImpl.i_o AudioConduit.i_o CodecStatistics.i_o VideoConduit.i_o MediaPipeline.i_o MediaPipelineFilter.i_o SrtpFlow.i_o MediaPipelineFactory.i_o MediaStreamList.i_o PeerConnectionCtx.i_o PeerConnectionImpl.i_o PeerConnectionMedia.i_o WebrtcGlobalInformation.i_o Unified_cpp_webrtc_signaling0.i_o
make6: Leaving directory '/home/ebrasca/abslibre/libre/icecat/src/gnuzilla-release/obj-armv7l-unknown-linux-gnueabihf/media/webrtc/signaling/signaling_ecc'
make5: Leaving directory '/home/ebrasca/abslibre/libre/icecat/src/gnuzilla-release/obj-armv7l-unknown-linux-gnueabihf'
/home/ebrasca/abslibre/libre/icecat/src/gnuzilla-release/config/recurse.mk:36: recipe for target 'compile' failed
make4: * [compile] Error 2
make4: Leaving directory '/home/ebrasca/abslibre/libre/icecat/src/gnuzilla-release/obj-armv7l-unknown-linux-gnueabihf'
/home/ebrasca/abslibre/libre/icecat/src/gnuzilla-release/config/rules.mk:541: recipe for target 'default' failed
make3: [default] Error 2
make3: Leaving directory '/home/ebrasca/abslibre/libre/icecat/src/gnuzilla-release/obj-armv7l-unknown-linux-gnueabihf'
/home/ebrasca/abslibre/libre/icecat/src/gnuzilla-release/client.mk:398: recipe for target 'realbuild' failed
make2: [realbuild] Error 2
make2: Leaving directory '/home/ebrasca/abslibre/libre/icecat/src/gnuzilla-release'
/home/ebrasca/abslibre/libre/icecat/src/gnuzilla-release/client.mk:233: recipe for target 'profiledbuild' failed
make1: [profiledbuild] Error 2
make1: Leaving directory '/home/ebrasca/abslibre/libre/icecat/src/gnuzilla-release'
client.mk:171: recipe for target 'build' failed
make: ** [build] Error 2
==> ERROR: A failure occurred in build().
Aborting...
Files
History
Updated by Anonymous over 8 years ago
Like mtjm says, the error is most probably earlier because it shows since "Error 2". I suggest you attach the log file here to see the complete building process.
Updated by ebrasca over 8 years ago
- File icecat-38.5.2_gnu1-1-armv7h-build.log.tar.gz icecat-38.5.2_gnu1-1-armv7h-build.log.tar.gz added
Here log.
I have compiled it again because I have accidentally delete logs
Updated by isacdaavid over 8 years ago
make[6]: Entering directory '/home/ebrasca/abslibre/libre/icecat/src/gnuzilla-release/obj-armv7l-unknown-linux-gnueabihf/gfx/ycbcr' mkdir -p '.deps/' yuv_convert_arm.i_o c++ -o yuv_convert_arm.i_o -c -I../../dist/stl_wrappers -I../../dist/system_wrappers -include /home/ebrasca/abslibre/libre/icecat/src/gnuzilla-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/home/ebrasca/abslibre/libre/icecat/src/gnuzilla-release/gfx/ycbcr -I. -I../../dist/include -I/usr/include/nspr -I/usr/include/nss -I/usr/include/pixman-1 -fPIC -D_FORTIFY_SOURCE=2 -DMOZILLA_CLIENT -include ../../mozilla-config.h -MD -MP -MF .deps/yuv_convert_arm.i_o.pp -D_FORTIFY_SOURCE=2 -Wall -Wempty-body -Woverloaded-virtual -Wsign-compare -Wwrite-strings -Wno-invalid-offsetof -march=armv7-a -mfloat-abi=hard -mfpu=vfpv3-d16 -O2 -pipe -fstack-protector -g -fvar-tracking-assignments -g -fvar-tracking-assignments -fno-exceptions -fno-strict-aliasing -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -fprofile-generate -O3 -fomit-frame-pointer /home/ebrasca/abslibre/libre/icecat/src/gnuzilla-release/gfx/ycbcr/yuv_convert_arm.cpp yuv_row_posix.i_o {standard input}: Assembler messages: {standard input}:60: Error: invalid constant (514) after fixup /home/ebrasca/abslibre/libre/icecat/src/gnuzilla-release/config/rules.mk:930: recipe for target 'yuv_convert_arm.i_o' failed make[6]: *** [yuv_convert_arm.i_o] Error 1 make[6]: Leaving directory '/home/ebrasca/abslibre/libre/icecat/src/gnuzilla-release/obj-armv7l-unknown-linux-gnueabihf/gfx/ycbcr' /home/ebrasca/abslibre/libre/icecat/src/gnuzilla-release/config/recurse.mk:74: recipe for target 'gfx/ycbcr/target' failed make[5]: *** [gfx/ycbcr/target] Error 2 make[5]: *** Waiting for unfinished jobs....
it's the same Gnu ASsembler error I saw before (invalid constant after fixup) at the same file (yuv_convert_arm).
Updated by ebrasca over 8 years ago
- File icecat-38.5.2_gnu1-2-armv7h-build.log.tar.gz icecat-38.5.2_gnu1-2-armv7h-build.log.tar.gz added
New log.
Updated by isacdaavid almost 8 years ago
- Assignee deleted (
isacdaavid)
I'm disowning this bug after re-trying and failing to build icecat and iceweasel under several methods: native build on my slow beaglebone with augmented swap space, cross-compilation using distcc and native linking, and qemu on a faster x86 host with more memory than the other setups. I think the furthest I got was when using qemu, where it repeatedly froze at some of the latest python stages in the make process, after having compiled all C++ code.
I attach the latest PKGBUILDs and a necessary patch, in case you want to try for yourselves
Updated by isacdaavid almost 8 years ago
- File PKGBUILD.icecat-38.7.1-gnu1-2-armv7h.patch PKGBUILD.icecat-38.7.1-gnu1-2-armv7h.patch added
- File no-neon.patch no-neon.patch added
- File PKGBUILD.iceweasel-1_46.0.1.deb1-1-armv7h.patch PKGBUILD.iceweasel-1_46.0.1.deb1-1-armv7h.patch added
This time with attachments present.
I'm posting git patches to slightly old package versions. They won't apply cleanly to current ice{weasel,cat} but they will give you an idea of what needs to be done, adding more changes (if any) from Arch ARM.
Updated by GNUtoo almost 8 years ago
- https://archlinuxarm.org/forum/viewtopic.php?f=57&t=9080 <- Arch can have the same failure
- https://stackoverflow.com/questions/10261300/invalid-constant-after-fixup <- Explanation about what the error is about.
I don't know what is in that cpp file, but if it lacks any assembly, we probably have a compiler issue.
Denis.
Updated by isacdaavid about 7 years ago
- % Done changed from 50 to 100
- Status changed from open to fixed
We have had icecat build since the 45 releases, with the appropriate architecture-specific changes. Memory consumption at link time seems to be the only deciding factor for a successful build.