file src/libstdc++-v3/config/linker-map.gnu has moved to src/libstd++-v3/config/abi/pre/gnu.ver, which cause FTBFS when cross compiling

Bug #121843 reported by Arthur Loiret
2
Affects Status Importance Assigned to Milestone
gcc-4.2 (Debian)
Fix Released
Unknown
gcc-4.2 (Ubuntu)
Undecided
Unassigned

Bug Description

Binary package hint: gcc-4.2

Hello,

I've tried to cross compile gcc on an x86, with the followings parameters:

GCC_TARGET=sparc
DEB_CROSS_INDEPENDENT=yes
DEB_CROSS_NO_BIARCH=yes

but the package ftbfs with this error while creating libstdc++6-4.2-dev-sparc-cross package:

cp -p /usr/src/gcc-4.2/gcc-4.2-4.2-20070609/src/libstdc++-v3/config/linker-map.gnu \
                debian/libstdc++6-4.2-pic-sparc-cross/usr/lib/gcc/sparc-linux-gnu/4.2.1/libstdc++_pic.map
cp: cannot stat `/usr/src/gcc-4.2/gcc-4.2-4.2-20070609/src/libstdc++-v3/config/linker-map.gnu': No such file or directory
make[1]: *** [stamps/08-binary-stamp-libstdcxx-dev] Error 1
make[1]: Leaving directory `/usr/src/gcc-4.2/gcc-4.2-4.2-20070609'
make: *** [binary] Erreur 2

The file seems to have moved to libstdc++-v3/config/abi/pre/gnu.ver

Thanks.

Revision history for this message
Arthur Loiret (arthur.loiret) wrote :

Here is a past of the libstdc++-v3/config/abi/pre/gnu.ver file I got: http://paste.stgraber.org/1767

Revision history for this message
Arthur Loiret (arthur.loiret) wrote :

Here is a patch, I've successfully built several gcc targets with it.

description: updated
Changed in gcc-4.2:
status: Unknown → New
Revision history for this message
Arthur Loiret (arthur.loiret) wrote :

Fixed on last upload.

Changed in gcc-4.2:
status: New → Fix Released
Changed in gcc-4.2:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Remote bug watches

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