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

Re: Bug#453267: tested patch

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

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.

Emdebian still hosts 4.1 and 3.4 toolchains:

It's not sensible to say that these cannot be built in the future
without writing a whole new diversion for dpkg-shlibdeps. Emdebian and
lots of other people doing cross building need backwards compatibility here.


Neil Williams

Attachment: signature.asc
Description: OpenPGP digital signature

Reply to: