Error compilation qemu 2.3.1 on raspberry pi (RASPBIAN(debian))

Bug #1486911 reported by dima333750
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
QEMU
Invalid
Undecided
pranith

Bug Description

When compiling from source occurs to me incomprehensible error.
Operation ./configure runs without problems, but among the logs make see this:
  CP i386-softmmu / hw / i386 / acpi-dsdt.hex
  CP i386-softmmu / hw / i386 / q35-acpi-dsdt.hex
  CP i386-softmmu / hw / i386 / ssdt-tpm.hex
  CC i386-softmmu / target-i386 / translate.o
  CC m68k-softmmu / tcg / tcg-op.o
  CC m68k-softmmu / tcg / optimize.o
In file included from /home/pi/Zagruzki/qemu-2.3.1/include/qapi/error.h:16:0,
                 from /home/pi/Zagruzki/qemu-2.3.1/include/qemu/option.h:31,
                 from /home/pi/Zagruzki/qemu-2.3.1/include/qemu-common.h:44,
                 from /home/pi/Zagruzki/qemu-2.3.1/tcg/optimize.c:31:
/home/pi/Zagruzki/qemu-2.3.1/qapi-types.h:196:8: error: unknown type name '$ uint64_t'
/home/pi/Zagruzki/qemu-2.3.1/rules.mak:57: Error the recipe for the purpose of «tcg / optimize.o»
make [1]: *** [tcg / optimize.o] Error 1
Makefile: 173: error is the recipe for the purpose of «subdir-m68k-softmmu»
make: *** [subdir-m68k-softmmu] Error 2
make: *** Waiting for jobs ...

When you try to create a package using checkinstall is such error:
/home/pi/Zagruzki/qemu-2.3.1/target-mips/msa_helper.c: In function 'helper_msa_copy_s_df':
/home/pi/Zagruzki/qemu-2.3.1/target-mips/msa_helper.c:1269:1: error: unrecognizable insn:
(insn 123 122 124 3 (set (subreg: SI (reg: DI 169) 0)
        (sign_extend: SI (mem / s / j: QI (plus: SI (reg: SI 167)
                    (const_int 440 [0x1b8])) [0 env_8 (D) -> active_fpu.fpr [ws_9 (D)]. wr.b S1 A8]))) /home/pi/Zagruzki/qemu-2.3.1/target- mips / msa_helper.c: 1253 -1
     (nil))
/home/pi/Zagruzki/qemu-2.3.1/target-mips/msa_helper.c:1269:1: internal compiler error: in extract_insn, at recog.c: 2109
Please submit a full bug report,
with preprocessed source if appropriate.
See <file: ///usr/share/doc/gcc-4.6/README.Bugs> for instructions.
Preprocessed source stored into /tmp/cc1quRqL.out file, please attach this to your bugreport.
/home/pi/Zagruzki/qemu-2.3.1/rules.mak:57: Error the recipe for the purpose of «target-mips / msa_helper.o»
make [1]: *** [target-mips / msa_helper.o] Error 1
Makefile: 173: error is the recipe for the purpose of «subdir-mips64-softmmu»
make: *** [subdir-mips64-softmmu] Error 2

**** Installation unsuccessful. It cancels the creation of the package.

Cleared ... OK

Good luck.

Log make, checkinstall from the terminal http://rghost.ru/7SK6y4bs6
cc1quRqL.out applications

Revision history for this message
dima333750 (dima333750) wrote :
Revision history for this message
pranith (bobby-prani) wrote :

Can you try the latest upstream git version from: https://github.com/qemu/qemu?

Also can you post your configure command line?

pranith (bobby-prani)
Changed in qemu:
status: New → Incomplete
assignee: nobody → pranith (bobby-prani)
Revision history for this message
Peter Maydell (pmaydell) wrote :

The part about:
 error: unrecognizable insn:
(insn 123 122 124 3 (set (subreg: SI (reg: DI 169) 0)
        (sign_extend: SI (mem / s / j: QI (plus: SI (reg: SI 167)
                    (const_int 440 [0x1b8])) [0 env_8 (D) -> active_fpu.fpr [ws_9 (D)]. wr.b S1 A8])))

is either (a) a compiler bug or (b) a hardware bug (bad memory, bad disk, etc) causing the compiler to blow up.

Revision history for this message
Thomas Huth (th-huth) wrote :

This is definitely not a QEMU bug, so closing this now. You should either try a different version of GCC, or check the hardware of your Pi.

Changed in qemu:
status: Incomplete → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

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