[Bug 793411] Re: libstdc++6-4.5-dev does not contain 64-bit headers in the i386 package

Michael Wild 793411 at bugs.launchpad.net
Mon Jun 6 18:19:15 UTC 2011


No, they are not. All headers in /usr/include/c++/4.{5,6}/i{4,6}86
-linux-gnu/64 are missing in the libstdc++6-4.{5,6}-dev_*_i386.deb
packages. Try the following on a i386 install (or a i386-chroot):

$ echo "#include <fstream>" | g++ -m64 -xc++ -E -

You will see that g++ is not able to find the header bits/c++config.h.
The same command (obviously with -m32 instead of -m64) works fine on a
amd64 installation, because  /usr/include/c++/4.{5,6}/x86_64-linux-
gnu/32 is present.

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to gcc-4.5 in Ubuntu.
https://bugs.launchpad.net/bugs/793411

Title:
  libstdc++6-4.5-dev does not contain 64-bit headers in the i386 package

Status in “gcc-4.5” package in Ubuntu:
  Incomplete
Status in “gcc-4.6” package in Ubuntu:
  Incomplete

Bug description:
  Binary package hint: libstdc++6-4.{5,6}-dev

  The package i386 architecture of the package libstdc++6-4.{5,6}-dev
  does not contain the 64-bit headers. This makes it impossible to
  compile for amd64 on a i386 installation. Also, this makes
  g++-4.{5,6}-multilib unusable.




More information about the foundations-bugs mailing list