Skip to contentSkip to conversation

libstdc++-6.dll is missing from your computer

Qemu-devel Newton Kitonga 8 participants 13 messages May 2, 2014 – May 22, 2015 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

Also getting same error when running the following command on Windows 7 64 bit.

qemu-system-arm -cpu?

I also reinstalled qemu without any luck.

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

Title:
  libstdc++-6.dll is missing from your computer

Status in QEMU:
  New

Bug description:
  qemu-w64-setup-20140418.exe

  Windows 7 64 bit PC.

  qemu-system-armw -kernel kernel-qemu -cpu arm1176 -m 256 -M
  versatilepb -no-reboot -serial stdio -append "root=/dev/sda2 panic=1
  rootfstype=ext4 rw" -hda c:\11\rasimg\test.vhd

  
  qemu-system-armw.exe - System Error
  The program can't start because libstdc++-6.dll is missing from your computer. 

  Try reinstalling the program to fix this problem.

  I tried reinstalling, but no change.

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1312561/+subscriptions
#2 lore raw
In reply to a message not in the archive

Also getting same error when running the following command on Windows 7 64 bit.

qemu-system-arm -cpu?

I also reinstalled qemu without any luck.

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

Title:
  libstdc++-6.dll is missing from your computer

Status in QEMU:
  New

Bug description:
  qemu-w64-setup-20140418.exe

  Windows 7 64 bit PC.

  qemu-system-armw -kernel kernel-qemu -cpu arm1176 -m 256 -M
  versatilepb -no-reboot -serial stdio -append "root=/dev/sda2 panic=1
  rootfstype=ext4 rw" -hda c:\11\rasimg\test.vhd

  
  qemu-system-armw.exe - System Error
  The program can't start because libstdc++-6.dll is missing from your computer. 

  Try reinstalling the program to fix this problem.

  I tried reinstalling, but no change.

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1312561/+subscriptions
#3 lore raw
In reply to a message not in the archive

That DLL is the mingw C++ runtime library. We should probably make our Windows executables build with a static libstdc++.

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

Title:
  libstdc++-6.dll is missing from your computer

Status in QEMU:
  New

Bug description:
  qemu-w64-setup-20140418.exe

  Windows 7 64 bit PC.

  qemu-system-armw -kernel kernel-qemu -cpu arm1176 -m 256 -M
  versatilepb -no-reboot -serial stdio -append "root=/dev/sda2 panic=1
  rootfstype=ext4 rw" -hda c:\11\rasimg\test.vhd

  
  qemu-system-armw.exe - System Error
  The program can't start because libstdc++-6.dll is missing from your computer. 

  Try reinstalling the program to fix this problem.

  I tried reinstalling, but no change.

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1312561/+subscriptions
#4 lore raw
In reply to a message not in the archive

Ok, so we need to wait for a recompiled version I guess.
I did after your post get the dll from the mingw site, and that error went away, but then replaced by application failed with (0x000007b) error. How much of the mingw package would we need to install to fix the problem if a recompiled version is some time away please?

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

Title:
  libstdc++-6.dll is missing from your computer

Status in QEMU:
  New

Bug description:
  qemu-w64-setup-20140418.exe

  Windows 7 64 bit PC.

  qemu-system-armw -kernel kernel-qemu -cpu arm1176 -m 256 -M
  versatilepb -no-reboot -serial stdio -append "root=/dev/sda2 panic=1
  rootfstype=ext4 rw" -hda c:\11\rasimg\test.vhd

  
  qemu-system-armw.exe - System Error
  The program can't start because libstdc++-6.dll is missing from your computer. 

  Try reinstalling the program to fix this problem.

  I tried reinstalling, but no change.

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1312561/+subscriptions
#5 lore raw
In reply to a message not in the archive

I think dynamic is fine, after all how is libstdc++ different from glib? Both of them need to be deployed together with the executable on Windows, because they aren't a common prerequisite.

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

Title:
  libstdc++-6.dll is missing from your computer

Status in QEMU:
  New

Bug description:
  qemu-w64-setup-20140418.exe

  Windows 7 64 bit PC.

  qemu-system-armw -kernel kernel-qemu -cpu arm1176 -m 256 -M
  versatilepb -no-reboot -serial stdio -append "root=/dev/sda2 panic=1
  rootfstype=ext4 rw" -hda c:\11\rasimg\test.vhd

  
  qemu-system-armw.exe - System Error
  The program can't start because libstdc++-6.dll is missing from your computer. 

  Try reinstalling the program to fix this problem.

  I tried reinstalling, but no change.

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1312561/+subscriptions
#6 lore raw
In reply to a message not in the archive

Ah, we're dynamically linking with glib too? In that case, yes, whatever mechanism we're currently using to distribute the glib DLL we should use for the libstdc++ too.

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

Title:
  libstdc++-6.dll is missing from your computer

Status in QEMU:
  New

Bug description:
  qemu-w64-setup-20140418.exe

  Windows 7 64 bit PC.

  qemu-system-armw -kernel kernel-qemu -cpu arm1176 -m 256 -M
  versatilepb -no-reboot -serial stdio -append "root=/dev/sda2 panic=1
  rootfstype=ext4 rw" -hda c:\11\rasimg\test.vhd

  
  qemu-system-armw.exe - System Error
  The program can't start because libstdc++-6.dll is missing from your computer. 

  Try reinstalling the program to fix this problem.

  I tried reinstalling, but no change.

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1312561/+subscriptions
#7 lore raw

Am 05.05.2014 um 19:29 schrieb Peter Maydell:

Quoted 3 lines

Ah, we're dynamically linking with glib too? In that case, yes, whatever mechanism we're currently using to distribute the glib DLL we should use for the libstdc++ too.

QEMU for Windows uses dynamic linking. Besides the DLL files which are part of the operating system (kernel32, win32, ...), my current list for w64 includes these DLL files:

libatk-1.0-0.dll
libcairo-2.dll
libcairo-gobject-2.dll
libffi-6.dll
libfontconfig-1.dll
libfreetype-6.dll
libgcc_s_seh-1.dll
libgdk-3-0.dll
libgdk_pixbuf-2.0-0.dll
libgio-2.0-0.dll
libglib-2.0-0.dll
libgmodule-2.0-0.dll
libgobject-2.0-0.dll
libgtk-3-0.dll
libiconv-2.dll
libintl-8.dll
libjpeg-9.dll
liblzma-5.dll
libpango-1.0-0.dll
libpangocairo-1.0-0.dll
libpangoft2-1.0-0.dll
libpangowin32-1.0-0.dll
libpixman-1-0.dll
libpng15-15.dll
libstdc++-6.dll
libxml2-2.dll
SDL.dll
zlib1.dll

It changes recently when I upgraded to Debian Jessie - that caused the trouble which was reported here.

If anybody knows a simple tool to get all non-standard DLL dependencies for a set of Windows executables, that would help to avoid this kind of problems.

Regards
Stefan

#8 lore raw
Quoted 5 lines · Stefan Weil

... If anybody knows a simple tool to get all non-standard DLL dependencies for a set of Windows executables,

"all dependencies" are hard to get, but I use "${cross-prefix}-objdump -x" to get the direct dependencies.

also please note that mingw-w64 64-bits does not use _sjlj.dll but _seh.dll.

I never had problems with my windows 64-bits build script on Debian 8, the .exe starts properly, but crashes if the target uses SysTick.

regards,

Liviu

#9 lore raw
In reply to a message not in the archive

So the answer to my basic question, how to make this work is Download the mingw windows installer from here.
http://cznic.dl.sourceforge.net/project/mingwbuilds/mingw-builds-install/mingw-builds-install.exe

Install for W 64 posix or win32 and VERSION 4.6.3 (later one doesn't work with qemu-w64-setup-20140418.exe. Add to the environment path (Something like
C:\Program Files\mingw-builds\x64-4.6.3-posix-sjlj-rev2\mingw\bin or
C:\Program Files\mingw-builds\x64-4.6.3-win32-sjlj-rev2\mingw\bin both seem to work.

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

Title:
  libstdc++-6.dll is missing from your computer

Status in QEMU:
  New

Bug description:
  qemu-w64-setup-20140418.exe

  Windows 7 64 bit PC.

  qemu-system-armw -kernel kernel-qemu -cpu arm1176 -m 256 -M
  versatilepb -no-reboot -serial stdio -append "root=/dev/sda2 panic=1
  rootfstype=ext4 rw" -hda c:\11\rasimg\test.vhd

  
  qemu-system-armw.exe - System Error
  The program can't start because libstdc++-6.dll is missing from your computer. 

  Try reinstalling the program to fix this problem.

  I tried reinstalling, but no change.

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1312561/+subscriptions
#10 lore raw
In reply to a message not in the archive

Hi...
This is still a problem with the latest build(qemu-wXX-setup-20150510.exe).

I've tried with several different versions from the MinGW, neither work So, which is the correct NinGW version ?
Thanks
JR

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

Title:
  libstdc++-6.dll is missing from your computer

Status in QEMU:
  New

Bug description:
  qemu-w64-setup-20140418.exe

  Windows 7 64 bit PC.

  qemu-system-armw -kernel kernel-qemu -cpu arm1176 -m 256 -M
  versatilepb -no-reboot -serial stdio -append "root=/dev/sda2 panic=1
  rootfstype=ext4 rw" -hda c:\11\rasimg\test.vhd

  
  qemu-system-armw.exe - System Error
  The program can't start because libstdc++-6.dll is missing from your computer. 

  Try reinstalling the program to fix this problem.

  I tried reinstalling, but no change.

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1312561/+subscriptions
#11 lore raw
In reply to a message not in the archive

Hello,

Same problem here with qemu-w64-setup-20150510.exe.
As suggested above I tried to install mingw 4.6.3 posix and set path like:
set PATH=C:\Program Files\mingw-builds\x64-4.6.3-posix-sjlj-rev2\;C:\Program Files\mingw-builds\x64-4.6.3-posix-sjlj-rev2\bin;%PATH%

I do not have the libstdc++-6.dll missing error message anymore, but now I have a entry point "__gxx_personality_seh0" missing from libstdc++-6.dll error message, so this is not the appropriate runtime.

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

Title:
  libstdc++-6.dll is missing from your computer

Status in QEMU:
  New

Bug description:
  qemu-w64-setup-20140418.exe

  Windows 7 64 bit PC.

  qemu-system-armw -kernel kernel-qemu -cpu arm1176 -m 256 -M
  versatilepb -no-reboot -serial stdio -append "root=/dev/sda2 panic=1
  rootfstype=ext4 rw" -hda c:\11\rasimg\test.vhd

  
  qemu-system-armw.exe - System Error
  The program can't start because libstdc++-6.dll is missing from your computer. 

  Try reinstalling the program to fix this problem.

  I tried reinstalling, but no change.

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1312561/+subscriptions
#12 lore raw
In reply to a message not in the archive

Forgot to tell I am running Windows 7 x64, and trying to launch qemu- system-arm.

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

Title:
  libstdc++-6.dll is missing from your computer

Status in QEMU:
  New

Bug description:
  qemu-w64-setup-20140418.exe

  Windows 7 64 bit PC.

  qemu-system-armw -kernel kernel-qemu -cpu arm1176 -m 256 -M
  versatilepb -no-reboot -serial stdio -append "root=/dev/sda2 panic=1
  rootfstype=ext4 rw" -hda c:\11\rasimg\test.vhd

  
  qemu-system-armw.exe - System Error
  The program can't start because libstdc++-6.dll is missing from your computer. 

  Try reinstalling the program to fix this problem.

  I tried reinstalling, but no change.

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1312561/+subscriptions
#13 lore raw
In reply to a message not in the archive

This is not a QEMU bug, but a problem of some installers from http://qemu.weilnetz.de/.
http://qemu.weilnetz.de/w64/qemu-w64-setup-20150424.exe should work.

Get the missing dll from http://qemu.weilnetz.de/w64/dll/.

Reporting problems to the right address (here the owner of weilnetz.de) would help to get a faster response in the future.

Regards
Stefan

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

** Changed in: qemu
Assignee: (unassigned) => Stefan Weil (ubuntu-weilnetz)

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

Title:
  libstdc++-6.dll is missing from your computer

Status in QEMU:
  Invalid

Bug description:
  qemu-w64-setup-20140418.exe

  Windows 7 64 bit PC.

  qemu-system-armw -kernel kernel-qemu -cpu arm1176 -m 256 -M
  versatilepb -no-reboot -serial stdio -append "root=/dev/sda2 panic=1
  rootfstype=ext4 rw" -hda c:\11\rasimg\test.vhd

  
  qemu-system-armw.exe - System Error
  The program can't start because libstdc++-6.dll is missing from your computer. 

  Try reinstalling the program to fix this problem.

  I tried reinstalling, but no change.

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