Internal compiler error on ARM with gcc 4.6.3
Florian Fainelli
f.fainelli@gmail.com
Mon Jan 14 14:44:00 GMT 2013
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.
I can definitively reproduce this build issue with gcc-4.6.3,
gcc-linaro-4.6-2012.12 does not have this issue however, so it might be
wort diffing between the two releases and see which hunk does actually
fix the bug.
>
> 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/
>
> Thanks,
>
> Thomas
>
--
For unsubscribe information see http://sourceware.org/lists.html#faq
More information about the crossgcc
mailing list