qt4-x11 version 4:4.7.3-1ubuntu1 failed to build on armel: assertion fail ../../bfd/elf32-arm.c:12008

Bug #791256 reported by Ricardo Salveti on 2011-06-01
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Linaro Toolchain Miscellanies
Won't Fix
Undecided
Unassigned
binutils (Ubuntu)
High
Canonical ARM Developers

Bug Description

qt4-x11 version 4:4.7.3-1ubuntu1 failed to build on armel
Link to failed build: https://launchpad.net/ubuntu/+source/qt4-x11/4:4.7.3-1ubuntu1/+build/2538174

Direct link to the build log: https://launchpad.net/ubuntu/+source/qt4-x11/4:4.7.3-1ubuntu1/+build/2538174/+files/buildlog_ubuntu-oneiric-armel.qt4-x11_4%3A4.7.3-1ubuntu1_FAILEDTOBUILD.txt.gz

This log snippet might be of interest, since it triggered the matcher 'Purging chroot-autobuild'.
Excerpt 51706 lines into the build log:

/usr/bin/ld: BFD (GNU Binutils for Ubuntu) 2.21.51.20110421 assertion fail ../../bfd/elf32-arm.c:12008
/usr/bin/ld: BFD (GNU Binutils for Ubuntu) 2.21.51.20110421 assertion fail ../../bfd/elf32-arm.c:12008
/usr/bin/ld: BFD (GNU Binutils for Ubuntu) 2.21.51.20110421 assertion fail ../../bfd/elf32-arm.c:12008
/usr/bin/ld: BFD (GNU Binutils for Ubuntu) 2.21.51.20110421 assertion fail ../../bfd/elf32-arm.c:12008
/usr/bin/ld: BFD (GNU Binutils for Ubuntu) 2.21.51.20110421 assertion fail ../../bfd/elf32-arm.c:12008
/usr/bin/ld: BFD (GNU Binutils for Ubuntu) 2.21.51.20110421 assertion fail ../../bfd/elf32-arm.c:12008
make[3]: *** [../../../../lib/libQtWebKit.so.4.7.3] Error 1
make[3]: Leaving directory `/build/buildd/qt4-x11-4.7.3/src/3rdparty/webkit/WebCore'
make[2]: *** [sub-webkit-make_default-ordered] Error 2
make[2]: Leaving directory `/build/buildd/qt4-x11-4.7.3'
dh_auto_build: make -j1 returned exit code 2
make[1]: *** [override_dh_auto_build] Error 25
make[1]: Leaving directory `/build/buildd/qt4-x11-4.7.3'
make: *** [build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2
******************************************************************************
Build finished at 20110601-1043
FAILED [dpkg-buildpackage died]
Purging chroot-autobuild/build/buildd/qt4-x11-4.7.3

Felix Geyer (debfx) wrote :

Reassigning to binutils

affects: qt4-x11 (Ubuntu) → binutils (Ubuntu)
summary: - qt4-x11 version 4:4.7.3-1ubuntu1 failed to build on armel
+ qt4-x11 version 4:4.7.3-1ubuntu1 failed to build on armel: assertion
+ fail ../../bfd/elf32-arm.c:12008
Matthias Klose (doko) wrote :

it's the BFD_ASSERT failing in elf32_arm_check_relocs, same with 20110601, works with ld.gold

      if (may_need_local_target_p
          && elf32_arm_get_plt_info (abfd, eh, r_symndx, &root_plt, &arm_plt))
        {
          BFD_ASSERT (root_plt->refcount > 0);
          root_plt->refcount -= 1;

Matthias Klose (doko) wrote :

trunk 20110421 crashes, 20110601 seems to go into an endlessl loop

tags: added: armel
Ricardo Salveti (rsalveti) wrote :

Qt4 is not FTBFS anymore as it was changed to pass "extra_configure_opts += -arch armv6" on both armel and armhf, so to reproduce the original issue you need to remove the change done by http://bazaar.launchpad.net/~ubuntu-branches/ubuntu/oneiric/qt4-x11/oneiric/revision/157

Matthias Klose (doko) wrote :

somebody needs to attach all the object files and libs, like in bug 641126

Changed in binutils (Ubuntu):
assignee: nobody → Canonical ARM Developers (canonical-arm-dev)
status: New → Incomplete
importance: Undecided → High
Jani Monoses (jani) wrote :

This seems to no longer FTBFS

Changed in binutils (Ubuntu):
status: Incomplete → Fix Released
Michael Hope (michaelh1) on 2012-01-29
Changed in linaro-toolchain-misc:
status: New → Won't Fix
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers