This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.

See crosstool-NG for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Internal compiler error on ARM with gcc 4.6.3


Hi Thomas,

Le 01/08/13 18:14, Thomas Petazzoni a Ãcrit :
Hello,

The ARM cross-compiler generated by Crosstool-NG, with gcc 4.6.3,
uClibc 0.9.33.2, binutils 2.20.1a, is not capable of building
the libust library from the LTTng project. It fails with the following
internal error:

   CC     libustsnprintf_la-fflush.lo
   CC     libustsnprintf_la-fvwrite.lo
   CC     libustsnprintf_la-mbrtowc_sb.lo
   CC     libustsnprintf_la-snprintf.lo
   CC     libustsnprintf_la-vfprintf.lo
   CC     libustsnprintf_la-core.lo
   CC     libustsnprintf_la-patient_write.lo
   CC     libustsnprintf_la-wsetup.lo
vfprintf.c: In function 'ust_safe_vfprintf':
vfprintf.c:956:1: error: unrecognizable insn:
(insn 3361 3360 3362 172 (set (subreg:SI (reg/v:DI 162 [ _umax ]) 0)
         (sign_extend:SI (mem:QI (plus:SI (mult:SI (reg/v:SI 168 [ nextarg ])
                         (const_int 8 [0x8]))
                     (reg/f:SI 1177 [ argtable.7 ])) [0 *D.3971_569+0 S1 A32]))) vfprintf.c:555 -1
      (nil))
vfprintf.c:956:1: internal compiler error: in extract_insn, at recog.c:2109
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.

To reproduce the problem:

   wget http://git.buildroot.net/buildroot-test/plain/utils/br-reproduce-build
   chmod +x br-reproduce-build
   ./br-reproduce-build 1ce63578120c07b3f96d1b4ae558acae10f00fd2

For more details, see:

http://autobuild.buildroot.org/results/1ce63578120c07b3f96d1b4ae558acae10f00fd2/

Should not you report this to upstream GCC? Or do you suspect this to be specific to a crosstool-ng toolchain?
--
Florian


--
For unsubscribe information see http://sourceware.org/lists.html#faq


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]