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

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



On Fri, 2014-09-12 at 09:40 +0200, Matthias Klose wrote:
> Am 12.09.2014 um 09:27 schrieb Svante Signell:
> > On Fri, 2014-09-12 at 09:01 +0200, Matthias Klose wrote:
> >> Control: tags -1 + moreinfo
> >>

> > 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.
> 
> and everything guarded by: ifeq ($(single_package),yes), which is not set for
> gcc-4.9 and gnat-4.9 builds.

Yes you are right, but gcc-4.9 does not find gnat1:
make[3]: Entering directory '/home/srs/DEBs/gnat-4.9/music123-16.3'
gnatmake -j1 -R -v -eS music123 -cargs -g -O2 -fstack-protector-strong
-largs -Wl,-z,relro -Wl,--as-needed -Wl,-z,defs

GNATMAKE 4.9
Copyright (C) 1992-2014, Free Software Foundation, Inc.
  "music123.ali" being checked ...
  -> "music123.ali" missing.
gcc-4.9 -c -g -O2 -fstack-protector-strong music123.adb
gcc-4.9: error trying to exec 'gnat1': execvp: No such file or directory
End of compilation
gnatmake: "music123.adb" compilation error

and it is here:
dpkg -S /usr/lib/gcc/i486-gnu/4.9/gnat1
gnat-4.9: /usr/lib/gcc/i486-gnu/4.9/gnat1

(can it be something in the gnat package?)


Reply to: