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

Bug#806479: gcc-5: please allow building cross compilers targeting x86 cpus without building hppa64 cross compilers



On 27.11.2015 20:54, Helmut Grohne wrote:
Source: gcc-5
Version: 5.2.1-26
Severity: minor
Tags: patch
User: helmutg@debian.org
Usertags: rebootstrap

Hi Matthias,

When building cross compilers targeting amd64, i386 or x32 by writing
the arch name to debian/target, the build process tries to build hppa64
cross compilers. This seems a bit odd to me and I'd rather have gcc-5
not build hppa64 cross compilers unless I ask it to do so. I am
proposing the attached patch which limits the hppa64 cross compiler to
native builds. Do you agree with that reasoning?

No. Why would you handle hppa as a secondary or ternary architecture? You need the hppa64 cross compiler to bootstrap hppa. Other architectures require a multilib enabled compiler to bootstrap the architecture, however hppa/hppa64 isn't multilib enabled. So maybe you don't have this target enabled? Fyi, there is #800729 trying to address this issue properly and not working around it. Unfortunately no reply yet.

  Matthias


Reply to: