qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [Bug 1172613] Re: [qemu 1.4.1] inconsistent behavior on dif


From: Peter Maydell
Subject: [Qemu-devel] [Bug 1172613] Re: [qemu 1.4.1] inconsistent behavior on different architecture
Date: Thu, 23 Nov 2017 18:34:54 -0000

In particular, the only crashes here are the ones where --library-path
isn't specified, so it isn't even a case of "QEMU should somehow support
whiteouts in --library-path so you can tell it to ignore the host
ld.so.cache". So I'm going to close this bug report (with 'invalid' as
the closest sensible resolution).


** Changed in: qemu
       Status: New => Invalid

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1172613

Title:
  [qemu 1.4.1] inconsistent behavior on different architecture

Status in QEMU:
  Invalid

Bug description:
  Running with qemu 1.4.1 and eglibc 2.17 on Debian Linux 7.0 for amd64

  ---------------- armhf ----------------
  $ arm-linux-gnueabihf-gcc hello.c
  $ qemu-arm ./a.out
  /lib/ld-linux-armhf.so.3: No such file or directory

  $ qemu-arm arm-linux-gnueabihf/lib/ld-2.17.so ./a.out
  ./a.out: error while loading shared libraries: libc.so.6: cannot open shared 
object file: No such file or directory

  $ qemu-arm arm-linux-gnueabihf/lib/ld-2.17.so --library-path  
arm-linux-gnueabihf/lib ./a.out
  Hello, world !

  ---------------- powerpc64 ----------------
  $ powerpc64-linux-gcc hello.c

  $ qemu-ppc64 ./a.out
  /lib64/ld64.so.1: No such file or directory

  [BAD BEHAVIOR !!!]
  $ qemu-ppc64 powerpc64-linux/lib64/ld-2.17.so ./a.out
  Invalid data memory access: 0x00000041988fd008
  NIP 000000400001cb2c   LR 000000400001cc30 CTR 0000000000000000 XER 
0000000000000000
  MSR 8000000002006000 HID0 0000000060000000  HF 8000000002006000 idx 0
  TB 00000000 00000000
  GPR00 0000000000000000 000000400083a220 0000004000041230 00000043309bd010
  GPR04 0000004000026f12 000000000000000b 000000000000002e 000000000000002e
  GPR08 0000000000000030 000000008803fffc 00000041988fcff4 0000000000000037
  GPR12 0000000000000000 0000000000000000 0000000000000000 0000000000000000
  GPR16 0000000000000000 000000400003a4d8 000000400083a6d0 000000400083a6d8
  GPR20 000000400003a898 000000000000000a 0000000000000000 00000043309bd010
  GPR24 0000004000037b60 00000000cfe8ced7 000000400003a430 0000000010000261
  GPR28 00000001980bfff4 0000000000000000 000000004401ffff 000000002200ffff
  CR 22242224  [ E  E  E  G  E  E  E  G  ]             RES ffffffffffffffff
  FPR00 0000000000000000 0000000000000000 0000000000000000 0000000000000000
  FPR04 0000000000000000 0000000000000000 0000000000000000 0000000000000000
  FPR08 0000000000000000 0000000000000000 0000000000000000 0000000000000000
  FPR12 0000000000000000 0000000000000000 0000000000000000 0000000000000000
  FPR16 0000000000000000 0000000000000000 0000000000000000 0000000000000000
  FPR20 0000000000000000 0000000000000000 0000000000000000 0000000000000000
  FPR24 0000000000000000 0000000000000000 0000000000000000 0000000000000000
  FPR28 0000000000000000 0000000000000000 0000000000000000 0000000000000000
  FPSCR 0000000000000000
  qemu: uncaught target signal 11 (Segmentation fault) - core dumped
  Segmentation fault

  $ qemu-ppc64 powerpc64-linux/lib64/ld-2.17.so --library-path 
powerpc64-linux/lib64 ./a.out
  Hello, world !

  ---------------- sparc64 ----------------
  $ sparc64-linux-gcc hello.c

  $ qemu-sparc64 ./a.out
  /lib64/ld-linux.so.2: No such file or directory

  [BAD BEHAVIOR !!!]
  $ qemu-sparc64 sparc64-linux/lib64/ld-2.17.so ./a.out
  Segmentation fault

  $ qemu-sparc64 sparc64-linux/lib64/ld-2.17.so --library-path 
sparc64-linux/lib64 ./a.out
  Hello, world !

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1172613/+subscriptions



reply via email to

[Prev in Thread] Current Thread [Next in Thread]