g++ -m32 can't link on amd64 7.10

Bug #186730 reported by Benson Margulies
2
Affects Status Importance Assigned to Milestone
gcc-4.2 (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Binary package hint: g++-4.2

7.10. Amd64.

installed g++-4.2, libc6-dev-i386, lib32stdc++6.

g++ -m32 fails to link, complaining that it cannot find -lstdc++. It mentions /usr/lib/gcc/x86_64-linux-gnu/libstdc++*, but not anything installed by the lib32 package.

Revision history for this message
Benson Margulies (bimargulies) wrote :

This turns out to be a lack of multilib.

I would write a howto on all this if I knew how to write a howto.

Revision history for this message
Matthias Klose (doko) wrote :

please install the g++-multilib package (or g++-4.2-multilib).

Changed in gcc-4.2:
status: New → Invalid
Revision history for this message
Benson Margulies (bimargulies) wrote :

Where would I go to suggest a metapackage that calls forth all the necessary pieces: multilib and the lib32 packages?

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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