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

Re: Bug#761248: gcc-4.9: Please enable gnat for kFreeBSD and Hurd again



On Fri, 2014-09-12 at 09:01 +0200, Matthias Klose wrote:
> Control: tags -1 + moreinfo
> 
> Am 12.09.2014 um 08:50 schrieb Svante Signell:
> > Source: gcc-4.9
> > Version: 4.9.1-13
> > Severity: important
> > User: debian-hurd@lists.debian.org
> > Usertags: hurd, kfreebsd
> > 
> >>From the changelog of 4.9.1-6:
> > gcc-4.9 (4.9.1-6) unstable; urgency=medium
> > 
> >   * Disable Ada for snapshot builds on kfreebsd-i386, kfreebsd-amd64.
> >     Local patch needs an update and upstreaming.
> >   * Disable Ada for snapshot builds on hurd-i386, build dependencies are
> >     not installable.

> what has a patch for the snapshot builds to do with gnat-4.9?
> 
> If this is for the snapshot builds, did you test build the gcc-snapshot package?

The part of debian/rules.defs is:

ifndef DEB_STAGE
# Ada --------------------
ada_no_cpus     := m32r sh3 sh3eb sh4 sh4eb
ada_no_systems  := 
ada_no_cross    := yes
ada_no_snap     := no
ifeq ($(single_package),yes)
  ada_no_cpus += m68k powerpcspe sh4 sparc64
  ada_no_cpus += alpha
  ifneq (,$(filter $(DEB_TARGET_ARCH),m68k mips mipsel powerpcspe sh4
sparc64 hurd-i386 kfreebsd-i386 kfreebsd-amd64))
    ada_no_cpus += mips mipsel
    ada_no_cpus += hurd-i386 kfreebsd-i386 kfreebsd-amd64
    ada_no_snap := yes
  endif
endif

and later

ifneq (,$(filter $(DEB_TARGET_ARCH_CPU),$(ada_no_cpus)))
  with_ada := disabled for cpu $(DEB_TARGET_ARCH_CPU)
endif

The problem is not ada_no_snap but ada_no_cpus causing gnat1 no longer
found by the gcc-4.9 compiler driver.


Reply to: