Bug#645021: gcc-4.6: build error on REVERSE_CROSS (files in "4.6.1" dir instead of "4.6")
Source: gcc-4.6
Version: 4.6.1-15
Severity: wishlist
When building in REVERSE_CROSS mode (IE: when trying to build a native
compiler for another architecture with an existing cross-compiler, the
build fails with the following error:
$ apt-get gcc-4.6=4.6.1-15
$ ( cd gcc-4.6-4.6.1 && dpkg-buildpackage -apowerpcspe -b -us -uc )
[...]
dh_movefiles: debian/tmp/usr/lib/gcc/powerpc-linux-gnuspe/4.6/libgcov.a not found (supposed to put it in gcc-4.6)
It looks like it is being put in the wrong directory:
$ find . -name '*libgcov*'
./gcc-4.6-4.6.1/debian/tmp/usr/lib/gcc/powerpc-linux-gnuspe/4.6.1/libgcov.a
./gcc-4.6-4.6.1/build/powerpc-linux-gnuspe/libgcc/libgcov.a
./gcc-4.6-4.6.1/build/gcc/libgcov.a
There seem to have been some similar bugs regarding recent changes to
the "gcc -print-file-name" command, EG: #643891, #644849
Unfortunately I'm not having any luck figuring out what I need to fix to
make this build. Any help would be much appreciated.
Cheers,
Kyle Moffett
--
Curious about my work on the Debian powerpcspe port?
I'm keeping a blog here: http://pureperl.blogspot.com/
-- System Information:
Debian Release: wheezy/sid
APT prefers testing
APT policy: (700, 'testing'), (700, 'stable'), (600, 'unstable'), (500, 'stable-updates'), (500, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 3.0.0-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Reply to: