[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: GCC 4.1 BUG - Cross compiling



> On 10/15/06, Nikita V. Youshchenko <yoush@debian.org> wrote:
> > 999_lib64_for_cross.dpatch is still available in #231707 logs. I've
> > not yet tested if it applies to current binutils package, and if this
> > will fix #391445, but I'm almost sure the problem is here.
>
> Yes, it helps, just tested with binutils 2.17-2 and gcc-4.1
> 4.1.1.ds1-14 (alright, it did fail to
> build the package, in fact, but on the stripping stage :).

And that issue was in dpkg-cross (strip wrapper failed to recognize 
powerpc64 binaries); it is fixed in just-uploaded 1.32 version.

And one more issue was a typo in debian/rules.d/binary-libstdcxx-cross.mk, 
patch attached.

And then build completes successfully.

So there are two items remained unfixed in packages currently in the 
archive:
- in binutils package,  999_lib64_for_cross.dpatch has typos
- in gcc-4.1 package, there ary typos in 
debian/rules.d/binary-libstdcxx-cross.mk

Nikita
--- debian/rules.d/binary-libstdcxx-cross.mk.orig	2006-10-15 11:31:42.000000000 +0000
+++ debian/rules.d/binary-libstdcxx-cross.mk	2006-10-15 11:32:16.000000000 +0000
@@ -146,7 +146,7 @@
 
 	dh_installdirs -p$(p_dbg64) \
 		$(PF)/$(DEB_TARGET_GNU_TYPE)/lib64
-	mv $(d)/$(PF)/$(DEB_TARGET_GNU_TYPE)/lib64/debug $(d_dbg64)/$(PF)/(DEB_TARGET_GNU_TYPE)/lib64/.
+	mv $(d)/$(PF)/$(DEB_TARGET_GNU_TYPE)/lib64/debug $(d_dbg64)/$(PF)/$(DEB_TARGET_GNU_TYPE)/lib64/.
 
 	mkdir -p $(d_dbg64)
 	PATH=/usr/share/dpkg-cross:$$PATH dh_strip -p$(p_lib64) --keep-debug
@@ -197,7 +197,7 @@
 
 	dh_installdirs -p$(p_dbg32) \
 		$(PF)/$(DEB_TARGET_GNU_TYPE)/lib32
-	mv $(d)/$(PF)/$(DEB_TARGET_GNU_TYPE)/lib32/debug $(d_dbg32)/$(PF)/(DEB_TARGET_GNU_TYPE)/lib32/.
+	mv $(d)/$(PF)/$(DEB_TARGET_GNU_TYPE)/lib32/debug $(d_dbg32)/$(PF)/$(DEB_TARGET_GNU_TYPE)/lib32/.
 
 	mkdir -p $(d_dbg32)
 	PATH=/usr/share/dpkg-cross:$$PATH dh_strip -p$(p_lib32) --keep-debug

Attachment: pgpiB2OaomM61.pgp
Description: PGP signature


Reply to: