libisofs ftbfs on armel with current gcc-4.5

Bug #742961 reported by Steve Langasek
This bug report is a duplicate of:  Bug #689887: armel ICE gcc 4.5. Edit Remove
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Linaro GCC
Confirmed
Undecided
Unassigned
gcc-4.5 (Ubuntu)
Triaged
Medium
Unassigned
libisofs (Ubuntu)
Fix Released
High
Unassigned

Bug Description

libisofs fails to build from source on armel with gcc-4.5 4.5.2-7ubuntu1, with an ICE:

/bin/bash ./libtool --silent --tag=CC --mode=compile gcc -DPACKAGE_NAME=\"libisofs\" -DPACKAGE_TARNAME=\"libisofs\" -DPACKAGE_VERSION=\"0.6.32\" -DPACKAGE_STRING=\"libisofs\ 0.6.32\" -DPACKAGE_BUGREPORT=\"http://libburnia-project.org\" -DPACKAGE=\"libisofs\" -DVERSION=\"0.6.32\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -D_FILE_OFFSET_BITS=64 -DHAVE_FSEEKO=1 -DICONV_CONST= -DHAVE_DLFCN_H=1 -D_GNU_SOURCE=1 -DHAVE_TM_GMTOFF=1 -DHAVE_TIMEGM=1 -DHAVE_EACCESS=1 -DHAVE_LIBACL=1 -DHAVE_LIBZ=1 -I. -I. -DLibisofs_with_aaip_acL -DLibisofs_with_aaip_xattR -DLibisofs_with_zliB -g -O2 -g -O2 -g -pedantic -Wall -DDEBUG -c -o libisofs/libisofs_libisofs_la-make_isohybrid_mbr.lo `test -f 'libisofs/make_isohybrid_mbr.c' || echo './'`libisofs/make_isohybrid_mbr.c
libisofs/make_isohybrid_mbr.c: In function 'make_isolinux_mbr':
libisofs/make_isohybrid_mbr.c:446:1: internal compiler error: in get_arm_condition_code, at config/arm/arm.c:17274
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-4.5/README.Bugs> for instructions.
make[1]: *** [libisofs/libisofs_libisofs_la-make_isohybrid_mbr.lo] Error 1

Full build log is at <http://launchpadlibrarian.net/67311123/buildlog_ubuntu-natty-armel.libisofs_0.6.32-2ubuntu1_FAILEDTOBUILD.txt.gz>.

This is also reproducible with the current gcc-4.5-arm-linux-gnueabi package, which is built against gcc-4.5 4.5.2-3ubuntu3. It's reproducible with both -O1 and -O2. I'll attach a reduced test case shortly for the ICE.

Related branches

Revision history for this message
Steve Langasek (vorlon) wrote :

Reduced test case (preprocessed source) attached. Bug is reproducible with either -O2 or -O1, with or without -g; can be worked around by setting either -O0 or -marm.

Revision history for this message
Steve Langasek (vorlon) wrote :

Last successful in-archive build of libisofs on armel was in August 2010; package ftbfs in the same rebuild test on Jan 14, using gcc-4.5 4.5.2-1ubuntu6.

http://launchpadlibrarian.net/62501839/buildlog_ubuntu-natty-armel.libisofs_0.6.32-2_FAILEDTOBUILD.txt.gz

Changed in gcc-4.5 (Ubuntu):
status: New → Triaged
Changed in gcc-linaro:
status: New → Confirmed
Changed in gcc-4.5 (Ubuntu):
importance: Undecided → Medium
Changed in libisofs (Ubuntu):
status: New → In Progress
importance: Undecided → High
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package libisofs - 0.6.32-2ubuntu2

---------------
libisofs (0.6.32-2ubuntu2) natty; urgency=low

  * debian/rules: when building on armel or armhf, build with -O0 to work
    around a gcc bug. LP: #742961.
 -- Steve Langasek <email address hidden> Fri, 25 Mar 2011 23:50:47 -0700

Changed in libisofs (Ubuntu):
status: In Progress → Fix Released
Revision history for this message
Chung-Lin Tang (cltang) wrote :

This should be another case of LP #689887.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.