tetgen ftbfs in quantal on armhf using Linaro GCC 4.7

Bug #1065509 reported by Matthias Klose
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Linaro GCC
Fix Released
Undecided
Michael Collison
gcc-4.7 (Ubuntu)
Fix Released
Undecided
Unassigned
tetgen (Ubuntu)
Fix Released
High
Unassigned

Bug Description

seen with Linaro GCC 4.7 only, not with FSF 4.7.

g++ -O0 -fPIC -c predicates.cxx
/tmp/cczzts2O.s: Assembler messages:
/tmp/cczzts2O.s:14012: Error: offset out of range
/tmp/cczzts2O.s:16553: Error: offset out of range
/tmp/cczzts2O.s:43094: Error: offset out of range
/tmp/cczzts2O.s:44454: Error: offset out of range
make[1]: *** [predicates.o] Error 1

Tags: ftbfs
Revision history for this message
Matthias Klose (doko) wrote :
Revision history for this message
Zhenqiang Chen (zhenqiang-chen) wrote :

Thank you for the bug report. I can not reproduce it with gcc-linaro-4.7-2012.[09|10] on ARM.

Could you provide the following information so that we can reproduce the fault?
 * Which linaro gcc version did you use?
 * How it was configured?

Revision history for this message
Matthias Klose (doko) wrote :

this is armhf in Ubuntu, as always configured
--with-arch=armv7-a --with-fpu=vfpv3-d16 --with-float=hard --with-mode=thumb

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package tetgen - 1.4.3-1ubuntu1

---------------
tetgen (1.4.3-1ubuntu1) quantal; urgency=low

  * Work around an issue with gcc-linaro on ARM. LP: #1065509.
  * Fix linking the shared library with ld --as-needed.
 -- Matthias Klose <email address hidden> Tue, 16 Oct 2012 16:21:24 +0200

Changed in tetgen (Ubuntu):
status: Confirmed → Fix Released
Revision history for this message
Matthew Gretton-Dann (matthew-gretton-dann) wrote :

I can reproduce this on FSF GCC trunk but not on any Linaro branch currently:

$ .../arm-none-linux-gnueabi-gcc -mthumb -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c -O0 -fPIC predicates.ii
/tmp/cc1uB1UX.s: Assembler messages:
/tmp/cc1uB1UX.s:38639: Error: offset out of range
/tmp/cc1uB1UX.s:40004: Error: offset out of range
/tmp/cc1uB1UX.s:41383: Error: offset out of range
/tmp/cc1uB1UX.s:42748: Error: offset out of range
/tmp/cc1uB1UX.s:44127: Error: offset out of range

$ .../arm-none-linux-gnueabi-gcc -v
Configured with: /work/sources/gcc-fsf/master/configure --target=arm-none-linux-gnueabi --prefix=/work/builds/gcc-fsf-master/tools --with-sysroot=/work/builds/gcc-fsf-master/sysroot-arm-none-linux-gnueabi --disable-libssp --disable-libgomp --disable-libmudflap --enable-languages=c,c++,fortran --with-arch=armv7-a --with-fpu=vfpv3-d16 --with-float=softfp --with-thumb

Revision history for this message
Matthias Klose (doko) wrote :

need to revert the tetgen change

Changed in tetgen (Ubuntu):
status: Fix Released → Confirmed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package gcc-4.7 - 4.7.2-11ubuntu1

---------------
gcc-4.7 (4.7.2-11ubuntu1) raring; urgency=low

  * Merge with Debian; remaining changes:
    - Build from upstream source.

gcc-4.7 (4.7.2-11) experimental; urgency=low

  * Update to SVN 20121124 (r193776) from the gcc-4_7-branch.
    - Fix PR libgomp/55411, PR libstdc++/55413, PR middle-end/55142,
      PR fortran/55352.

  * Update build-indep dependencies for building the libstdc++ docs.
  * Drop the gcc-no-add-needed patch, depend on binutils 2.22 instead.
  * Pass --hash-style=gnu instead of --hash-style=both.
  * Link using --hash-style=gnu on arm64 by default.
  * Split multiarch patches into local and upstreamed parts.
  * Fix PR54974: Thumb literal pools don't handle PC rounding (Matthew
    Gretton-Dann). LP: #1049614, #1065509.
  * Rename the gccgo info to gccgo-4.7 on installation, install into gccgo-4.7.
  * Include libquadmath documentation in the gcc-4.7-doc package.
  * Don't pretend to understand .d files, no D frontend available for 4.7.
  * Fix the multiarch c++ include path for multilib'd targets. LP: #1082344.
  * Make explicit --{en,dis}able-multiarch options effecitive (Thorsten Glaser).
 -- Matthias Klose <email address hidden> Sat, 24 Nov 2012 06:09:46 +0100

Changed in gcc-4.7 (Ubuntu):
status: New → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package tetgen - 1.4.3-1ubuntu2

---------------
tetgen (1.4.3-1ubuntu2) raring; urgency=low

  * Revert the ARM work-around, fixed in gcc-4.7. LP: #1065509.
 -- Matthias Klose <email address hidden> Mon, 26 Nov 2012 14:08:57 +0100

Changed in tetgen (Ubuntu):
status: Confirmed → Fix Released
Revision history for this message
Michael Collison (michael-collison) wrote :

Fixed on trunk for 4.8

Changed in gcc-linaro:
assignee: nobody → Michael Collison (michael-collison)
status: New → Fix Released
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.