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

ADA available on amd64 (gnat-3.3)



On 04-May-12 07:23, Andreas Jochens wrote:
> On 04-May-12 06:58, Goswin von Brederlow wrote:
> > who did build the gcc debs? Latest gcc-3.3 sid version is 3.3.3ds6-7
> > and alioth has 3.3.3ds6-6.pure64.1. I didn't see bugs in the BTS for
> > amd64 so the maintainer is probably unaware of the FTBFS problems.
> 
> The attached patch is similar to the pure64.1 patch and works for me.

I tried to bootstrap ADA on amd64 by cross-compiling from i386. 

After several attempts failed, I borrowed the 
gcc-3.3/gcc-gnat-3.3 packages from the Fedora x86_64 port
and used those to build the Debian gnat-3.3 package. 

I had to use some tricks because Fedora has a newer version 
of binutils with a new linker option which is not recognized 
by the Debian version.

In the end I got a working Debian gnat-3.3 package which compiles 
itself cleanly.

The latest version of gcc-3.3 (3.3.3ds7-8) disabled ADA support for amd64.
The attached patch reenables ADA support for amd64 in gcc-3.3.

A full set of gcc-3.3 binary packages with ADA support has to be 
uploaded to the pure64 archive to get ADA working. I cannot upload 
anything to the pure64 archive myself because I do not have 
write access.

Regards
Andreas Jochens

diff -urN ../tmp-orig/gcc-3.3-3.3.3ds7/debian/control ./debian/control
--- ../tmp-orig/gcc-3.3-3.3.3ds7/debian/control	2004-05-21 16:15:34.740714928 +0200
+++ ./debian/control	2004-05-21 16:15:12.204141008 +0200
@@ -4,7 +4,7 @@
 Maintainer: Debian GCC maintainers <debian-gcc@lists.debian.org>
 Uploaders: Matthias Klose <doko@debian.org>, Gerhard Tonn <gt@debian.org>
 Standards-Version: 3.6.1
-Build-Depends: libc6.1-dev (>= 2.3.1) [alpha ia64] | libc0.3-dev [hurd-i386] | libc1-dev [freebsd-i386] | libc12-dev [netbsd-i386] | libc6-dev (>= 2.3.2.ds1-12) [hppa] | libc6-dev (>= 2.3.1) [!hppa], libc6-dev-sparc64 [sparc], libc6-dev-s390x [s390], m4, autoconf2.13, automake1.4 | automake (<< 1.5), libtool, autotools-dev, gawk, dejagnu (>= 1.4.3) [!hurd-i386], expect (>= 5.38.0) [!hurd-i386], bzip2, binutils (>= 2.14.90.0.4) | binutils (<< 2.14), binutils (>= 2.13.90.0.10) [!m68k !sparc] | binutils (>= 2.13.90.0.18-1.3) [m68k] | binutils (>= 2.13.90.0.18-1.4) [sparc], binutils-hppa64 [hppa], debhelper (>= 3.0.25), gperf (>= 2.7-3), bison (>= 1:1.875a-1) | bison (<< 1:1.50), flex-old | flex (<< 2.5.31), gettext, texinfo (>= 4.3), zlib1g-dev, libgc-dev [!avr !freebsd-i386], xlibs-dev, gnat-3.3 [!amd64 !arm !hurd-i386 !m68k !freebsd-i386 !netbsd-i386] | gnat-3.2 [!amd64 !arm !hurd-i386 !m68k !freebsd-i386 !netbsd-i386] | gnat [i386 powerpc sparc], libncurses5-dev [!netbsd-i386], libgmp3-dev, tetex-bin [!netbsd-i386], locales [!netbsd-i386 !hurd-i386 !hurd-i386], gcc-2.95 [m68k], procps [!hurd-i386], help2man, sharutils
+Build-Depends: libc6.1-dev (>= 2.3.1) [alpha ia64] | libc0.3-dev [hurd-i386] | libc1-dev [freebsd-i386] | libc12-dev [netbsd-i386] | libc6-dev (>= 2.3.2.ds1-12) [hppa] | libc6-dev (>= 2.3.1) [!hppa], libc6-dev-sparc64 [sparc], libc6-dev-s390x [s390], m4, autoconf2.13, automake1.4 | automake (<< 1.5), libtool, autotools-dev, gawk, dejagnu (>= 1.4.3) [!hurd-i386], expect (>= 5.38.0) [!hurd-i386], bzip2, binutils (>= 2.14.90.0.4) | binutils (<< 2.14), binutils (>= 2.13.90.0.10) [!m68k !sparc] | binutils (>= 2.13.90.0.18-1.3) [m68k] | binutils (>= 2.13.90.0.18-1.4) [sparc], binutils-hppa64 [hppa], debhelper (>= 3.0.25), gperf (>= 2.7-3), bison (>= 1:1.875a-1) | bison (<< 1:1.50), flex-old | flex (<< 2.5.31), gettext, texinfo (>= 4.3), zlib1g-dev, libgc-dev [!avr !freebsd-i386], xlibs-dev, gnat-3.3 [!arm !hurd-i386 !m68k !freebsd-i386 !netbsd-i386] | gnat-3.2 [!arm !hurd-i386 !m68k !freebsd-i386 !netbsd-i386] | gnat [i386 powerpc sparc], libncurses5-dev [!netbsd-i386], libgmp3-dev, tetex-bin [!netbsd-i386], locales [!netbsd-i386 !hurd-i386 !hurd-i386], gcc-2.95 [m68k], procps [!hurd-i386], help2man, sharutils
 Build-Depends-Indep: doxygen (>= 1.3.6.20040222)
 
 Package: gcc-3.3-base
diff -urN ../tmp-orig/gcc-3.3-3.3.3ds7/debian/rules.defs ./debian/rules.defs
--- ../tmp-orig/gcc-3.3-3.3.3ds7/debian/rules.defs	2004-05-21 16:15:34.814703680 +0200
+++ ./debian/rules.defs	2004-05-21 16:14:16.886550560 +0200
@@ -386,7 +386,7 @@
 endif
 
 with_libgnat := yes
-ada_no_archs := amd64 arm hurd-i386 m68k freebsd-i386 netbsd-i386
+ada_no_archs := arm hurd-i386 m68k freebsd-i386 netbsd-i386
 ifneq ($(DEB_TARGET_ARCH),i386)
   ifeq ($(DEB_TARGET_ARCH), $(findstring $(DEB_TARGET_ARCH),$(ada_no_archs)))
     with_ada := disabled for architecure $(DEB_TARGET_ARCH)



Reply to: