Source: firefox-esr
Version: 45.7.0esr-2
Severity: serious

Hi,

As you expected, firefox-esr failed to build on armel/armhf with GCC 6:

Executing /«PKGBUILDDIR»/build-browser/dist/bin/xpcshell -g 
/«PKGBUILDDIR»/build-browser/dist/bin/ -a 
/«PKGBUILDDIR»/build-browser/dist/bin/ -f 
/«PKGBUILDDIR»/toolkit/mozapps/installer/precompile_cache.js -e 
precompile_startupcache("resource://gre/");
Traceback (most recent call last):
  File "/«PKGBUILDDIR»/toolkit/mozapps/installer/packager.py", line 406, in 
<module>
    main()
  File "/«PKGBUILDDIR»/toolkit/mozapps/installer/packager.py", line 400, in main
    args.source, gre_path, base)
  File "/«PKGBUILDDIR»/toolkit/mozapps/installer/packager.py", line 161, in 
precompile_cache
    errors.fatal('Error while running startup cache precompilation')
  File "/«PKGBUILDDIR»/python/mozbuild/mozpack/errors.py", line 103, in fatal
    self._handle(self.FATAL, msg)
  File "/«PKGBUILDDIR»/python/mozbuild/mozpack/errors.py", line 98, in _handle
    raise ErrorMessage(msg)
mozpack.errors.ErrorMessage: Error: Error while running startup cache 
precompilation
/«PKGBUILDDIR»/toolkit/mozapps/installer/packager.mk:41: recipe for target 
'stage-package' failed

I wonder if building without some optimization flags would help. I tried
to build with noopt on harris but the build failed earlier:

Executing: g++ -Wdate-time -Wall -Wempty-body -Woverloaded-virtual 
-Wsign-compare -Wwrite-strings -Wno-invalid-offsetof -fstack-protector-strong 
-Wformat -Werror=format-security -D__ARM_PCS 
-fno-schedule-insns2 -fno-lifetime-dse -fno-delete-null-pointer-checks 
-fno-exceptions -fno-strict-aliasing -fno-rtti -ffunction-sections 
-fdata-sections -fno-exceptions -fno-math-errno -std
=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -o buffered_stun_socket_unittest 
/home/pochu/pochu-sid-firefox-esr/firefox-esr-45.7.0esr/build-browser/media/mtransport/test/tmpv98CrM.list
 -lpt
hread -Wl,--as-needed -Wl,--reduce-memory-overheads -Wl,--no-keep-memory 
-Wl,--stats -Wl,-z,noexecstack -Wl,-z,text -Wl,--build-id 
-Wl,-rpath-link,/home/pochu/pochu-sid-firefox-esr/firefox-e
sr-45.7.0esr/build-browser/dist/bin -Wl,-rpath-link,/usr/lib 
../../../intl/icu/target/lib/libicui18n.a 
../../../intl/icu/target/lib/libicuuc.a 
../../../intl/icu/target/lib/libicudata.a -pie 
-ldl -L/usr/lib/arm-linux-gnueabi -lplds4 -lplc4 -lnspr4 -lpthread -ldl -lssl3 
-lsmime3 -lnss3 -lnssutil3 -lcrmf -lrt
/home/pochu/pochu-sid-firefox-esr/firefox-esr-45.7.0esr/build-browser/media/mtransport/test/tmpv98CrM.list:
    INPUT("buffered_stun_socket_unittest.o")
    INPUT("../../webrtc/trunk/testing/gtest_gtest/Unified_cpp_trunk_testing0.o")
[...]
    INPUT("../../../netwerk/sctp/src/user_recv_thread.o")
    INPUT("../../../netwerk/sctp/src/user_socket.o")

../standalone/test_nr_socket.o: In function `__throw_bad_alloc':
/home/pochu/pochu-sid-firefox-esr/firefox-esr-45.7.0esr/build-browser/media/mtransport/standalone/../../../dist/include/mozilla/throw_gcc.h:37:
 undefined reference to `mozalloc_abort'
/home/pochu/pochu-sid-firefox-esr/firefox-esr-45.7.0esr/build-browser/media/mtransport/standalone/../../../dist/include/mozilla/throw_gcc.h:37:
 undefined reference to `mozalloc_abort'
/home/pochu/pochu-sid-firefox-esr/firefox-esr-45.7.0esr/build-browser/media/mtransport/standalone/../../../dist/include/mozilla/throw_gcc.h:37:
 undefined reference to `mozalloc_abort'
collect2: error: ld returned 1 exit status

Cheers,
Emilio

-- System Information:
Debian Release: 9.0
  APT prefers unstable
  APT policy: (800, 'unstable'), (700, 'experimental'), (650, 'testing'), (500, 
'unstable-debug'), (500, 'testing-debug')
Architecture: amd64 (x86_64)
Foreign Architectures: i386, armhf

Kernel: Linux 4.9.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.utf8, LC_CTYPE=en_GB.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Reply via email to