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

Re: Bug#453267: tested patch



Hi,

[ I don't have a real opinion yet on the initial patch and this
  changes proposed, will try to get to this on Sunday. ]

On Sat, 2007-12-08 at 19:01:14 +0000, Neil Williams wrote:
> Raphael Hertzog wrote:
> > On Wed, 05 Dec 2007, Neil Williams wrote:
> >> My first patch did exactly that - and failed on building a cross
> >> compiler. gcc needs dpkg-shlibdeps to take notice of $ARCH in the
> >> preparation of libgcc1-$arch-cross and other libraries used in the
> >> complete toolchain. It needs (and sets) DEB_TARGET_GNU_TYPE !=
> >> DEB_BUILD_GNU_TYPE at other stages of the build.
> > 
> > If that's the case, I'd like to know if this is deliberate and really
> > required... can't the gcc package be consistent and always have both
> > DEB_TARGET_GNU_TYPE and DEB_BUILD_GNU_TYPE properly set ?

> Even if gcc changes that behaviour in 4.2 (or 4.3), lots of people still
> need to be able to build cross compilers from older versions of gcc,
> especially 4.1 and some even need 3.3 or 3.4.

Why can't 4.1 and 3.4 be "fixed" (if that's really needed) as well?
3.3 might be a problem, but even then you have to build them locally
to support cross-compiling, why can't they be patched locally as well?

regards,
guillem



Reply to: