+
+The documentation in this file was removed, because it is licencensed
+under a non DFSG conforming licencse.
+
+
--- gcc-4.2-4.2-20070528.orig/debian/porting.texi
+++ gcc-4.2-4.2-20070528/debian/porting.texi
@@ -0,0 +1,47 @@
+\input texinfo
+
+@setfilename porting.info
+@settitle Porting libstdc++-v3
+@setchapternewpage odd
+
+@ifinfo
+This file explains how to port libstdc++-v3 (the GNU C++ library) to
+a new target.
+
+The documentation in this file was removed, because it is licencensed
+under a non DFSG conforming licencse.
+@end ifinfo
+
+@c ---------------------------------------------------------------------
+@c Titlepage
+@c ---------------------------------------------------------------------
+
+@titlepage
+@title Porting libstdc++-v3
+@author Mark Mitchell
+@page
+@vskip 0pt plus 1filll
+
+The documentation in this file was removed, because it is licencensed
+under a non DFSG conforming licencse.
+@end titlepage
+
+@c ---------------------------------------------------------------------
+@c Top
+@c ---------------------------------------------------------------------
+
+@node Top
+@top Porting libstdc++-v3
+
+This document explains how to port libstdc++-v3 (the GNU C++ library) to
+a new target.
+
+The documentation in this file was removed, because it is licencensed
+under a non DFSG conforming licencse.
+
+@c ---------------------------------------------------------------------
+@c Epilogue
+@c ---------------------------------------------------------------------
+
+@contents
+@bye
--- gcc-4.2-4.2-20070528.orig/debian/gij-BV.postrm
+++ gcc-4.2-4.2-20070528/debian/gij-BV.postrm
@@ -0,0 +1,10 @@
+#! /bin/sh -e
+
+case "$1" in
+ purge)
+ rm -f /var/lib/gcj-@BV@/classmap.db
+esac
+
+#DEBHELPER#
+
+exit 0
--- gcc-4.2-4.2-20070528.orig/debian/gfortran-BV-doc.doc-base
+++ gcc-4.2-4.2-20070528/debian/gfortran-BV-doc.doc-base
@@ -0,0 +1,14 @@
+Document: gfortran-@BV@
+Title: The GNU Fortran Compiler
+Author: Various
+Abstract: This manual documents how to run, install and port `gfortran',
+ as well as its new features and incompatibilities, and how to report bugs.
+Section: Apps/Programming
+
+Format: html
+Index: /usr/share/doc/gcc-@BV@-base/fortran/gfortran.html
+Files: /usr/share/doc/gcc-@BV@-base/fortran/gfortran.html
+
+Format: info
+Index: /usr/share/info/gfortran-@BV@.info.gz
+Files: /usr/share/info/gfortran-@BV@*
--- gcc-4.2-4.2-20070528.orig/debian/libgccLC.postinst
+++ gcc-4.2-4.2-20070528/debian/libgccLC.postinst
@@ -0,0 +1,12 @@
+#! /bin/sh -e
+
+case "$1" in
+ configure)
+ docdir=/usr/share/doc/libgcc@LC@
+ if [ -d $docdir ] && [ ! -h $docdir ]; then
+ rm -rf $docdir
+ ln -s gcc-@BV@-base $docdir
+ fi
+esac
+
+#DEBHELPER#
--- gcc-4.2-4.2-20070528.orig/debian/libstdc++CXX-BV-doc.overrides
+++ gcc-4.2-4.2-20070528/debian/libstdc++CXX-BV-doc.overrides
@@ -0,0 +1,2 @@
+libstdc++@CXX@-@BV@-doc: extra-license-file
+libstdc++@CXX@-@BV@-doc: manpage-has-errors-from-man usr/share/man/man3/__gnu_internal.3.gz
--- gcc-4.2-4.2-20070528.orig/debian/dummy-man.1
+++ gcc-4.2-4.2-20070528/debian/dummy-man.1
@@ -0,0 +1,29 @@
+.TH @NAME@ 1 "May 24, 2003" @name@ "Debian Free Documentation"
+.SH NAME
+@name@ \- A program with a man page covered by the GFDL with invariant sections
+.SH SYNOPSIS
+@name@ [\fB\s-1OPTION\s0\fR] ... [\fI\s-1ARGS\s0\fR...]
+
+.SH DESCRIPTION
+
+\fB@name@\fR is documented by a man page, which is covered by the "GNU
+Free Documentation License" (GFDL) containing invariant sections.
+.P
+In November 2002, version 1.2 of the GNU Free Documentation License (GNU
+FDL) was released by the Free Software Foundation after a long period
+of consultation. Unfortunately, some concerns raised by members of the
+Debian Project were not addressed, and as such the GNU FDL can apply
+to works that do not pass the Debian Free Software Guidelines (DFSG),
+and may thus only be included in the non-free component of the Debian
+archive, not the Debian distribution itself.
+
+.SH "SEE ALSO"
+.BR http://gcc.gnu.org/onlinedocs/
+for the complete documentation,
+.BR http://lists.debian.org/debian-legal/2003/debian-legal-200304/msg00307.html
+for a proposed statement of Debian with respect to the GFDL,
+.BR gfdl(7)
+
+.SH AUTHOR
+This manual page was written by the Debian GCC maintainers,
+for the Debian GNU/Linux system.
--- gcc-4.2-4.2-20070528.orig/debian/protoize.1
+++ gcc-4.2-4.2-20070528/debian/protoize.1
@@ -0,0 +1,42 @@
+.TH PROTOIZE 1
+.\" NAME should be all caps, SECTION should be 1-8, maybe w/ subsection
+.\" other parms are allowed: see man(7), man(1)
+.SH NAME
+protoize, unprotoize \- create/remove ANSI prototypes from C code
+.SH SYNOPSIS
+.B protoize
+.I "[options] files ...."
+.br
+.B unprotoize
+.I "[options] files ...."
+.SH "DESCRIPTION"
+This manual page documents briefly the
+.BR protoize ,
+and
+.B unprotoize
+commands.
+This manual page was written for the Debian GNU/Linux distribution
+(but may be used by others), because the original program does not
+have a manual page.
+Instead, it has documentation in the GNU Info format; see below.
+.PP
+.B protoize
+is an optional part of GNU C. You can use it to add prototypes to a
+program, thus converting the program to ANSI C in one respect. The companion
+program `unprotoize' does the reverse: it removes argument types from
+any prototypes that are found.
+.PP
+When you run these programs, you must specify a set of source files
+as command line arguments.
+.SH OPTIONS
+These programs are non-trivial to operate, and it is neither possible nor
+desirable to properly summarize options in this man page. Read the info
+documentation for more information.
+.SH "SEE ALSO"
+The programs are documented fully by
+.IR "Gcc: The use and the internals of the GNU compiler",
+available via the Info system. The documentation for protoize/unprotoize
+can be found in the subsection "Invoking GCC", under "Running Protoize."
+.SH AUTHOR
+This manual page was written by Galen Hazelwood,
+for the Debian GNU/Linux system.
--- gcc-4.2-4.2-20070528.orig/debian/gcj-BV.overrides
+++ gcc-4.2-4.2-20070528/debian/gcj-BV.overrides
@@ -0,0 +1 @@
+gcj-@BV@: wrong-name-for-upstream-changelog
--- gcc-4.2-4.2-20070528.orig/debian/gcc-BV-doc.doc-base.gcc
+++ gcc-4.2-4.2-20070528/debian/gcc-BV-doc.doc-base.gcc
@@ -0,0 +1,14 @@
+Document: gcc-@BV@
+Title: The GNU C and C++ compiler
+Author: Various
+Abstract: This manual documents how to run, install and port the GNU compiler,
+ as well as its new features and incompatibilities, and how to report bugs.
+Section: Apps/Programming
+
+Format: html
+Index: /usr/share/doc/gcc-@BV@-base/gcc.html
+Files: /usr/share/doc/gcc-@BV@-base/gcc.html
+
+Format: info
+Index: /usr/share/info/gcc-@BV@.info.gz
+Files: /usr/share/info/gcc-@BV@*
--- gcc-4.2-4.2-20070528.orig/debian/libgcj-doc.doc-base
+++ gcc-4.2-4.2-20070528/debian/libgcj-doc.doc-base
@@ -0,0 +1,10 @@
+Document: libgcj-doc
+Title: The GNU LibGCJ Classpath library
+Author: Various
+Abstract: Autogenerated documentation describing the libgcj
+ library (GCC 4.2), based on the classpath library.
+Section: Apps/Programming
+
+Format: html
+Index: /usr/share/doc/gcj-4.2-base/html/index.html
+Files: /usr/share/doc/gcj-4.2-base/html/*.html
--- gcc-4.2-4.2-20070528.orig/debian/reduce-test-diff.awk
+++ gcc-4.2-4.2-20070528/debian/reduce-test-diff.awk
@@ -0,0 +1,33 @@
+#! /usr/bin/gawk -f
+
+BEGIN {
+ skip=0
+ warn=0
+}
+
+/^-(FAIL|ERROR|UNRESOLVED|WARNING)/ {
+ next
+}
+
+# only compare gcc, g++, g77 and objc results
+/=== treelang tests ===/ {
+ skip=1
+}
+
+# omit extra files appended to test-summary
+/^\+Compiler version/ {
+ skip=1
+}
+
+skip == 0 {
+ print
+ next
+}
+
+/^\+(FAIL|ERROR|UNRESOLVED|WARNING)/ {
+ warn=1
+}
+
+END {
+ exit warn
+}
--- gcc-4.2-4.2-20070528.orig/debian/gcc-cross.postinst
+++ gcc-4.2-4.2-20070528/debian/gcc-cross.postinst
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+update-alternatives --quiet \
+ --install /usr/bin/cross-gcc cross-gcc /usr/bin/cross-gcc-ver 41 \
+ --slave /usr/share/man/man1/cross-gcc.1.gz cross-gcc.1.gz /usr/share/man/man1/cross-gcc-ver.1.gz
+
+exit 0
--- gcc-4.2-4.2-20070528.orig/debian/fastjar.postinst
+++ gcc-4.2-4.2-20070528/debian/fastjar.postinst
@@ -0,0 +1,14 @@
+#! /bin/sh -e
+
+if [ -f /usr/share/info/fastjar.info.gz ]; then
+ install-info --quiet --section "Development" "Development" \
+ /usr/share/info/fastjar.info.gz
+else
+ # GFDL invariant free
+ true
+fi
+
+update-alternatives --quiet --install /usr/bin/jar jar /usr/bin/fastjar 40 \
+ --slave /usr/share/man/man1/jar.1.gz jar.1.gz /usr/share/man/man1/fastjar.1.gz
+
+#DEBHELPER#
--- gcc-4.2-4.2-20070528.orig/debian/gfortran-BV-doc.prerm
+++ gcc-4.2-4.2-20070528/debian/gfortran-BV-doc.prerm
@@ -0,0 +1,5 @@
+#! /bin/sh -e
+
+install-info --quiet --remove gfortran-@BV@
+
+#DEBHELPER#
--- gcc-4.2-4.2-20070528.orig/debian/TODO
+++ gcc-4.2-4.2-20070528/debian/TODO
@@ -0,0 +1,18 @@
+- gfortran man page generation
+
+- Clean up the sprawl of debian/rules. I'm sure there are neater
+ ways to do some of it; perhaps split it up into some more files?
+ Partly done.
+
+- Build the shared Ada libraries. Be sure, that you they can be used at all...
+ Architecture specific!
+
+- Link the Ada tools with the shared Ada library.
+
+- The following bugs are still open; please step forward and have a look
+ at http://bugs.debian.org/debian-gcc@lists.debian.org
+ Never finished.
+
+Help needed for the following reports:
+
+[Needs to be updated]
--- gcc-4.2-4.2-20070528.orig/debian/cpp-BV-doc.prerm
+++ gcc-4.2-4.2-20070528/debian/cpp-BV-doc.prerm
@@ -0,0 +1,6 @@
+#! /bin/sh -e
+
+install-info --quiet --remove cpp-@BV@
+install-info --quiet --remove cppinternals-@BV@
+
+#DEBHELPER#
--- gcc-4.2-4.2-20070528.orig/debian/locale-gen
+++ gcc-4.2-4.2-20070528/debian/locale-gen
@@ -0,0 +1,43 @@
+#!/bin/sh
+
+LOCPATH=`pwd`/locales
+export LOCPATH
+
+[ -d $LOCPATH ] || mkdir -p $LOCPATH
+
+umask 022
+
+echo "Generating locales..."
+while read locale charset; do
+ case $locale in \#*) continue;; esac
+ [ -n "$locale" -a -n "$charset" ] || continue
+ echo -n " `echo $locale | sed 's/\([^.\@]*\).*/\1/'`"
+ echo -n ".$charset"
+ echo -n `echo $locale | sed 's/\([^\@]*\)\(\@.*\)*/\2/'`
+ echo -n '...'
+ if [ -f $LOCPATH/$locale ]; then
+ input=$locale
+ else
+ input=`echo $locale | sed 's/\([^.]*\)[^@]*\(.*\)/\1\2/'`
+ fi
+ localedef -i $input -c -f $charset $LOCPATH/$locale #-A /etc/locale.alias
+ echo ' done'; \
+done <.dpatch.
+- The shell script is called by the debian/rules file with the option
+ '-patch' to apply the patch and and with '-unpatch' to unapply
+ the patch. The working directory is the source directory.
+- The shell script returns 0 on success and 1 on failure when
+ (un)applying the patch. The patch program itself should be called with
+ --force to prevent questions.
+- debian/rules creates a file patched- in the source
+ directory when applying the patch and removes this file when
+ unapplying the patch.
+
+Besides the patches, the following add-ons were included:
+
+- gpc (unpacked from gpc-19990118.tar.gz)
+ ftp://agnes.dida.physik.uni-essen.de/gnu-pascal/beta/gpc-19990118.tar.gz
+
+If these package(s) aren't found in the gcc source directory, it's
+assumed that the tarball(s) can be found in the parent directory. See
+debian/rules for more details.
+
+Before making a source package, these packages need to be unpacked.
+You can use "debian/rules unpack-addons".
--- gcc-4.2-4.2-20070528.orig/debian/cpp-BV-doc.postinst
+++ gcc-4.2-4.2-20070528/debian/cpp-BV-doc.postinst
@@ -0,0 +1,12 @@
+#! /bin/sh -e
+
+case "$1" in
+ configure)
+ install-info --quiet --section "Development" "Development" \
+ /usr/share/info/cpp-@BV@.info.gz
+
+ install-info --quiet --section "Development" "Development" \
+ /usr/share/info/cppinternals-@BV@.info.gz
+esac
+
+#DEBHELPER#
--- gcc-4.2-4.2-20070528.orig/debian/rules.parameters
+++ gcc-4.2-4.2-20070528/debian/rules.parameters
@@ -0,0 +1,33 @@
+# configuration parameters taken from upstream source files
+GCC_VERSION := 4.2.1
+NEXT_GCC_VERSION := 4.2.2
+BASE_VERSION := 4.2
+SOURCE_VERSION := 4.2-20070528-0ubuntu2
+DEB_VERSION := 4.2-20070528-0ubuntu2
+DEB_EVERSION := 1:4.2-20070528-0ubuntu2
+GPC_BASE_VERSION := 2.1
+DEB_GPC_VERSION :=
+DEB_SOVERSION := 4.2-20070208
+DEB_SOEVERSION := 1:4.2-20070516
+DEB_LIBGCC_SOVERSION := 1:4.2-20070516
+DEB_LIBGCC_VERSION := 1:4.2-20070528-0ubuntu2
+DEB_STDCXX_SOVERSION := 4.2-20070516
+DEB_GCJ_SOVERSION := 4.2-20070516
+PKG_GCJ_EXT := 8
+PKG_LIBGCJ_EXT := 8-0
+DEB_FFI_SOVERSION := 4.2-20070208
+DEB_GOMP_SOVERSION := 4.2-20070208
+DEB_GCCMATH_SOVERSION := 4.2-20070208
+GCC_SONAME := 1
+CXX_SONAME := 6
+FORTRAN_SONAME := 2
+OBJC_SONAME := 2
+GCJ_SONAME := 80
+GNAT_VERSION := 4.2
+GNAT_SONAME := 4.2
+FFI_SONAME := 4
+MUDFLAP_SONAME := 0
+SSP_SONAME := 0
+GOMP_SONAME := 1
+GCCMATH_SONAME :=
+LIBC_DEP := libc6
--- gcc-4.2-4.2-20070528.orig/debian/gcc-BV-doc.prerm
+++ gcc-4.2-4.2-20070528/debian/gcc-BV-doc.prerm
@@ -0,0 +1,7 @@
+#! /bin/sh -e
+
+install-info --quiet --remove gcc-@BV@
+install-info --quiet --remove gccint-@BV@
+install-info --quiet --remove libgomp-@BV@
+
+#DEBHELPER#
--- gcc-4.2-4.2-20070528.orig/debian/gpc-PV-BV-doc.doc-base.gpcs
+++ gcc-4.2-4.2-20070528/debian/gpc-PV-BV-doc.doc-base.gpcs
@@ -0,0 +1,23 @@
+Document: gpcs-@PV@-@BV@-doc
+Title: The GNU Pascal Coding Standards
+Author: Various
+Abstract: The GNU Pascal Coding Standards were designed by a group of
+ GNU Pascal project volunteers. The aim of this document is extending
+ the GNU Coding Standards with specific information relating Pascal
+ programming. As a matter of fact, the information contained in the
+ GNU Coding Standards mainly pertains to programs written in the C
+ language. On the other hand, they also explain many of the rules and
+ principles that are useful for writing portable, robust and reliable
+ programs. Most of those general topics could be shared with this
+ document with just a few specific notes, thus cross references are
+ provided which will lead you to the more extensive information
+ contained in the GNU Coding Standards.
+Section: Apps/Programming
+
+Format: html
+Index: /usr/share/doc/gcc-@BV@-base/pascal/gpcs.html
+Files: /usr/share/doc/gcc-@BV@-base/pascal/gpcs.html
+
+Format: info
+Index: /usr/share/info/gpcs-@PV@-@BV@.info.gz
+Files: /usr/share/info/gpcs-@PV@-@BV@*
--- gcc-4.2-4.2-20070528.orig/debian/gpc-PV-BV-doc.prerm
+++ gcc-4.2-4.2-20070528/debian/gpc-PV-BV-doc.prerm
@@ -0,0 +1,10 @@
+#! /bin/sh -e
+
+if [ -f /usr/share/info/gpc-@PV@-@BV@.info.gz ]; then
+ install-info --quiet --remove gpc-@PV@-@BV@
+else
+ # GFDL invariant free
+ true
+fi
+
+#DEBHELPER#
--- gcc-4.2-4.2-20070528.orig/debian/gnat-BV-doc.doc-base.style
+++ gcc-4.2-4.2-20070528/debian/gnat-BV-doc.doc-base.style
@@ -0,0 +1,16 @@
+Document: gnat-style-@BV@
+Title: GNAT Coding Style
+Author: Various
+Abstract: Most of GNAT is written in Ada using a consistent style to
+ ensure readability of the code. This document has been written to
+ help maintain this consistent style, while having a large group of
+ developers work on the compiler.
+Section: Apps/Programming
+
+Format: html
+Index: /usr/share/doc/gcc-@BV@-base/Ada/gnat-style.html
+Files: /usr/share/doc/gcc-@BV@-base/Ada/gnat-style.html
+
+Format: info
+Index: /usr/share/info/gnat-style-@BV@.info.gz
+Files: /usr/share/info/gnat-style-@BV@*
--- gcc-4.2-4.2-20070528.orig/debian/lib64stdc++CXX.postinst
+++ gcc-4.2-4.2-20070528/debian/lib64stdc++CXX.postinst
@@ -0,0 +1,12 @@
+#! /bin/sh -e
+
+case "$1" in
+ configure)
+ docdir=/usr/share/doc/lib64stdc++@CXX@
+ if [ -d $docdir ] && [ ! -h $docdir ]; then
+ rm -rf $docdir
+ ln -s gcc-@BV@-base $docdir
+ fi
+esac
+
+#DEBHELPER#
--- gcc-4.2-4.2-20070528.orig/debian/rules.source
+++ gcc-4.2-4.2-20070528/debian/rules.source
@@ -0,0 +1,21 @@
+__SOURCE_DIR := $(dir $(lastword $(MAKEFILE_LIST)))
+patchdir = $(__SOURCE_DIR)/patches
+
+include $(__SOURCE_DIR)/rules.defs
+include $(__SOURCE_DIR)/rules.patch
+include $(__SOURCE_DIR)/rules.unpack
+
+patch-source: $(patch_stamp)
+ ( \
+ echo '#define __$(subst -,_,$(DEB_TARGET_GNU_TYPE))__'; \
+ echo ''; \
+ echo ' { "", "$(DEB_TARGET_GNU_TYPE)"},'; \
+ cat $(__SOURCE_DIR)/multiarch.inc; \
+ ) > $(srcdir)/gcc/multiarch.inc
+
+clean-source:
+ rm -rf $(stampdir)
+ rm -rf $(gcc_srcdir) $(gpc_srcdir) p
+ rm -rf bin
+ rm -rf $(srcdir)
+
--- gcc-4.2-4.2-20070528.orig/debian/fixincludes.in
+++ gcc-4.2-4.2-20070528/debian/fixincludes.in
@@ -0,0 +1,8 @@
+#! /bin/sh
+
+PATH="/@LIBEXECDIR@/install-tools:$PATH"
+
+TARGET_MACHINE=`dpkg-architecture -qDEB_HOST_GNU_TYPE`
+export TARGET_MACHINE
+
+exec fixinc.sh "$@"
--- gcc-4.2-4.2-20070528.orig/debian/gcc-BV-base.postinst
+++ gcc-4.2-4.2-20070528/debian/gcc-BV-base.postinst
@@ -0,0 +1,15 @@
+#! /bin/sh -e
+
+case "$1" in
+ configure)
+ # see #355439, packaging error in 4.0.2-9*
+ docdir=/usr/share/doc/gcc-@BV@-base
+ if [ ! -f $docdir/copyright ]; then
+ ln $docdir/.copyright $docdir/copyright
+ fi
+ if [ ! -f $docdir/changelog.Debian.gz ]; then
+ ln $docdir/.changelog.Debian.gz $docdir/changelog.Debian.gz
+ fi
+esac
+
+#DEBHELPER#
--- gcc-4.2-4.2-20070528.orig/debian/gcj-BV.prerm
+++ gcc-4.2-4.2-20070528/debian/gcj-BV.prerm
@@ -0,0 +1,18 @@
+#! /bin/sh -e
+
+update-alternatives --quiet --remove javac /usr/bin/gcj-wrapper-@BV@
+update-alternatives --quiet --remove jar /usr/bin/gjar-@BV@
+update-alternatives --quiet --remove jarsigner /usr/bin/gjarsigner-@BV@
+update-alternatives --quiet --remove javah /usr/bin/gjavah-@BV@
+update-alternatives --quiet --remove native2ascii /usr/bin/gnative2ascii-@BV@
+update-alternatives --quiet --remove rmic /usr/bin/grmic-@BV@
+update-alternatives --quiet --remove tnameserv /usr/bin/gtnameserv-@BV@
+
+if [ -f /usr/share/info/gcj-@BV@.info.gz ]; then
+ install-info --quiet --remove gcj-@BV@
+else
+ # GFDL invariant free
+ true
+fi
+
+#DEBHELPER#
--- gcc-4.2-4.2-20070528.orig/debian/gnatprj.gpr
+++ gcc-4.2-4.2-20070528/debian/gnatprj.gpr
@@ -0,0 +1,37 @@
+-- Project file for use with GNAT 3.15p
+-- Copyright (c) 2005 Ludovic Brenta
+--
+-- This program is free software; you can redistribute it and/or modify
+-- it under the terms of the GNU General Public License as published by
+-- the Free Software Foundation; either version 2 of the License, or
+-- (at your option) any later version.
+--
+-- This program is distributed in the hope that it will be useful,
+-- but WITHOUT ANY WARRANTY; without even the implied warranty of
+-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+-- GNU General Public License for more details.
+--
+-- This project file is designed to help build applications that use
+-- GNAT project files. Here is an example of how to use this project file:
+--
+-- with "/usr/share/ada/adainclude/gnatprj";
+-- project Example is
+-- for Object_Dir use "obj";
+-- for Exec_Dir use ".";
+-- for Main use ("example");
+-- package Linker renames Gnatprj.Linker;
+-- -- Alternatively, if you need additional switches:
+-- -- package Linker is
+-- -- for Default_Switches ("Ada") use (Gnatprj.Linker_Switches & ...)
+-- -- end Linker;
+-- end Example;
+
+with "gnatvsn.gpr";
+project Gnatprj is
+ for Source_Dirs use ("/usr/share/ada/adainclude/gnatprj");
+ for Object_Dir use "/usr/lib/ada/adalib/gnatprj";
+ Linker_Switches := "-lgnatprj";
+ package Linker is
+ for Default_Switches ("Ada") use (Linker_Switches);
+ end Linker;
+end Gnatprj;
--- gcc-4.2-4.2-20070528.orig/debian/gnat-BV-doc.postinst
+++ gcc-4.2-4.2-20070528/debian/gnat-BV-doc.postinst
@@ -0,0 +1,16 @@
+#! /bin/sh -e
+
+case "$1" in
+ configure)
+ install-info --quiet --section "Development" "Development" \
+ --description="GNAT (GNU Ada) User's Guide for Unix Platforms." \
+ /usr/share/info/gnat_ugn_unw-@BV@.info
+ install-info --quiet --section "Development" "Development" \
+ --description="GNAT (GNU Ada) Reference Manual." \
+ /usr/share/info/gnat_rm-@BV@.info
+ install-info --quiet --section "Development" "Development" \
+ --description="GNAT Coding Style." \
+ /usr/share/info/gnat-style-@BV@.info
+esac
+
+#DEBHELPER#
--- gcc-4.2-4.2-20070528.orig/debian/libgcjGCJ-dev.overrides
+++ gcc-4.2-4.2-20070528/debian/libgcjGCJ-dev.overrides
@@ -0,0 +1 @@
+libgcj@GCJ@-dev: library-not-linked-against-libc
--- gcc-4.2-4.2-20070528.orig/debian/lib64gccLC.postinst
+++ gcc-4.2-4.2-20070528/debian/lib64gccLC.postinst
@@ -0,0 +1,12 @@
+#! /bin/sh -e
+
+case "$1" in
+ configure)
+ docdir=/usr/share/doc/lib64gcc@LC@
+ if [ -d $docdir ] && [ ! -h $docdir ]; then
+ rm -rf $docdir
+ ln -s gcc-@BV@-base $docdir
+ fi
+esac
+
+#DEBHELPER#
--- gcc-4.2-4.2-20070528.orig/debian/gnat-BV.overrides
+++ gcc-4.2-4.2-20070528/debian/gnat-BV.overrides
@@ -0,0 +1 @@
+gnat-@BV@: bad-permissions-for-ali-file
--- gcc-4.2-4.2-20070528.orig/debian/gij-BV.prerm
+++ gcc-4.2-4.2-20070528/debian/gij-BV.prerm
@@ -0,0 +1,12 @@
+#! /bin/sh -e
+
+update-alternatives --quiet --remove java /usr/bin/gij-@BV@
+update-alternatives --quiet --remove rmiregistry /usr/bin/grmiregistry-@BV@
+update-alternatives --quiet --remove keytool /usr/bin/gkeytool-@BV@
+update-alternatives --quiet --remove orbd /usr/bin/gorbd-@BV@
+update-alternatives --quiet --remove rmid /usr/bin/grmid-@BV@
+update-alternatives --quiet --remove serialver /usr/bin/gserialver-@BV@
+
+#DEBHELPER#
+
+exit 0
--- gcc-4.2-4.2-20070528.orig/debian/compat
+++ gcc-4.2-4.2-20070528/debian/compat
@@ -0,0 +1 @@
+4
--- gcc-4.2-4.2-20070528.orig/debian/libgcj-common.preinst
+++ gcc-4.2-4.2-20070528/debian/libgcj-common.preinst
@@ -0,0 +1,12 @@
+#! /bin/sh -e
+
+case "$1" in
+ upgrade|install)
+ if [ -n "$2" ] && [ -h /usr/share/doc/libgcj-common ] \
+ && dpkg --compare-versions "$2" lt 1:4.0.2-10
+ then
+ rm -f /usr/share/doc/libgcj-common
+ fi
+esac
+
+#DEBHELPER#
--- gcc-4.2-4.2-20070528.orig/debian/gcc-cross.prerm
+++ gcc-4.2-4.2-20070528/debian/gcc-cross.prerm
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+update-alternatives --quiet --remove cross-gcc /usr/bin/cross-gcc-ver
+
+exit 0
--- gcc-4.2-4.2-20070528.orig/debian/copyright
+++ gcc-4.2-4.2-20070528/debian/copyright
@@ -0,0 +1,667 @@
+This is the Debian GNU/Linux prepackaged version of the GNU compiler
+collection, containing Ada, C, C++, Fortran 95, Java, Objective-C,
+Objective-C++, and Treelang compilers, documentation, and support
+libraries. In addition, Debian provides the GNU Pascal compiler in the
+same source package. Packaging is done by the Debian GCC Maintainers
+, with sources obtained from:
+
+ ftp://gcc.gnu.org/pub/gcc/releases/ (for full releases)
+ svn://gcc.gnu.org/svn/gcc/ (for prereleases)
+ http://gnu-pascal.de/alpha/ (for GNU Pascal)
+
+Changes: See changelog.Debian.gz
+
+Debian splits the GNU Compiler Collection into packages for each language,
+library, and documentation as follows:
+
+Language Compiler package Library package Documentation
+---------------------------------------------------------------------------
+Ada gnat-4.2 libgnat-4.2 gnat-4.2-doc
+C gcc-4.2 gcc-4.2-doc
+C++ g++-4.2 libstdc++6 libstdc++6-4.2-doc
+Fortran 95 gfortran-4.2 libgfortran1 gfortran-4.2-doc
+Java gcj-4.2 libgcj8 libgcj-doc
+Objective C gobjc-4.2 libobjc2
+Objective C++ gobjc++-4.2
+Pascal gpc-4.2
+Treelang treelang-4.2
+
+For some language run-time libraries, Debian provides source files,
+development files, debugging symbols and libraries containing position-
+independent code in separate packages:
+
+Language Sources Development Debugging Position-Independent
+---------------------------------------------------------------------------
+C++ libstdc++6-4.2-dbg libstdc++6-4.2-pic
+Java libgcj8-src libgcj8-dev libgcj8-dbg
+
+Additional packages include:
+
+All languages:
+libgcc1, libgcc2, libgcc4 GCC intrinsics (platform-dependent)
+libffi4-dev, libffi4 Foreign Function Interface library
+gcc-4.2-base Base files common to all compilers
+gcc-4.2-soft-float Software floating point (ARM only)
+gcc-4.2-source The sources with patches
+
+Ada:
+libgnatvsn-dev, libgnatvsn4.2 GNAT version library
+libgnatprj-dev, libgnatprj4.2 GNAT Project Manager library
+
+C:
+cpp-4.2, cpp-4.2-doc GNU C Preprocessor
+libmudflap0-dev, libmudflap0 Library for instrumenting pointers
+libssp0-dev, libssp0 GCC stack smashing protection library
+fixincludes Fix non-ANSI header files
+protoize Create/remove ANSI prototypes from C code
+
+Java:
+gij The Java bytecode interpreter and VM
+libgcj-common Common files for the Java run-time
+libgcj8-awt The Abstract Windowing Toolkit
+libgcj8-jar Java ARchive for the Java run-time
+
+C, C++ and Fortran 95:
+libgomp1-dev, libgomp1 GCC OpenMP (GOMP) support library
+
+Biarch support: On some 64-bit platforms which can also run 32-bit code,
+Debian provides additional packages containing 32-bit versions of some
+libraries. These packages have names beginning with 'lib32' instead of
+'lib', for example lib32stdc++6. Similarly, on some 32-bit platforms which
+can also run 64-bit code, Debian provides additional packages with names
+beginning with 'lib64' instead of 'lib'. These packages contain 64-bit
+versions of the libraries. (At this time, not all platforms and not all
+libraries support biarch.) The license terms for these lib32 or lib64
+packages are identical to the ones for the lib packages.
+
+
+COPYRIGHT STATEMENTS AND LICENSING TERMS
+
+
+GCC is Copyright (C) 1986, 1987, 1988, 1989, 1990, 1991, 1992, 1993, 1994,
+1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006
+Free Software Foundation, Inc.
+
+This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the
+Free Software Foundation; either version 2, or (at your option) any
+later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program; if not, write to the Free Software
+Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
+
+On Debian GNU/Linux systems, the complete text of the GNU General
+Public License is in `/usr/share/common-licenses/GPL'.
+
+The libstdc++-v3 library is licensed under the terms of the GNU General
+Public License, with this special exception:
+
+ As a special exception, you may use this file as part of a free software
+ library without restriction. Specifically, if other files instantiate
+ templates or use macros or inline functions from this file, or you compile
+ this file and link it with other files to produce an executable, this
+ file does not by itself cause the resulting executable to be covered by
+ the GNU General Public License. This exception does not however
+ invalidate any other reasons why the executable file might be covered by
+ the GNU General Public License.
+
+The libgnat-4.2 Ada support library and libgnatvsn are licensed under the
+terms of the GNU General Public License, with this special exception:
+
+ As a special exception, if other files instantiate generics from this
+ unit, or you link this unit with other files to produce an executable,
+ this unit does not by itself cause the resulting executable to be
+ covered by the GNU General Public License. This exception does not
+ however invalidate any other reasons why the executable file might be
+ covered by the GNU Public License.
+
+In contrast, libgnatprj is licensed under the terms of the pure GNU
+General Public License.
+
+gpc is copyright Free Software Foundation, and is licensed under the
+GNU General Public License which on Debian GNU/Linux systems can be
+found as `/usr/share/common-licenses/GPL'.
+
+The gpc runtime library is licensed under the terms of the GNU General
+Public License, with this special exception:
+
+ As a special exception, if you link this file with files compiled
+ with a GNU compiler to produce an executable, this does not cause
+ the resulting executable to be covered by the GNU General Public
+ License. This exception does not however invalidate any other
+ reasons why the executable file might be covered by the GNU
+ General Public License. }
+
+The libgcj library is licensed under the terms of the GNU General
+Public License, with a special exception:
+
+ Linking this library statically or dynamically with other modules
+ is making a combined work based on this library. Thus, the terms
+ and conditions of the GNU General Public License cover the whole
+ combination.
+
+ As a special exception, the copyright holders of this library give
+ you permission to link this library with independent modules to
+ produce an executable, regardless of the license terms of these
+ independent modules, and to copy and distribute the resulting
+ executable under terms of your choice, provided that you also
+ meet, for each linked independent module, the terms and conditions
+ of the license of that module. An independent module is a module
+ which is not derived from or based on this library. If you modify
+ this library, you may extend this exception to your version of the
+ library, but you are not obligated to do so. If you do not wish
+ to do so, delete this exception statement from your version.
+
+gcc/libgcc2.c (source for libgcc) has the following addition:
+
+ In addition to the permissions in the GNU General Public License,
+ the Free Software Foundation gives you unlimited permission to
+ link the compiled version of this file into combinations with
+ other programs, and to distribute those combinations without any
+ restriction coming from the use of this file. (The General Public
+ License restrictions do apply in other respects; for example, they
+ cover modification of the file, and distribution when not linked
+ into a combine executable.)
+
+gcc/unwind-libunwind.c (source for libgcc) has the following addition:
+
+ As a special exception, if you link this library with other files,
+ some of which are compiled with GCC, to produce an executable,
+ this library does not by itself cause the resulting executable to
+ be covered by the GNU General Public License. This exception does
+ not however invalidate any other reasons why the executable file
+ might be covered by the GNU General Public License.
+
+The mudflap library is licensed under the terms of the GNU General
+Public License, and has the following addition:
+
+ In addition to the permissions in the GNU General Public License,
+ the Free Software Foundation gives you unlimited permission to
+ link the compiled version of this file into combinations with
+ other programs, and to distribute those combinations without any
+ restriction coming from the use of this file. (The General Public
+ License restrictions do apply in other respects; for example, they
+ cover modification of the file, and distribution when not linked
+ into a combine executable.)
+
+The ssp library is licensed under the terms of the GNU General
+Public License, with a special exception:
+
+ As a special exception, if you link this library with other files,
+ some of which are compiled with GCC, to produce an executable,
+ this library does not by itself cause the resulting executable to
+ be covered by the GNU General Public License. This exception does
+ not however invalidate any other reasons why the executable file
+ might be covered by the GNU General Public License.
+
+The Libgomp library is licensed under the terms of the GNU Lesser
+General Public License, with a special exception:
+
+ As a special exception, if you link this library with other files, some
+ of which are compiled with GCC, to produce an executable, this library
+ does not by itself cause the resulting executable to be covered by the
+ GNU General Public License. This exception does not however invalidate
+ any other reasons why the executable file might be covered by the GNU
+ General Public License.
+
+The libffi library is licensed under the following terms:
+
+ libffi - Copyright (c) 1996-2003 Red Hat, Inc.
+
+ Permission is hereby granted, free of charge, to any person obtaining
+ a copy of this software and associated documentation files (the
+ ``Software''), to deal in the Software without restriction, including
+ without limitation the rights to use, copy, modify, merge, publish,
+ distribute, sublicense, and/or sell copies of the Software, and to
+ permit persons to whom the Software is furnished to do so, subject to
+ the following conditions:
+
+ The above copyright notice and this permission notice shall be included
+ in all copies or substantial portions of the Software.
+
+ THE SOFTWARE IS PROVIDED ``AS IS'', WITHOUT WARRANTY OF ANY KIND, EXPRESS
+ OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
+ IN NO EVENT SHALL CYGNUS SOLUTIONS BE LIABLE FOR ANY CLAIM, DAMAGES OR
+ OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
+ ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
+ OTHER DEALINGS IN THE SOFTWARE.
+
+
+The documentation is licensed under the GNU Free Documentation License
+(v1.2), appended at the end of this file.
+
+
+GNU Free Documentation License
+******************************
+
+ Version 1.2, November 2002
+ Copyright (C) 2000,2001,2002 Free Software Foundation, Inc.
+ 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
+
+ Everyone is permitted to copy and distribute verbatim copies
+ of this license document, but changing it is not allowed.
+
+ 0. PREAMBLE
+
+ The purpose of this License is to make a manual, textbook, or other
+ functional and useful document "free" in the sense of freedom: to
+ assure everyone the effective freedom to copy and redistribute it,
+ with or without modifying it, either commercially or
+ noncommercially. Secondarily, this License preserves for the
+ author and publisher a way to get credit for their work, while not
+ being considered responsible for modifications made by others.
+
+ This License is a kind of "copyleft", which means that derivative
+ works of the document must themselves be free in the same sense.
+ It complements the GNU General Public License, which is a copyleft
+ license designed for free software.
+
+ We have designed this License in order to use it for manuals for
+ free software, because free software needs free documentation: a
+ free program should come with manuals providing the same freedoms
+ that the software does. But this License is not limited to
+ software manuals; it can be used for any textual work, regardless
+ of subject matter or whether it is published as a printed book.
+ We recommend this License principally for works whose purpose is
+ instruction or reference.
+
+ 1. APPLICABILITY AND DEFINITIONS
+
+ This License applies to any manual or other work, in any medium,
+ that contains a notice placed by the copyright holder saying it
+ can be distributed under the terms of this License. Such a notice
+ grants a world-wide, royalty-free license, unlimited in duration,
+ to use that work under the conditions stated herein. The
+ "Document", below, refers to any such manual or work. Any member
+ of the public is a licensee, and is addressed as "you". You
+ accept the license if you copy, modify or distribute the work in a
+ way requiring permission under copyright law.
+
+ A "Modified Version" of the Document means any work containing the
+ Document or a portion of it, either copied verbatim, or with
+ modifications and/or translated into another language.
+
+ A "Secondary Section" is a named appendix or a front-matter section
+ of the Document that deals exclusively with the relationship of the
+ publishers or authors of the Document to the Document's overall
+ subject (or to related matters) and contains nothing that could
+ fall directly within that overall subject. (Thus, if the Document
+ is in part a textbook of mathematics, a Secondary Section may not
+ explain any mathematics.) The relationship could be a matter of
+ historical connection with the subject or with related matters, or
+ of legal, commercial, philosophical, ethical or political position
+ regarding them.
+
+ The "Invariant Sections" are certain Secondary Sections whose
+ titles are designated, as being those of Invariant Sections, in
+ the notice that says that the Document is released under this
+ License. If a section does not fit the above definition of
+ Secondary then it is not allowed to be designated as Invariant.
+ The Document may contain zero Invariant Sections. If the Document
+ does not identify any Invariant Sections then there are none.
+
+ The "Cover Texts" are certain short passages of text that are
+ listed, as Front-Cover Texts or Back-Cover Texts, in the notice
+ that says that the Document is released under this License. A
+ Front-Cover Text may be at most 5 words, and a Back-Cover Text may
+ be at most 25 words.
+
+ A "Transparent" copy of the Document means a machine-readable copy,
+ represented in a format whose specification is available to the
+ general public, that is suitable for revising the document
+ straightforwardly with generic text editors or (for images
+ composed of pixels) generic paint programs or (for drawings) some
+ widely available drawing editor, and that is suitable for input to
+ text formatters or for automatic translation to a variety of
+ formats suitable for input to text formatters. A copy made in an
+ otherwise Transparent file format whose markup, or absence of
+ markup, has been arranged to thwart or discourage subsequent
+ modification by readers is not Transparent. An image format is
+ not Transparent if used for any substantial amount of text. A
+ copy that is not "Transparent" is called "Opaque".
+
+ Examples of suitable formats for Transparent copies include plain
+ ASCII without markup, Texinfo input format, LaTeX input format,
+ SGML or XML using a publicly available DTD, and
+ standard-conforming simple HTML, PostScript or PDF designed for
+ human modification. Examples of transparent image formats include
+ PNG, XCF and JPG. Opaque formats include proprietary formats that
+ can be read and edited only by proprietary word processors, SGML or
+ XML for which the DTD and/or processing tools are not generally
+ available, and the machine-generated HTML, PostScript or PDF
+ produced by some word processors for output purposes only.
+
+ The "Title Page" means, for a printed book, the title page itself,
+ plus such following pages as are needed to hold, legibly, the
+ material this License requires to appear in the title page. For
+ works in formats which do not have any title page as such, "Title
+ Page" means the text near the most prominent appearance of the
+ work's title, preceding the beginning of the body of the text.
+
+ A section "Entitled XYZ" means a named subunit of the Document
+ whose title either is precisely XYZ or contains XYZ in parentheses
+ following text that translates XYZ in another language. (Here XYZ
+ stands for a specific section name mentioned below, such as
+ "Acknowledgements", "Dedications", "Endorsements", or "History".)
+ To "Preserve the Title" of such a section when you modify the
+ Document means that it remains a section "Entitled XYZ" according
+ to this definition.
+
+ The Document may include Warranty Disclaimers next to the notice
+ which states that this License applies to the Document. These
+ Warranty Disclaimers are considered to be included by reference in
+ this License, but only as regards disclaiming warranties: any other
+ implication that these Warranty Disclaimers may have is void and
+ has no effect on the meaning of this License.
+
+ 2. VERBATIM COPYING
+
+ You may copy and distribute the Document in any medium, either
+ commercially or noncommercially, provided that this License, the
+ copyright notices, and the license notice saying this License
+ applies to the Document are reproduced in all copies, and that you
+ add no other conditions whatsoever to those of this License. You
+ may not use technical measures to obstruct or control the reading
+ or further copying of the copies you make or distribute. However,
+ you may accept compensation in exchange for copies. If you
+ distribute a large enough number of copies you must also follow
+ the conditions in section 3.
+
+ You may also lend copies, under the same conditions stated above,
+ and you may publicly display copies.
+
+ 3. COPYING IN QUANTITY
+
+ If you publish printed copies (or copies in media that commonly
+ have printed covers) of the Document, numbering more than 100, and
+ the Document's license notice requires Cover Texts, you must
+ enclose the copies in covers that carry, clearly and legibly, all
+ these Cover Texts: Front-Cover Texts on the front cover, and
+ Back-Cover Texts on the back cover. Both covers must also clearly
+ and legibly identify you as the publisher of these copies. The
+ front cover must present the full title with all words of the
+ title equally prominent and visible. You may add other material
+ on the covers in addition. Copying with changes limited to the
+ covers, as long as they preserve the title of the Document and
+ satisfy these conditions, can be treated as verbatim copying in
+ other respects.
+
+ If the required texts for either cover are too voluminous to fit
+ legibly, you should put the first ones listed (as many as fit
+ reasonably) on the actual cover, and continue the rest onto
+ adjacent pages.
+
+ If you publish or distribute Opaque copies of the Document
+ numbering more than 100, you must either include a
+ machine-readable Transparent copy along with each Opaque copy, or
+ state in or with each Opaque copy a computer-network location from
+ which the general network-using public has access to download
+ using public-standard network protocols a complete Transparent
+ copy of the Document, free of added material. If you use the
+ latter option, you must take reasonably prudent steps, when you
+ begin distribution of Opaque copies in quantity, to ensure that
+ this Transparent copy will remain thus accessible at the stated
+ location until at least one year after the last time you
+ distribute an Opaque copy (directly or through your agents or
+ retailers) of that edition to the public.
+
+ It is requested, but not required, that you contact the authors of
+ the Document well before redistributing any large number of
+ copies, to give them a chance to provide you with an updated
+ version of the Document.
+
+ 4. MODIFICATIONS
+
+ You may copy and distribute a Modified Version of the Document
+ under the conditions of sections 2 and 3 above, provided that you
+ release the Modified Version under precisely this License, with
+ the Modified Version filling the role of the Document, thus
+ licensing distribution and modification of the Modified Version to
+ whoever possesses a copy of it. In addition, you must do these
+ things in the Modified Version:
+
+ A. Use in the Title Page (and on the covers, if any) a title
+ distinct from that of the Document, and from those of
+ previous versions (which should, if there were any, be listed
+ in the History section of the Document). You may use the
+ same title as a previous version if the original publisher of
+ that version gives permission.
+
+ B. List on the Title Page, as authors, one or more persons or
+ entities responsible for authorship of the modifications in
+ the Modified Version, together with at least five of the
+ principal authors of the Document (all of its principal
+ authors, if it has fewer than five), unless they release you
+ from this requirement.
+
+ C. State on the Title page the name of the publisher of the
+ Modified Version, as the publisher.
+
+ D. Preserve all the copyright notices of the Document.
+
+ E. Add an appropriate copyright notice for your modifications
+ adjacent to the other copyright notices.
+
+ F. Include, immediately after the copyright notices, a license
+ notice giving the public permission to use the Modified
+ Version under the terms of this License, in the form shown in
+ the Addendum below.
+
+ G. Preserve in that license notice the full lists of Invariant
+ Sections and required Cover Texts given in the Document's
+ license notice.
+
+ H. Include an unaltered copy of this License.
+
+ I. Preserve the section Entitled "History", Preserve its Title,
+ and add to it an item stating at least the title, year, new
+ authors, and publisher of the Modified Version as given on
+ the Title Page. If there is no section Entitled "History" in
+ the Document, create one stating the title, year, authors,
+ and publisher of the Document as given on its Title Page,
+ then add an item describing the Modified Version as stated in
+ the previous sentence.
+
+ J. Preserve the network location, if any, given in the Document
+ for public access to a Transparent copy of the Document, and
+ likewise the network locations given in the Document for
+ previous versions it was based on. These may be placed in
+ the "History" section. You may omit a network location for a
+ work that was published at least four years before the
+ Document itself, or if the original publisher of the version
+ it refers to gives permission.
+
+ K. For any section Entitled "Acknowledgements" or "Dedications",
+ Preserve the Title of the section, and preserve in the
+ section all the substance and tone of each of the contributor
+ acknowledgements and/or dedications given therein.
+
+ L. Preserve all the Invariant Sections of the Document,
+ unaltered in their text and in their titles. Section numbers
+ or the equivalent are not considered part of the section
+ titles.
+
+ M. Delete any section Entitled "Endorsements". Such a section
+ may not be included in the Modified Version.
+
+ N. Do not retitle any existing section to be Entitled
+ "Endorsements" or to conflict in title with any Invariant
+ Section.
+
+ O. Preserve any Warranty Disclaimers.
+
+ If the Modified Version includes new front-matter sections or
+ appendices that qualify as Secondary Sections and contain no
+ material copied from the Document, you may at your option
+ designate some or all of these sections as invariant. To do this,
+ add their titles to the list of Invariant Sections in the Modified
+ Version's license notice. These titles must be distinct from any
+ other section titles.
+
+ You may add a section Entitled "Endorsements", provided it contains
+ nothing but endorsements of your Modified Version by various
+ parties--for example, statements of peer review or that the text
+ has been approved by an organization as the authoritative
+ definition of a standard.
+
+ You may add a passage of up to five words as a Front-Cover Text,
+ and a passage of up to 25 words as a Back-Cover Text, to the end
+ of the list of Cover Texts in the Modified Version. Only one
+ passage of Front-Cover Text and one of Back-Cover Text may be
+ added by (or through arrangements made by) any one entity. If the
+ Document already includes a cover text for the same cover,
+ previously added by you or by arrangement made by the same entity
+ you are acting on behalf of, you may not add another; but you may
+ replace the old one, on explicit permission from the previous
+ publisher that added the old one.
+
+ The author(s) and publisher(s) of the Document do not by this
+ License give permission to use their names for publicity for or to
+ assert or imply endorsement of any Modified Version.
+
+ 5. COMBINING DOCUMENTS
+
+ You may combine the Document with other documents released under
+ this License, under the terms defined in section 4 above for
+ modified versions, provided that you include in the combination
+ all of the Invariant Sections of all of the original documents,
+ unmodified, and list them all as Invariant Sections of your
+ combined work in its license notice, and that you preserve all
+ their Warranty Disclaimers.
+
+ The combined work need only contain one copy of this License, and
+ multiple identical Invariant Sections may be replaced with a single
+ copy. If there are multiple Invariant Sections with the same name
+ but different contents, make the title of each such section unique
+ by adding at the end of it, in parentheses, the name of the
+ original author or publisher of that section if known, or else a
+ unique number. Make the same adjustment to the section titles in
+ the list of Invariant Sections in the license notice of the
+ combined work.
+
+ In the combination, you must combine any sections Entitled
+ "History" in the various original documents, forming one section
+ Entitled "History"; likewise combine any sections Entitled
+ "Acknowledgements", and any sections Entitled "Dedications". You
+ must delete all sections Entitled "Endorsements."
+
+ 6. COLLECTIONS OF DOCUMENTS
+
+ You may make a collection consisting of the Document and other
+ documents released under this License, and replace the individual
+ copies of this License in the various documents with a single copy
+ that is included in the collection, provided that you follow the
+ rules of this License for verbatim copying of each of the
+ documents in all other respects.
+
+ You may extract a single document from such a collection, and
+ distribute it individually under this License, provided you insert
+ a copy of this License into the extracted document, and follow
+ this License in all other respects regarding verbatim copying of
+ that document.
+
+ 7. AGGREGATION WITH INDEPENDENT WORKS
+
+ A compilation of the Document or its derivatives with other
+ separate and independent documents or works, in or on a volume of
+ a storage or distribution medium, is called an "aggregate" if the
+ copyright resulting from the compilation is not used to limit the
+ legal rights of the compilation's users beyond what the individual
+ works permit. When the Document is included an aggregate, this
+ License does not apply to the other works in the aggregate which
+ are not themselves derivative works of the Document.
+
+ If the Cover Text requirement of section 3 is applicable to these
+ copies of the Document, then if the Document is less than one half
+ of the entire aggregate, the Document's Cover Texts may be placed
+ on covers that bracket the Document within the aggregate, or the
+ electronic equivalent of covers if the Document is in electronic
+ form. Otherwise they must appear on printed covers that bracket
+ the whole aggregate.
+
+ 8. TRANSLATION
+
+ Translation is considered a kind of modification, so you may
+ distribute translations of the Document under the terms of section
+ 4. Replacing Invariant Sections with translations requires special
+ permission from their copyright holders, but you may include
+ translations of some or all Invariant Sections in addition to the
+ original versions of these Invariant Sections. You may include a
+ translation of this License, and all the license notices in the
+ Document, and any Warrany Disclaimers, provided that you also
+ include the original English version of this License and the
+ original versions of those notices and disclaimers. In case of a
+ disagreement between the translation and the original version of
+ this License or a notice or disclaimer, the original version will
+ prevail.
+
+ If a section in the Document is Entitled "Acknowledgements",
+ "Dedications", or "History", the requirement (section 4) to
+ Preserve its Title (section 1) will typically require changing the
+ actual title.
+
+ 9. TERMINATION
+
+ You may not copy, modify, sublicense, or distribute the Document
+ except as expressly provided for under this License. Any other
+ attempt to copy, modify, sublicense or distribute the Document is
+ void, and will automatically terminate your rights under this
+ License. However, parties who have received copies, or rights,
+ from you under this License will not have their licenses
+ terminated so long as such parties remain in full compliance.
+
+ 10. FUTURE REVISIONS OF THIS LICENSE
+
+ The Free Software Foundation may publish new, revised versions of
+ the GNU Free Documentation License from time to time. Such new
+ versions will be similar in spirit to the present version, but may
+ differ in detail to address new problems or concerns. See
+ `http://www.gnu.org/copyleft/'.
+
+ Each version of the License is given a distinguishing version
+ number. If the Document specifies that a particular numbered
+ version of this License "or any later version" applies to it, you
+ have the option of following the terms and conditions either of
+ that specified version or of any later version that has been
+ published (not as a draft) by the Free Software Foundation. If
+ the Document does not specify a version number of this License,
+ you may choose any version ever published (not as a draft) by the
+ Free Software Foundation.
+
+ADDENDUM: How to use this License for your documents
+====================================================
+
+ To use this License in a document you have written, include a copy of
+the License in the document and put the following copyright and license
+notices just after the title page:
+
+ Copyright (C) YEAR YOUR NAME.
+ Permission is granted to copy, distribute and/or modify this document
+ under the terms of the GNU Free Documentation License, Version 1.2
+ or any later version published by the Free Software Foundation;
+ with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts.
+ A copy of the license is included in the section entitled ``GNU
+ Free Documentation License''.
+
+ If you have Invariant Sections, Front-Cover Texts and Back-Cover
+Texts, replace the "with...Texts." line with this:
+
+ with the Invariant Sections being LIST THEIR TITLES, with
+ the Front-Cover Texts being LIST, and with the Back-Cover Texts
+ being LIST.
+
+ If you have Invariant Sections without Cover Texts, or some other
+combination of the three, merge those two alternatives to suit the
+situation.
+
+ If your document contains nontrivial examples of program code, we
+recommend releasing these examples in parallel under your choice of
+free software license, such as the GNU General Public License, to
+permit their use in free software.
--- gcc-4.2-4.2-20070528.orig/debian/FAQ.gcj
+++ gcc-4.2-4.2-20070528/debian/FAQ.gcj
@@ -0,0 +1,494 @@
+The GCJ FAQ
+===========
+
+ The latest version of this document is always available at
+ http://gcc.gnu.org/java/faq.html.
+
+ General Questions
+
+ What license is used for libgcj?
+ How can I report a bug in libgcj?
+ How can I contribute to libgcj
+ Is libgcj part of GCC?
+ Will gcj and libgcj work on my machine?
+ How can I debug my Java program?
+ Can I interface byte-compiled and native java code?
+
+
+ Java Feature Support
+
+ What Java API's are supported? How complete is
+ the support?
+ Does GCJ support using straight C native methods
+ ala JNI?
+ Why does GCJ use CNI?
+ What is the state of AWT support?
+ How about support for Swing ?
+ What support is there for RMI ?
+ Can I use any code from other OpenSource projects
+ to supplement libgcj's current features ?
+ What features of the Java language are/arn't supported
+
+
+ Build Issues
+
+ I need something more recent than the last release; how
+ should I build it?
+ Linker bug on Solaris
+ Can I configure/build in the source tree?
+ My libgcj build fails with "invalid use of undefined type
+ struct sigcontext_struct"
+
+
+ Gcj Compile/Link Questions
+
+ Why do I get undefined reference to `main' errors?
+ Can GCJ only handle source code?
+ "gcj -C" Doesn't seem to work like javac/jikes. Whats going on?
+ Where does GCJ look for files?
+ How does gcj resolve wether to compile .class or .java files?
+ I'm getting link errors!
+ I'm getting 'undefined symbol: __dso_handle'
+
+
+ Runtime Questions
+
+ My program is dumping core! What's going on?
+ When I run the debugger I get a SEGV in the GC! What's going on?
+ I have just compiled and benchmarked my Java application
+ and it seems to be running slower than than XXX JIT JVM. Is there
+ anything I can do to make it go faster?
+ Can I profile Garbage Collection?
+ How do I increase the runtime's initial and maximum heap sizes?
+ How can I profile my application?
+ My program seems to hang and doesn't produce any output
+
+
+ Programming Issues
+
+ Are there any examples of how to use CNI?
+ Is it possible to invoke GCJ compiled Java code from a
+ C++ application?
+
+General Questions
+=================
+
+ 1.1 What license is used for libgcj?
+
+ libgcj is distributed under the GPL, with the 'libgcc exception'.
+ This means that linking with libgcj does not by itself cause
+ your program to fall under the GPL. See LIBGCJ_LICENSE in
+ the source tree for more details.
+
+ 1.2 How can I report a bug in libgcj?
+
+ libgcj has a corresponding Gnats bug database which you can
+ browse. You can also submit new bug reports from the Gnats
+ page.
+
+ 1.3 How can I contribute to libgcj?
+
+ You can send simple bug fixes in as patches. Please follow
+ the GCC guidelines for submitting patches. For more complex
+ changes, you must sign copyright over to the Free Software
+ Foundation. See the contribution page for details.
+
+ 1.4 Is libgcj part of GCC?
+
+ Yes, libgcj is now part of GCC. It can be downloaded,
+ configured and built as one single tree.
+
+ 1.5 Will gcj and libgcj work on my machine?
+
+ Gcj and libgcj are known to work more or less with IA-32 and
+ Sparc Solaris, Tru64 Unix, as well as IA-32, IA-64, Alpha,
+ and PowerPC Linux. They might work on other
+ systems. Generally speaking, porting to a new system should
+ not be hard. This would be a good way to volunteer.
+
+ 1.6 How can I debug my Java program?
+
+ gdb 5.0 includes support for debugging gcj-compiled Java
+ programs. For more information please read Java Debugging
+ with gdb.
+
+ 1.7 Can I interface byte-compiled and native java code
+
+ libgcj has a bytecode interpreter that allows you to mix
+ .class files with compiled code. It works pretty
+ transparently: if a compiled version of a class is not found
+ in the application binary or linked shared libraries, the
+ class loader will search for a bytecode version in your
+ classpath, much like a VM would. Be sure to build libgcj
+ with the --enable-interpreter option to enable this
+ functionality.
+
+ The program "gij" provides a front end to the interpreter
+ that behaves much like a traditional virtual machine. You
+ can even use "gij" to run a shared library which is compiled
+ from java code and contains a main method:
+
+ $ gcj -shared -o lib-HelloWorld.so HelloWorld.java
+ $ gij HelloWorld
+
+ This works because gij uses Class.forName, which knows how
+ to load shared objects.
+
+Java Feature Support
+====================
+
+ 2.1 What Java API's are supported? How complete is
+ the support?
+
+ Matt Welsh writes:
+
+ Just look in the 'libjava' directory of libgcj and see
+ what classes are there. Most GUI stuff isn't there yet,
+ that's true, but many of the other classes are easy to add
+ if they don't yet exist.
+
+ I think it's important to stress that there is a big
+ difference between Java and the many libraries which Java
+ supports. Unfortunately, Sun's promise of "write once, run
+ everywhere" assumes much more than a JVM: you also need
+ the full set of JDK libraries. Considering that new Java
+ APIs come out every week, it's going to be impossible to
+ track everything.
+
+ To make things worse, you can't simply run Sun's JDK
+ classes on any old JVM -- they assume that a bunch of
+ native methods are also defined. Since this native method
+ requirement isn't defined by the JDK specs, you're
+ effectively constrained to using Sun's JVMs if you want to
+ use Sun's JDK libraries. Oh yes -- you could also
+ reimplement all of those native methods yourself, and make
+ sure they behave exactly as Sun's do. Note that they're
+ undocumented!
+
+ 2.2 Does GCJ support using straight C native methods
+ ala JNI?
+
+ Yes. libgcj now has experimental support for JNI, in
+ addition to its native Compiled Native Interface (CNI). gcjh
+ will generate JNI stubs and headers using the "-jni"
+ option. However, we do prefer CNI: it is more efficient,
+ easier to write, and (at least potentially) easier to debug.
+
+ 2.3 Why does GCJ use CNI?
+
+ Per Bothner explains:
+
+ We use CNI because we think it is a better solution,
+ especially for a Java implementation that is based on the
+ idea that Java is just another programming language that
+ can be implemented using standard compilation
+ techniques. Given that, and the idea that languages
+ implemented using Gcc should be compatible where it makes
+ sense, it follows that the Java calling convention should
+ be as similar as practical to that used for other
+ languages, especially C++, since we can think of Java as a
+ subset of C++. CNI is just a set of helper functions and
+ conventions built on the idea that C++ and Java have the
+ *same* calling convention and object layout; they are
+ binary compatible. (This is a simplification, but close
+ enough.)
+
+ 2.4 What is the state of AWT support?
+
+ Work is in progress to implement AWT and Java2D. We intend
+ to support both GTK and xlib peers written using CNI. Some
+ components are already working atop the xlib peers.
+
+ 2.5 How about support for Swing?
+
+ Once AWT support is working then Swing support can be
+ considered. There is at least one free-software partial
+ implementations of Swing that may be usable.
+
+ 2.6 What support is there for RMI?
+
+ RMI code exists on the CVS trunk (aka gcc 3.1), but it has
+ not been heavily tested. This code was donated by
+ Transvirtual Technologies.
+
+ 2.7 Can I use any code from other OpenSource
+ projects to supplement libgcj's current features?
+
+ Certainly. However, in many cases, if you wanted to
+ contribute the code back into the official libgcj
+ distribution, we would require that the original author(s)
+ assign copyright to the Free Software Foundation. As of
+ March 6, 2000, libgcj has been relicenced, and copyright
+ has been assigned to the FSF. This allows us to share and
+ merge much of the libgcj codebase with the Classpath
+ project. Our eventual goal is for Classpath to be an
+ upstream source provider for libgcj, however it will be
+ some time before this becomes reality: libgcj and Classpath
+ have different implementations of many core java
+ classes. In order to merge them, we need to select the best
+ (most efficient, cleanest) implementation of each
+ method/class/package, resolve any conflicts created by the
+ merge, and test the final result. Needless to say, this is
+ a lot of work. If you can help out, please let us know!
+
+ 2.8 What features of the Java language are/aren't supported.
+
+ GCJ supports all Java language constructs as per the Java
+ language Specification. Recent GCJ snapshots have added
+ support for most JDK1.1 (and beyond) language features,
+ including inner classes.
+
+Build Issues
+============
+
+ 3.1 I need something more recent than the last release.
+ How should I build it?
+
+ Please read here: http://gcc.gnu.org/java/build-snapshot.html
+
+ 3.2 Linker bug on Solaris
+
+ There is a known problem with the native Solaris linker when
+ using gcc/gcj. A good indication you've run into this
+ problem is if you get an error that looks like the following
+ when building libgcj:
+
+ld: warning: option -o appears more than once, first setting taken
+ld: fatal: file libfoo.so: cannot open file: No such file or directory
+ld: fatal: File processing errors. No output written to .libs/libfoo.so
+collect2: ld returned 1 exit status
+
+ A known workaround for this and other reported link problems
+ on the various releases of Solaris is to build gcc/gcj with
+ the latest GNU binutils instead of the native Solaris
+ ld. The most straightforward way to do this is to build and
+ install binutils, and then reference it in the configure for
+ gcc via --with-ld=/path_to_binutils_install/bin/ld
+ (--with-as may also be similarly specified but is not
+ believed to be required).
+
+ Please note, gcc/gcj must be built using GNU ld prior to
+ doing a clean build of libgcj!
+
+ 3.3 Can I configure/build in the source tree?
+
+ No. You cannot configure/build in the source tree. If you
+ try, you'll see something like:
+
+ $ ./configure [...]
+ Configuring for a i686-pc-linux-gnu host.
+ *** Cannot currently configure in source tree.
+
+ Instead, you must build in another directory. E.g.:
+
+ $ mkdir build
+ $ cd build
+ $ ../configure [...]
+
+ 3.4 My libgcj build fails with "invalid use of undefined type
+ struct sigcontext_struct"
+
+ If you're using Linux, this probably means you need to
+ upgrade to a newwer, glibc (libc6) based Linux
+ distribution. libgcj does not support the older linux libc5.
+ It might be possible to get a working libgcj by changing
+ occurances of "sigcontext_struct" to "sigcontext", however
+ this has not been tested. Even if it works, it is likely
+ that there are other issues with older libc versions that
+ would prevent libgcj from working correctly (threads bugs,
+ for example).
+
+Gcj Compile/Link Questions
+==========================
+
+ 4.1 Why do I get undefined reference to `main' errors?
+
+ When using gcj to link a Java program, you must use the --main=
+ option to indicate the class that has the desired main method.
+ This is because every Java class can have a main method, thus
+ you have to tell gcj which one to use.
+
+ 4.2 Can GCJ only handle source code?
+
+ GCJ will compile both source (.java) and bytecode (.class)
+ files. However, in many cases the native code produced by
+ compiling from source is better optimized than that compiled
+ from .class files.
+
+ Per Bothner explains:
+
+ The reason is that when you compile to bytecode you lose a
+ lot of information about program structure etc. That
+ information helps in generating better code. We can in
+ theory recover the information we need by analysing the
+ structure of the bytecodes, but it is sometimes difficult
+ - or sometimes it just that no-one has gotten around to
+ it. Specific examples include loop structure (gcc
+ generates better code with explicit loops rather than with
+ the equivalent spaghetti code), array initializers, and
+ the JDK 1.1 `CLASS.class' syntax, all of which are
+ represented using more low-level constructs in bytecode.
+
+ 4.3 "gcj -C" Doesn't seem to work like javac/jikes. Whats going on?
+
+ The behavior of "gcj -C" is not at all like javac or jikes,
+ which will compile (not just scan) all .java's which are out
+ of date with regard to their .class's.
+
+ 4.4 Where does GCJ look for files?
+
+ GCJ looks for classes to compile based on the CLASSPATH
+ environment variable. libgcj.jar and other files are found
+ relative to the path of the compiler itself, so it is safe
+ to move the entire compiler tree to a different path, and
+ there is no need to include libgcj.jar in your CLASSPATH.
+
+ 4.5 How does gcj resolve whether to compile .class or .java files?
+
+ GCJ compiles only the files presented to it on the command
+ line. However, it also needs to scan other files in order to
+ determine the layout of other classes and check for errors
+ in your code. For these dependencies, GCJ will favour
+ .class files if they are available because it is faster to
+ parse a class file than source code.
+
+ 4.6 I'm getting link errors
+
+ If you get errors at link time that refer to 'undefined
+ reference to `java::lang::Object type_info function', verify
+ that you have compiled any CNI C++ files with the -fno-rtti
+ option. This is only required for versions of GCJ earlier
+ than 3.0.
+
+ 4.7 I'm getting 'undefined symbol: __dso_handle'
+
+ Some versions of the GNU linker have broken support for the
+ '.hidden' directive, which results in problems with shared
+ libraries built with recent versions of gcc.
+
+ There are three solutions:
+
+ - downgrade to binutils that don't support .hidden at all,
+ - upgrade to a recent binutils, or
+ - undef the HAVE_GAS_HIDDEN definition in gcc's auto-host.h
+ (and rebuild gcc).
+
+Runtime Questions
+=================
+
+ 5.1 My program is dumping core! What's going on?
+
+ It could be any number of things. One common mistake is
+ having your CLASSPATH environment variable pointing at a
+ third party's java.lang and friends. Either unset CLASSPATH,
+ or make sure it does not refer to core libraries other than
+ those found in libgcj.jar.Note that newwer versions of GCJ
+ will reject the core class library if it wasn't generated by
+ GCJ itself.
+
+ 5.2 When I run the debugger I get a SEGV in the GC! What's going on?
+
+ This is "normal"; the Garbage Collector (GC) uses it to
+ determine stack boundaries. It is ordinarily caught and
+ handled by the GC -- you can see this in the debugger by
+ using cont to continue to the "real" segv.
+
+ 5.3 I have just compiled and benchmarked my Java application
+ and it seems to be running slower than than XXX JIT JVM. Is there
+ anything I can do to make it go faster?
+
+ A few things:
+
+ - If your programs allocate many small, short lived objects,
+ the heap could be filling and triggering GC too
+ regularly. Try increasing the initial and maximum heap sizes
+ as per 5.5 How do I increase the runtime's initial and
+ maximum heap size?
+ - RE - array accesses. We have sub-optimal runtime checking
+ code, and the compiler is still not so smart about
+ automatically removing array checks. If your code is ready,
+ and it doesn't rely on them, try compiling with
+ --no-bounds-check.
+ - Try static linking. On many platforms, dynamic (PIC)
+ function calls are more expensive than static ones. In
+ particular, the interaction with boehm-gc seems to incur
+ extra overhead when shared libraries are used.
+ - If your Java application doesn't need threads, try
+ building libgcj using --enable-threads=none. Portions of the
+ libgcj runtime are still more efficient when
+ single-threaded.
+
+ 5.4 Can I profile Garbage Collection?
+
+ It is possible to turn on verbose GC output by supressing
+ the -DSILENT flag during build. One way to do this is to
+ comment out the line with #define SILENT 1 from
+ boehm-gc/configure before configuring libgcj. The GC will
+ print collection statistics to stdout. (Rebuilding boehm-gc
+ alone without this flag doesn't seem to work.)
+
+ 5.5 How do I increase the runtime's initial and maximum heap sizes?
+
+ Some programs that allocate many small, short-lived objects
+ can cause the default-sized heap to fill quickly and GC
+ often. With the 2.95.1 release there is no means to adjust
+ the heap at runtime. Recent snapshots provide the -ms and
+ -mx arguments to gij to specify the initial and maximum heap
+ sizes, respectively.
+
+ 5.6 How can I profile my application?
+
+ Currently, only single threaded Java code may be used by the
+ profiler (gprof). POSIX threads seem to be incompatible with
+ the gmon stuff. A couple of other tools that have been
+ mentioned on the GCJ mailing list are sprof and cprof. The
+ former is part of GNU libc.
+
+ 5.7 My program seems to hang and doesn't produce any output
+
+ Some versions had a bug in the iconv support. You can work
+ around it by setting LANG=en_US.UTF-8 at runtime, or give
+ the following option during compile time
+ -Dfile.encoding=UTF-8. This problem should no longer occur
+ as of November 1, 2000.
+
+Programming Issues
+==================
+
+ 6.1 Are there any examples of how to use CNI?
+
+ Glenn Chambers has created a couple of trivial examples for
+ version 2.95 and version 3.0. As a comparison, here is the
+ same example as a JNI application using Kaffe. The same
+ code will work with GCJ, as shown here.
+
+ Note that for version 2.95, you must compile the C++ files
+ used for CNI with the -fno-rtti option. This constraint
+ does not apply in version 3.0 and later.
+
+ The primary source of documentation for CNI is at
+ http://gcc.gnu.org/java/papers/cni/t1.html
+
+ 6.2 Is it possible to invoke GCJ compiled Java code from a
+ C++ application?
+
+ Yes, GCJ 3.1 supports a CNI-based invocation interface as
+ well as the traditional JNI invocation API. See the GCJ
+ Manual for more details on how to use the CNI interface.
+
+Please send FSF & GNU inquiries & questions tognu@gnu.org.There are
+also other waysto contact the FSF.
+
+These pages are maintained by The GCC team.
+
+Please send comments on these web pages and GCC to our publicmailing
+list at gcc@gnu.org orgcc@gcc.gnu.org, send other questions to
+gnu@gnu.org.
+
+Copyright (C) Free Software Foundation, Inc.,
+59 Temple Place - Suite 330, Boston, MA 02111, USA.
+
+Verbatim copying and distribution of this entire article is permitted
+in any medium, provided this notice is preserved.
+
+Last modified 2003-04-30
--- gcc-4.2-4.2-20070528.orig/debian/runcheck.sh
+++ gcc-4.2-4.2-20070528/debian/runcheck.sh
@@ -0,0 +1,18 @@
+#! /bin/sh
+
+mkdir -p build
+
+cat >build/runcheck.c <
+int main()
+{
+ return printf("yes\n") != 4;
+}
+EOF
+
+if m=$(${CC:-gcc} -o build/runcheck build/runcheck.c 2>&1); then
+ m=$(build/runcheck 2>&1)
+ echo ${m#* }
+else
+ echo ${m##*:}
+fi
--- gcc-4.2-4.2-20070528.orig/debian/lib32gcjGCJ-dev.overrides
+++ gcc-4.2-4.2-20070528/debian/lib32gcjGCJ-dev.overrides
@@ -0,0 +1 @@
+lib32gcj@GCJ@-dev: library-not-linked-against-libc
--- gcc-4.2-4.2-20070528.orig/debian/fastjar.prerm
+++ gcc-4.2-4.2-20070528/debian/fastjar.prerm
@@ -0,0 +1,16 @@
+#! /bin/sh -e
+
+if [ -f /usr/share/info/fastjar.info.gz ]; then
+ install-info --quiet --remove fastjar
+else
+ # GFDL invariant free
+ true
+fi
+
+if [ "$1" != "upgrade" ]; then
+ update-alternatives --quiet --remove jar /usr/bin/fastjar
+fi
+
+#DEBHELPER#
+
+exit 0
--- gcc-4.2-4.2-20070528.orig/debian/NEWS.html
+++ gcc-4.2-4.2-20070528/debian/NEWS.html
@@ -0,0 +1,494 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+GCC 4.2 Release Series — Changes, New Features, and Fixes
+- GNU Project - Free Software Foundation (FSF)
+
+
+
+
+
+
+
+
+
+
+GCC 4.2 Release Series Changes, New Features, and Fixes
+
+
+
Caveats
+
+
+
GCC no longer accepts the -fshared-data option.
+ This option has had no effect in any GCC 4 release; the targets
+ to which the option used to apply had been removed before GCC 4.0.
+
+
+
General Optimizer Improvements
+
+
+
New command-line options specify the possible relationships among
+ parameters and between parameters and global data. For example,
+ -fargument-noalias-anything specifies that arguments
+ do not alias any other storage.
+
+
Each language will automatically use whatever option is required
+ by the language standard. You should not need to use these options
+ yourself.
+
+
+
New Languages and Language specific improvements
+
+
+
OpenMP is now
+ supported for the C, C++ and Fortran compilers.
+
+
New command line options -fstrict-overflow and
+ -Wstrict-overflow have been added.
+ -fstrict-overflow tells the compiler that it may
+ assume that the program follows the strict signed overflow
+ semantics permitted for the language: for C and C++ this means
+ that the compiler may assume that signed overflow does not occur.
+ For example, a loop like
+
+ for (i = 1; i > 0; i *= 2)
+
+ is presumably intended to continue looping until i
+ overflows. With -fstrict-overflow, the compiler may
+ assume that signed overflow will not occur, and transform this
+ into an infinite loop. -fstrict-overflow is turned
+ on by default at -O2, and may be disabled via
+ -fno-strict-overflow. The
+ -Wstrict-overflow option may be used to warn about
+ cases where the compiler assumes that signed overflow will not
+ occur. It takes five different levels:
+ -Wstrict-overflow=1 to 5. See the
+
+ documentation for details. -Wstrict-overflow=1
+ is enabled by -Wall.
+
+
The new command line option -fno-toplevel-reorder
+ directs GCC to emit top-level functions, variables, and
+ asm statements in the same order that they appear in
+ the input file. This is intended to support existing code which
+ relies on a particular ordering (for example, code which uses
+ top-level asm statements to switch sections). For
+ new code, it is generally better to use function and variable
+ attributes. The -fno-toplevel-reorder option may be
+ used for most cases which currently use
+ -fno-unit-at-a-time. The
+ -fno-unit-at-a-time option will be removed in some
+ future version of GCC. If you know of a case which requires
+ -fno-unit-at-a-time which is not fixed by
+ -fno-toplevel-reorder, please open a bug report.
+
+
+
+
C family
+
+
+
The pragma redefine_extname will now
+ macro expand its tokens for compatibility with
+ SunPRO.
+
+
In the next release of GCC, 4.3, -std=c99 or
+ -std=gnu99 will direct GCC to handle inline
+ functions as specified in the C99 standard. In preparation
+ for this, GCC 4.2 will warn about any use of non-static inline
+ functions in gnu99 or c99 mode. This new warning may be
+ disabled with the new gnu_inline function
+ attribute or the new -fgnu89-inline command line
+ option. Also, GCC 4.2 and later will define one of the
+ preprocessor macros __GNUC_GNU_INLINE__ or
+ __GNUC_STDC_INLINE__ to indicate the semantics of
+ inline functions in the current compilation.
+
+
A new command line option -Waddress has been
+ added to warn about suspicious uses of memory addresses as,
+ for example, using the address of a function in a conditional
+ expression, and comparisons against the memory address of a
+ string literal. This warning is enabled by
+ -Wall.
+
+
+
+
C++
+
+
+
+
C++ visibility handling has been overhauled.
+
+
Restricted visiblity is propagated from classes to members, from
+ functions to local statics, and from templates and template arguments
+ to instantiations, unless the latter has explicitly declared visibility.
+
+
+
The visibility attribute for a class must come between the class-key
+ and the name, not after the closing brace.
+
+
Attributes are now allowed for enums and elaborated-type-specifiers
+ that only declare a type.
+
+
Members of the anonymous namespace are now local to a particular
+ translation unit, along with any other declarations which use them,
+ though they are still treated as having external linkage for language
+ semantics.
+
+
+
+ The (undocumented) extension which permitted templates with
+ default arguments to be bound to template template parameters with
+ fewer parameters has been removed. For example:
+
+
+ template <template <typename> class C>
+ void f(C<double>) {}
+
+ template <typename T, typename U = int>
+ struct S {};
+
+ template void f(S<double>);
+
+
+ is no longer accepted by G++. The reason this code is not
+ accepted is that S is a template with two parameters;
+ therefore, it cannot be bound to C which has only
+ one parameter.
+
+
+
+ The <?, >?, <?=,
+ and >?= operators,
+ deprecated in previous GCC releases, have been removed.
+
+
+
+ The command line option -fconst-strings, deprecated in
+ previous GCC releases, has been removed.
+
+
+
+ The configure variable enable-__cxa_atexit is now enabled by
+ default for more targets. Enabling this variable is necessary in order for
+ static destructors to be executed in the correct order, but it depends upon
+ the presence of a non-standard C library in the target library in order to
+ work. The variable is now enabled for more targets which are known to have
+ suitable C libraries.
+
+
+ -Wextra will produce warnings for if statements
+ with a semicolon as the only body, to catch code like:
+
+
+ if (a);
+ return 1;
+ return 0;
+
+
+ To suppress the warning in valid cases, use { } instead.
+
+
+ The C++ frontend now also produces strict aliasing warnings when
+ -fstrict-aliasing -Wstrict-aliasing is in effect.
+
+
+
+
Runtime Library (libstdc++)
+
+
Added support for TR1 <random>, <complex>, and C
+ compatibility headers. In addition, a lock-free version of
+ shared_ptr was contributed as part of Phillip
+ Jordan's Google Summer of Code project on lock-free
+ containers. The implementation status for TR1 can be tracked in tr1.html
+
+
In association with the Summer of Code work on lock-free
+ containers, the interface for atomic builtins was adjusted,
+ creating simpler alternatives for non-threaded code paths. Also,
+ usage was consolidated and all elements were moved from
+ namespace std to
+ namespace__gnu_cxx. Affected interfaces are the
+ functions __exchange_and_add,
+ __atomic_add, and the objects __mutex,
+ __recursive_mutex, and
+ __scoped_lock.
+
Support for versioning weak symbol names via namespace
+ association was added. However, as this changes the names of
+ exported symbols, this is turned off by default in the current
+ ABI. Intrepid users can enable this feature by using
+ --enable-symvers=gnu-versioned-namespace during configuration.
+
+
Revised, simplified, and expanded policy-based associative
+ containers, including data types for tree and trie forms
+ (basic_tree, tree, trie),
+ lists (list_update), and both collision-chaining and
+ probing hash-based containers (basic_hash_table,
+ cc_hash_table, gp_hash_table). More details
+ per the documentation.
+
+
The implementation of the debug mode was modified, whereby the
+ debug namespaces were nested inside of namespace std
+ and namespace __gnu_cxx in order to resolve some long
+ standing corner cases involving name lookup. Debug
+ functionality from the policy-based data structures was
+ consolidated and enabled with the single macro,
+ _GLIBCXX_DEBUG. See PR 26142 for more
+ information.
+
Added extensions for type traits:
+ __conditional_type, __numeric_traits,
+ __add_unsigned, __removed_unsigned,
+ __enable_if.
+
Added a typelist implementation for compile-time
+ meta-programming. Elements for typelist construction and operation can be
+ found within namespace __gnu_cxx::typelist.
+
Added a new allocator, __gnu_cxx::throw_allocator, for
+testing exception-safety.
+
Enabled library-wide visibility control, allowing
+ -fvisibility to be used.
+
Consolidated all nested namespaces and the
+ conversion of __gnu_internal implementation-private
+ details to anonymous namespaces whenever possible.
+
Implemented LWG resolutions DR 431 and DR 538.
+
+
+
Fortran
+
+
Support for allocatable components has been added (TR 15581 and
+ Fortran 2003).
+
Support for the Fortran 2003 streaming IO extension has been
+ added.
+
The GNU Fortran compiler now uses 4-byte record markers by default
+ for unformatted files to be compatible with g77 and most other compilers.
+ The implementation allows for records greater than 2 GB and is compatible
+ with several other compilers. Older versions of gfortran used 8-byte
+ record markers by default (on most systems). In order to change the length
+ of the record markers, e.g. to read unformatted files created by older
+ gfortran versions, the
+ -frecord-marker=8 option can be used.
+
+
+
+
Java (GCJ)
+
+
+
+ A new command line option -static-libgcj has been
+ added for targets that use a linker compatible with GNU Binutils.
+ As its name implies, this causes libgcj to be linked statically.
+ In some cases this causes the resulting executable to start
+ faster and use less memory than if the shared version of libgcj
+ were used. However caution should be used as it can also cause
+ essential parts of the library to be omitted. Some of these issues are
+ discussed in:
+
+ http://gcc.gnu.org/wiki/Statically%20linking%20libgcj
+
+
+
+
fastjar is no longer bundled with GCC. To build
+ libgcj, you will need either InfoZIP (both zip
+ and unzip) or an external jar program.
+ In the former case, the GCC build will install a jar
+ shell script that is based on InfoZIP and provides the same
+ functionality as fastjar.
+
+
+
+
New Targets and Target Specific Improvements
+
+
IA-32/x86-64
+
+
-mtune=generic can now be used to generate code running
+ well on common x86 chips. This includes AMD Athlon,
+ AMD Opteron, Intel Pentium-M, Intel Pentium 4 and Intel Core 2.
+
-mtune=native and -march=native will produce
+ code optimized for the host architecture as detected using the
+ cpuid instruction.
+
Added a new command line option -fstackrealign and
+ and __attribute__ ((force_align_arg_pointer))
+ to realign the stack at runtime. This allows functions compiled
+ with a vector-aligned stack to be invoked from legacy objects
+ that keep only word-alignment.
+
+
+
SPARC
+
+
The default CPU setting has been changed from V7 to V9 in 32-bit
+ mode on Solaris 7 and above. This is already the case in 64-bit
+ mode. It can be overridden by specifying --with-cpu
+ at configure time.
+
Back-end support of built-in functions for atomic memory access
+ has been implemented.
+
Support for the Sun UltraSPARC T1 (Niagara) processor has been
+ added.
+
+
+
M32C
+
+
Various bug fixes have made some functions (notably, functions
+ returning structures) incompatible with previous releases.
+ Recompiling all libraries is recommended. Note that code
+ quality has considerably improved since 4.1, making a
+ recompile even more beneficial.
+
+
+
MIPS
+
+
Added support for the Broadcom SB-1A core.
+
+
+
IA-64
+
+
Added support for IA-64 data and control speculation. By default
+ speculation is enabled only during second scheduler pass. A number of
+ machine flags was introduced to control the usage of speculation for both
+ scheduler passes.
+
+
+
HPPA
+
+
Added Java language support (libffi and libjava) for 32-bit
+ HP-UX 11 target.
A make pdf target has been added to the
+ top-level makefile, enabling automated production of PDF
+ documentation files. (Front-ends external to GCC should modify
+ their Make-lang.in file to add a lang.pdf:
+ target.)
+
+
+
Other significant improvements
+
+
Build system improvements
+
+
All the components of the compiler are now bootstrapped by
+ default. This improves the resilience to bugs in the system
+ compiler or binary compatibility problems, as well as providing
+ better testing of GCC 4.2 itself. In addition, if you build
+ the compiler from a combined tree, the assembler, linker, etc.
+ will also be bootstrapped (i.e. built with themselves).
+
+
You can disable this behavior, and go back to
+ the pre-GCC 4.2 set up, by configuring GCC with
+ --disable-bootstrap.
+
+
The rules that configure follows to find target tools
+ resemble more closely the locations that the built compiler
+ will search. In addition, you can use the new configure option
+ --with-target-tools to specify where to find the
+ target tools used during the build, without affecting what the
+ built compiler will use.
+
+
This can be especially useful when building packages of
+ GCC. For example, you may want to build GCC with
+ GNU as or ld, even if the resulting compiler
+ to work with the native assembler and linker. To do so, you
+ can use --with-target-tools to point to the native
+ tools.
+
+
+
Incompatible changes to the build system
+
+
Front-ends external to GCC should modify their
+ Make-lang.in file to replace double-colon rules (e.g.
+ dvi::) with normal rules (like lang.dvi:).
+ Front-end makefile hooks do not use double-colon rules anymore.
+
+
Up to GCC 4.1, a popular way to specify the target tools used
+ during the build was to create directories named gas,
+ binutils, etc. in the build tree, and create
+ links to the tools from there. This does not work any more
+ when the compiler is bootstrapped. The new configure option
+ --with-target-tools provides a better way to achieve
+ the same effect, and works for all native and cross settings.
+
+For questions related to the use of GCC, please consult these web
+pages and the GCC manuals. If
+that fails, the gcc-help@gcc.gnu.org
+mailing list might help.
+Please send comments on these web pages and the development of GCC to our
+developer mailing list at gcc@gnu.org
+or gcc@gcc.gnu.org. All of our lists
+have public archives.
+
+
+
Copyright (C) Free Software Foundation, Inc.,
+51 Franklin St, Fifth Floor, Boston, MA 02110, USA.
+
Verbatim copying and distribution of this entire article is
+permitted in any medium, provided this notice is preserved.
+
+
+
+
+
+
+
--- gcc-4.2-4.2-20070528.orig/debian/gcj-BV.doc-base
+++ gcc-4.2-4.2-20070528/debian/gcj-BV.doc-base
@@ -0,0 +1,15 @@
+Document: gcj-@BV@
+Title: The GNU Ahead-of-time Compiler for the Java Language
+Author: Various
+Abstract: This manual describes how to use gcj, the GNU compiler for
+ the Java programming language. gcj can generate both .class files and
+ object files, and it can read both Java source code and .class files.
+Section: Apps/Programming
+
+Format: html
+Index: /usr/share/doc/gcc-@BV@-base/java/gcj.html
+Files: /usr/share/doc/gcc-@BV@-base/java/gcj.html
+
+Format: info
+Index: /usr/share/info/gcj-@BV@.info.gz
+Files: /usr/share/info/gcj-@BV@*
--- gcc-4.2-4.2-20070528.orig/debian/libstdc++CXX.postinst
+++ gcc-4.2-4.2-20070528/debian/libstdc++CXX.postinst
@@ -0,0 +1,12 @@
+#! /bin/sh -e
+
+case "$1" in
+ configure)
+ docdir=/usr/share/doc/libstdc++@CXX@
+ if [ -d $docdir ] && [ ! -h $docdir ]; then
+ rm -rf $docdir
+ ln -s gcc-@BV@-base $docdir
+ fi
+esac
+
+#DEBHELPER#
--- gcc-4.2-4.2-20070528.orig/debian/acats-killer.sh
+++ gcc-4.2-4.2-20070528/debian/acats-killer.sh
@@ -0,0 +1,62 @@
+#! /bin/sh
+
+# on ia64 systems, the acats hangs in unaligned memory accesses.
+# kill these testcases.
+
+pidfile=acats-killer.pid
+
+usage()
+{
+ echo >&2 "usage: `basename $0` [-p ] "
+ exit 1
+}
+
+while [ $# -gt 0 ]; do
+ case $1 in
+ -p)
+ pidfile=$2
+ shift
+ shift
+ ;;
+ -*)
+ usage
+ ;;
+ *)
+ break
+ esac
+done
+
+[ $# -eq 2 ] || usage
+
+logfile=$1
+stopfile=$2
+interval=30
+
+echo $$ > $pidfile
+
+while true; do
+ if [ -f "$stopfile" ]; then
+ echo "`basename $0`: finished."
+ rm -f $pidfile
+ exit 0
+ fi
+ sleep $interval
+ if [ ! -f "$logfile" ]; then
+ continue
+ fi
+ pids=$(ps aux | awk '/testsuite\/ada\/acats\/tests/ { print $2 }')
+ if [ -n "$pids" ]; then
+ sleep $interval
+ pids2=$(ps aux | awk '/testsuite\/ada\/acats\/tests/ { print $2 }')
+ if [ "$pids" = "$pids2" ]; then
+ #echo kill: $pids
+ kill $pids
+ sleep 1
+ pids2=$(ps aux | awk '/testsuite\/ada\/acats\/tests/ { print $2 }')
+ if [ "$pids" = "$pids2" ]; then
+ #echo kill -9: $pids
+ kill -9 $pids
+ fi
+ fi
+ fi
+done
--- gcc-4.2-4.2-20070528.orig/debian/README.gnat
+++ gcc-4.2-4.2-20070528/debian/README.gnat
@@ -0,0 +1,34 @@
+If you want to develop Ada programs and libraries on Debian, please
+read the Debian Policy for Ada:
+
+http://www.ada-france.org/debian/debian-ada-policy.html
+
+The default Ada compiler is and always will be the package `gnat'.
+Debian contains many programs and libraries compiled with it, which
+are all ABI-compatible.
+
+Currently, in Etch and Sid, the default Ada compiler is gnat 3.15p. A
+transition to gnat-4.1 has started, but is work in progress. If you
+would like to help with this transition, please contact Ludovic Brenta
+.
+
+Here are the steps in the transition:
+
+* link the GNAT tools dynamically against libgnat-4.1.so, not
+ statically. [done: 2006-03-21]
+
+* change the default directory for project files to
+ /usr/share/ada/adainclude, per the Debian Policy for Ada and the GNU
+ Ada Environment Specification.
+
+* port support for symbolic tracebacks from gnat.
+
+* port libgnatvsn and libgnatprj from gnat.
+
+* port ASIS to gnat-4.1.
+
+* port GLADE to gnat-4.1.
+
+When the transition completes, the package `gnat' will become a dummy
+package requiring gnat-4.1, and then all Ada packages will be rebuilt
+with the new compiler (with soname change for libraries).
--- gcc-4.2-4.2-20070528.orig/debian/gnat-BV-doc.prerm
+++ gcc-4.2-4.2-20070528/debian/gnat-BV-doc.prerm
@@ -0,0 +1,7 @@
+#! /bin/sh -e
+
+install-info --quiet --remove gnat_ugn_unw-@BV@
+install-info --quiet --remove gnat_rm-@BV@
+install-info --quiet --remove gnat-style-@BV@
+
+#DEBHELPER#
--- gcc-4.2-4.2-20070528.orig/debian/gcc-BV-doc.postinst
+++ gcc-4.2-4.2-20070528/debian/gcc-BV-doc.postinst
@@ -0,0 +1,12 @@
+#! /bin/sh -e
+
+install-info --quiet --section "Development" "Development" \
+ /usr/share/info/gcc-@BV@.info.gz
+
+install-info --quiet --section "Development" "Development" \
+ /usr/share/info/gccint-@BV@.info.gz
+
+install-info --quiet --section "Development" "Development" \
+ /usr/share/info/libgomp-@BV@.info.gz
+
+#DEBHELPER#
--- gcc-4.2-4.2-20070528.orig/debian/gcj-wrapper-BV.1
+++ gcc-4.2-4.2-20070528/debian/gcj-wrapper-BV.1
@@ -0,0 +1,20 @@
+.TH GCJ-WRAPPER 1 "June 6, 2002" gcj-wrapper "Java User's Manual"
+.SH NAME
+gcj-wrapper \- a wrapper around gcj
+
+.SH SYNOPSIS
+gcj-wrapper [\fB\s-1OPTION\s0\fR] ... [\fI\s-1ARGS\s0\fR...]
+
+.SH DESCRIPTION
+
+\fBgcj-wrapper\fR is a wrapper around gcj(1) to be called as the java
+compiler. Options different for javac(1) and gcj(1) are translated,
+options unknown to gcj(1) are silently ignored.
+
+.SH OPTIONS
+See gcj-@BV@(1) for a list of options that gcj understands.
+
+.SH "SEE ALSO"
+.BR gcj-@BV@(1)
+,
+.BR javac(1)
--- gcc-4.2-4.2-20070528.orig/debian/gpc-PV-BV-doc.postinst
+++ gcc-4.2-4.2-20070528/debian/gpc-PV-BV-doc.postinst
@@ -0,0 +1,12 @@
+#! /bin/sh -e
+
+if [ -f /usr/share/info/gpc-@PV@-@BV@.info.gz ]; then
+ install-info --quiet --section "Development" "Development" \
+ --description="The GNU Pascal compiler." \
+ /usr/share/info/gpc-@PV@-@BV@.info
+else
+ # GFDL invariant free
+ true
+fi
+
+#DEBHELPER#
--- gcc-4.2-4.2-20070528.orig/debian/README.cross
+++ gcc-4.2-4.2-20070528/debian/README.cross
@@ -0,0 +1,149 @@
+Building cross-compiler Debian packages
+---------------------------------------
+
+It is possible to build C and C++ cross compilers and support libraries
+from gcc-4.0 source package. This document describes how to do so.
+Cross-compiler build support is not perfect yet, please send fixes
+and improvements to debian-gcc@lists.debian.org and
+debian-embedded@lists.debian.org
+
+Before you start, you should probably check available pre-built
+cross-toolchain debs. Available at http://www.emdebian.org
+
+Old patches could be reached at
+ http://zigzag.lvk.cs.msu.su/~nikita/debian/
+
+If they are no longer there, you may check EmDebian web site at
+ http://www.emdebian.org/
+or ask debian-embedded@lists.debian.org for newer location.
+
+Please check http://bugs.debian.org/391445 if you are about building
+gcc-4.2 or above.
+
+Most of them has been merged with gcc debian sources.
+
+0. What's wrong with toolchain-source approach
+
+Package toolchain-source contains sources for binutils and gcc, as well as
+some support scripts to build cross-compiler packages. They seem to work.
+
+However, there is one fundamental problem with this approach.
+Gcc package is actively maintained and frequently updated. These updates
+do contain bug fixes and improvements, especially for non-x86 architectures.
+Cross-compilers built using toolchain-source will not get those fixes unless
+toolchain-source package is updated after each binutils and gcc update.
+The later is not hapenning in real life. For example, toolchain-source
+was upgraded from gcc-3.2 to gcc-3.3 half a year later than gcc-3.3 became
+Debian default compiler.
+
+Keeping toolchain-source package up-to-date requires lots of work, and seems
+to be a waste of time. It is much better to build cross-compilers directly
+from gcc source package.
+
+
+1. What is needed to build a cross-compiler from gcc-4.2 source
+
+1.1. dpkg-cross package
+
+Dpkg-cross package contains several tools to manage cross-compile environment.
+
+It can convert native debian library and lib-dev packages for the target
+architecture to binary-all packages that keep libraries and headers under
+/usr/$(TARGET)/.
+
+Also it contains helper tools for cross-compiling debian packages. Some of
+these tools are used while building libgcc1 and libstdc++ library packages.
+The resulting library packages follow the same convensions as library packages
+converted by dpkg-cross.
+
+Currently, at least version 1.18 of dpkg-cross is needed for cross-gcc
+package build. Version 1.32 of dpkg-cross is needed in order to build gcc-4.2.
+
+1.2. cross-binutils for the target
+
+You need cross-binutils for your target to build cross-compiler.
+Binutils-multiarch package will not work because it does not provide cross-
+assemblers.
+
+If you don't want to use pre-built cross-binutils packages, you may build
+your own from binutils debian source package, using patches posted to
+bug #231707. Please use the latest of patch versions available there.
+
+Alternatively, you may use toolchain-source package to build cross-binutils
+(but in this case you will probably also want to use toolchain-source
+to build cross-compiler itself). However, multilib'ed cross-compilers may
+not build or work with these binutils.
+
+1.3. libc for target
+
+You also need libc library and development packages for the target
+architecture installed.
+
+To get those, download linux-kernel-headers, libc6, and libc6-dev binary
+debs for your target, convert those using dpkg-cross -b, and install
+resulting -arch-cross debs. Consult dpkg-cross manual page for more
+information.
+
+Building with/for alternative libc's is not supported yet (but this is in
+TODO).
+
+Note that if you plan to use your cross-toolchain to develop kernel drivers
+or similar low-level things, you will probably also need kernel headers
+for the exact kernel version that your target hardware uses.
+
+
+2. Building cross-compiler packages
+
+Get gcc-4.2 source package.
+
+Unpack it using dpkg-source -x, and cd to the package directory.
+
+Set GCC_TARGET environment variable to the target architectire name. Note
+that currently you should use debian architecture name (i.e 'powerpc' or 'arm'),
+not GNU system type (i.e. 'powerpc-linux' or 'arm-linux'). Setting GCC_TARGET
+to GNU system type will cause cross-compiler build to fail.
+
+Instead of setting GCC_TARGET, target architecture name may be put into
+debian/target file. If both GCC_TARGET is defined and debian/target file
+exists, GCC_TARGET is used.
+
+Run debian/rules control. This will change debian/control file,
+adjusting build-depends. By default, the packages will depend on the
+system -base package. This means future upgrades of the system gcc
+will require you to keep your cross compilers in sync by rebuilding.
+If you want to depend on a separate -base package for your cross
+compiler, specify DEB_CROSS_INDEPENDENT=yes on the command line,
+
+You can then build with either
+
+$ GCC_TARGET=[arch] dpkg-buildpackage -rfakeroot
+or
+$ GCC_TARGET=[arch] DEB_CROSS_INDEPENDENT=yes dpkg-buildpackage -rfakeroot
+
+3. Using crosshurd
+
+Jeff Bailey suggests alternate way to setup
+environment to build cross-compiler, using 'crosshurd' package.
+Crosshurd is like debootstrap but cross-arch, and works on the Hurd,
+Linux and FreeBSD. (The name is historical).
+
+If you setup your environment with crosshurd, you will need to fix symlinks
+in lib and usr/lib to be relative instead of absolute. For example:
+
+lrwxrwxrwx 1 root root 20 2004-05-06 23:02 libcom_err.so -> /lib/libcom_err.so.2
+
+Needs to be changed to:
+
+lrwxrwxrwx 1 root root 20 2004-05-06 23:02 libcom_err.so -> ../../lib/libcom_err.so.2
+
+Also, if you choose this method, set the environment variable 'with_sysroot'
+to point to the ABSOLUTE PATH where the crosshurd was done.
+
+Note however that build-depends of cross-gcc and dependencies in generated
+libgcc1 and libstdc++ packages assume that you use dpkg-cross to set up
+your environment, and may be wrong or incomplete if you use alternate methods.
+But probably you don't care.
+
+--
+Nikita V. Youshchenko - Jun 2004
+Hector Oron Martinez - Oct 2006
--- gcc-4.2-4.2-20070528.orig/debian/libmudflap.copyright
+++ gcc-4.2-4.2-20070528/debian/libmudflap.copyright
@@ -0,0 +1,30 @@
+This package was debianized by Matthias Klose on
+Mon, 5 Jul 2004 21:29:57 +0200
+
+Mudflap is part of GCC.
+
+Authors: Frank Ch. Eigler , Graydon Hoare
+
+Copyright (C) 2002, 2003, 2004 Free Software Foundation, Inc.
+
+GCC is free software; you can redistribute it and/or modify it under
+the terms of the GNU General Public License as published by the Free
+Software Foundation; either version 2, or (at your option) any later
+version.
+
+In addition to the permissions in the GNU General Public License, the
+Free Software Foundation gives you unlimited permission to link the
+compiled version of this file into combinations with other programs,
+and to distribute those combinations without any restriction coming
+from the use of this file. (The General Public License restrictions
+do apply in other respects; for example, they cover modification of
+the file, and distribution when not linked into a combine
+executable.)
+
+GCC is distributed in the hope that it will be useful, but WITHOUT ANY
+WARRANTY; without even the implied warranty of MERCHANTABILITY or
+FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
+for more details.
+
+On Debian GNU/Linux systems, the complete text of the GNU General
+Public License can be found in `/usr/share/common-licenses/GPL'.
--- gcc-4.2-4.2-20070528.orig/debian/gcjh-wrapper-BV.1
+++ gcc-4.2-4.2-20070528/debian/gcjh-wrapper-BV.1
@@ -0,0 +1,20 @@
+.TH GCJH-WRAPPER 1 "June 6, 2002" gcjh-wrapper "Java User's Manual"
+.SH NAME
+gcjh-wrapper \- a wrapper around gcjh
+
+.SH SYNOPSIS
+gcjh-wrapper [\fB\s-1OPTION\s0\fR] ... [\fI\s-1ARGS\s0\fR...]
+
+.SH DESCRIPTION
+
+\fBgcjh-wrapper\fR is a wrapper around gcjh(1) to be called as the java header
+compiler. Options different for javah(1) and gcjh(1) are translated,
+options unknown to gcjh(1) are silently ignored.
+
+.SH OPTIONS
+See gcjh-@BV@(1) for a list of options that gcj understands.
+
+.SH "SEE ALSO"
+.BR gcjh-@BV@(1)
+,
+.BR javah(1)
--- gcc-4.2-4.2-20070528.orig/debian/gpc-PV-BV-doc.doc-base.gpc
+++ gcc-4.2-4.2-20070528/debian/gpc-PV-BV-doc.doc-base.gpc
@@ -0,0 +1,15 @@
+Document: gpc-@PV@-@BV@-doc
+Title: The GNU Pascal Compiler
+Author: Various
+Abstract: This manual documents how to run, install and maintain the
+ GNU Pascal compiler (GPC), as well as its new features and
+ incompatibilities, and how to report bugs.
+Section: Apps/Programming
+
+Format: html
+Index: /usr/share/doc/gcc-@BV@-base/pascal/gpc.html
+Files: /usr/share/doc/gcc-@BV@-base/pascal/gpc.html
+
+Format: info
+Index: /usr/share/info/gpc-@PV@-@BV@.info.gz
+Files: /usr/share/info/gpc-@PV@-@BV@*
--- gcc-4.2-4.2-20070528.orig/debian/README.Bugs
+++ gcc-4.2-4.2-20070528/debian/README.Bugs
@@ -0,0 +1,304 @@
+Reporting Bugs in the Debian/GNU GNU Compiler Setup
+===================================================
+
+Before reporting a bug, please
+------------------------------
+
+- Check that the behaviour really is a bug. Have a look into some
+ ANSI standards document.
+
+- Check the list of well known bugs: http://gcc.gnu.org/bugs.html#known
+
+- Try to reproduce the bug with a current GCC development snapshot. For
+ Debian GNU/Linux you can get a recent development snapshot from the
+ gcc-snapshot package in the unstable distribution.
+ See: http://packages.debian.org/gcc-snapshot
+
+- Try to find out if the bug is a regression (an older GCC version does
+ not show the bug).
+
+- Check if the bug is already reported in the bug tracking systems.
+
+ Debian: http://bugs.debian.org/debian-gcc@lists.debian.org
+ Upstream: http://gcc.gnu.org/bugzilla/
+
+
+Where to report a bug
+---------------------
+
+Report bugs found in the packaging of GCC to the Debian bug tracking system.
+See http://www.debian.org/Bugs/ for instructions (or use the reportbug
+script).
+
+Debian's current policy is to closely follow the upstream development and
+only apply a minimal set of patches (which are summarized in the README.Debian
+document).
+
+If you think you have found an upstream bug, you did check the section
+above ("Before reporting a bug") and are able to provide a complete bug
+report (see below "How to report a bug"), then you may help the Debian
+GCC package maintainers, if you report the bug upstream and then submit
+a bug report to the Debian BTS and tell us the upstream report number.
+This way you are able to follow the upstream bug handling as well. If in
+doubt, report the bug to the Debian BTS (but read "How to report a bug"
+below.
+
+
+How to report a bug
+-------------------
+
+There are complete instructions in the gcc info manual (found in the
+gcc-doc package), section Bugs.
+
+The manual can be read using `M-x info' in Emacs, or if the GNU info
+program is installed on your system by `info --node "(gcc)Bugs"'. Or see
+the file BUGS included with the gcc source code.
+
+Online bug reporting instructions can be found at
+
+ http://gcc.gnu.org/bugs.html
+
+[Some paragraphs taken from the above URL]
+
+The main purpose of a bug report is to enable us to fix the bug. The
+most important prerequisite for this is that the report must be
+complete and self-contained, which we explain in detail below.
+
+Before you report a bug, please check the list of well-known bugs and,
+if possible in any way, try a current development snapshot.
+
+Summarized bug reporting instructions
+-------------------------------------
+
+What we need
+
+Please include in your bug report all of the following items, the
+first three of which can be obtained from the output of gcc -v:
+
+ * the exact version of GCC;
+ * the system type;
+ * the options given when GCC was configured/built;
+ * the complete command line that triggers the bug;
+ * the compiler output (error messages, warnings, etc.); and
+ * the preprocessed file (*.i*) that triggers the bug, generated by
+ adding -save-temps to the complete compilation command, or, in
+ the case of a bug report for the GNAT front end, a complete set
+ of source files (see below).
+
+What we do not want
+
+ * A source file that #includes header files that are left out
+ of the bug report (see above)
+ * That source file and a collection of header files.
+ * An attached archive (tar, zip, shar, whatever) containing all
+ (or some :-) of the above.
+ * A code snippet that won't cause the compiler to produce the
+ exact output mentioned in the bug report (e.g., a snippet with
+ just a few lines around the one that apparently triggers the
+ bug, with some pieces replaced with ellipses or comments for
+ extra obfuscation :-)
+ * The location (URL) of the package that failed to build (we won't
+ download it, anyway, since you've already given us what we need
+ to duplicate the bug, haven't you? :-)
+ * An error that occurs only some of the times a certain file is
+ compiled, such that retrying a sufficient number of times
+ results in a successful compilation; this is a symptom of a
+ hardware problem, not of a compiler bug (sorry)
+ * E-mail messages that complement previous, incomplete bug
+ reports. Post a new, self-contained, full bug report instead, if
+ possible as a follow-up to the original bug report
+ * Assembly files (*.s) produced by the compiler, or any binary files,
+ such as object files, executables, core files, or precompiled
+ header files
+ * Duplicate bug reports, or reports of bugs already fixed in the
+ development tree, especially those that have already been
+ reported as fixed last week :-)
+ * Bugs in the assembler, the linker or the C library. These are
+ separate projects, with separate mailing lists and different bug
+ reporting procedures
+ * Bugs in releases or snapshots of GCC not issued by the GNU
+ Project. Report them to whoever provided you with the release
+ * Questions about the correctness or the expected behavior of
+ certain constructs that are not GCC extensions. Ask them in
+ forums dedicated to the discussion of the programming language
+
+
+Known Bugs and Non-Bugs
+-----------------------
+
+[Please see /usr/share/doc/gcc/FAQ or http://gcc.gnu.org/faq.html first]
+
+
+C++ exceptions don't work with C libraries
+------------------------------------------
+
+[Taken from the closed bug report #22769] C++ exceptions don't work
+with C libraries, if the C code wasn't designed to be thrown through.
+A solution could be to translate all C libraries with -fexceptions.
+Mostly trying to throw an exception in a callback function (qsort,
+Tcl command callbacks, etc ...). Example:
+
+ #include
+ #include
+
+ class A {};
+
+ static
+ int SortCondition(void const*, void const*)
+ {
+ printf("throwing 'sortcondition' exception\n");
+ throw A();
+ }
+
+ int main(int argc, char *argv[])
+ {
+ int list[2];
+
+ try {
+ SortCondition(NULL,NULL);
+ } catch (A) {
+ printf("caught test-sortcondition exception\n");
+ }
+ try {
+ qsort(&list, sizeof(list)/sizeof(list[0]),sizeof(list[0]),
+ &SortCondition);
+ } catch (A) {
+ printf("caught real-sortcondition exception\n");
+ }
+ return 0;
+}
+
+Andrew Macleod responded:
+
+When compiled with the table driven exception handling, exception can only
+be thrown through functions which have been compiled with the table driven EH.
+If a function isn't compiled that way, then we do not have the frame
+unwinding information required to restore the registers when unwinding.
+
+I believe the setjmp/longjmp mechanism will throw through things like this,
+but its produces much messier code. (-fsjlj-exceptions)
+
+The C compiler does support exceptions, you just have to turn them on
+with -fexceptions.
+
+Your main options are to:
+ a) Don't use callbacks, or at least don't throw through them.
+ b) Get the source and compile the library with -fexceptions (You have to
+ explicitly turn on exceptions in the C compiler)
+ c) always use -fsjlj-exceptions (boo, bad choice :-)
+
+
+g++: "undefined reference" to static const array in class
+---------------------------------------------------------
+
+The following code compiles under GNU C++ 2.7.2 with correct results,
+but produces the same linker error with GNU C++ 2.95.2.
+Alexandre Oliva responded:
+
+All of them are correct. A static data member *must* be defined
+outside the class body even if it is initialized within the class
+body, but no diagnostic is required if the definition is missing. It
+turns out that some releases do emit references to the missing symbol,
+while others optimize it away.
+
+#include
+
+class Test
+{
+ public:
+ Test(const char *q);
+ protected:
+ static const unsigned char Jam_signature[4] = "JAM";
+};
+
+Test::Test(const char *q)
+{
+ if (memcmp(q, Jam_signature, sizeof(Jam_signature)) != 0)
+ cerr << "Hello world!\n";
+}
+
+int main(void)
+{
+ Test::Test("JAM");
+ return 0;
+}
+
+g++: g++ causes passing non const ptr to ptr to a func with const arg
+ to cause an error (not a bug)
+---------------------------------------------------------------------
+
+Example:
+
+#include
+void test(const char **b){
+ printf ("%s\n",*b);
+}
+int main(void){
+ char *test1="aoeu";
+ test(&test1);
+}
+
+make const
+g++ const.cc -o const
+const.cc: In function `int main()':
+const.cc:7: passing `char **' as argument 1 of `test(const char **)' adds cv-quals without intervening `const'
+make: *** [const] Error 1
+
+Answer from "Martin v. Loewis" :
+
+> ok... maybe I missed something.. I haven't really kept up with the latest in
+> C++ news. But I've never heard anything even remotly close to passing a non
+> const var into a const arg being an error before.
+
+Thanks for your bug report. This is a not a bug in the compiler, but
+in your code. The standard, in 4.4/4, puts it that way
+
+# A conversion can add cv-qualifiers at levels other than the first in
+# multi-level pointers, subject to the following rules:
+# Two pointer types T1 and T2 are similar if there exists a type T and
+# integer n > 0 such that:
+# T1 is cv(1,0) pointer to cv(1,1) pointer to ... cv(1,n-1)
+# pointer to cv(1,n) T
+# and
+# T2 is cv(2,0) pointer to cv(2,1) pointer to ... cv(2,n-1)
+# pointer to cv(2,n) T
+# where each cv(i,j) is const, volatile, const volatile, or
+# nothing. The n-tuple of cv-qualifiers after the first in a pointer
+# type, e.g., cv(1,1) , cv(1,2) , ... , cv(1,n) in the pointer type
+# T1, is called the cv-qualification signature of the pointer type. An
+# expression of type T1 can be converted to type T2 if and only if the
+# following conditions are satisfied:
+# - the pointer types are similar.
+# - for every j > 0, if const is in cv(1,j) then const is in cv(2,j) ,
+# and similarly for volatile.
+# - if the cv(1,j) and cv(2,j) are different, then const is in every
+# cv(2,k) for 0 < k < j.
+
+It is the last rule that your code violates. The standard gives then
+the following example as a rationale:
+
+# [Note: if a program could assign a pointer of type T** to a pointer
+# of type const T** (that is, if line //1 below was allowed), a
+# program could inadvertently modify a const object (as it is done on
+# line //2). For example,
+# int main() {
+# const char c = 'c';
+# char* pc;
+# const char** pcc = &pc; //1: not allowed
+# *pcc = &c;
+# *pc = 'C'; //2: modifies a const object
+# }
+# - end note]
+
+If you question this line of reasoning, please discuss it in one of
+the public C++ fora first, eg. comp.lang.c++.moderated, or
+comp.std.c++.
+
+
+cpp removes blank lines
+-----------------------
+
+With the new cpp, you need to add -traditional to the "cpp -P" args, else
+blank lines get removed.
+
+[EDIT ME: scan Debian bug reports and write some nice summaries ...]
--- gcc-4.2-4.2-20070528.orig/debian/README.treelang
+++ gcc-4.2-4.2-20070528/debian/README.treelang
@@ -0,0 +1,11 @@
+Treelang documentation
+======================
+
+The treelang compiler is called via the `gcc-3.4' command (or via
+`gcc', when `gcc-3.4' is the default gcc compiler).
+
+Documentation for treelang is provided in info format only. You
+can read docs in the info format with emacs, xemacs or the info
+command:
+
+ info treelang-3.4
--- gcc-4.2-4.2-20070528.orig/debian/gcc-BV-doc.doc-base.gccint
+++ gcc-4.2-4.2-20070528/debian/gcc-BV-doc.doc-base.gccint
@@ -0,0 +1,17 @@
+Document: gccint-@BV@
+Title: Internals of the GNU C and C++ compiler
+Author: Various
+Abstract: This manual documents the internals of the GNU compilers,
+ including how to port them to new targets and some information about
+ how to write front ends for new languages. It corresponds to GCC
+ version @BV@.x. The use of the GNU compilers is documented in a
+ separate manual.
+Section: Apps/Programming
+
+Format: html
+Index: /usr/share/doc/gcc-@BV@-base/gccint.html
+Files: /usr/share/doc/gcc-@BV@-base/gccint.html
+
+Format: info
+Index: /usr/share/info/gccint-@BV@.info.gz
+Files: /usr/share/info/gccint-@BV@*
--- gcc-4.2-4.2-20070528.orig/debian/gnat-BV-doc.doc-base.ug
+++ gcc-4.2-4.2-20070528/debian/gnat-BV-doc.doc-base.ug
@@ -0,0 +1,16 @@
+Document: gnat_ugn_unw-@BV@
+Title: GNAT User's Guide for Unix Platforms
+Author: Various
+Abstract: This guide describes the use of GNAT, a compiler and
+ software development toolset for the full Ada 95 programming language.
+ It describes the features of the compiler and tools, and details how
+ to use them to build Ada 95 applications.
+Section: Apps/Programming
+
+Format: html
+Index: /usr/share/doc/gcc-@BV@-base/Ada/gnat_ugn_unw.html
+Files: /usr/share/doc/gcc-@BV@-base/Ada/gnat_ugn_unw.html
+
+Format: info
+Index: /usr/share/info/gnat_ugn_unw-@BV@.info.gz
+Files: /usr/share/info/gnat_ugn_unw-@BV@*
--- gcc-4.2-4.2-20070528.orig/debian/README.libstdc++-baseline.in
+++ gcc-4.2-4.2-20070528/debian/README.libstdc++-baseline.in
@@ -0,0 +1,2 @@
+The libstdc++ baseline file is a list of symbols exported by the
+libstdc++ library.
--- gcc-4.2-4.2-20070528.orig/debian/source.lintian-overrides
+++ gcc-4.2-4.2-20070528/debian/source.lintian-overrides
@@ -0,0 +1 @@
+gcc-4.0: invalid-arch-string-in-source-relation
--- gcc-4.2-4.2-20070528.orig/debian/libgcj-common.postinst
+++ gcc-4.2-4.2-20070528/debian/libgcj-common.postinst
@@ -0,0 +1,12 @@
+#! /bin/sh -e
+
+case "$1" in
+ configure)
+ docdir=/usr/share/doc/libgcj-common
+ if [ -d $docdir ] && [ ! -h $docdir ]; then
+ rm -rf $docdir
+ ln -s gcj-@BV@-base $docdir
+ fi
+esac
+
+#DEBHELPER#
--- gcc-4.2-4.2-20070528.orig/debian/gfortran-BV-doc.postinst
+++ gcc-4.2-4.2-20070528/debian/gfortran-BV-doc.postinst
@@ -0,0 +1,10 @@
+#! /bin/sh -e
+
+case "$1" in
+ configure)
+ install-info --quiet --section "Development" "Development" \
+ --description="The GNU Fortran compiler (Version @BV@)." \
+ /usr/share/info/gfortran-@BV@.info
+esac
+
+#DEBHELPER#
--- gcc-4.2-4.2-20070528.orig/debian/multiarch.inc
+++ gcc-4.2-4.2-20070528/debian/multiarch.inc
@@ -0,0 +1,38 @@
+
+#if defined(__i486_linux_gnu__)
+ { "64", "x86_64-linux-gnu"},
+#endif
+
+#if defined(__powerpc64_linux_gnu__)
+ { "32", "powerpc-linux-gnu"},
+#endif
+
+#if defined(__x86_64_linux_gnu__)
+ { "32", "i486-linux-gnu"},
+#endif
+
+#if defined(__powerpc_linux_gnu__)
+ { "64", "powerpc64-linux-gnu"},
+#endif
+
+#if defined(__sparc_linux_gnu__)
+ { "64", "sparc64-linux-gnu"},
+#endif
+
+#if defined(__s390_linux_gnu__)
+ { "64", "s390x-linux-gnu"},
+#endif
+
+#if defined(__mips_linux_gnu__)
+ { "n32", "mips64-linux-gnuabin32"},
+ { "64", "mips64-linux-gnuabi64"},
+#endif
+
+#if defined(__mipsel_linux_gnu__)
+ { "n32", "mipsel64-linux-gnuabin32"},
+ { "64", "mipsel64-linux-gnuabi64"},
+#endif
+
+#if defined(__x86_64_kfreebsd_gnu__)
+ { "32", "i486-kfreebsd-gnu"},
+#endif
--- gcc-4.2-4.2-20070528.orig/debian/rules
+++ gcc-4.2-4.2-20070528/debian/rules
@@ -0,0 +1,86 @@
+#! /usr/bin/make -f
+# -*- makefile -*-
+# Build rules for gcc (>= 2.95) and gcc-snapshot
+# Targets found in this makefile:
+# - unpack tarballs
+# - patch sources
+# - (re)create the control file
+# - create a debian/rules.parameters file, which is included
+# by debian/rules2
+# All other targets are passed to the debian/rules2 file
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+unexport LANG LC_ALL LC_CTYPE LC_COLLATE LC_TIME LC_NUMERIC LC_MESSAGES
+
+default: build
+
+include debian/rules.defs
+include debian/rules.unpack
+include debian/rules.patch
+
+control: $(control_dependencies)
+ -mkdir -p $(stampdir)
+ $(MAKE) -f debian/rules.conf $@
+
+configure: $(configure_dependencies)
+$(configure_stamp): control $(unpack_stamp) $(patch_stamp)
+ $(MAKE) -f debian/rules2 $@
+$(configure_dummy_stamp): control
+ $(MAKE) -f debian/rules2 $@
+$(configure_hppa64_stamp): $(build_stamp)
+ $(MAKE) -f debian/rules2 $@
+
+build: $(build_dependencies)
+$(build_stamp): $(unpack_stamp) $(patch_stamp) $(configure_stamp)
+ $(MAKE) -f debian/rules2 $@
+$(build_dummy_stamp): $(configure_dummy_stamp)
+ $(MAKE) -f debian/rules2 $@
+$(build_javadoc_stamp): $(build_stamp)
+ $(MAKE) -f debian/rules2 $@
+$(build_hppa64_stamp): $(configure_hppa64_stamp)
+ $(MAKE) -f debian/rules2 $@
+
+check: $(build_stamp)
+ $(MAKE) -f debian/rules2 $@
+
+clean:
+ rm -rf $(stampdir)
+# remove temporary dirs used for unpacking
+ rm -rf $(gcc_srcdir) $(gpc_srcdir) p
+ -$(MAKE) -f debian/rules2 $@
+ rm -rf $(srcdir) $(builddir)* debian/tmp* html
+ rm -f bootstrap-* first-move-stamp
+ rm -f debian/*.tmp
+ find debian -name '.#*' | xargs -r rm -f
+ find debian/patches -name '*.dpatch' -type f ! -perm 644 | xargs -r chmod 644
+ dh_clean
+
+install: $(install_dependencies)
+$(install_stamp): $(build_stamp)
+ $(MAKE) -f debian/rules2 $@
+$(install_snap_stamp): $(build_stamp)
+ $(MAKE) -f debian/rules2 $@
+$(install_dummy_stamp): $(build_dummy_stamp)
+ $(MAKE) -f debian/rules2 $@
+$(install_hppa64_stamp): $(build_hppa64_stamp)
+ $(MAKE) -f debian/rules2 $@
+
+html-docs doxygen-docs update-doxygen-docs update-ada-files xxx:
+ $(MAKE) -f debian/rules2 $@
+
+binary-indep binary-arch binary: install
+ $(MAKE) -f debian/rules2 $@
+
+source diff:
+ @echo >&2 'source and diff are obsolete - use dpkg-source -b'; false
+
+release:
+ foo=$(shell basename $(CURDIR)); \
+ if [ "$$foo" != "gcc-3.4" ]; then \
+ find -name CVS -o -name .cvsignore -o -name '.#*' | \
+ xargs rm -rf; \
+ fi
+
+.PHONY: build clean binary-indep binary-arch binary release
--- gcc-4.2-4.2-20070528.orig/debian/gcjwebplugin-BV.postinst
+++ gcc-4.2-4.2-20070528/debian/gcjwebplugin-BV.postinst
@@ -0,0 +1,30 @@
+#!/bin/sh -e
+
+PATH=/sbin:/bin:/usr/sbin:/usr/bin
+
+priority=$(echo @BV@ | sed 's/\.//g')
+PLUGINPTH=/usr/lib/gcj-@BV@/libgcjwebplugin.so
+
+update-alternatives --quiet --install \
+ /usr/lib/mozilla/plugins/libjavaplugin.so \
+ mozilla-javaplugin.so \
+ $PLUGINPTH \
+ $priority
+
+# /usr/lib/mozilla-firefox/plugins is still searched
+# by the firefox installation in /usr/lib/firefox
+update-alternatives --quiet --install \
+ /usr/lib/mozilla-firefox/plugins/libjavaplugin.so \
+ firefox-javaplugin.so \
+ $PLUGINPTH \
+ $priority
+
+update-alternatives --quiet --install \
+ /usr/lib/mozilla-snapshot/plugins/libjavaplugin.so \
+ mozilla-snapshot-javaplugin.so \
+ $PLUGINPTH \
+ $priority
+
+#DEBHELPER#
+
+exit 0
--- gcc-4.2-4.2-20070528.orig/debian/gcjwebplugin-BV.prerm
+++ gcc-4.2-4.2-20070528/debian/gcjwebplugin-BV.prerm
@@ -0,0 +1,17 @@
+#!/bin/sh -e
+
+PLUGINPTH=/usr/lib/gcj-@BV@/libgcjwebplugin.so
+
+update-alternatives --quiet --remove \
+ mozilla-javaplugin.so \
+ $PLUGINPTH
+
+update-alternatives --quiet --remove \
+ firefox-javaplugin.so \
+ $PLUGINPTH
+
+update-alternatives --quiet --remove \
+ mozilla-snapshot-javaplugin.so \
+ $PLUGINPTH
+
+#DEBHELPER#
--- gcc-4.2-4.2-20070528.orig/debian/README.C++
+++ gcc-4.2-4.2-20070528/debian/README.C++
@@ -0,0 +1,43 @@
+libstdc++ is an implementation of the Standard C++ Library, including the
+Standard Template Library (i.e. as specified by ANSI and ISO).
+
+Some notes on porting applications from libstdc++-2.90 (or earlier versions)
+to libstdc++-v3 can be found in the libstdc++6-4.2-doc package. After the
+installation of the package, look at:
+
+ file:///usr/share/doc/gcc-4.2-base/libstdc++/html/17_intro/porting-howto.html
+
+On Debian GNU/Linux you find additional documentation in the
+libstdc++6-4.2-doc package. After installing these packages,
+point your browser to
+
+ file:///usr/share/doc/libstdc++6-4.2-doc/libstdc++/html/index.html
+
+Other documentation can be found:
+
+ http://www.cs.rpi.edu/~musser/stl.html
+ http://www.sgi.com/tech/stl/
+ http://www.dinkumware.com/htm_cpl/
+
+with a good, recent, book on C++.
+
+A great deal of useful C++ documentation can be found in the C++ FAQ-Lite,
+maintained by Marshall Cline . It can be found at the
+following locations (this list was last updated on 2000/11/19):
+
+USA: http://www.cerfnet.com/~mpcline/c++-faq-lite/
+
+Canada: http://new-brunswick.net/workshop/c++/faq
+
+Finland: http://www.utu.fi/~sisasa/oasis/cppfaq/
+
+France: http://caor.ensmp.fr/FAQ/c++-faq-lite/
+
+Spain: http://geneura.ugr.es/~jmerelo/c++-faq/
+
+Taiwan: http://www.cis.nctu.edu.tw/c++/C++FAQ-English/
+
+U.K.: http://www.cs.bham.ac.uk/~jdm/CPP/index.html
+
+
+Please send updates to this list as bug report for the g++ package.
--- gcc-4.2-4.2-20070528.orig/debian/control
+++ gcc-4.2-4.2-20070528/debian/control
@@ -0,0 +1,577 @@
+Source: gcc-4.2
+Section: devel
+Priority: standard
+Maintainer: Ubuntu Core developers
+XSBC-Original-Maintainer: Debian GCC Maintainers
+Uploaders: Matthias Klose
+Standards-Version: 3.7.2
+Build-Depends: dpkg-dev (>= 1.13.9), gcc-multilib [amd64 i386 powerpc ppc64 s390 sparc kfreebsd-amd64], libc6.1-dev (>= 2.5) [alpha ia64] | libc0.3-dev (>= 2.5) [hurd-i386] | libc0.1-dev (>= 2.5) [kfreebsd-i386 kfreebsd-amd64 knetbsd-gnu] | libc12-dev (>= 2.5) [netbsd-elf-gnu] | libc6-dev (>= 2.5), libc6-dev-amd64 [i386], libc6-dev-sparc64 [sparc], libc6-dev-s390x [s390], libc6-dev-i386 [amd64], libc6-dev-powerpc [ppc64], libc6-dev-ppc64 [powerpc], libc0.1-dev-i386 [kfreebsd-amd64], lib32gcc1 [amd64 ppc64 kfreebsd-amd64], lib64gcc1 [i386 powerpc sparc s390], lib64z1-dev [i386 powerpc sparc s390], lib32z1-dev [amd64 ppc64 kfreebsd-amd64], libunwind7-dev (>= 0.98.5-6) [ia64], libatomic-ops-dev [ia64], m4, autoconf, autoconf2.13, automake1.9, libtool, autogen, gawk, expect-tcl8.3 [!arm !m68k !mips !mipsel !hurd-i386], dejagnu (>= 1.4.3) [!arm !m68k !mips !mipsel !hurd-i386], bzip2, binutils (>= 2.17cvs20070426) | binutils-multiarch (>= 2.17cvs20070426), binutils-hppa64 (>= 2.17cvs20070426) [hppa], debhelper (>= 5.0), gperf (>= 3.0.1), bison (>= 1:2.3), flex, gettext, texinfo (>= 4.3), zlib1g-dev, libmpfr-dev (>= 2.2.1) [!avr], locales [!hurd-i386 !knetbsd-i386 !netbsd-i386], procps [!hurd-i386], sharutils, realpath (>= 1.9.12), chrpath, lsb-release, make (>= 3.81)
+Build-Depends-Indep: doxygen (>= 1.4.2), graphviz (>= 2.2), gsfonts-x11, texlive-latex-base | tetex-extra
+
+Package: gcc-4.2-base
+Architecture: any
+Section: libs
+Priority: required
+Description: The GNU Compiler Collection (base package)
+ This package contains files common to all languages and libraries
+ contained in the GNU Compiler Collection (GCC).
+
+Package: libgcc1
+Architecture: any
+Section: libs
+Priority: required
+Depends: gcc-4.2-base (= ${gcc:Version}), ${shlibs:Depends}
+Description: GCC support library
+ Shared version of the support library, a library of internal subroutines
+ that GCC uses to overcome shortcomings of particular machines, or
+ special needs for some languages.
+
+Package: libgcc2
+Architecture: m68k
+Section: libs
+Priority: required
+Depends: gcc-4.2-base (= ${gcc:Version}), ${shlibs:Depends}
+Description: GCC support library
+ Shared version of the support library, a library of internal subroutines
+ that GCC uses to overcome shortcomings of particular machines, or
+ special needs for some languages.
+
+Package: libgcc4
+Architecture: hppa
+Section: libs
+Priority: required
+Depends: gcc-4.2-base (= ${gcc:Version}), ${shlibs:Depends}
+Description: GCC support library
+ Shared version of the support library, a library of internal subroutines
+ that GCC uses to overcome shortcomings of particular machines, or
+ special needs for some languages.
+
+Package: lib64gcc1
+Architecture: i386 powerpc sparc s390
+Section: libs
+Priority: optional
+Depends: gcc-4.2-base (= ${gcc:Version}), ${dep:libcbiarch}
+Conflicts: libgcc1 (<= 1:3.3-0pre9)
+Description: GCC support library (64bit)
+ Shared version of the support library, a library of internal subroutines
+ that GCC uses to overcome shortcomings of particular machines, or
+ special needs for some languages.
+
+Package: lib32gcc1
+Architecture: amd64 ppc64 kfreebsd-amd64
+Section: libs
+Priority: optional
+Depends: gcc-4.2-base (= ${gcc:Version}), ${dep:libcbiarch}
+Replaces: ia32-libs-openoffice.org (<< 1ubuntu3)
+Description: GCC support library (32 bit Version)
+ Shared version of the support library, a library of internal subroutines
+ that GCC uses to overcome shortcomings of particular machines, or
+ special needs for some languages.
+
+Package: gcc-4.2
+Architecture: any
+Section: devel
+Priority: optional
+Depends: gcc-4.2-base (= ${gcc:Version}), cpp-4.2 (= ${gcc:Version}), binutils (>= ${binutils:Version}), ${dep:libgcc}, ${dep:libssp}, ${dep:libgomp}, ${dep:libunwinddev}, ${shlibs:Depends}
+Recommends: ${dep:libcdev}, libmudflap0-4.2-dev (>= ${gcc:Version})
+Suggests: gcc-4.2-multilib, gcc-4.2-doc (>= ${gcc:SoftVersion}), gcc-4.2-locales (>= ${gcc:SoftVersion})
+Provides: c-compiler
+Description: The GNU C compiler
+ This is the GNU C compiler, a fairly portable optimizing compiler for C.
+
+Package: gcc-4.2-multilib
+Architecture: amd64 i386 kfreebsd-amd64 powerpc ppc64 s390 sparc
+Section: devel
+Priority: optional
+Depends: gcc-4.2-base (= ${gcc:Version}), gcc-4.2 (= ${gcc:Version}), ${dep:libcbiarchdev}, ${dep:libgccbiarch}, ${dep:libsspbiarch}, ${dep:libgompbiarch}, ${shlibs:Depends}
+Recommends: ${dep:libmudflapbiarch}
+Replaces: gcc-4.2 (<< 4.2-20061008)
+Description: The GNU C compiler (multilib files)
+ This is the GNU C compiler, a fairly portable optimizing compiler for C.
+ .
+ On architectures with multilib support, the package contains files
+ and dependencies for the non-default multilib architecture(s).
+
+Package: gcc-4.2-hppa64
+Architecture: hppa
+Section: devel
+Priority: optional
+Depends: gcc-4.2-base (= ${gcc:Version}), ${shlibs:Depends}
+Conflicts: gcc-3.3-hppa64 (<= 1:3.3.4-5), gcc-3.4-hppa64 (<= 3.4.1-3)
+Description: The GNU C compiler (cross compiler for hppa64)
+ This is the GNU C compiler, a fairly portable optimizing compiler for C.
+
+Package: cpp-4.2
+Architecture: any
+Section: interpreters
+Priority: optional
+Depends: gcc-4.2-base (= ${gcc:Version}), ${shlibs:Depends}
+Suggests: gcc-4.2-locales (>= ${gcc:SoftVersion})
+Conflicts: cpp-4.2 (<< 4.2-20070307), gcc-4.2 (<< 4.2-20070307), g++-4.2 (<< 4.2-20070307), gobjc-4.2 (<< 4.2-20070307), gobjc++-4.2 (<< 4.2-20070307), gfortran-4.2 (<< 4.2-20070307), treelang-4.2 (<< 4.2-20070307), gcj-4.2 (<< 4.2-20070307), gcj-4.2 (<< 4.2-20070307), gcc-4.2-multilib (<< 4.2-20070307), g++-4.2-multilib (<< 4.2-20070307), gobjc-4.2-multilib (<< 4.2-20070307), gobjc++-4.2-multilib (<< 4.2-20070307), gfortran-4.2-multilib (<< 4.2-20070307)
+Description: The GNU C preprocessor
+ A macro processor that is used automatically by the GNU C compiler
+ to transform programs before actual compilation.
+ .
+ This package has been separated from gcc for the benefit of those who
+ require the preprocessor but not the compiler.
+
+Package: cpp-4.2-doc
+Architecture: all
+Section: doc
+Priority: optional
+Depends: gcc-4.2-base (>= ${gcc:SoftVersion})
+Description: Documentation for the GNU C preprocessor (cpp)
+ Documentation for the GNU C preprocessor in info format.
+
+Package: gcc-4.2-locales
+Architecture: all
+Section: devel
+Priority: optional
+Depends: gcc-4.2-base (>= ${gcc:SoftVersion}), cpp-4.2 (>= ${gcc:SoftVersion})
+Recommends: gcc-4.2 (>= ${gcc:SoftVersion})
+Description: The GNU C compiler (native language support files)
+ Native language support for GCC. Lets GCC speak your language,
+ if translations are available.
+ .
+ Please do NOT submit bug reports in other languages than "C".
+ Always reset your language settings to use the "C" locales.
+
+Package: g++-4.2
+Architecture: any
+Section: devel
+Priority: optional
+Depends: gcc-4.2-base (= ${gcc:Version}), gcc-4.2 (= ${gcc:Version}), libstdc++6-4.2-dev (= ${gcc:Version}), ${shlibs:Depends}
+Provides: c++-compiler, c++abi2-dev
+Suggests: g++-4.2-multilib, gcc-4.2-doc (>= ${gcc:SoftVersion})
+Description: The GNU C++ compiler
+ This is the GNU C++ compiler, a fairly portable optimizing compiler for C++.
+
+Package: g++-4.2-multilib
+Architecture: amd64 i386 kfreebsd-amd64 powerpc ppc64 s390 sparc
+Section: devel
+Priority: optional
+Depends: gcc-4.2-base (= ${gcc:Version}), g++-4.2 (= ${gcc:Version}), gcc-4.2-multilib (= ${gcc:Version}), ${dep:libcxxbiarch}, ${shlibs:Depends}
+Suggests: ${dep:libcxxbiarchdbg}
+Replaces: libstdc++6-4.2-dev (<< 4.2-20061008)
+Description: The GNU C++ compiler (multilib files)
+ This is the GNU C++ compiler, a fairly portable optimizing compiler for C++.
+ .
+ On architectures with multilib support, the package contains files
+ and dependencies for the non-default multilib architecture(s).
+
+Package: libmudflap0
+Architecture: any
+Section: libs
+Priority: optional
+Depends: gcc-4.2-base (= ${gcc:Version}), ${shlibs:Depends}
+Description: GCC mudflap shared support libraries
+ The libmudflap libraries are used by GCC for instrumenting pointer and array
+ dereferencing operations.
+
+Package: lib32mudflap0
+Architecture: amd64 ppc64 kfreebsd-amd64
+Section: libs
+Priority: optional
+Depends: gcc-4.2-base (= ${gcc:Version}), ${dep:libcbiarch}, ${shlibs:Depends}
+Replaces: libmudflap0 (<< 4.1)
+Description: GCC mudflap shared support libraries (32bit)
+ The libmudflap libraries are used by GCC for instrumenting pointer and array
+ dereferencing operations.
+
+Package: lib64mudflap0
+Architecture: i386 powerpc sparc s390
+Section: libs
+Priority: optional
+Depends: gcc-4.2-base (= ${gcc:Version}), ${dep:libcbiarch}, ${shlibs:Depends}
+Replaces: libmudflap0 (<< 4.1)
+Description: GCC mudflap shared support libraries (64bit)
+ The libmudflap libraries are used by GCC for instrumenting pointer and array
+ dereferencing operations.
+
+Package: libmudflap0-4.2-dev
+Architecture: any
+Section: libdevel
+Priority: optional
+Depends: gcc-4.2-base (= ${gcc:Version}), libmudflap0 (>= ${gcc:Version}), ${dep:libcdev}, ${shlibs:Depends}
+Suggests: ${sug:libmudflapdev}
+Description: GCC mudflap support libraries (development files)
+ The libmudflap libraries are used by GCC for instrumenting pointer and array
+ dereferencing operations.
+ .
+ This package contains the headers and the static libraries.
+
+Package: libgomp1
+Architecture: any
+Section: libs
+Priority: optional
+Depends: gcc-4.2-base (= ${gcc:Version}), ${shlibs:Depends}
+Description: GCC OpenMP (GOMP) support library
+ GOMP is an implementation of OpenMP for the C, C++, and Fortran 95 compilers
+ in the GNU Compiler Collection.
+
+Package: lib32gomp1
+Architecture: amd64 ppc64 kfreebsd-amd64
+Section: libs
+Priority: optional
+Depends: gcc-4.2-base (= ${gcc:Version}), ${dep:libcbiarch}, ${shlibs:Depends}
+Description: GCC OpenMP (GOMP) support library (32bit)
+ GOMP is an implementation of OpenMP for the C, C++, and Fortran 95 compilers
+ in the GNU Compiler Collection.
+
+Package: lib64gomp1
+Architecture: i386 powerpc sparc s390
+Section: libs
+Priority: optional
+Depends: gcc-4.2-base (= ${gcc:Version}), ${dep:libcbiarch}, ${shlibs:Depends}
+Description: GCC OpenMP (GOMP) support library (64bit)
+ GOMP is an implementation of OpenMP for the C, C++, and Fortran 95 compilers
+ in the GNU Compiler Collection.
+
+Package: protoize
+Architecture: any
+Priority: optional
+Depends: gcc-4.2-base (= ${gcc:Version}), gcc-4.2 (>= ${gcc:Version}), ${shlibs:Depends}
+Description: Create/remove ANSI prototypes from C code
+ "protoize" can be used to add prototypes to a program, thus converting
+ the program to ANSI C in one respect. The companion program "unprotoize"
+ does the reverse: it removes argument types from any prototypes
+ that are found.
+
+Package: gobjc++-4.2
+Architecture: any
+Priority: optional
+Depends: gcc-4.2-base (= ${gcc:Version}), gobjc-4.2 (= ${gcc:Version}), g++-4.2 (= ${gcc:Version}), ${shlibs:Depends}, libobjc2 (>= ${gcc:Version})
+Suggests: gobjc++-4.2-multilib, gcc-4.2-doc (>= ${gcc:SoftVersion})
+Provides: objc++-compiler
+Description: The GNU Objective-C++ compiler
+ This is the GNU Objective-C++ compiler, which compiles
+ Objective-C++ on platforms supported by the gcc compiler. It uses the
+ gcc backend to generate optimized code.
+
+Package: gobjc++-4.2-multilib
+Architecture: amd64 i386 kfreebsd-amd64 powerpc ppc64 s390 sparc
+Section: devel
+Priority: optional
+Depends: gcc-4.2-base (= ${gcc:Version}), gobjc++-4.2 (= ${gcc:Version}), g++-4.2-multilib (= ${gcc:Version}), gobjc-4.2-multilib (= ${gcc:Version}), ${shlibs:Depends}
+Description: The GNU Objective-C++ compiler (multilib files)
+ This is the GNU Objective-C++ compiler, which compiles Objective-C++ on
+ platforms supported by the gcc compiler.
+ .
+ On architectures with multilib support, the package contains files
+ and dependencies for the non-default multilib architecture(s).
+
+Package: gobjc-4.2
+Architecture: any
+Priority: optional
+Depends: gcc-4.2-base (= ${gcc:Version}), gcc-4.2 (= ${gcc:Version}), ${dep:libcdev}, ${shlibs:Depends}, libobjc2 (>= ${gcc:Version})
+Suggests: gobjc-4.2-multilib, gcc-4.2-doc (>= ${gcc:SoftVersion})
+Provides: objc-compiler
+Description: The GNU Objective-C compiler
+ This is the GNU Objective-C compiler, which compiles
+ Objective-C on platforms supported by the gcc compiler. It uses the
+ gcc backend to generate optimized code.
+
+Package: gobjc-4.2-multilib
+Architecture: amd64 i386 kfreebsd-amd64 powerpc ppc64 s390 sparc
+Section: devel
+Priority: optional
+Depends: gcc-4.2-base (= ${gcc:Version}), gobjc-4.2 (= ${gcc:Version}), gcc-4.2-multilib (= ${gcc:Version}), ${dep:libobjcbiarch}, ${shlibs:Depends}
+Replaces: gobjc-4.2 (<< 4.2-20061008)
+Description: The GNU Objective-C compiler (multilib files)
+ This is the GNU Objective-C compiler, which compiles Objective-C on platforms
+ supported by the gcc compiler.
+ .
+ On architectures with multilib support, the package contains files
+ and dependencies for the non-default multilib architecture(s).
+
+Package: libobjc2
+Section: libs
+Architecture: any
+Priority: optional
+Depends: gcc-4.2-base (= ${gcc:Version}), ${shlibs:Depends}
+Description: Runtime library for GNU Objective-C applications
+ Library needed for GNU ObjC applications linked against the shared library.
+
+Package: lib64objc2
+Section: libs
+Architecture: i386 powerpc sparc s390
+Priority: optional
+Depends: gcc-4.2-base (= ${gcc:Version}), ${dep:libcbiarch}, ${shlibs:Depends}
+Description: Runtime library for GNU Objective-C applications (64bit)
+ Library needed for GNU ObjC applications linked against the shared library.
+
+Package: lib32objc2
+Section: libs
+Architecture: amd64 ppc64 kfreebsd-amd64
+Priority: optional
+Depends: gcc-4.2-base (>= ${gcc:Version}), ${dep:libcbiarch}, ${shlibs:Depends}
+Description: Runtime library for GNU Objective-C applications (32bit)
+ Library needed for GNU ObjC applications linked against the shared library.
+
+Package: gfortran-4.2
+Architecture: any
+Priority: optional
+Depends: gcc-4.2-base (= ${gcc:Version}), gcc-4.2 (= ${gcc:Version}), libgfortran2 (>= ${gcc:Version}), ${dep:libcdev}, ${shlibs:Depends}
+Provides: fortran95-compiler
+Suggests: gfortran-4.2-multilib, gfortran-4.2-doc
+Replaces: libgfortran2-dev
+Description: The GNU Fortran 95 compiler
+ This is the GNU Fortran compiler, which compiles
+ Fortran 95 on platforms supported by the gcc compiler. It uses the
+ gcc backend to generate optimized code.
+
+Package: gfortran-4.2-multilib
+Architecture: amd64 i386 kfreebsd-amd64 powerpc ppc64 s390 sparc
+Section: devel
+Priority: optional
+Depends: gcc-4.2-base (= ${gcc:Version}), gfortran-4.2 (= ${gcc:Version}), gcc-4.2-multilib (= ${gcc:Version}), ${dep:libfortranbiarch}, ${shlibs:Depends}
+Replaces: gfortran-4.2 (<< 4.2-20061008)
+Description: The GNU Fortran 95 compiler (multilib files)
+ This is the GNU Fortran compiler, which compiles Fortran 95 on platforms
+ supported by the gcc compiler.
+ .
+ On architectures with multilib support, the package contains files
+ and dependencies for the non-default multilib architecture(s).
+
+Package: gfortran-4.2-doc
+Architecture: all
+Section: doc
+Priority: optional
+Depends: gcc-4.2-base (>= ${gcc:SoftVersion})
+Description: Documentation for the GNU Fortran compiler (gfortran)
+ Documentation for the GNU Fortran 95 compiler in info format.
+
+Package: libgfortran2
+Section: libs
+Architecture: any
+Priority: optional
+Depends: gcc-4.2-base (= ${gcc:Version}), ${shlibs:Depends}
+Description: Runtime library for GNU Fortran applications
+ Library needed for GNU Fortran applications linked against the
+ shared library.
+
+Package: lib64gfortran2
+Section: libs
+Architecture: i386 powerpc sparc s390
+Priority: optional
+Depends: gcc-4.2-base (= ${gcc:Version}), ${dep:libcbiarch}, ${shlibs:Depends}
+Description: Runtime library for GNU Fortran applications (64bit)
+ Library needed for GNU Fortran applications linked against the
+ shared library.
+
+Package: lib32gfortran2
+Section: libs
+Architecture: amd64 ppc64 kfreebsd-amd64
+Priority: optional
+Depends: gcc-4.2-base (= ${gcc:Version}), ${dep:libcbiarch}, ${shlibs:Depends}
+Description: Runtime library for GNU Fortran applications (32bit)
+ Library needed for GNU Fortran applications linked against the
+ shared library.
+
+Package: libffi4
+Section: libs
+Architecture: any
+Priority: optional
+Depends: gcc-4.2-base (= ${gcc:Version}), ${shlibs:Depends}
+Description: Foreign Function Interface library runtime
+ A foreign function interface is the popular name for the interface that
+ allows code written in one language to call code written in another
+ language.
+
+Package: lib32ffi4
+Section: libs
+Architecture: amd64 ppc64 kfreebsd-amd64
+Priority: optional
+Depends: gcc-4.2-base (= ${gcc:Version}), ${dep:libcbiarch}, ${shlibs:Depends}
+Replaces: libffi4 (<< 4.1)
+Description: Foreign Function Interface library runtime (32bit)
+ A foreign function interface is the popular name for the interface that
+ allows code written in one language to call code written in another
+ language.
+
+Package: lib64ffi4
+Section: libs
+Architecture: i386 powerpc sparc s390
+Priority: optional
+Depends: gcc-4.2-base (= ${gcc:Version}), ${dep:libcbiarch}, ${shlibs:Depends}
+Replaces: libffi4 (<< 4.1)
+Description: Foreign Function Interface library runtime (64bit)
+ A foreign function interface is the popular name for the interface that
+ allows code written in one language to call code written in another
+ language.
+
+Package: libffi4-dev
+Section: libdevel
+Architecture: any
+Priority: optional
+Depends: gcc-4.2-base (= ${gcc:Version}), libffi4 (>= ${gcc:Version})
+Suggests: ${sug:libffidev}
+Provides: libffi-dev
+Conflicts: libffi1-dev, libffi2-dev, libffi3-dev, libffi-dev, libffi
+Description: Foreign Function Interface library (development files)
+ This package contains the headers and static library files necessary for
+ building programs which use libffi.
+ .
+ A foreign function interface is the popular name for the interface that
+ allows code written in one language to call code written in another
+ language.
+
+Package: libstdc++6
+Architecture: any
+Section: libs
+Priority: required
+Depends: gcc-4.2-base (= ${gcc:Version}), ${shlibs:Depends}
+Conflicts: scim (<< 1.4.2-1)
+Description: The GNU Standard C++ Library v3
+ This package contains an additional runtime library for C++ programs
+ built with the GNU compiler.
+ .
+ libstdc++-v3 is a complete rewrite from the previous libstdc++-v2, which
+ was included up to g++-2.95. The first version of libstdc++-v3 appeared
+ in g++-3.0.
+
+Package: lib32stdc++6
+Architecture: amd64 ppc64 kfreebsd-amd64
+Section: libs
+Priority: optional
+Depends: gcc-4.2-base (= ${gcc:Version}), lib32gcc1
+Description: The GNU Standard C++ Library v3 (32 bit Version)
+ This package contains an additional runtime library for C++ programs
+ built with the GNU compiler.
+
+Package: lib64stdc++6
+Architecture: i386 powerpc sparc s390
+Section: libs
+Priority: optional
+Depends: gcc-4.2-base (= ${gcc:Version}), ${shlibs:Depends}, lib64gcc1
+Description: The GNU Standard C++ Library v3 (64bit)
+ This package contains an additional runtime library for C++ programs
+ built with the GNU compiler.
+ .
+ libstdc++-v3 is a complete rewrite from the previous libstdc++-v2, which
+ was included up to g++-2.95. The first version of libstdc++-v3 appeared
+ in g++-3.0.
+
+Package: libstdc++6-4.2-dev
+Architecture: any
+Section: libdevel
+Priority: optional
+Depends: gcc-4.2-base (= ${gcc:Version}), g++-4.2 (= ${gcc:Version}), libstdc++6 (>= ${gcc:Version}), ${dep:libcdev}
+Conflicts: libg++27-dev, libg++272-dev (<< 2.7.2.8-1), libstdc++2.8-dev, libg++2.8-dev, libstdc++2.9-dev, libstdc++2.9-glibc2.1-dev, libstdc++2.10-dev (<< 1:2.95.3-2), libstdc++3.0-dev, libstdc++6-4.2-dev (<< 4.2-20070307), libgcj8-dev (<< 4.2-20070307)
+Suggests: libstdc++6-4.2-doc
+Provides: libstdc++-dev
+Description: The GNU Standard C++ Library v3 (development files)
+ This package contains the headers and static library files necessary for
+ building C++ programs which use libstdc++.
+ .
+ libstdc++-v3 is a complete rewrite from the previous libstdc++-v2, which
+ was included up to g++-2.95. The first version of libstdc++-v3 appeared
+ in g++-3.0.
+
+Package: libstdc++6-4.2-pic
+Architecture: any
+Section: libdevel
+Priority: extra
+Depends: gcc-4.2-base (= ${gcc:Version}), libstdc++6 (>= ${gcc:Version}), libstdc++6-4.2-dev (= ${gcc:Version})
+Description: The GNU Standard C++ Library v3 (shared library subset kit)
+ This is used to develop subsets of the libstdc++ shared libraries for
+ use on custom installation floppies and in embedded systems.
+ .
+ Unless you are making one of those, you will not need this package.
+
+Package: libstdc++6-4.2-dbg
+Architecture: any
+Section: libdevel
+Priority: extra
+Depends: gcc-4.2-base (= ${gcc:Version}), libstdc++6 (>= ${gcc:Version})
+Recommends: libstdc++6-4.2-dev (= ${gcc:Version})
+Conflicts: libstdc++5-dbg, libstdc++5-3.3-dbg, libstdc++6-dbg, libstdc++6-4.0-dbg
+Description: The GNU Standard C++ Library v3 (debugging files)
+ This package contains the shared library of libstdc++ compiled with
+ debugging symbols.
+
+Package: lib32stdc++6-4.2-dbg
+Architecture: amd64 ppc64 kfreebsd-amd64
+Section: libdevel
+Priority: extra
+Depends: gcc-4.2-base (= ${gcc:Version}), lib32stdc++6 (>= ${gcc:Version}), libstdc++6-4.2-dev (= ${gcc:Version})
+Conflicts: lib32stdc++6-4.0-dbg
+Description: The GNU Standard C++ Library v3 (debugging files)
+ This package contains the shared library of libstdc++ compiled with
+ debugging symbols.
+
+Package: lib64stdc++6-4.2-dbg
+Architecture: i386 powerpc sparc s390
+Section: libdevel
+Priority: extra
+Depends: gcc-4.2-base (= ${gcc:Version}), lib64stdc++6 (>= ${gcc:Version}), libstdc++6-4.2-dev (= ${gcc:Version})
+Conflicts: lib64stdc++6-4.0-dbg
+Description: The GNU Standard C++ Library v3 (debugging files)
+ This package contains the shared library of libstdc++ compiled with
+ debugging symbols.
+
+Package: libstdc++6-4.2-doc
+Architecture: all
+Section: doc
+Priority: optional
+Depends: gcc-4.2-base (>= ${gcc:SoftVersion})
+Conflicts: libstdc++5-doc, libstdc++5-3.3-doc, libstdc++6-doc, libstdc++6-4.0-doc, libstdc++6-4.1-doc
+Description: The GNU Standard C++ Library v3 (documentation files)
+ This package contains documentation files for the GNU stdc++ library.
+ .
+ One set is the distribution documentation, the other set is the
+ source documentation including a namespace list, class hierarchy,
+ alphabetical list, compound list, file list, namespace members,
+ compound members and file members.
+
+Package: treelang-4.2
+Architecture: any
+Priority: optional
+Depends: gcc-4.2-base (= ${gcc:Version}), gcc-4.2 (= ${gcc:Version}), ${shlibs:Depends}
+Description: The GNU Treelang compiler
+ Treelang is a sample language, useful only to help people understand how
+ to implement a new language front end to GCC. It is not a useful
+ language in itself other than as an example or basis for building a new
+ language. Therefore only language developers are likely to have an
+ interest in it.
+
+Package: gcc-4.2-soft-float
+Architecture: arm armeb
+Priority: optional
+Depends: gcc-4.2-base (= ${gcc:Version}), gcc-4.2 (= ${gcc:Version}), ${shlibs:Depends}
+Replaces: gcc-soft-float-ss
+Description: The soft-floating-point gcc libraries (arm)
+ These are versions of basic static libraries such as libgcc.a compiled
+ with the -msoft-float option, for CPUs without a floating-point unit.
+
+Package: fixincludes
+Architecture: any
+Priority: optional
+Depends: gcc-4.2-base (= ${gcc:Version}), gcc-4.2 (= ${gcc:Version}), ${shlibs:Depends}
+Description: Fix non-ANSI header files
+ FixIncludes was created to fix non-ANSI system header files. Many
+ system manufacturers supply proprietary headers that are not ANSI compliant.
+ The GNU compilers cannot compile non-ANSI headers. Consequently, the
+ FixIncludes shell script was written to fix the header files.
+ .
+ Not all packages with header files are installed on the system, when the
+ package is built, so we make fixincludes available at build time of other
+ packages, such that checking tools like lintian can make use of it.
+
+Package: gcc-4.2-doc
+Architecture: all
+Section: doc
+Priority: optional
+Depends: gcc-4.2-base (>= ${gcc:SoftVersion})
+Conflicts: gcc-docs (<< 2.95.2)
+Replaces: gcc (<=2.7.2.3-4.3), gcc-docs (<< 2.95.2)
+Description: Documentation for the GNU compilers (gcc, gobjc, g++)
+ Documentation for the GNU compilers in info format.
+
+Package: gcc-4.2-source
+Architecture: all
+Priority: optional
+Depends: gcc-4.2-base (>= ${gcc:SoftVersion}), make (>= 3.81)
+Description: Source of the GNU Compiler Collection
+ This package contains the sources and patches which are needed to
+ build the GNU Compiler Collection (GCC).
--- gcc-4.2-4.2-20070528.orig/debian/rules.conf
+++ gcc-4.2-4.2-20070528/debian/rules.conf
@@ -0,0 +1,670 @@
+# -*- makefile -*-
+# rules.conf
+# - used to build debian/control and debian/rules.parameters
+# - assumes unpacked sources
+
+include debian/rules.defs
+
+SOURCE_VERSION := $(shell dpkg-parsechangelog | awk '/^Version:/ {print $$NF}')
+DEB_VERSION := $(shell echo $(SOURCE_VERSION) \
+ | sed -e 's/.*://' -e 's/ds[0-9]*//')
+# epoch used for gcc versions up to 3.3.x, now used for some remaining
+# libraries: libgcc1, libobjc1, libffi2, libffi2-dev, libg2c0
+EPOCH := 1
+DEB_EVERSION := $(EPOCH):$(DEB_VERSION)
+BASE_VERSION := $(shell echo $(DEB_VERSION) | sed -e 's/\([1-9]\.[0-9]\).*-.*/\1/')
+
+# The binutils version needed.
+# The oldest suitable versions for the various platforms can be found in
+# INSTALL/specific.html ; we take a tighter dependency if possible to be on
+# the safe side (something like newest( version in stable, versions for the
+# various platforms in INSTALL/specific.html) ).
+BINUTILSV = 2.17cvs20070426
+ifdef DEB_CROSS
+ BINUTILS_BUILD_DEP = binutils$(TS) (>= $(BINUTILSV))
+else
+ BINUTILS_BUILD_DEP = binutils (>= $(BINUTILSV)) | binutils-multiarch (>= $(BINUTILSV))
+endif
+
+# libc-dev dependencies
+libc_ver := 2.5
+ifeq ($(DEB_TARGET_ARCH_OS),linux)
+ ifneq (,$(findstring $(DEB_TARGET_ARCH),alpha ia64))
+ LIBC_DEP = libc6.1
+ LIBC_DEV_DEP = libc6.1-dev$(LS) (>= $(libc_ver))
+ else
+ LIBC_DEP = libc6
+ LIBC_DEV_DEP = libc6-dev$(LS) (>= $(libc_ver))
+ endif
+else
+ ifeq ($(DEB_TARGET_ARCH_OS),gnu)
+ LIBC_DEP = libc0.3
+ LIBC_DEV_DEP = libc0.3-dev$(LS)
+ endif
+ ifeq ($(DEB_TARGET_ARCH_OS),kfreebsd)
+ LIBC_DEP = libc0.1
+ LIBC_DEV_DEP = libc0.1-dev
+ endif
+ ifeq ($(DEB_TARGET_ARCH_OS),knetbsd)
+ LIBC_DEP = libc0.1
+ LIBC_DEV_DEP = libc0.1-dev$(LS)
+ endif
+ ifeq ($(DEB_TARGET_ARCH_OS),netbsd)
+ LIBC_DEP = libc12
+ LIBC_DEV_DEP = libc12-dev$(LS)
+ endif
+endif
+
+LIBC_BIARCH_DEP :=
+LIBC_BIARCH_DEV_DEP :=
+LIBCXX_BIARCH_DEP :=
+ifeq ($(biarch),yes)
+ ifeq ($(DEB_TARGET_ARCH),i386)
+ LIBC_BIARCH_DEP := libc6-amd64$(LS) (>= $(libc_ver))
+ LIBC_BIARCH_DEV_DEP := libc6-dev-amd64$(LS)
+ endif
+ ifeq ($(DEB_TARGET_ARCH),powerpc)
+ LIBC_BIARCH_DEP := libc6-ppc64$(LS) (>= $(libc_ver))
+ LIBC_BIARCH_DEV_DEP := libc6-dev-ppc64$(LS) (>= $(libc_ver))
+ endif
+ ifeq ($(DEB_TARGET_ARCH),sparc)
+ LIBC_BIARCH_DEP := libc6-sparc64$(LS) (>= $(libc_ver))
+ LIBC_BIARCH_DEV_DEP := libc6-dev-sparc64$(LS) (>= $(libc_ver))
+ endif
+ ifeq ($(DEB_TARGET_ARCH),s390)
+ LIBC_BIARCH_DEP := libc6-s390x$(LS) (>= $(libc_ver))
+ LIBC_BIARCH_DEV_DEP := libc6-dev-s390x$(LS) (>= $(libc_ver))
+ endif
+ LIBCXX_BIARCH_DEP = lib64stdc++$(CXX_SONAME)$(LS) (>= $${gcc:Version})
+ LIBCXX_BIARCH_DBG_DEP = lib64stdc++$(CXX_SONAME)-dbg
+endif
+ifeq ($(biarch32),yes)
+ ifeq ($(DEB_TARGET_ARCH),amd64)
+ LIBC_BIARCH_DEV_DEP := libc6-dev-i386$(LS) (>= $(libc_ver))
+ LIBC_BIARCH_DEP := libc6-i386$(LS) (>= $(libc_ver))
+ endif
+ ifeq ($(DEB_TARGET_ARCH),ppc64)
+ LIBC_BIARCH_DEP := libc6-powerpc$(LS) (>= $(libc_ver))
+ LIBC_BIARCH_DEV_DEP := libc6-dev-powerpc$(LS) (>= $(libc_ver))
+ endif
+ ifeq ($(DEB_TARGET_ARCH),kfreebsd-amd64)
+ LIBC_BIARCH_DEV_DEP := libc0.1-dev-i386$(LS) (>= $(libc_ver))
+ LIBC_BIARCH_DEP := libc0.1-i386$(LS) (>= $(libc_ver))
+ endif
+ LIBCXX_BIARCH_DEP = lib32stdc++$(CXX_SONAME)$(LS) (>= $${gcc:Version})
+ LIBCXX_BIARCH_DBG_DEP = lib32stdc++$(CXX_SONAME)-dbg
+endif
+
+LIBUNWIND_DEV_DEP :=
+ifeq ($(DEB_TARGET_ARCH),ia64)
+ LIBUNWIND_DEV_DEP := libunwind7-dev$(LS) (>= 0.98.5-6)
+endif
+
+ifndef DEB_CROSS
+LIBC_BUILD_DEP := libc6.1-dev (>= $(libc_ver)) [alpha ia64] | libc0.3-dev (>= $(libc_ver)) [hurd-i386] | libc0.1-dev (>= $(libc_ver)) [kfreebsd-i386 kfreebsd-amd64 knetbsd-gnu] | libc12-dev (>= $(libc_ver)) [netbsd-elf-gnu] | libc6-dev (>= $(libc_ver))
+
+ifneq (,$(java_awt_peers))
+ JAVA_BUILD_DEP := fastjar [java_no_archs], libmagic-dev [java_no_archs],
+ JAVA_BUILD_DEP += ecj (>= 3.2.1-6) [java_no_archs], zip [java_no_archs],
+ # gcj-4.1 needed for gjavah-4.1.
+ JAVA_BUILD_DEP += gcj-4.1 [java_no_archs],
+ JAVA_BUILD_DEP += libasound2-dev [java_no_archs !hurd-i386 !kfreebsd-i386 !kfreebsd-amd64],
+ JAVA_BUILD_DEP += lib32asound2-dev [amd64 ppc64], lib64asound2-dev [i386 powerpc sparc s390],
+ ifneq (,$(findstring gtk,$(java_awt_peers)))
+ JAVA_BUILD_DEP += libxtst-dev [java_no_archs], libxt-dev [java_no_archs], libgtk2.0-dev (>= 2.4.4-2) [java_no_archs], libart-2.0-dev [java_no_archs], libcairo2-dev [java_no_archs],
+ endif
+ ifneq (,$(findstring qt,$(java_awt_peers)))
+ JAVA_BUILD_DEP += libqt4-dev (>= 4.1.0) [java_no_archs],
+ endif
+ # plugin
+ JAVA_BUILD_DEP += libgconf2-dev [java_no_archs],
+ ifeq ($(distribution),Debian)
+ JAVA_BUILD_DEP += libxul-dev [java_no_archs],
+ else
+ JAVA_BUILD_DEP += firefox-dev [java_no_archs],
+ endif
+endif
+ifneq ($(with_standalone_gcj),yes)
+ ifeq ($(PKGSOURCE),gcj-$(BASE_VERSION))
+ JAVA_BUILD_DEP += gcc-4.2-source (>= 4.2), gcc-4.2-source (<< 4.2.0),
+ endif
+endif
+JAVA_BUILD_INDEP := , gjdoc
+ifeq ($(with_separate_libgcj),yes)
+ ifeq ($(PKGSOURCE),gcc-$(BASE_VERSION))
+ JAVA_BUILD_DEP :=
+ JAVA_BUILD_INDEP :=
+ endif
+endif
+
+ifeq ($(PKGSOURCE),gcc-$(BASE_VERSION))
+ LIBSTDCXX_BUILD_INDEP = doxygen (>= 1.4.2), graphviz (>= 2.2), gsfonts-x11, texlive-latex-base | tetex-extra
+endif
+
+ifeq ($(PKGSOURCE),gcc-$(BASE_VERSION))
+ ifneq ($(with_separate_gnat),yes)
+ # Build gnat as part of the combiled gcc-x.y source package. Do not fail
+ # if gnat is not present on unsupported architectures; the build scripts
+ # will not use gnat anyway.
+ GNAT_BUILD_DEP := gnat-4.1 [ada_no_archs],
+ endif
+else ifeq ($(PKGSOURCE),gcc-snapshot)
+ # Ditto, as part of the gcc-snapshot package.
+ GNAT_BUILD_DEP := gnat-4.1 [ada_no_archs],
+else ifeq ($(PKGSOURCE),gnat-4.1)
+ # Special source package just for gnat. Fail early if gnat is not present,
+ # rather than waste CPU cycles and fail later.
+ GNAT_BUILD_DEP := gnat-4.1,
+ GNAT_BUILD_DEP += gcc-4.2-source (>= 4.2), gcc-4.2-source (<< 4.3),
+ JAVA_BUILD_DEP :=
+ JAVA_BUILD_INDEP :=
+endif
+
+
+#PASCAL_BUILD_DEP := libncurses5-dev [pascal_no_archs], tetex-bin [pascal_no_archs], libgmp3-dev [pascal_no_archs], help2man [pascal_no_archs],
+
+LIBC_BIARCH_BUILD_DEP = libc6-dev-amd64 [i386], libc6-dev-sparc64 [sparc], libc6-dev-s390x [s390], libc6-dev-i386 [amd64], libc6-dev-powerpc [ppc64], libc6-dev-ppc64 [powerpc], libc0.1-dev-i386 [kfreebsd-amd64], lib32gcc1 [amd64 ppc64 kfreebsd-amd64], lib64gcc1 [i386 powerpc sparc s390], lib64z1-dev [i386 powerpc sparc s390], lib32z1-dev [amd64 ppc64 kfreebsd-amd64],
+
+#ifeq ($(PKGSOURCE),gcc-snapshot)
+# LIBC_BIARCH_BUILD_DEP =
+#endif
+
+else
+# build cross compiler
+
+LIBC_BUILD_DEP := $(LIBC_DEV_DEP)
+
+ifneq ($(LIBC_BIARCH_DEV_DEP),)
+ LIBC_BIARCH_BUILD_DEP := $(LIBC_BIARCH_DEV_DEP),
+else
+ LIBC_BIARCH_BUILD_DEP :=
+endif
+
+ifneq ($(LIBUNWIND_DEV_DEP),)
+ LIBUNWIND_BUILD_DEP := $(LIBUNWIND_DEV_DEP),
+else
+ LIBUNWIND_BUILD_DEP :=
+endif
+
+ifeq ($(DEB_TARGET_ARCH),ia64)
+ LIBATOMIC_OPS_BUILD_DEP := libatomic-ops-dev$(LS),
+else
+ LIBATOMIC_OPS_BUILD_DEP :=
+endif
+
+JAVA_BUILD_DEP :=
+JAVA_BUILD_INDEP :=
+GNAT_BUILD_DEP :=
+
+endif # cross compiler
+
+GCC_VERSION := $(strip $(shell cat $(srcdir)/gcc/BASE-VER))
+
+# The numeric part of the gcc version number (x.yy.zz)
+NEXT_GCC_VERSION := $(shell echo $(GCC_VERSION) | \
+ awk -F. '{OFS="."; if (NF==2) $$3=1; else $$NF += 1; print}')
+# first version with a new path component in gcc_lib_dir (i.e. GCC_VERSION
+# or TARGET_ALIAS changes), or last version available for all architectures
+DEB_GCC_SOFT_VERSION := 4.2
+DEB_GCJ_SOFT_VERSION := 4.2
+ifeq ($(with_pascal),yes)
+GPC_DATE := $(shell sed -n 's/^.define GPC_VERSION_STRING "\(.*\)"/\1/p' $(srcdir)/gcc/p/version.h || true)
+DEB_GPC_VERSION := $(shell echo $(DEB_VERSION) \
+ | sed 's/.*:\(.*\)-\(.*\)/2:\1.$(GPC_DATE)-\2/')
+endif
+
+# semiautomatic ...
+DEB_SOVERSION := $(DEB_VERSION)
+DEB_SOVERSION := 4.2-20070516
+DEB_SOEVERSION := $(EPOCH):4.2.0
+DEB_SOEVERSION := $(EPOCH):4.2-20070516
+DEB_SOVERSION := 4.2-20070208
+DEB_SOEVERSION := $(EPOCH):4.2-20070516
+DEB_STDCXX_SOVERSION := 4.2.0
+DEB_GCJ_SOVERSION := 4.2.0
+DEB_STDCXX_SOVERSION := 4.2-20070516
+DEB_GCJ_SOVERSION := 4.2-20070516
+DEB_FFI_SOVERSION := $(DEB_SOVERSION)
+DEB_GOMP_SOVERSION := $(DEB_SOVERSION)
+DEB_GCCMATH_SOVERSION := $(DEB_SOVERSION)
+
+DEB_GCC_VERSION := $(DEB_VERSION)
+DEB_GCJ_VERSION := $(DEB_VERSION)
+ifeq ($(with_separate_libgcj),yes)
+ ifeq ($(PKGSOURCE),gcj-$(BASE_VERSION))
+ DEB_GCC_VERSION := $(DEB_GCC_SOFT_VERSION)
+ endif
+endif
+
+DEB_GNAT_VERSION := $(DEB_VERSION)
+ifeq ($(with_separate_gnat),yes)
+ ifeq ($(PKGSOURCE),gnat-$(BASE_VERSION))
+ DEB_GCC_VERSION := $(DEB_GCC_SOFT_VERSION)
+ endif
+endif
+
+# manual ...
+ifeq ($(DEB_TARGET_GNU_CPU), $(findstring $(DEB_TARGET_GNU_CPU),hppa m68k))
+ ifeq ($(DEB_TARGET_ARCH),m68k)
+ GCC_SONAME := 2
+ endif
+ ifeq ($(DEB_TARGET_ARCH),hppa)
+ GCC_SONAME := 4
+ endif
+ DEB_LIBGCC_SOVERSION := $(DEB_SOVERSION)
+ DEB_LIBGCC_VERSION := $(DEB_VERSION)
+else
+ GCC_SONAME := 1
+ DEB_LIBGCC_SOVERSION := $(DEB_SOEVERSION)
+ DEB_LIBGCC_VERSION := $(DEB_EVERSION)
+endif
+
+LIBGCC_DEP := libgcc$(GCC_SONAME)$(LS) (>= $(DEB_LIBGCC_VERSION))
+LIBGCC_BIARCH_DEP :=
+ifeq ($(biarch),yes)
+ LIBGCC_BIARCH_DEP := lib64gcc$(GCC_SONAME)$(LS) (>= $(DEB_LIBGCC_VERSION))
+endif
+ifeq ($(biarch32),yes)
+ LIBGCC_BIARCH_DEP := lib32gcc$(GCC_SONAME)$(LS) (>= $(DEB_LIBGCC_VERSION))
+endif
+
+CXX_SONAME := $(strip $(shell awk -F= \
+ '/^libtool_VERSION/ {split($$2,v,":"); print v[1]}' \
+ $(srcdir)/libstdc++-v3/configure.ac))
+
+OBJC_SONAME := $(strip $(shell awk -F= '/^VERSION/ \
+ {split($$2,v,":"); print v[1]}' \
+ $(srcdir)/libobjc/configure.ac))
+
+FORTRAN_SONAME := $(strip $(shell tail -1 \
+ $(srcdir)/libgfortran/libtool-version \
+ | awk -F: '{ print $$1 }' ))
+
+MUDFLAP_SONAME := $(strip $(shell tail -1 \
+ $(srcdir)/libmudflap/libtool-version \
+ | awk -F: '{ print $$1 }' ))
+
+SSP_SONAME := $(strip $(shell tail -1 \
+ $(srcdir)/libssp/libtool-version \
+ | awk -F: '{ print $$1 }' ))
+
+GCJ_SONAME := $(strip $(shell tail -1 $(srcdir)/libjava/libtool-version \
+ | awk -F: '{ print $$1 }' ))
+
+FFI_SONAME := $(strip $(shell tail -1 $(srcdir)/libffi/libtool-version \
+ | awk -F: '{ print $$1 }' ))
+
+GOMP_SONAME := $(strip $(shell awk -F= \
+ '/^libtool_VERSION/ {split($$2,v,":"); print v[1]}' \
+ $(srcdir)/libgomp/configure.ac))
+
+GCCMATH_SONAME := $(strip $(shell tail -1 $(srcdir)/libgcc-math/libtool-version \
+ | awk -F: '{ print $$1 }' ))
+
+GNAT_SONAME := $(strip $(shell \
+ grep '[^_]Library_Version.*:' $(srcdir)/gcc/ada/gnatvsn.ads \
+ | sed -e 's/.*"\([^"]*\)".*/\1/'))
+
+GNAT_VERSION := $(BASE_VERSION)
+
+LIBGNAT_DEP :=
+ifeq ($(with_libgnat),yes)
+ LIBGNAT_DEP := libgnat-$(GNAT_VERSION) (= $(DEB_VERSION))
+endif
+
+GPC_BASE_VERSION := 2.1
+
+pkg_ver := -$(BASE_VERSION)
+gpc_pkg_ver := -$(GPC_BASE_VERSION)$(pkg_ver)
+
+PKG_GCJ_EXT = $(subst 0,,$(GCJ_SONAME))
+PKG_LIBGCJ_EXT = $(PKG_GCJ_EXT)-0
+
+ctrl_flags = \
+ -DBINUTILSV=$(BINUTILSV) \
+ -DSRCNAME=$(PKGSOURCE) \
+ -D__$(DEB_TARGET_GNU_CPU)__ \
+ -DARCH=$(DEB_TARGET_ARCH) \
+ -DDIST=$(distribution)
+ifeq ($(with_objc)-$(with_objc_gc),yes-yes)
+ ctrl_flags += -DOBJC_GC
+endif
+
+ctrl_flags += \
+ -DLIBC_DEV_DEP="$(LIBC_DEV_DEP)" \
+ -DLIBC_BIARCH_BUILD_DEP="$(LIBC_BIARCH_BUILD_DEP)" \
+ -DGNAT_BUILD_DEP="$(GNAT_BUILD_DEP)" \
+ -DJAVA_BUILD_DEP="$(JAVA_BUILD_DEP)" \
+ -DJAVA_BUILD_INDEP="$(JAVA_BUILD_INDEP)" \
+ -DLIBSTDCXX_BUILD_INDEP="$(LIBSTDCXX_BUILD_INDEP)" \
+ -DPASCAL_BUILD_DEP="$(PASCAL_BUILD_DEP)" \
+ -DBINUTILS_BUILD_DEP="$(BINUTILS_BUILD_DEP)" \
+ -DLIBC_BUILD_DEP="$(LIBC_BUILD_DEP)" \
+ -DMULTILIB_ARCHS="$(multilib_archs)" \
+ -DTP=$(TP) \
+ -DTS=$(TS) \
+ -DLS=$(LS)
+
+ifdef DEB_CROSS
+ ctrl_flags += \
+ -DTARGET=$(DEB_TARGET_ARCH) \
+ -DLIBUNWIND_BUILD_DEP="$(LIBUNWIND_BUILD_DEP)" \
+ -DLIBATOMIC_OPS_BUILD_DEP="$(LIBATOMIC_OPS_BUILD_DEP)"
+else
+ # add '-DPRI=optional' to ctrl_flags if this is not the default compiler
+ # ctrl_flags += \
+ # -DPRI=optional
+endif
+
+ifeq ($(with_base_only),yes)
+ ctrl_flags += \
+ -DBASE_ONLY=yes
+endif
+
+control: control-file parameters-file substvars-file versioned-files
+
+ifdef DEB_CROSS
+ languages = c c++ objc objpp
+ addons = libgcc lib64gcc libcxx lib64cxx cdev c++dev libobjc objcdev objppdev
+ ifdef DEB_CROSS_INDEPENDENT
+ addons += gccxbase
+ endif
+else
+ languages = ada c c++ fortran java objc objpp treelang # pascal
+ addons = gccbase cdev c++dev fdev fixincl libcxx lib4gcc \
+ libgcc libffi libfortran libgcj libgcjdev gcjdoc libgnat libobjc libs \
+ lib64gcc lib64cxx lib64ffi lib64gcj lib64objc lib64gfortran \
+ lib32objc lib32gfortran lib32gcj lib32gcc lib32cxx \
+ objcdev proto mudflap source objppdev libgomp lib32gomp lib64gomp \
+ multilib # libgmath libnof lib64gnat lib64gcj ssp
+# ifneq (,$(findstring gtk, $(java_awt_peers)))
+# addons += gtkpeer
+# endif
+# ifneq (,$(findstring qt, $(java_awt_peers)))
+# addons += qtpeer
+# endif
+ ifeq ($(with_separate_libgcj),yes)
+ ifeq ($(PKGSOURCE),gcc-$(BASE_VERSION))
+ languages := $(filter-out java,$(languages))
+ addons := $(filter-out gcj libgcj libgcjdev lib32gcj lib64gcj gcjdoc gtkpeer qtpeer,$(addons))
+ endif
+ ifeq ($(PKGSOURCE),gcj-$(BASE_VERSION))
+ languages = java
+ addons = gcj libgcj libgcjdev lib32gcj lib64gcj gcjdoc
+# ifneq (,$(findstring gtk, $(java_awt_peers)))
+# addons += gtkpeer
+# endif
+# ifneq (,$(findstring qt, $(java_awt_peers)))
+# addons += qtpeer
+# endif
+ ifeq ($(with_standalone_gcj),yes)
+ addons += libgcc lib4gcc lib64gcc lib32gcc
+ endif
+ endif
+ endif
+ ifeq ($(with_standalone_gcj),yes)
+ ifeq ($(PKGSOURCE),gcj-$(BASE_VERSION))
+ ctrl_flags += -DSTANDALONEJAVA
+ endif
+ endif
+ ifeq ($(with_separate_gnat),yes)
+ ifeq ($(PKGSOURCE),gcc-$(BASE_VERSION))
+ languages := $(filter-out ada,$(languages))
+ addons := $(filter-out libgnat,$(addons))
+ endif
+ ifeq ($(PKGSOURCE),gnat-$(BASE_VERSION))
+ languages = ada
+ addons = libgnat
+ endif
+ endif
+ ifneq ($(GFDL_INVARIANT_FREE),yes)
+ addons += gfdldoc
+ endif
+endif
+
+ifeq ($(distribution),DebianXXX)
+# use type-handling
+ada_no_archs := $(strip \
+ $(shell type-handling -n -r `echo $(ada_no_cpus) | tr ' ' ,` any) \
+ $(shell type-handling -n -r any `echo $(ada_no_systems) | tr ' ' ,`))
+java_no_archs := $(strip \
+ $(shell type-handling -n -r `echo $(java_no_cpus) | tr ' ' ,` any) \
+ $(shell type-handling -n -r any `echo $(java_no_systems) | tr ' ' ,`))
+pascal_no_archs := $(strip \
+ $(shell type-handling -n -r `echo $(pascal_no_cpus) | tr ' ' ,` any) \
+ $(shell type-handling -n -r any `echo $(pascal_no_systems) | tr ' ' ,`))
+fortran_no_archs := $(strip \
+ $(shell type-handling -n -r `echo $(fortran_no_cpus) | tr ' ' ,` any) \
+ $(shell type-handling -n -r any `echo $(fortran_no_systems) | tr ' ' ,`))
+libgc_no_archs := $(strip \
+ $(shell type-handling -n -r `echo $(libgc_no_cpus) | tr ' ' ,` any) \
+ $(shell type-handling -n -r any `echo $(libgc_no_systems) | tr ' ' ,`))
+check_no_archs := $(strip \
+ $(shell type-handling -n -r `echo $(check_no_cpus) | tr ' ' ,` any) \
+ $(shell type-handling -n -r any `echo $(check_no_systems) | tr ' ' ,`) \
+ !hurd-i386)
+locale_no_archs := $(strip \
+ $(shell type-handling -n -r `echo $(locale_no_cpus) | tr ' ' ,` any) \
+ $(shell type-handling -n -r any `echo $(locale_no_systems) | tr ' ' ,`))
+
+linux_gnu_archs := $(shell type-handling -r any linux-gnu)
+else
+# avoid it ...
+ada_no_archs := $(strip $(foreach cpu,$(ada_no_cpus),!$(cpu)) \
+ !kfreebsd-amd64 !knetbsd-i386 !netbsd-i386 !hurd-i386)
+java_no_archs := $(strip $(foreach cpu,$(java_no_cpus),!$(cpu)) \
+ !kfreebsd-amd64 !knetbsd-i386 !netbsd-i386 !hurd-i386)
+pascal_no_archs := $(strip $(foreach cpu,$(pascal_no_cpus),!$(cpu)) \
+ !netbsd-i386)
+fortran_no_archs:= $(strip $(foreach cpu,$(fortran_no_cpus),!$(cpu)) \
+ !avr)
+libgc_no_archs := $(strip $(foreach cpu,$(libgc_no_cpus),!$(cpu)) \
+ !knetbsd-i386)
+check_no_archs := $(strip $(foreach cpu,$(check_no_cpus),!$(cpu)) \
+ !hurd-i386)
+locale_no_archs := $(strip $(foreach cpu,$(locale_no_cpus),!$(cpu)) \
+ !hurd-i386 !knetbsd-i386 !netbsd-i386)
+linux_gnu_archs := !hurd-i386
+endif
+
+control-file:
+ echo "addons: $(addons)"; \
+ m4 $(ctrl_flags) \
+ -DPV=$(pkg_ver) \
+ -DGPC_PV=$(gpc_pkg_ver) \
+ -DCXX_SO=$(CXX_SONAME) \
+ -DGCC_SO=$(GCC_SONAME) \
+ -DOBJC_SO=$(OBJC_SONAME) \
+ -DFORTRAN_SO=$(FORTRAN_SONAME) \
+ -DGCJ_SO=$(PKG_GCJ_EXT) \
+ -DLIBGCJ_EXT=$(PKG_LIBGCJ_EXT) \
+ -DGNAT_SO=$(GNAT_SONAME) \
+ -DGNAT_V=$(GNAT_VERSION) \
+ -DFFI_SO=$(FFI_SONAME) \
+ -DGOMP_SO=$(GOMP_SONAME) \
+ -DGCCMATH_SO=$(GCCMATH_SONAME) \
+ -DMF_SO=$(MUDFLAP_SONAME) \
+ -DSSP_SO=$(SSP_SONAME) \
+ -Denabled_languages="$(languages) $(addons)" \
+ -Dada_no_archs="$(ada_no_archs)" \
+ -Djava_no_archs="$(java_no_archs)" \
+ -Dpascal_no_archs="$(pascal_no_archs)" \
+ -Dfortran_no_archs="$(fortran_no_archs)" \
+ -Dlibgc_no_archs="$(libgc_no_archs)" \
+ -Dcheck_no_archs="$(check_no_archs)" \
+ -Dlocale_no_archs="$(locale_no_archs)" \
+ -Dlinux_gnu_archs="$(linux_gnu_archs)" \
+ -Dbiarch32_archs="$(strip $(subst /, ,$(biarch32_archs)))" \
+ -Dbiarch64_archs="$(strip $(subst /, ,$(biarch_archs)))" \
+ debian/control.m4 > debian/control.tmp2
+ uniq debian/control.tmp2 | sed '/^Build/s/ *, */, /g' \
+ > debian/control.tmp
+ rm -f debian/control.tmp2
+ [ -e debian/control ] \
+ && cmp -s debian/control debian/control.tmp \
+ && rm -f debian/control.tmp && exit 0; \
+ mv debian/control.tmp debian/control; touch $(control_stamp)
+
+substvars-file:
+ rm -f debian/substvars.local.tmp
+ ( \
+ echo 'gcc:Version=$(DEB_GCC_VERSION)'; \
+ echo 'gcc:EpochVersion=$(DEB_EVERSION)'; \
+ echo 'gcc:SoftVersion=$(DEB_GCC_SOFT_VERSION)'; \
+ echo 'gpc:Version=$(DEB_GPC_VERSION)'; \
+ echo 'gcj:Version=$(DEB_GCJ_VERSION)'; \
+ echo 'gcj:SoftVersion=$(DEB_GCJ_SOFT_VERSION)'; \
+ echo 'gcj:BaseVersion=$(BASE_VERSION)'; \
+ echo 'gnat:Version=$(DEB_GNAT_VERSION)'; \
+ echo 'binutils:Version=$(BINUTILSV)'; \
+ echo 'dep:libgcc=$(LIBGCC_DEP)'; \
+ echo 'dep:libgccbiarch=$(LIBGCC_BIARCH_DEP)'; \
+ echo 'dep:libcdev=$(LIBC_DEV_DEP)'; \
+ echo 'dep:libcbiarch=$(LIBC_BIARCH_DEP)'; \
+ echo 'dep:libcbiarchdev=$(LIBC_BIARCH_DEV_DEP)'; \
+ echo 'dep:libunwinddev=$(LIBUNWIND_DEV_DEP)'; \
+ echo 'dep:libcxxbiarch=$(LIBCXX_BIARCH_DEP)'; \
+ echo 'dep:libcxxbiarchdbg=$(LIBCXX_BIARCH_DBG_DEP)'; \
+ echo 'dep:libgnat=$(LIBGNAT_DEP)'; \
+ ) > debian/substvars.local.tmp
+ifeq ($(with_libssp),yes)
+ echo 'dep:libssp=libssp$(SSP_SONAME) (>= $${gcc:Version})' \
+ >> debian/substvars.local.tmp
+endif
+ifeq ($(with_libgomp),yes)
+ echo 'dep:libgomp=libgomp$(GOMP_SONAME) (>= $${gcc:Version})' \
+ >> debian/substvars.local.tmp
+endif
+ifeq ($(with_lib32fortran),yes)
+ echo 'dep:libfortranbiarch=lib32gfortran$(FORTRAN_SONAME) (>= $${gcc:Version})' \
+ >> debian/substvars.local.tmp
+endif
+ifeq ($(with_lib32objc),yes)
+ echo 'dep:libobjcbiarch=lib32objc$(OBJC_SONAME) (>= $${gcc:Version})' \
+ >> debian/substvars.local.tmp
+endif
+ifeq ($(with_lib32ffi),yes)
+ echo 'sug:libffidev=lib32ffi$(FFI_SONAME)' \
+ >> debian/substvars.local.tmp
+endif
+ifeq ($(with_lib32mudflap),yes)
+ echo 'dep:libmudflapbiarch=lib32mudflap$(MUDFLAP_SONAME)' \
+ >> debian/substvars.local.tmp
+endif
+ifeq ($(with_lib32ssp),yes)
+ echo 'dep:libsspbiarch=lib32ssp$(SSP_SONAME) (>= $${gcc:Version})' \
+ >> debian/substvars.local.tmp
+endif
+ifeq ($(with_lib32gomp),yes)
+ echo 'dep:libgompbiarch=lib32gomp$(GOMP_SONAME) (>= $${gcc:Version})' \
+ >> debian/substvars.local.tmp
+endif
+ifeq ($(with_lib64fortran),yes)
+ echo 'dep:libfortranbiarch=lib64gfortran$(FORTRAN_SONAME) (>= $${gcc:Version})' \
+ >> debian/substvars.local.tmp
+endif
+ifeq ($(with_lib64objc),yes)
+ echo 'dep:libobjcbiarch=lib64objc$(OBJC_SONAME) (>= $${gcc:Version})' \
+ >> debian/substvars.local.tmp
+endif
+ifeq ($(with_lib64ffi),yes)
+ echo 'dep:libffidev=lib64ffi$(FFI_SONAME)' \
+ >> debian/substvars.local.tmp
+endif
+ifeq ($(with_lib64mudflap),yes)
+ echo 'dep:libmudflapbiarch=lib64mudflap$(MUDFLAP_SONAME)' \
+ >> debian/substvars.local.tmp
+endif
+ifeq ($(with_lib64ssp),yes)
+ echo 'dep:libsspbiarch=lib64ssp$(SSP_SONAME) (>= $${gcc:Version})' \
+ >> debian/substvars.local.tmp
+endif
+ifeq ($(with_lib64gomp),yes)
+ echo 'dep:libgompbiarch=lib64gomp$(GOMP_SONAME) (>= $${gcc:Version})' \
+ >> debian/substvars.local.tmp
+endif
+ifneq ($(with_standalone_gcj),yes)
+ echo 'dep:gcj=gcc$(pkg_ver) (>= $(DEB_GCC_SOFT_VERSION))' \
+ >> debian/substvars.local.tmp
+endif
+#ifneq (,$(findstring gtk, $(java_awt_peers)))
+# echo 'pkg:gcjgtk=libgcj$(subst 0,,$(GCJ_SONAME))-awt-gtk (>= $(DEB_GCJ_VERSION))' \
+# >> debian/substvars.local.tmp
+#endif
+#ifneq (,$(findstring qt, $(java_awt_peers)))
+# echo 'pkg:gcjqt=libgcj$(subst 0,,$(GCJ_SONAME))-awt-qt (>= $(DEB_GCJ_VERSION))' \
+# >> debian/substvars.local.tmp
+#endif
+ifeq ($(DEB_HOST_ARCH),hppa)
+ echo 'dep:prctl=prctl' >> debian/substvars.local.tmp
+endif
+ifeq ($(DEB_HOST_ARCH),hppa)
+ echo 'dep:prctl=prctl' >> debian/substvars.local.tmp
+endif
+ [ -e debian/substvars.local ] \
+ && cmp -s debian/substvars.local debian/substvars.local.tmp \
+ && rm -f debian/substvars.local.tmp && exit 0; \
+ mv debian/substvars.local.tmp debian/substvars.local; \
+ touch $(control_stamp)
+
+parameters-file:
+ rm -f debian/rules.parameters.tmp
+ ( \
+ echo '# configuration parameters taken from upstream source files'; \
+ echo 'GCC_VERSION := $(GCC_VERSION)'; \
+ echo 'NEXT_GCC_VERSION := $(NEXT_GCC_VERSION)'; \
+ echo 'BASE_VERSION := $(BASE_VERSION)'; \
+ echo 'SOURCE_VERSION := $(SOURCE_VERSION)'; \
+ echo 'DEB_VERSION := $(DEB_VERSION)'; \
+ echo 'DEB_EVERSION := $(DEB_EVERSION)'; \
+ echo 'GPC_BASE_VERSION := $(GPC_BASE_VERSION)'; \
+ echo 'DEB_GPC_VERSION := $(DEB_GPC_VERSION)'; \
+ echo 'DEB_SOVERSION := $(DEB_SOVERSION)'; \
+ echo 'DEB_SOEVERSION := $(DEB_SOEVERSION)'; \
+ echo 'DEB_LIBGCC_SOVERSION := $(DEB_LIBGCC_SOVERSION)'; \
+ echo 'DEB_LIBGCC_VERSION := $(DEB_LIBGCC_VERSION)'; \
+ echo 'DEB_STDCXX_SOVERSION := $(DEB_STDCXX_SOVERSION)'; \
+ echo 'DEB_GCJ_SOVERSION := $(DEB_GCJ_SOVERSION)'; \
+ echo 'PKG_GCJ_EXT := $(PKG_GCJ_EXT)'; \
+ echo 'PKG_LIBGCJ_EXT := $(PKG_LIBGCJ_EXT)'; \
+ echo 'DEB_FFI_SOVERSION := $(DEB_FFI_SOVERSION)'; \
+ echo 'DEB_GOMP_SOVERSION := $(DEB_GOMP_SOVERSION)'; \
+ echo 'DEB_GCCMATH_SOVERSION := $(DEB_GCCMATH_SOVERSION)'; \
+ echo 'GCC_SONAME := $(GCC_SONAME)'; \
+ echo 'CXX_SONAME := $(CXX_SONAME)'; \
+ echo 'FORTRAN_SONAME := $(FORTRAN_SONAME)'; \
+ echo 'OBJC_SONAME := $(OBJC_SONAME)'; \
+ echo 'GCJ_SONAME := $(GCJ_SONAME)'; \
+ echo 'GNAT_VERSION := $(GNAT_VERSION)'; \
+ echo 'GNAT_SONAME := $(GNAT_SONAME)'; \
+ echo 'FFI_SONAME := $(FFI_SONAME)'; \
+ echo 'MUDFLAP_SONAME := $(MUDFLAP_SONAME)'; \
+ echo 'SSP_SONAME := $(SSP_SONAME)'; \
+ echo 'GOMP_SONAME := $(GOMP_SONAME)'; \
+ echo 'GCCMATH_SONAME := $(GCCMATH_SONAME)'; \
+ echo 'LIBC_DEP := $(LIBC_DEP)'; \
+ ) > debian/rules.parameters.tmp
+ [ -e debian/rules.parameters ] \
+ && cmp -s debian/rules.parameters debian/rules.parameters.tmp \
+ && rm -f debian/rules.parameters.tmp && exit 0; \
+ mv debian/rules.parameters.tmp debian/rules.parameters; \
+ touch $(control_stamp)
+
+versioned-files:
+ fs=`echo debian/*-BV* debian/*GCJ* debian/*CXX* debian/*LC* debian/*FFI*|sort -u`; \
+ for f in $$fs; do \
+ [ -f $$f ] || echo "CANNOT FIND $$f"; \
+ [ -f $$f ] || continue; \
+ f2=$$(echo $$f \
+ | sed 's/BV/$(BASE_VERSION)/;s/PV/$(GPC_BASE_VERSION)/;s/CXX/$(CXX_SONAME)/;s/LGCJ/$(PKG_LIBGCJ_EXT)/;s/GCJ/$(PKG_GCJ_EXT)/;s/LC/$(GCC_SONAME)/;s/FFI/$(FFI_SONAME)/'); \
+ sed -e 's/@BV@/$(BASE_VERSION)/g' \
+ -e 's/@PV@/$(GPC_BASE_VERSION)/g' \
+ -e 's/@CXX@/$(CXX_SONAME)/g' \
+ -e 's/@LGCJ@/$(PKG_LIBGCJ_EXT)/g' \
+ -e 's/@GCJ@/$(PKG_GCJ_EXT)/g' \
+ -e 's/@LC@/$(GCC_SONAME)/g' \
+ -e 's/@FFI@/$(FFI_SONAME)/g' \
+ -e 's/@GFDL@/$(if $(filter yes,$(GFDL_INVARIANT_FREE)),#)/g' \
+ $$f > $$f2; \
+ touch -r $$f $$f2; \
+ done
--- gcc-4.2-4.2-20070528.orig/debian/gij-hppa
+++ gcc-4.2-4.2-20070528/debian/gij-hppa
@@ -0,0 +1,20 @@
+#! /bin/sh
+
+prctl=
+
+case "$(prctl --unaligned=)" in *signal)
+ echo >&2 "$(basename $0): ignore unaligned memory accesses"
+ prctl="prctl --unaligned=default"
+esac
+
+exec $prctl /usr/bin/gij-4.1.bin "$@"
+#! /bin/sh
+
+prctl=
+
+case "$(prctl --unaligned=)" in *signal)
+ echo >&2 "$(basename $0): ignore unaligned memory accesses"
+ prctl="prctl --unaligned=default"
+esac
+
+exec $prctl /usr/bin/gij-4.1.bin "$@"
--- gcc-4.2-4.2-20070528.orig/debian/changelog
+++ gcc-4.2-4.2-20070528/debian/changelog
@@ -0,0 +1,6233 @@
+gcc-4.2 (4.2-20070528-0ubuntu2) gutsy; urgency=low
+
+ * Add backport for PR target/31868.
+
+ -- Matthias Klose Mon, 28 May 2007 23:17:34 +0200
+
+gcc-4.2 (4.2-20070528-0ubuntu1) gutsy; urgency=low
+
+ * Update to SVN gcc-4_2-branch/20070528.
+ * Add backport for PR middle-end/20218.
+ * Add proposed PTA solver backport, PR tree-optimization/30052.
+
+ -- Matthias Klose Mon, 28 May 2007 09:03:04 +0200
+
+gcc-4.2 (4.2-20070525-1) unstable; urgency=low
+
+ * Update to SVN gcc-4_2-branch/20070525.
+ * Update to SVN trunk/20070520 (gcc/java, libjava, libffi, boehm-gc).
+ * Do not explicitely configure for __cxa_atexit.
+ * libstdc++6-4.2-doc: Conflict with libstdc++6-4.1-doc. Closes: #424896.
+ * Update m68k patches:
+ - Remove patches applied upstream: m68k-jumptable, m68k-gc,
+ - Reenable patches: m68k-save_pic, m68k-dwarf, m68k-limit_reload,
+ m68k-prevent-qipush, m68k-peephole, m68k-return, m68k-sig-unwind,
+ m68k-align-code m68k-align-stack, m68k-symbolic-operand,
+ m68k-bitfield-offset.
+ - Update: m68k-return, m68k-secondary-addr-reload, m68k-notice-move
+ m68k-secondary-addr-reload, m68k-notice-move.
+ - TODO: m68k-split_shift, m68k-dwarf3, m68k-fpcompare.
+ * Update the kfreebsd and arm patches (Aurelien Jarno). Closes: #425011.
+ * Temporarily disable the testsuite on slow architectures to get the
+ package built soon.
+
+ -- Matthias Klose Fri, 25 May 2007 07:14:36 +0200
+
+gcc-4.2 (4.2-20070516-1) unstable; urgency=low
+
+ * Update to SVN gcc-4_2-branch/20070516.
+ * Update to SVN trunk/20070516 (gcc/java, libjava, libffi, boehm-gc).
+ * Merge changes from gcc-4.1_4.1.2-7.
+ * Update NEWS files.
+
+ -- Matthias Klose Wed, 16 May 2007 02:33:57 +0200
+
+gcc-4.2 (4.2-20070502-1) unstable; urgency=low
+
+ * Update to SVN gcc-4_2-branch/20070502.
+ - Remove pr11953 patch, integrated upstream.
+ * Update to SVN trunk/20070502 (gcc/java, libjava, libffi, boehm-gc).
+ * Adjust tetex/tex-live build dependency.
+ * Fix gobjc-4.2's, gobjc++-4.2's dependency on libobjc2.
+ * Tighten (build) dependency on binutils. Addresses: #421197.
+ * gfortran-4.2: Depend on libgfortran2, provide the libgfortran.so
+ symlink. Adresses: #421362.
+ * Build-depend on gcc-multilib [amd64 i386 powerpc ppc64 s390 sparc].
+ * (Build-) depend on glibc (>= 2.5) for all architectures.
+ * Remove libssp packages from the control file.
+
+ -- Matthias Klose Wed, 2 May 2007 18:46:57 +0200
+
+gcc-4.2 (4.2-20070405-1) experimental; urgency=low
+
+ * Update to SVN gcc-4_2-branch/20070405.
+ * Update to SVN trunk/20070405 (gcc/java, libjava, libffi, boehm-gc).
+ * gcc-4.2-hppa64: Don't depend on libc6-dev.
+ * Robustify setting of make's -j flag. Closes: #410919.
+ * gcc-snapshot: Use the install_snap_stamp target for installation.
+
+ -- Matthias Klose Thu, 5 Apr 2007 23:56:35 +0200
+
+gcc-4.2 (4.2-20070307-1) experimental; urgency=low
+
+ * Update to SVN gcc-4_2-branch/20070307.
+ * Update to SVN trunk/20070307 (gcc/java, libjava, libffi, boehm-gc).
+ * Build gnat from separate sources.
+ * Merge changes from gcc-4.1-4.1.2-1.
+ * Install into /usr/lib/gcc//4.2, to ease upgrades
+ between subminor versions.
+ * Configure --with-gxx-include-dir=/usr/include/c++/4.2
+
+ -- Matthias Klose Thu, 8 Mar 2007 02:52:00 +0100
+
+gcc-4.2 (4.2-20070210-1) experimental; urgency=low
+
+ * Merge Java backport from Ubuntu:
+ - Update to SVN gcc-4_2-branch/20070210.
+ - Update to SVN trunk/20070210 (gcc/java, libjava).
+ - Backout trunk specific gcc/java changes.
+ - Build-depend on gcj-4.1 and ecj-bootstrap.
+ - gcj-4.2: Depend on ecj-bootstrap, recommend ecj-bootstrap-gcj.
+ - Merge libgcj8-awt-gtk back into libgcj8-awt; the Qt peers
+ are disabled by upstream again.
+ - Generate manual pages for the classpath tools from the classpath
+ documentation.
+ - Adopt packaging for the merged libjava.
+ - Update patches for the merged libjava: libjava-lib32-properties,
+ i386-biarch, reporting, libjava-soname, libjava-subdir,
+ libjava-lib32subdir.
+ - Remove obsolete patches: libjava-plugin-binary, libjava-ia32fix,
+ libstdc++-docfixes.
+
+ * Set priority of development packages to optional.
+ * debian/libgcjGCJ.postrm: Don't fail on purge when directories
+ don't exist anymore. Closes: #406017.
+ * debian/patches/gcc-textdomain.dpatch: Update for 4.2.
+ * Generate and install libgomp docs into gcc-4.2-doc.
+
+ -- Matthias Klose Sat, 10 Feb 2007 16:53:11 +0100
+
+gcc-4.2 (4.2-20070105-1) experimental; urgency=low
+
+ * Update to SVN 20070105.
+ * Add tetex-extra to Build-Depend-Indep (libstd++ doxygen docs),
+ fix doxygen build (libstdc++-docfixes.dpatch).
+ * Enable parallel build by default on SMP machines.
+
+ -- Matthias Klose Fri, 5 Jan 2007 22:42:18 +0100
+
+gcc-4.2 (4.2-20061217-1) experimental; urgency=low
+
+ * Update to SVN 20061217.
+ * Merge changes from gcc-4.1_4.1.1-16 to gcc-4.1_4.1.1-21.
+ * Update patches to the current branch.
+ * Add multilib packages for gcc, g++, gobjc, gobjc++, gfortran.
+ * Link using --hash-style=gnu (alpha, amd64, ia64, i386, powerpc, ppc64,
+ s390, sparc).
+
+ -- Matthias Klose Sun, 17 Dec 2006 15:54:54 +0100
+
+gcc-4.2 (4.2-20061003-1) experimental; urgency=low
+
+ * libgcj.postinst: Remove /var/lib/gcj-4.2 on package removal.
+ * Don't install backup files in the doc directory, only one gcc-4.1
+ upgrade was broken. Closes: #389366.
+ * Merge gcc-biarch-generic.dpatch into i386-biarch.dpatch.
+ * Update link-libs.dpatch.
+ * Merge libgfortran2-dev into gfortran-4.2.
+
+ -- Matthias Klose Tue, 3 Oct 2006 16:26:38 +0000
+
+gcc-4.2 (4.2-20060923-1) experimental; urgency=low
+
+ * Update to SVN 20060923.
+ * Remove patches applied upstream: kbsd-gnu-java, kbsd-gnu.
+
+ -- Matthias Klose Sat, 23 Sep 2006 15:11:36 +0200
+
+gcc-4.2 (4.2-20060905-1) experimental; urgency=low
+
+ * Update to SVN 20060905.
+ * Merge changes from gcc-4.1 (4.1.1-10 - 4.1.1-12).
+ * Move gomp development files into gcc and gfortran.
+ * Build-depend on binutils (>= 2.17).
+
+ -- Matthias Klose Tue, 5 Sep 2006 03:33:00 +0200
+
+gcc-4.2 (4.2-20060818-1) experimental; urgency=low
+
+ * Update to SVN 20060818.
+ - libjava-libgcjbc.dpatch: Remove, applied upstream.
+ * Merge changes from the Ubuntu gcj-4.2 package:
+ - libjava-soname.dpatch: Remove, applied upstream.
+ - libjava-native-libdir.dpatch: update.
+ - libffi-without-libgcj.dpatch: Remove, new libffi-configure to
+ enable --disable-libffi.
+ - Changes required for the classpath-0.92 update:
+ - New packages gappletviewer-4.2, gcjwebplugin-4.2.
+ - gij-4.2: Add keytool alternative.
+ - gcj-4.2: Add jarsigner alternative.
+ - libgcj8-dev: Remove conflicts with older libgcjX-dev packages.
+ - lib32gcj8: Populate the /usr/lib32/gcj-4.2 directory.
+ - libjava-library-path.dpatch:
+ - When running the i386 binaries on amd64, look in
+ /usr/lib32/gcj-x.y and /usr/lib32/jni instead.
+ - Add /usr/lib/jni to java.library.path. Adresses: #364820.
+ - Add more debugging symbols to libgcj8-dbg. Adresses: #383705.
+ - Fix and renable the biarch build for sparc.
+ * Disable gnat for alpha, fails to build.
+ * Configure without --enable-objc-gc, fails to build.
+
+ -- Matthias Klose Sat, 19 Aug 2006 18:25:50 +0200
+
+gcc-4.2 (4.2-20060709-1) experimental; urgency=low
+
+ * Test build, SVN trunk 20060709.
+ * Merge libssp0-dev into gcc-4.1 (-fstack-protector is a common option).
+ * Rename libmudflap0-dev to libmudflap0-4.2-dev.
+ * Ignore compiler warnings when checking whether compiler driver understands
+ Ada fails.
+ * Merge changes from the gcc-4.1 package.
+
+ -- Matthias Klose Sun, 9 Jul 2006 14:28:03 +0200
+
+gcc-4.2 (4.2-20060617-1) experimental; urgency=low
+
+ * Test build, SVN trunk 20060617.
+
+ [Matthias Klose]
+ * Configure using --enable-objc-gc, using the internal boehm-gc.
+ * Build-depend on bison (>= 1:2.3).
+ * Build the QT based awt peer library, not yet the same functionality
+ as the GTK based peer library.
+ * Update libjava-* patches.
+
+ [Ludovic Brenta]
+ * Do not provide the symbolic link /usr/bin/gnatgcc; this will now
+ be provided by package gnat from the source package gcc-defaults.
+ * debian/control.m4, debian/control (gnat): conflict with gnat (<< 4.1),
+ not all versions of gnat, since gcc-defaults will now provide gnat (= 4.1)
+ which depends on gnat-4.1.
+
+ [Bastian Blank]
+ * Make it possible to overwrite arch per DEB_TARGET_ARCH and
+ DEB_TARGET_GNU_TYPE.
+ * Disable biarch only on request for cross builds.
+ * Use correct source directory for tarballs.
+ * Produce correct multiarch.inc for source builds.
+
+ -- Matthias Klose Sat, 17 Jun 2006 19:02:01 +0200
+
+gcc-4.2 (4.2-20060606-1) experimental; urgency=low
+
+ * Test build, SVN trunk 20060606.
+ * Remove obsolete patches, update patches for 4.2.
+ * Update the biarch-include patches to work with mips-triarch.
+ * Disable Ada, not yet updated.
+ * New packages: libgomp*.
+ * Remove fastjar, not included upstream anymore.
+
+ -- Matthias Klose Tue, 6 Jun 2006 10:52:28 +0200
+
+gcc-4.1 (4.1.2-7) unstable; urgency=low
+
+ * Update to SVN 20070514.
+ * Link using --hash-style=both on supported architectures. Addresses: #421790.
+ * On hppa, build ecjx as a native binary.
+ * note-gnu-stack.dpatch: Fix ARM comment marker (Daniel Jacobowitz).
+ Closes: #422978.
+ * Add build dependency on libxul-dev for *-freebsd. Closes: #422995.
+ * Update config.guess/config.sub and build gcjwebplugin on GNU/kFreeBSD
+ (Aurelian Jarno). Closes: #422995.
+ * Disable ssp on hurd-i386. Closes: #423757.
+
+ -- Matthias Klose Mon, 14 May 2007 08:40:08 +0200
+
+gcc-4.1 (4.1.2-6) unstable; urgency=low
+
+ * Update libjava from the gcc-4.1 Fedora branch 20070504.
+ * gfortran-4.1: Fix the target of the libgfortran.so symlink.
+ Closes: #421362.
+ * Build-depend on gcc-multilib [amd64 i386 powerpc ppc64 s390 sparc].
+ * Readd build dependency on binutils on arm.
+ * (Build-) depend on glibc (>= 2.5) for all architectures.
+ * Remove libssp packages from the control file.
+ * Fix wrong code generation on hppa when TLS variables are used.
+ Closes: #422421.
+
+ -- Matthias Klose Sun, 6 May 2007 10:00:23 +0200
+
+gcc-4.1 (4.1.2-5) unstable; urgency=low
+
+ * Update to SVN 20070429.
+ * Update libjava from the gcc-4.1 Fedora branch 20070428.
+ * Update m68k patches:
+ - Remove pr25514, pr27736, applied upstream.
+ - Update m68k-java.
+ * Link using --hash-style=gnu/both.
+ * Tighten (build) dependency on binutils. Closes: #421197.
+ * gij-4.1: Add a conflict with java-gcj-compat (<< 1.0.69).
+ * gfortran-4.1: Depend on libgfortran1, provide the libgfortran.so
+ symlink. Closes: #421362.
+ * gcc-4.1, gcc-4.1-multilib: Fix compatibility symlinks. Closes: #421382.
+ * Temporarily remove build dependency on locales on arm, hppa, m68k, mipsel.
+ * Temporarily remove build dependency on binutils on arm.
+ * Fix FTBFS on GNU/kFreeBSD (Aurelian Jarno). Closes: #421423.
+ * gij-4.1 postinst: Create /var/lib/gcj-4.1. Closes: #421526.
+
+ -- Matthias Klose Mon, 30 Apr 2007 08:13:32 +0200
+
+gcc-4.1 (4.1.2-4) unstable; urgency=medium
+
+ * Update to SVN 20070423.
+ - Remove pr11953, applied upstream.
+ - Fix ld version detection in libstdc++v3.
+ * Update libjava from the gcc-4.1 Fedora branch 20070423.
+ * Merge libgfortran1-dev into gfortran-4.1.
+ * Add multilib packages for gcc, g++, gobjc, gobjc++, gfortran.
+ * Don't link using --hash-style=gnu/both; loosen dependency on binutils.
+ * Don't revert the patch to fix PR c++/27227.
+
+ -- Matthias Klose Mon, 23 Apr 2007 23:13:14 +0200
+
+gcc-4.1 (4.1.2-3) experimental; urgency=low
+
+ * Update to SVN 20070405.
+ * Update libjava from the gcc-4.1 Fedora branch 20070405.
+ * Robustify setting of make's -j flag. Closes: #414316.
+ * Only build the libssp packages, when building the common libraries.
+ * gcc-4.1-hppa64: Don't depend on libc6-dev.
+
+ -- Matthias Klose Fri, 6 Apr 2007 00:28:29 +0200
+
+gcc-4.1 (4.1.2-2) experimental; urgency=low
+
+ * Update to SVN 20070306.
+ * Update libjava from the gcc-4.1 Fedora branch 20070306.
+
+ [Matthias Klose]
+ * Don't install gij-wrapper anymore, directly register gij as a java
+ alternative.
+ * Don't install gcjh-wrapper anymore.
+ * Don't use exact versioned dependencies on gcj-base for libgcj and
+ libgcj-awt.
+ * Fix glibc build dependency for alpha.
+ * Support -ffast-math on hurd-i386 (Samuel Thibault). Closes: #413342.
+ * Update kfreebsd-amd64 patches (Aurelien Jarno). Closes: #406015.
+ * gij: Consistently use $(dbexecdir) to reference the gcj sub dir.
+ * Install into /usr/lib/gcc//4.1, to ease upgrades
+ between minor versions.
+ Add compatibility symlinks in /4.1.2 to build gnat-4.1
+ and gcj-4.1 from separate sources.
+
+ -- Matthias Klose Wed, 7 Mar 2007 03:51:47 +0100
+
+gcc-4.1 (4.1.2-1) experimental; urgency=low
+
+ [Matthias Klose]
+ * Update to gcc-4.1.2.
+ * Update libjava backport patches, split out boehm-gc-backport patch.
+ * Enable the cpu-default-generic patch (i386, amd64), backport from 4.2.
+ * Correct mfctl instruction syntax (hppa), backport from the trunk.
+ * Backport PR java/9861 (name mangling updates).
+ * gcc.c (main): Call expandargv (backport from 4.2).
+ * Apply gcc dwarf2 unwinding patches from the trunk.
+ * Apply backport for PR 20208 on amd64 i386 powerpc ppc64 sparc s390.
+ * Apply patches from the 4.1 branch for PR rtl-optimization/28772,
+ PR middle-end/30313, PR middle-end/30473, PR c++/30536, PR debug/30189,
+ PR fortran/30478, PR rtl-optimization/30787, PR tree-optimization/30823,
+ PR rtl-optimization/28173, PR ada/30684, bug in pointer dependency test,
+ PR rtl-optimization/30931, PR fortran/25392, PR fortran/30400,
+ PR libgfortran/30910, PR libgfortran/30918, PR fortran/29441,
+ PR target/30634.
+ * Update NEWS files.
+ * Include a backport of the ecj+generics java updates as
+ gcj-ecj-20070215.tar.bz2. Install it into the gcc-4.1-source package.
+ * Do not build fastjar anymore from this source.
+ * debian/control.m4: Move expect-tcl8.3 before dejagnu.
+ * Work around firefox/icewhatever dropping plugin dependencies on xpcom.
+ * Refactor naming of libgcj packages in the build files.
+ * Make libstdc++-doc's build dependencies depending on the source package.
+ * Do not build packages on architectures, which are already built by gcc-4.2.
+
+ * Merge the gcj generics backport from Ubuntu:
+
+ - Merge the Java bits (eclipse based compiler, 1.5 compatibility,
+ classpath generics) from the gcc-4.1 Fedora branch.
+ - Drop all previous patches from the classpath-0.93 merge, keep
+ the boehm-gc backport (splitted out as a separate patch).
+ - Add a gcj-ecj-generics.tar.bz2 tarball, containing gcc/java, libjava,
+ config/unwind_ipinfo.m4, taken from the Fedora branch.
+ - Drop the libjava-hppa, libjava-plugin-binary, pr29362, pr29805 patches
+ integrated in the backport.
+ - Update patches for the merge: reporting, libjava-subdir, i386-biarch,
+ classpath-tooldoc, pr26885
+ - Add libjava-dropped, libjava-install; dropped chunks from the merge.
+ - Add pr9861-nojava mangling changes, non-java parts for PR 9861.
+ - Add gcc-expandv, expand `@' parameters on the commandline; backport
+ from the trunk.
+ - Disable the m68k-gc patch, needs update for the merge.
+ - Configure --with-java-home set for 1.5.0.
+ - Configure with --enable-java-maintainer-mode to build the header
+ and class files on the fly.
+ - Add build dependency on ecj-bootstrap, configure --with-ecj-jar.
+ - Build an empty libgcj-doc package; gjdoc currently cannot handle
+ generics.
+ - Apply gcc dwarf2 unwinding patches from the trunk, allowing the Events
+ testcase to pass.
+ - Tighten dependencies on shared libraries.
+ - Use /usr/lib/gcj-4-1-71 as private gcj subdir.
+ - Bump the libgcj soversion to 71, rename the libgcj7-0 package
+ to libgcj7-1, rename the libgcj7-awt package to libgcj7-1-awt.
+ - gij-4.1: Add and provide alternatives for gorbd, grmid, gserialver.
+ - gcj-4.1: Remove gcjh, gcjh-wrapper, gjnih.
+ - gcj-4.1: Add and provide alternatives for jar, javah, native2ascii,
+ tnameserv.
+ - gcj-4.1: Add dependency on ecj-bootstrap, recommend fastjar,
+ ecj-bootstrap-gcj.
+ - Add build dependency on ecj-bootstrap version providing the GCCMain
+ class.
+ - libgcj7-1: Recommend libgcj7-1-awt.
+ - Add build dependency on libmagic-dev.
+ - Build-depend on gcj-4.1; build our own ecj1 and gjdoc before
+ starting the build.
+ - Make ecj1 available when running the testsuite.
+ - Fix build failure on sparc-linux.
+ - Fix gjavah compatibility problems (PR cp-tools/3070[67]).
+ - Fixed driver issue source files (PR driver/30714).
+ - Add (rudimentary) manual pages for classpath tools.
+
+ [Kevin Brown]
+ * debian/control.m4, debian/rules.d/binary-ada.mk: provide new packages
+ containing debugging symbols for Ada libraries: libgnat-4.1-dbg,
+ libgnatprj4.1-dbg, and libgnatvsn4.1-dbg. Adresses: #401385.
+
+ -- Matthias Klose Sat, 3 Mar 2007 23:12:08 +0100
+
+gcc-4.1 (4.1.1ds2-30) experimental; urgency=low
+
+ * Update to SVN 20070106.
+ * Do not revert the fixes for PR 25878, PR 29138, PR 29408.
+ * Don't build the packages built by gcc-4.2 source.
+ * debian/patches/note-gnu-stack.dpatch: Add .note.GNU-stack sections
+ for gcc's crt files, libffi and boehm-gc. Taken from FC. Closes: #382741.
+ * Merge from Ubuntu:
+ - Backport g++ visibility patches from the FC gcc-4_1-branch.
+ - Update the long-double patches; require glibc-2.4 as a build dependency
+ on alpha, powerpc, sparc, s390. Bump the shlibs dependencies to
+ require 4.1.1-21.
+ - On powerpc-linux configure using --enable-secureplt. Closes: #382748.
+ - When using the cpu-default-generic patch, build for generic x86-64
+ on amd64 and i386 biarch.
+ - Link using --hash-style=both (alpha, amd64, ia64, i386, powerpc, ppc64,
+ s390, sparc).
+ * gij-4.1: Recommends libgcj7-awt instead of suggesting it. Closes: #394917.
+ * Split the gcc-long-double patch into a code and doc part.
+ * Set priority of development packages to optional.
+ * Add support for kfreebsd-amd64 (Aurelian Jarno). Closes: #406015.
+
+ -- Matthias Klose Sat, 6 Jan 2007 10:35:42 +0100
+
+gcc-4.1 (4.1.1ds2-22) unstable; urgency=high
+
+ * Enable -pthread for GNU/Hurd (Michael Banck). Closes: #400031.
+ * Update the m68k-fpcompare patch (Roman Zippel). Closes: #401585.
+
+ -- Matthias Klose Sun, 10 Dec 2006 12:35:06 +0100
+
+gcc-4.1 (4.1.1ds2-20) unstable; urgency=low
+
+ [Matthias Klose]
+ * Update to SVN 20061115.
+ - Fix PR tree-optimization/27891, ICE in tree_split_edge.
+ Closes: #370248, #391657, #394630.
+ - Fix PR tree-optimization/9814, duplicate of PR tree-optimization/29797.
+ Closes: #181096.
+ * Apply the libjava/net backport from the redhat/gcc-4_1-branch.
+ * Apply proposed patch for PR java/29805.
+
+ [Roman Zippel]
+ * Build the ObjC and ObjC++ compilers in cross builds.
+ * debian/patches/m68k-symbolic-operand.dpatch: Better recognize
+ symbolic operands in addresses.
+ * debian/patches/m68k-bitfield-offset.dpatch: Only use constant offset
+ for register bitfields (combine expects shifts, but does a rotate).
+ * debian/patches/m68k-bitfield-offset.dpatch: Update and apply.
+
+ [Daniel Jacobowitz]
+ * Don't try to use _Unwind_Backtrace on SJLJ targets.
+ See bug #387875, #388505, GCC PR 29206.
+
+ -- Matthias Klose Wed, 15 Nov 2006 08:59:53 -0800
+
+gcc-4.1 (4.1.1ds2-19) unstable; urgency=low
+
+ * Fix typo in arm-pragma-pack.dpatch.
+
+ -- Matthias Klose Sat, 28 Oct 2006 11:04:00 +0200
+
+gcc-4.1 (4.1.1ds2-18) unstable; urgency=medium
+
+ [Matthias Klose]
+ * Update to SVN 20061028.
+ * Fix #pragma pack on ARM (Paul Brook). Closes: #394703.
+ * Revert PR c++/29138, PR c++/29408. Closes: #392559.
+ * Revert PR c++/25878. Addresses: #387989.
+ * fastjar: Provide jar. Closes: #395397.
+
+ [Ludovic Brenta]
+ * debian/control.m4 (libgnatprj-dev): depend on libgnatvsn-dev.
+ debian/gnatprj.gpr: with gnatvsn.gpr. Closes: #395000.
+
+ -- Matthias Klose Thu, 26 Oct 2006 23:51:10 +0200
+
+gcc-4.1 (4.1.1ds2-17) unstable; urgency=low
+
+ [Matthias Klose]
+ * Update to SVN 20061020.
+ - Fix PR debug/26881, ICE in dwarf2out_finish. Closes: #377613.
+ - Fix PR PR c++/29408, parse error for valid code. Closes: #392327, #393010.
+ - Fix PR c++/29435, segfault with sizeof and templates. Closes: #393071.
+ - Fix PR target/29338, segfault with -finline-limit on arm. Closes: 390620.
+ - Fix 3.4/4.0 backwards compatibility problem in libstdc++.
+ * Fix PR classpath/29362, taken from the redhat/gcc-4_1-branch.
+ * Remove the INSTALL directory from the source tarball. Closes: #392974.
+ * Disable building the static libgcj; non-functional, and cutting
+ down build times.
+ * libgcj7-0: Tighten dependency on libgcj-common.
+ * libgcj7-dev: Install .pc file as libgcj-4.1.pc.
+ * README.cross: Updated (Hector Oron). Addresses: #380251.
+ * config-ml.dpatch: Use *-linux-gnu as *_GNU_TYPE. Closes: #394034.
+
+ [Nikita V. Youshchenko]
+ * Fix typo in the cross build scripts. Closes: #391445.
+
+ [Falk Hueffner]
+ * alpha-no-ev4-directive.dpatch: Fix kernel build failure.
+
+ [Roman Zippel]
+ * debian/patches/m68k-align-code.dpatch: Use "move.l %a4,%a4" to advance
+ within code.
+ * debian/patches/m68k-align-stack.dpatch: Try to keep the stack word aligned.
+ * debian/patches/m68k-dwarf3.dpatch: Emit correct dwarf info for cfa offset
+ and register with -fomit-frame-pointer.
+ * debian/patches/m68k-fpcompare.dpatch: Bring fp compare early to its
+ desired form to relieve reload. Closes: #390879.
+ * debian/patches/m68k-prevent-swap.dpatch: Don't swap operands
+ during reloads.
+ * debian/patches/m68k-reg-inc.dpatch: Reinsert REG_INC notes after splitting
+ an instruction.
+ * debian/patches/m68k-secondary-addr-reload.dpatch: Add secondary reloads
+ to allow reload to get byte values into addr regs. Closes: #385327.
+ * debian/patches/m68k-symbolic-operand.dpatch: Better recognize symbolic
+ operands in addresses.
+ * debian/patches/m68k-limit_reload.dpatch: Remove, superseded by
+ m68k-secondary-addr-reload.dpatch.
+ * debian/patches/m68k-notice-move.dpatch: Apply, was checked in in -16.
+ * debian/patches/m68k-autoinc.dpatch: Updated, don't attempt to increment
+ the register, if it's used multiple times in the instruction .
+
+ -- Matthias Klose Sat, 21 Oct 2006 00:25:05 +0200
+
+gcc-4.1 (4.1.1ds1-16) unstable; urgency=low
+
+ [Matthias Klose]
+ * Update to SVN 20061008.
+ - Fix PR c++/29226, ICE in make_decl_rtl. Closes: #388263.
+ * libgcj7-0: Fix package removal. Closes: #390874.
+ * Configure with --disable-libssp on architectures that don't
+ support it (alpha, hppa, ia64, m68k, mips, mipsel).
+ * On hppa, remove build-dependency on dash.
+ * gij/gcj: Do not install slave links for the non DFSG manpages.
+ Closes: #390425, #390532.
+ * libgcj-common: rebuild-gcj-db: Don't do anything, if no classmap
+ files are found. Closes: #390966.
+ * Fix PR libstdc++/11953, extended for all linux architectures.
+ Closes: #391268.
+ * libffi4-dev: Conflict with libffi. Closes: #387561.
+ * Backport PR target/27880 to the gcc-4_1-branch. Patch by Steve Ellcey.
+ Closes: #390693.
+ * On ia64, don't use _Unwind_GetIPInfo in libjava and libstdc++.
+ * Add a README.ssp with minimal documentation about stack smashing
+ protection. Closes: #366094.
+ * Do not build libgcj-common from the gcc-4.1/gcj-4.1 sources anymore.
+
+ [Roman Zippel]
+ * debian/patches/m68k-notice-move.dpatch: Don't set cc_status
+ for fp move without fp register.
+
+ -- Matthias Klose Sun, 8 Oct 2006 02:21:49 +0200
+
+gcc-4.1 (4.1.1ds1-15) unstable; urgency=medium
+
+ * Update to SVN 20060927.
+ - Fix PR debug/29132, exception handling on mips. Closes: #389468, #390042.
+ - Fix typo in gcc documentation. Closes: #386180.
+ - Fix PR target/29230, wrong code generation on arm. Closes: #385505.
+ * libgcj-common: Ignore exit value of gcj-dbtool in rebuild-gcj-db on
+ arm, m68k, hppa. Adresses: #388505.
+ * libgcj-common: Replaces java-gcj-compat-dev and java-gcj-compat.
+ Closes: #389539.
+ * libgcj-common: /usr/share/gcj/debian_defaults: Define gcj_native_archs.
+ * Update the java backport from the redhat/gcc-4_1-branch upto 2006-09-27;
+ remove libjava-str2double.dpatch, pr28661.dpatch.
+ * Disable ssp on hppa, not supported.
+ * i386-biarch.dpatch: Avoid warnings about macro redefinitions.
+
+ -- Matthias Klose Fri, 29 Sep 2006 22:32:41 +0200
+
+gcc-4.1 (4.1.1ds1-14) unstable; urgency=medium
+
+ [Matthias Klose]
+ * Update to SVN 20060920.
+ - Fix PR c++/26957. Closes: #373257, #386910.
+ - Fix PR rtl-optimization/28243. Closes: #378325.
+ * Remove patch for PR rtl-optimization/28634, applied upstream.
+ * Fix FTBFS on GNU/kFreeBSD (fallout from the backport of classpath-0.92).
+ (Petr Salinger). Closes: #385974.
+ * Merge from Ubuntu:
+ - Do not encode the subminor version in the jar files.
+ - Fix typo for the versioned gcj subdirectory in lib32gcj-0.
+ - When running the i386 binaries on amd64, adjust the properties
+ java.home, gnu.classpath.home.url, sun.boot.class.path,
+ gnu.gcj.precompiled.db.path.
+ - Configure the 32bit build on amd64
+ --with-java-home=/usr/lib32/jvm/java-1.4.2-gcj-4.1-1.4.2.0/jre.
+ - Configure --with-long-double-128 for glibc-2.4 on alpha, powerpc, ppc64,
+ s390, s390x, sparc, sparc64.
+ - Update the java backport from the redhat/gcc-4_1-branch upto 2006-09-20.
+ - Fix PR java/29013, invalid byte code generation. Closes: #386926.
+ - debian/patches/gcc-pfrs-2.dpatch: Apply a fix for a regression in the
+ backport of PR 28946 from the trunk (H.J. Lu).
+ * Backport PR classpath/28661 from the trunk.
+ * Don't ship the .la files for the java modules. Closes: #386228.
+ * gcj-4.1: Remove dangling symlink. Closes: #386430.
+ * gij: Suggest java-gcj-compat, gcj: Suggest java-gcj-compat-dev.
+ Closes: #361942.
+ * Fix infinite loop in string-to-double conversion on 64bit targets.
+ Closes: #348792.
+ * gij-4.1: Ignore exit value of gcj-dbtool in postinst. Adresses: #388505.
+ * libgcj-common: Move rebuild-gcj-db from java-gcj-compat into libgcj-common.
+ * On hppa, install a wrapper around gij-4.1 to ignore unaligned memory
+ accesses. Works around buildd configurations enabling this check by
+ default. Addresses: #364819.
+
+ [Ludovic Brenta]
+ * debian/patches/ada-libgnatprj.dpatch: Build mlib-tgt-linux.adb instead of
+ mlib-tgt.adb. Closes: #387826.
+ * debian/patches/ada-pr15802.dpatch: Backport from the trunk.
+ Closes: #246384.
+ * debian/control.m4 (gnat-4.1): do not provide gnat (supplied by
+ gcc-defaults instead); conflict with gnat-4.2 which will soon be in
+ unstable.
+
+ [Roman Zippel]
+ * debian/patches/m68k-dwarf2.dpatch: Recognize stack adjustments also
+ in the src of an instruction.
+ * debian/patches/m68k-jumptable.dpatch: Don't force byte offset when
+ accessing the jumptable, gas can generate the correct offset size instead.
+ * debian/patches/m68k-peephole.dpatch: Convert some text peepholes to rtl
+ peepholes, so the correct DWARF2 information can be generated for stack
+ manipulations (Keep a few peepholes temporarily disabled).
+ * debian/patches/m68k-peephole-note.dpatch: Don't choke on notes while
+ reinserting REG_EH_REGION notes.
+ * debian/patches/m68k-return.dpatch: Don't use single return if fp register
+ have to be restored. Closes: #386864.
+ * debian/patches/m68k-sig-unwind.dpatch: Add support for unwinding over
+ signal frames.
+ * Fix PR rtl-optimization/27736, backport from the trunk.
+ * Add java support for m68k. Closes: #312830, #340874, #381022.
+
+ -- Matthias Klose Sun, 24 Sep 2006 19:36:31 +0200
+
+gcc-4.1 (4.1.1ds1-13) unstable; urgency=medium
+
+ * Update to SVN 20060901; remove patches applied upstream:
+ - PR target/24367.
+ - PR c++/26670.
+ * Apply proposed patch for PR fortran/28908.
+ * Fix biarch symlinks in lib64stdc++ for cross builds.
+ * Fix biarch symlinks in lib32objc on amd64.
+
+ -- Matthias Klose Fri, 1 Sep 2006 00:04:05 +0200
+
+gcc-4.1 (4.1.1ds1-12) unstable; urgency=medium
+
+ [Matthias Klose]
+ * Update to SVN 20060830.
+ * Add backport of PR other/26208, bump libgcc1 shlibs dependency.
+ * Add backport of PR c++/26670. Closes: #356548.
+ * Apply proposed patch for PR target/24367 (s390).
+ * Add /usr/lib/jni to the libjava dlsearch path. Closes: #364820.
+ * Build without GFDL licensed docs. Closes: #384036.
+ - debian/patches/{svn-doc-updates,pr25524-doc,pr26885-doc}.dpatch:
+ Split out -doc specific patches.
+ - debian/*.texi, debian/porting.html: Add dummy documentation.
+ - debian/rules.unpack, debian/rules.patch: Update for non-gfdl build.
+ - fastjar.texi: Directly define the gcctabopt and gccoptlist macros.
+
+ * Merge from Ubuntu:
+ - Backport the classpath-0.92, libjava, gcc/java merge from the
+ redhat/gcc-4_1-branch branch.
+ - Apply the proposed patch for PR libgcj/28698.
+ - Change the libgcj/libgij sonames. Rename libgcj7 to libgcj7-0.
+ - Do not remove the rpath from libjvm.so and libjawt.so. Some
+ configure scripts rely on being able to link that libraries
+ directly.
+ - When running the i386 binaries on amd64, look in
+ /usr/lib32/gcj-x.y and /usr/lib32/jni instead.
+ - Add /usr/lib/jni to java.library.path. Closes: #364820.
+ - Add debugging symbols for more binary packages to libgcj7-dbg.
+ Closes: #383705.
+ - libgcj7-dev: Remove conflicts with older libgcjX-dev packages.
+ - Do not build the libgcj-bc and lib32gcj-bc packages anymore from
+ the gcj-4.1 source.
+
+ [Roman Zippel]
+ * debian/patches/m68k-limit_reload.dpatch: Correctly limit reload class.
+ Closes: #375522.
+ * debian/patches/m68k-split_shift.dpatch: Use correct predicates for long long
+ shifts and use more splits. Closes: #381572.
+ * debian/patches/m68k-prevent-qipush.dpatch: Prevent combine from creating
+ a byte push on the stack (invalid on m68k). Closes: #385021.
+ * debian/patches/m68k-autoinc.dpatch: Recognize a few more autoinc possibilities.
+ * debian/patches/pr25514.dpatch: Backport from the trunk.
+ * debian/patches/m68k-gc.dpatch: Change STACKBOTTOM to LINUX_STACKBOTTOM
+ so it works with 2.6 kernels.
+ * Other m68k bug reports fixed in 4.1.1-11 and 4.1.1-12:
+ Closes: #378599, #345574, #344041, #323426, #340293.
+ * Build the stage1 compiler using -g -O2; saves a few hours build time
+ and apparently is working at the moment.
+
+ -- Matthias Klose Tue, 29 Aug 2006 21:37:28 +0200
+
+gcc-4.1 (4.1.1-11) unstable; urgency=low
+
+ * The "Our priority are our users, remove the documentation!" release.
+
+ [Matthias Klose]
+ * Fix build failure building the hppa->hppa64 cross compiler.
+ * Update to SVN 20060814.
+ - Fix directory traversal vulnerability in fastjar. Closes: #368397.
+ CVE-2006-3619.
+ - Fix PR rtl-optimization/23454, ICE in invert_exp_1 on sparc.
+ Closes: #321215.
+ - Fix PR c++/26757, C++ front-end producing two DECLs with the same UID.
+ Closes: #356569.
+ * Remove patch for PR rtl-optimization/28075, applied upstream.
+ * Apply proposed patch for PR rtl-optimization/28634, rounding problem with
+ -fdelayed-branch on hppa/mips. Closes: #381710.
+ * Fixed at least in 4.1.1-10: boost::date_time build failure.
+ Closes: #382352.
+ * Build-depend on make (>= 3.81), add make (>= 3.81) as dependency to
+ gcc-4.1-source. Closes: #381117.
+ * Backport of libffi from the trunk; needed for the java backport in
+ experimental.
+ * libffi4-dev: Install the libffi_convenience library as libffi_pic.a.
+ * When building a package without the GFDL'd documentation, don't create
+ the alternative's slave links for manual pages for the java tools.
+ * Do not build the -doc packages and derived manual pages licensed under
+ the GFDL with invariant sections or cover texts.
+ * Only build the libssp package, if the target libc doesn't provide
+ ssp support.
+ * Run the complete testsuite, when building a standalone gcj package.
+
+ [Roman Zippel]
+ * debian/patches/m68k-fjump.dpatch:
+ Always use as fjcc pseudo op, we rely heavily on as to generate the
+ right size for the jump instructions. Closes: #359281.
+ * debian/patches/m68k-gc.dpatch:
+ The thread suspend handler has to save all registers.
+ Reenable MPROTECT_VDB, it should work, otherwise it's probably a kernel bug.
+ * debian/patches/m68k-save_pic.dpatch:
+ Correctly save the pic register, when not done by reload().
+ (fixes _Unwind_RaiseException and thus exception handling).
+ * debian/patches/m68k-libffi.dpatch: Add support for closures.
+ * debian/patches/m68k-bitfield.dpatch: Avoid propagation of mem expression
+ past a zero_extract lvalue.
+ * debian/patches/m68k-dwarf.dpatch: Correct the dwarf frame information,
+ but preserve compatibility.
+
+ [Christian Aichinger]
+ * Fix building a cross compiler targeted for ia64. Closes: #382627.
+
+ -- Matthias Klose Tue, 15 Aug 2006 00:41:00 +0200
+
+gcc-4.1 (4.1.1-10) unstable; urgency=low
+
+ * Update to SVN 20060729.
+ - Fix PR c++/28225, segfault in type_dependent_expression_p.
+ Closes: #376148.
+ * Apply proposed patch for PR rtl-optimization/28075.
+ Closes: #373820.
+ * Apply proposed backport and proposed patch for PR rtl-optimization/28221.
+ Closes: #376084.
+ * libgcj7-jar: Loosen dependency on gcj-4.1-base.
+ * Add ssp header files to the private gcc includedir.
+ * Do not build the Ada packages from the gcc-4.1 source, introducing
+ a new gnat-4.1 source package.
+ * Build libgnat on alpha and s390 as well.
+ * Do not build the gnat-4.1-doc package (GFDL with invariant sections or
+ cover texts).
+ * Remove references to the stl-manual package. Closes: #378698.
+
+ -- Matthias Klose Sat, 29 Jul 2006 22:08:59 +0200
+
+gcc-4.1 (4.1.1-9) unstable; urgency=low
+
+ * Update to SVN 20060715.
+ - Fix PR c++/28016, do not emit uninstantiated static data members.
+ Closes: #373895, #376871.
+ * Revert the patch to fix PR c++/27227. Closes: #378321.
+ * multiarch-include.dpatch: Renamed from biarch-include.dpatch;
+ apply for all architectures.
+ * Do not build the java compiler in gcc-4.1 package, just include the
+ options and specs in the gcc driver.
+ * Remove gnat-4.0 as an alternative build dependency.
+ * Add a patch to enable -fstack-protector by default for C, C++, ObjC, ObjC++.
+ The patch is disabled by default.
+
+ -- Matthias Klose Sat, 15 Jul 2006 17:07:29 +0200
+
+gcc-4.1 (4.1.1-8) unstable; urgency=medium
+
+ * Update to SVN 20060708.
+ - Fix typo in gcov documentation. Closes: #375140.
+ - Fix typo in gccint documentation. Closes: #376412.
+ - [alpha], Fix -fvisibility-inlines-hidden segfaults on reference to
+ static method. PR target/27082. Closes: #369642.
+
+ * Fix ppc64 architecture string in debian/multiarch.inc. Closes: #374535.
+ * Fix conflict, replace and provide libssp0-dev for cross compilers.
+ Closes: #377012.
+ * Ignore compiler warnings when checking whether compiler driver understands
+ Ada fails. Closes: #376660.
+ * Backport fix for PR libmudflap/26864 from the trunk. Closes: #26864.
+ * README.C++: Remove non-existing URL. Closes: #347601.
+ * gij-4.1: Provide java2-runtime. Closes: #360906.
+
+ * Closed reports reported against gcc-3.0 and fixed in gcc-4.1:
+ - C++
+ + PR libstdc++/13943, call of overloaded `llabs(int)' is ambiguous.
+ Closes: #228645.
+ - Java
+ + Fixed segmentation fault on compiling bad program. Closes: #165635
+ * Closed reports reported against gcc-3.3 and fixed in gcc-4.1:
+ - Stack protector available. Closes: #213994, #233208.
+ - Better documentation of -finline-limit option. Closes: #296047.
+ * Closed reports reported against gcc-3.4 and fixed in gcc-4.1:
+ - General
+ + Fixed [unit-at-a-time] Using -O2 cannot detect missing return
+ statement in a function. Closes: #276843.
+ - C++
+ + PR13943, call of overloaded `llabs(int)' is ambiguous. Closes: #228645.
+ + PR c++/21280, #pragma interface, templates, and "inline function used
+ but never defined". Closes: #364412.
+ - Architecture specific:
+ - m68k
+ + Segfault building glibc. Closes: #353618.
+ + ICE when trying to build boost. Closes: #321486.
+ * Closed reports reported against gcc-4.0 and fixed in gcc-4.1:
+ - General
+ + Handling of #pragma GCC visibility for builtin functions.
+ Closes: #330279.
+ + gettext interpretation the two conditional strings as one.
+ Closes: #227193.
+ + ICE due to if-conversion. Closes: #335078.
+ + Fix unaligned accesses with __attribute__(packed) and memcpy.
+ Closes: #355297.
+ + Fix ICE in expand_expr_real_1, at expr.c. Closes: #369817.
+ - Ada
+ + Link error not finding -laddr2line. Closes: #322849.
+ + ICE on invalid code. Closes: #333564.
+ - C++
+ + libstdc++: bad thousand separator with fr_FR.UTF-8. Closes: #351786.
+ + The Compiler uses less memory than 4.0. Closes: #336225.
+ + Fix "fails to compare reverse map iterators". Closes: #362840.
+ + Fix "fail to generate code for base destructor defined inline with
+ pragma interface". Closes: #356435.
+ + Fix ICE in cp_expr_size, at cp/cp-objcp-common.c. Closes: #317455.
+ + Fix wrong warning: control may reach end of non-void function.
+ Closes: #319309.
+ + Fix bogus warning "statement has no effect" with template and
+ statement-expression. Closes: #336915.
+ + Fixed segfault on syntax error. Closes: #349087.
+ + Fix ICE with __builtin_constant_p in template argument.
+ Closes: #353366.
+ + Implement DR280 (fixing "no operator!= for const_reverse_iterator").
+ Closes: #244894.
+ - Fortran
+ + Fix wrong behaviour in unformatted writing. Closes: #369547.
+ - Java
+ + Fixed segfault on -fdump-tree-all-all. Closes: #344265.
+ + Fixed ant code completion in eclipse generating a nullpointer
+ exception. Closes: #337510.
+ + Fixed abort in gnu_java_awt_peer_gtk_GtkImage.c. Closes: #343112.
+ + Fixed assertion failure in gij with rhdb-explain. Closes: #335650.
+ + Fixed assertion failure when calling JTabbedPane.addTab(null, ...).
+ Closes: #314704.
+ + Fixed error when displaying empty window with bound larger than the
+ displayed content. Closes: #324502.
+ + Fixed: Exception in JComboBox.removeAllItems(). Closes: #314706.
+ + Fixed assertian error in gnu_java_awt_peer_gtk_GtkImage.c.
+ Closes: #333733.
+ - libmudflap
+ + PR libmudflap/23170, libmudflap should not use functions marked
+ obsolescent by POSIX/SUS. Closes: #320398.
+ - Architecture specific:
+ - m68k
+ + FTBFS building tin. Closes: #323016.
+ + ICE with -g -fomit-frame-pointer. Closes: #331150.
+ + ICE in instantiate_virtual_regs_lossage. Closes: #333536.
+ + Wrong code generation with loop unrolling. Closes: #342121.
+ + ICEs while building gst-ffmpeg. Closes: #343692.
+ - mips
+ + Fix gjdoc build failure. Closes: #344986.
+ + Fix link failure for static libs and object files when xgot
+ needs to be used. Closes: #274942.
+ * gnat bug reports fixed since gnat-3.15p:
+ - GNAT miscounts UTF8 characters in string with -gnaty. Closes: #66175.
+ - Bug box from "with Text_IO" when compiling optimized. Closes: #243795.
+ - Nonconforming parameter lists not detected. Closes: #243796.
+ - Illegal use clause not detected. Closes: #243797.
+ - Compiler enters infinite loop on illegal program with tagged records.
+ Closes: #243799.
+ - Compiler crashes on illegal program (missing discriminant, unconstrained
+ parent). Closes: #243800.
+ - Bug box at sinfo.adb:1215 on illegal program. Closes: #243801.
+ - Bug box at sinfo.adb:1651 on illegal program. Closes: #243802.
+ - Illegal program not detected (entry families). Closes: #243803.
+ - Illegal program not detected, RM 10.1.1(14). Closes: #243807.
+ - Bug box at exp_ch9.adb:7254 on illegal code. Closes: #243812.
+ - Illegal program not detected, RM 4.1.4(14). Closes: #243816.
+ - Bug box in Gigi, code=116, on legal program. Closes: #244225.
+ - Illegal program not detected, 12.7(10) (generic parameter is visible,
+ shouldn't be). Closes: #244483.
+ - Illegal program not detected, ambiguous aggregate. Closes: #244496.
+ - Bug box at sem_ch3.adb:8003. Closes: #244940.
+ - Bug box in Gigi, code=103, on illegal program. Closes: #244945.
+ - Legal program rejected, overloaded procedures. Closes: #246188.
+ - Bug box in Gigi, code=999, on legal program. Closes: #246388.
+ - Illegal program not detected, RM 10.1.6(3). Closes: #246389.
+ - Illegal program not detected, RM 3.10.2(24). Closes: #247014.
+ - Illegal program not detected, RM 3.9(17). Closes: #247015.
+ - Legal program rejected. Closes: #247016.
+ - Legal program rejected. Closes: #247021.
+ - Illegal program not detected, RM 4.7(3). Closes: #247022.
+ - Illegal program not detected, RM 3.10.2(27). Closes: #247562.
+ - Legal program rejected, "limited type has no stream attributes".
+ Closes: #247563.
+ - Wrong output from legal program. Closes: #247565.
+ - Compiler enters infinite loop on illegal program. Closes: #247567.
+ - Illegal program not detected, RM 8.6(31). Closes: #247568.
+ - Legal program rejected, visible declaration not seen. Closes: #247572.
+ - Illegal program not detected, RM 8.2(9). Closes: #247573.
+ - Wrong output from legal program, dereferencing access all T'Class.
+ Closes: #248171.
+ - Compiler crashes on illegal program, RM 5.2(6). Closes: #248174.
+ - Cannot find generic package body, RM 1.1.3(4). Closes: #248677.
+ - Illegal program not detected, RM 3.4.1(5). Closes: #248679.
+ - Compiler ignores legal override of abstract subprogram. Closes: #248686.
+ - Bug box, Assert_Failure at sinfo.adb:2365 on illegal program.
+ Closes: #251266.
+ - Ada.Numerics.Generic_Elementary_Functions.Log erroneout with -gnatN.
+ Closes: #263498.
+ - Bug box, Assert_Failure at atree.adb:2906 or Gigi abort, code=102
+ with -gnat -gnatc. Closes: #267788.
+ - Bug box in Gigi, code=116, 'Unrestricted_Access of a protected
+ subprogram. Closes: #269775.
+ - Stack overflow on illegal program, AI-306. Closes: #276225.
+ - Illegal program not detected, RM B.1(24). Closes: #276226.
+ - Wrong code generated with -O -fPIC. Closes: #306833.
+ - Obsolete: bashism's in debian/rules file. Closes: #370681.
+ - Supports more debian architectures. Closes: #171477.
+
+ -- Matthias Klose Sat, 8 Jul 2006 16:24:47 +0200
+
+gcc-4.1 (4.1.1-7) unstable; urgency=low
+
+ * Prefer gnat-4.1 over gnat-4.0 as a build dependency.
+ * libssp0: Set priority to standard.
+
+ -- Matthias Klose Sun, 2 Jul 2006 10:22:50 +0000
+
+gcc-4.1 (4.1.1-6) unstable; urgency=low
+
+ [Ludovic Brenta]
+ * Do not provide the symbolic link /usr/bin/gnatgcc; this will now
+ be provided by package gnat from the source package gcc-defaults.
+ * debian/control.m4, debian/control (gnat): conflict with gnat (<< 4.1),
+ not all versions of gnat, since gcc-defaults will now provide gnat (= 4.1)
+ which depends on gnat-4.1.
+
+ [Matthias Klose]
+ * libjava: Change the default for enable_hash_synchronization_default
+ on PA-RISC. Tighten the libgcj7 shlibs version on hppa.
+ * Update to SVN 20060630.
+ * Apply proposed patch for PR 26991.
+ * Don't use the version for the libstdc++ shlibs dependency for the libgcj
+ shlibs dependency.
+ * Merge from Ubuntu edgy:
+ - Fix %g7 usage in TLS, add patch sparc-g7.dpatch, fixes glibc-2.4 build
+ failure on sparc (Fabio M. Di Nitto).
+ - Merge libssp0-dev into gcc-4.1 (-fstack-protector is a common option).
+ - Run the testsuite with -fstack-protector as well.
+
+ [Bastian Blank]
+ * Make it possible to overwrite arch per DEB_TARGET_ARCH and DEB_TARGET_GNU_TYPE.
+ * Disable biarch only on request for cross builds.
+ * Use correct source directory for tarballs.
+ * Produce correct multiarch.inc for source builds.
+
+ -- Matthias Klose Sat, 1 Jul 2006 01:49:55 +0200
+
+gcc-4.1 (4.1.1-5) unstable; urgency=low
+
+ * Fix build error running with dpkg-buildpackage -rsudo.
+
+ -- Matthias Klose Wed, 14 Jun 2006 01:54:13 +0200
+
+gcc-4.1 (4.1.1-4) unstable; urgency=low
+
+ * Really do not backout the fix for PR c++/26068.
+ Closes: #372152, #372559.
+ * Update fastjar version string to 4.1.
+ * Disable pascal again.
+
+ -- Matthias Klose Mon, 12 Jun 2006 20:29:57 +0200
+
+gcc-4.1 (4.1.1-3) unstable; urgency=low
+
+ * Update to SVN 20060608, do not revert the fix for PR c++/26068.
+ Closes: #372152, #372559.
+ * Fix build failures for Pascal, enable Pascal on all architectures.
+ * Fix another build failure on GNU/kFreeBSD (Aurelien Jarno).
+ Closes: #370661.
+ * Fix build fauilure in gcc/p with parallel make.
+ * Remove cross-configure patch (Kazuhiro Inaoka). Closes: #370649.
+ * Only build the gcc-4.1-source package, when building from the gcc-4.1
+ source.
+ * Fix upgrade problem from standalone gcj-4.1.
+ * Fix build error using bison-2.2, build-depend on bison (>= 2.3).
+ Closes: #372605.
+ * Backport PR libstdc++/25524 from the trunk, update the biarch-include
+ patch. mips triarch support can be added more easily.
+
+ -- Matthias Klose Mon, 12 Jun 2006 00:23:45 +0200
+
+gcc-4.1 (4.1.1-2) unstable; urgency=low
+
+ * Update to SVN 20060604.
+ - Fix PR c++/26757, C++ front-end producing two DECLs with the same UID.
+ Closes: #356569.
+ - Fix PR target/27158, ICE in extract_insn with -maltivec.
+ Closes: #362307.
+ * Revert PR c++/26068 to work around PR c++/27884 (Martin Michlmayr).
+ Closes: #370308.
+ * Mention Ada in copyright, update copyright file (Ludovic Brenta).
+ Closes: #366744.
+ * Fix kbsd-gnu-java.dpatch (Petr Salinger). Closes: #370320.
+ * Don't include version control files in gcc-4.1-source.
+
+ -- Matthias Klose Sun, 4 Jun 2006 19:13:37 +0000
+
+gcc-4.1 (4.1.1-1) unstable; urgency=low
+
+ [Matthias Klose]
+ * Update to SVN 20060601.
+ * Reenable the gpc build.
+ * PR libgcj/26483, libffi patch for IA-64 denorms, taken from trunk.
+ * Disable Ada for m32r targets. Closes: #367595.
+ * lib32gfortran1: Do not create empty directory /usr/lib32. Closes: #367999.
+ * gcc-4.1: Add a conflict to the gcj-4.1 version with a different
+ gcc_libdir.
+ * Build gij/gcj for GNU/k*BSD. Closes: #367166.
+ * Update hurd-changes patch (Michael Banck). Closes: #369690.
+ * debian/copyright: Add exception for the gpc runtime library.
+ * Update gpc/gpc-doc package descriptions.
+
+ [Ludovic Brenta]
+ * patches/ada-libgnatprj.dpatch: add prj-pars.ad[bs] and sfn_scan.ad[bs]
+ to libgnatprj; remove them from gnatmake.
+
+ -- Matthias Klose Thu, 1 Jun 2006 20:35:54 +0200
+
+gcc-4.1 (4.1.0-4) unstable; urgency=low
+
+ [Ludovic Brenta]
+ * Fix a stupid bug whereby fname.ad{b,s} would be included in both
+ libgnatvsn-dev and libgnatprj-dev, preventing use of gnatprj.gpr.
+ Closes: #366733.
+
+ -- Matthias Klose Thu, 11 May 2006 04:34:50 +0200
+
+gcc-4.1 (4.1.0-3) unstable; urgency=low
+
+ * Update to SVN 20060507.
+ * debian/rules.d/binary-java.mk: Use $(lib32) everywhere. Closes: #365388.
+ * Always configure hppa64-linux-gnu with
+ --includedir=/usr/hppa64-linux-gnu/include.
+ * Make libgnatvsn4.1 and libgnatprj4.1 priority optional. Closes: #365900.
+ * Call autoconf2.13 explicitely in the Ada patches, build-depend on
+ autoconf2.13. Closes: #365780.
+ * Fix libgnatprj-dev and libgnatvsn-dev dependencies on their shared
+ libraries.
+ * Deduce softfloat and vfp (ARM) configure options (Pjotr Kourzanov).
+ * Update proposed patch for PR26885 (May 2 version).
+ * Build the libxxstdc++-dbg packages, when not building the library pacakges.
+ * Do not include the _pic library in the libxxstdc++-dbg packages.
+
+ -- Matthias Klose Sun, 7 May 2006 15:29:53 +0200
+
+gcc-4.1 (4.1.0-2) unstable; urgency=medium
+
+ * Update to SVN 20060428.
+ * Apply proposed patches for PR26885.
+
+ * Keep libffi doc files in its own directory. Closes: #360466.
+ * Update ppc64 patches for 4.1 (Andreas Jochens). Closes: #360498.
+ * Fix PR tree-optimization/26763, wrong-code, taken from the 4.1 branch.
+ Closes: #356896. CVE-2006-1902.
+ * hppa-cbranch, hppa-cbranch2 patches: Fix for PR target/26743,
+ PR target/11254, PR target/10274, backport from trunk (Randolph Chung).
+ * Let libgccN provide -dcv1 when cross-compiling (Pjotr Kourzanov).
+ Closes: #363289.
+ * (Build-)depend on glibc-2.3.6-7. Closes: #360895, #361904.
+ * Fix a pedantic report about a package description. Add a hint that
+ we do not like bug reports with locales other than "C". Closes: #361409.
+ * Enable the libjava interpreter on mips/mipsel.
+ * gcc-4.1-source: Depend on gcc-4.1-base.
+ * gnat-4.1: Fix permissions of .ali files.
+ * Build lib32gcj7 on amd64.
+ * debian/patches/ada-gnatvsn.dpatch: New. Apply proposed fix for
+ PR27194.
+
+ [Ludovic Brenta]
+ * debian/patches/ada-default-project-path.dpatch: new. Change the
+ default search path for project files to the one specified
+ by the Debian Policy for Ada: /usr/share/ada/adainclude.
+ * debian/patches/ada-symbolic-tracebacks.dpatch: new. Enable support for
+ symbolic tracebacks in exceptions.
+ * debian/patches/ada-missing-lib.dpatch: remove, superseded by the above.
+ * debian/patches/ada-link-lib.dpatch: changed.
+ - Instead of building libada as a target library only, build it as
+ both a host and, if different, target library.
+ - Build the GNAT tools in their top-level directory; do not use
+ recursive makefiles.
+ - Link the GNAT tools dynamically against libgnat.
+ - Apply proposed fix for PR27300.
+ - Rerun autoconf (Matthias Klose).
+ * debian/patches/ada-libgnatvsn.dpatch: new.
+ - Introduce a new shared library named libgnatvsn, containing
+ common components of GNAT under the GNAT-Modified GPL, for
+ use in GNAT tools, ASIS, GLADE and GPS.
+ - Link the gnat tools against this new library.
+ - Rerun autoconf (Matthias Klose).
+ * debian/patches/ada-libgnatprj.dpatch: new.
+ - Introduce a new shared library named libgnatprj, containing the
+ GNAT Project Manager, i.e. the parts of GNAT that parses project
+ files (*.gpr). Licensed under pure GPL; for use in GLADE and GPS.
+ - Link the gnat tools against this new library.
+ - Rerun autoconf (Matthias Klose).
+ * debian/patches/ada-acats.dpatch: new.
+ - When running the ACATS, look for the gnat tools in their new
+ directory (build/gnattools), and for the shared libraries in
+ build/gcc/ada/rts, build/libgnatvsn and build/libgnatprj.
+ * debian/gnatvsn.gpr, debian/gnatprj.gpr: new.
+ * debian/rules.d/binary-ada.mk, debian/control.m4: new binary packages:
+ libgnatvsn-dev, libgnatvsn4.1, libgnatprj-dev, libgnatprj4.1. Place
+ the *.gpr files in their respective -dev packages.
+
+ -- Matthias Klose Sat, 29 Apr 2006 00:32:09 +0200
+
+gcc-4.1 (4.1.0-1) unstable; urgency=low
+
+ * libstdc++CXX-BV-dev.preinst: Remove (handling of c++ include dir for 4.0).
+ * libgcj-common: Move removal of docdir from preinst into postinst.
+ * libgcj7: Move removal of docdir from preinst into postinst.
+ * Drop alternative build dependency on gnat-3.4, not built anymore.
+ * Fix PR libgcj/26103, wrong exception thrown (4.1 branch).
+ * debian/patches/libjava-stacktrace.dpatch: Add support to print file names
+ and line numbers in stacktraces.
+ * Add debugging symbols for libgcjawt and lib-gnu-java-awt-peer-gtk
+ in the libgcj7-dbg and lib32gcj7-dbg packages.
+ * Remove dependency of the libgcj-dbg packages on the libgcj-dev packages,
+ add recommendations on binutils and libgcj-dev. Mention the requirement
+ of binutils for the stacktraces.
+ * Fix upgrade from version 4.0.2-9, loosing the Debian changelog.
+ Closes: #355439.
+ * gij/gcj: Install one alternative for each command, do not use slave
+ links for rmiregistry, javah, rmic. Ubuntu #26781. Closes: #342557.
+ * Fix for PR tree-optimization/26587, taken from the 4.1 branch.
+ * Fix PR libstdc++/26526 (link failure when _GLIBCXX_DEBUG is defined).
+ * Configure with --enable-clocale=gnu, even if not building C++ packages.
+ * Remove runtime path from biarch libraries as well.
+ * PR middle-end/26557 (ice-on-vaild-code, regression), taken from
+ the gcc-4_1-branch. Closes: #349083.
+ * PR tree-optimization/26672 (ice-on-vaild-code, regression), taken from
+ the gcc-4_1-branch. Closes: #356231.
+ * PR middle-end/26004 (rejects-vaild-code, regression), taken from
+ the gcc-4_1-branch.
+ * When building as standalone gcj, build libgcc4 (hppa only) and fastjar.
+ * Configure --with-cpu=v8 on sparc.
+ * debian/patches/libjava-hppa.dpatch: pa/pa32-linux.h
+ (CRT_CALL_STATIC_FUNCTION): Define when CRTSTUFFS_O is defined.
+ (John David Anglin). Closes: #353346.
+ * Point to the 4.1 version of README.Bugs (closes: #356230).
+ * Disable the libmudflap testsuite on alpha (getting killed).
+
+ -- Matthias Klose Sat, 18 Mar 2006 23:00:39 +0100
+
+gcc-4.1 (4.1.0-0) experimental; urgency=low
+
+ * GCC 4.1.0 final release.
+ * Build the packages for the Java language from a separate source.
+ * Update NEWS.html, NEWS.gcc.
+ * libgcj-doc: Auto generated API documentation for libgcj7, classpath
+ example programs.
+ * Add gjdoc to Build-Depends-Indep.
+ * On amd64, build-depend on libc6-dev-i386 instead of ia32-libs-dev.
+ * Internal ssp headers now installed in the gcc libdir.
+ * Do not build gcj-4.1-base when building the gcc-4.1 packages.
+ * When building as gcj-4.1, use the tarball from the gcc-4.1-source
+ package.
+
+ [Ludovic Brenta]
+ * Allow to enable and disable NLS and bootstrapping from the environment.
+ - Adding "nls" to WITHOUT_LANG disables NLS support.
+ - If WITH_BOOTSTRAP is set, debian/rules2 calls configure
+ --enable-bootstrap=$(WITH_BOOTSTRAP) and just "make". If
+ WITH_BOOTSTRAP is unset, it calls configure without a bootstrapping
+ option and calls "make profiledbootstrap" or "make bootstrap-lean"
+ depending on the target CPU.
+ Currently overwritten to default to "bootstrap".
+
+ -- Matthias Klose Thu, 2 Mar 2006 00:03:45 +0100
+
+gcc-4.1 (4.1ds9-0exp9) experimental; urgency=low
+
+ * Update to GCC 4.1.0 release candidate 1 (gcc-4.1.0-20060219 tarball).
+ * Update gcc-version patch for gcc-4.1.
+ * libgccN, libstdc++N*: Fix upgrade of /usr/share/doc symlinks.
+ * libjava awt & swing update, taken from trunk 2006-02-16.
+ * libgcj7-dev: Suggest libgcj-doc, built from a separate source package.
+ * Shorten build-dependency line (work around buildd problems
+ on arm* and mips*).
+ * New patch gcc-ice-hack (saving the preprocessed source on an ICE),
+ taken from Fedora.
+
+ -- Matthias Klose Mon, 20 Feb 2006 10:07:23 +0100
+
+gcc-4.1 (4.1ds8-0exp8) experimental; urgency=low
+
+ * Update to SVN 20060212, taken from the 4.1 release branch.
+ * libgccN: Fix upgrade of /usr/share/doc/libgccN symlink.
+
+ -- Matthias Klose Sun, 12 Feb 2006 19:48:31 +0000
+
+gcc-4.1 (4.1ds7-0exp7) experimental; urgency=low
+
+ * Update to SVN 20060127, taken from the 4.1 release branch.
+ - On hppa, bump the libgcc soversion to 4.
+ * Add an option not to depend on the system -base package for cross compiler
+ (Ian Wienand). Closes: #347484.
+ * Remove workaround increasing the stack size limit for some architectures,
+ not needed anymore on ia64.
+ * On amd64, build-depend on libc6-dev-i386, depend on libc6-i386, where
+ available.
+ * libstdc++6: Properly upgrade the doc directory. Closes: #346171.
+ * libstdc++6: Add a conflict to scim (<< 1.4.2-1). Closes: #343313.
+ * Set default 32bit ix86 architecture to i486.
+
+ -- Matthias Klose Fri, 27 Jan 2006 22:23:22 +0100
+
+gcc-4.1 (4.1ds6-0ubuntu6) experimental; urgency=low
+
+ * Update to SVN 20060107, taken from the 4.1 release branch.
+ - Remove fix for PR ada/22533, fixed by patch for PR c++/23171.
+ * Remove binary packages from the control file, which aren't built
+ yet on any architecture.
+ * gcc-hppa64: Use /usr/hppa64-linux-gnu/include as location for the glibc
+ headers, tighten glibc (build-)dependency.
+ * libffi [arm]: Add support for closures, libjava [arm]: enable the gij
+ interpreter (Phil Blundell). Addresses: #337263.
+ * For the gcj standalone build, include cc1 into the gcj-4.1 package,
+ needed for linking java programs compiled to native code.
+
+ -- Matthias Klose Sat, 7 Jan 2006 03:36:33 +0100
+
+gcc-4.1 (4.1ds4-0exp4) experimental; urgency=low
+
+ * Update to SVN 20051210, taken from the 4.1 release branch.
+ * Prepare to build the java packages from it's own source (merged
+ from Ubuntu).
+ - Build the java packages from the gcc-4.1 source, as long as packages
+ are prepared for experimental.
+ - When built as gcj, run only the libjava testsuite, don't build the
+ libstdc++ debug packages, don't package the gcc source.
+ - Loosen package dependencies, when java packages are built from
+ separate sources.
+ - Fix gcj hppa build, when java packages are built from separate sources.
+ - gij-4.1: Install test-summary, when doing separate builds.
+ - Allow java packages be installed independent from other packages built
+ from the source package.
+ - Rename libgcj7-common to libgcj7-jar.
+ - Introduce a gcj-4.1-base package to completely separate the two and not
+ duplicate the changelog in each gcj/gij package.
+ * Java related changes:
+ - libjava-xml-transform: Update from classpath trunk, needed for
+ eclipse (Michael Koch), applied upstream.
+ - Fix java wrapper scripts to point to 4.1 (closes: #341710).
+ - Reenable java on mips and mipsel.
+ - Fix libgcj6 dependency. Ubuntu #19935.
+ - Add libxt-dev as a java build dependency. autoconf explicitely checks
+ for X11/Intrinsic.h.
+ * Ada related changes:
+ - Apply proposed fix for PR ada/22533, reenable ada on alpha, powerpc,
+ mips, mipsel and s390.
+ - Add Ada support for GNU/kFreeBSD (Aurelien Jarno). Closes: #341356.
+ - Remove ada bootstrap workaround for alpha.
+ * Build a separate gcc-4.1-source package (Bastian Blank). Closes: #333922.
+ * Remove obsolete patch: libstdc++-automake.
+ * Remove patch integrated upstream: libffi-mips.
+ * Fix the installation of the hppa64 compiler in snapshot builds.
+ * Rename libgfortran0* to libgfortran1* (upstream soversion change).
+ * Add a dependency on libc-dev for all compilers / -dev packages except
+ gcc (which can be used for kernel builds without libc-dev).
+ * libffi4-dev: Fix package description.
+ * On amd64, install 32bit libraries into /emul/ia32-linux/usr/lib.
+ Addresses: #341147.
+ * Fix installation of biarch libstdc++ headers on amd64.
+ * Configure --with-tune=i686 on ix86 architectures (on Ubuntu with
+ -mtune=pentium4). Remove the cpu-default-* patches.
+ * debian/control.m4: Fix libxxgcc package names.
+ * Update the build infrastructure to build cross compilers
+ (Nikita V. Youshchenko).
+ * Tighten binutils (build-)dependency. Closes: #342484.
+ * Symlink more doc directories.
+ * debian/control.m4: Explicitely set Architecture for biarch packages.
+
+ -- Matthias Klose Sat, 10 Dec 2005 16:56:45 +0100
+
+gcc-4.1 (4.1ds1-0ubuntu1) UNRELEASED; urgency=low
+
+ * Build Java packages only.
+ * Update to SVN 20051121, taken from the 4.1 release branch.
+ - Remove libjava-saxdriver-fix patch, applied upstream.
+ - Remove ada-gnat-version patch, applied upstream.
+ * Fix FTBFS in biarch builds on 32bit kernels.
+ * Update libstdc++-doc doc-base file (closes: #339046).
+ * Remove obsolete patch: gcc-alpha-ada_fix.
+ * Fix installation of biarch libstdc++ headers (Ubuntu #19655).
+ * Fix sparc and s390 biarch patches to build the 64bit libffi.
+ * Work around biarch build failure in libjava/classpath/native/jni/midi-alsa.
+ * Install spe.h header on powerpc.
+ * Add libasound build dependencies.
+ * libgcj: Fix installation of libgjsmalsa library.
+ * Remove patches not used anymore: libjava-no-rpath, i386-config-ml-nomf,
+ libobjc, multiarch-include, disable-biarch-check-mf, gpc-profiled,
+ gpc-no-gpidump, libgpc-shared, acats-expect.
+ * Fix references to manuals in gnat(1). Ubuntu #19772.
+ * Remove build dependency on xlibs-dev, add libxtst-dev.
+ * Do not configure with --disable-werror.
+ * Merge *-config-ml patches into one config-ml patch, configure the biarch
+ libs in debian/rules.defs.
+ * debian/gcj-wrapper: Accept -Xss.
+ * Do not build biarch java on Debian (missing biarch libasound).
+ * Do not build the java packages from this source package, avoiding
+ dependencies on X.
+
+ -- Matthias Klose Mon, 21 Nov 2005 20:29:43 +0100
+
+gcc-4.1 (4.1ds0-0exp0) experimental; urgency=low
+
+ * Configure libstdc++ using the default allocator.
+ * Update to 20051112, taken from the svn trunk.
+
+ -- Matthias Klose Sat, 12 Nov 2005 23:47:01 +0100
+
+gcc-4.1 (4.1ds0-0ubuntu0) breezy; urgency=low
+
+ * UNRELEASED
+ * First snapshot of gcc-4.1 (CVS 20051019).
+ - adds SSP support (closes: #213994, #233208).
+ * Remove patches applied upstream/not needed anymore.
+ * Update patches for 4.1: link-libs, gcc-textdomain, libjava-dlsearch-path,
+ rename-info-files, reporting, classmap-path, i386-biarch, sparc-biarch,
+ libjava-biarch-awt, ada-gcc-name.
+ * Disable patches:
+ - 323016, m68k, necessary for 4.1?
+ * debian/copyright: Update for 4.1.
+ * debian/control, debian/control.m4, debian/rules.defs, debian/rules.conf:
+ Update for 4.1, add support for Obj-C++ and SSP.
+ * Fix generation of Ada docs in info format.
+ * Set Ada library version to 4.1.
+ * Drop gnat-3.3 as an alternative build dependency.
+ * Use fortran instead of f95 for the build files.
+ * Update build support for awt peer libs.
+ * Add packaging support for SSP library.
+ * Add packaging support for Obj-C++.
+ * Run the testsuite for -march=i686 on i386 and amd64 as well.
+ * Fix generation of Pascal docs in html format.
+ * Update config-ml patches to build libssp biarch.
+ * Disable libssp for hppa64 build.
+ * libgcj7-dev: Install jni_md.h.
+ * Disable gnat for powerpc, currently fails to build.
+ * Add biarch runtime lib packages for ssp, mudflap, ffi.
+ * Do not explicitely configure with --enable-java-gc=boehm, which is the
+ default.
+ * libjava-saxdriver-fix: Fix a problem in the Aelfred2 SAX parser.
+ * libstdc++6-4.0-dev: Depend on the libc-dev package. Ubuntu #18885.
+ * Build-depend on expect-tcl8.3 on all architectures.
+ * Build-depend on lib32z1-dev on amd64 and ppc64, drop build dependency on
+ amd64-libs.
+ * Disable ada on alpha mips mipsel powerpc s390, currently broken.
+
+ -- Matthias Klose Wed, 19 Oct 2005 11:02:31 +0200
+
+gcc-4.0 (4.0.2-3) unstable; urgency=low
+
+ * Update to CVS 20051015, taken from the gcc-4_0-branch.
+ - gcc man page fixes (closes: #327254, #330099).
+ - PR java/19870, PR java/20338, PR java/21844, PR java/21540:
+ Remove Debian patches.
+ - Applied libjava-echo-fix patch.
+ - Fix PR target/24284, ICE (Segmentation fault) on sparc-linux.
+ Closes: #329840.
+ - Fix PR c++/23797, ICE on typename outside template. Closes: #325545.
+ - Fix PR c++/22551, ICE in tree_low_cst. Closes: #318932.
+ * libstdc++6: Tighten libstdc++ shlibs version to 4.0.2-3 (new symbol).
+ * Update generated Ada files.
+ * Fix logic to disable mudflap and Obj-C++ via the environment.
+ * Remove f77 build bits.
+ * gij-4.0: Remove /var/lib/gcj-4.0/classmap.db on purge (closes: #330800).
+ * Let gcj-4.0 depend on libgcj6-dev, instead of recommending it. This is
+ not necessary for byte-code compilations, but for compilations to native
+ code. For compilations to byte-code, use a better compiler like ecj
+ for now (found in the ecj-bootstrap package).
+ * Disable biarch setup in cross compilers (Josh Triplett). Closes: #333952.
+ * Fix with_libnof logic for cross-compilations (Josh Triplett).
+ Closes: #333951.
+ * Depend on binutils (>= 2.16.1cvs20050902-1) on the alpha architecture.
+ Closes: #333954.
+ * On i386, build-depend on libc6-dev-amd64. Closes: #329108.
+ * (Build-)depend on glibc 2.3.5-5.
+
+ -- Matthias Klose Sun, 2 Oct 2005 14:25:54 +0200
+
+gcc-4.0 (4.0.2-2) unstable; urgency=low
+
+ * Update to CVS 20051001, taken from the gcc-4_0-branch. Includes the
+ changes between 4.0.2 RC3 and the final 4.0.2 release, missing from
+ the upstream tarball. Remove patches applied upstream (gcc-c-decl,
+ pr23182, pr23043, pr23367, pr23891, pr21418, pr24018).
+ * On ix86 architectures run the testsuite for -march=i686 as well.
+ * Build libffi on the Hurd (closes: #328705).
+ * Add big-endian arm (armeb) support (Lennert Buytenhek). Closes: #330730.
+ * Update libjava xml to classpath CVS HEAD 20050930 (Michael Koch).
+ * Reapply patch to make -mieee the default on alpha-linux. Closes: #330826.
+ * Add workaround not to make libmudflap _start/_end not small data on
+ mips/mipsel, taken from CVS HEAD.
+ * Don't build the nof libraries on powerpc.
+ * Number crunching time on m68k, reenable gfortran on m68k-linux-gnu.
+
+ -- Matthias Klose Sat, 1 Oct 2005 15:42:10 +0200
+
+gcc-4.0 (4.0.2-1) unstable; urgency=low
+
+ * GCC 4.0.2 release.
+ * lib64stdc++6: Set priority to optional.
+ * Fix bug in StreamSerializer, seen with eclipse-3.1 (Ubuntu 12744).
+ Backport from CVS HEAD, Michael Koch.
+ * Apply java patches, proposed for the 4.0 branch: PR java/24018,
+ PR libgcj/23182, PR java/19870, PR java/21844, PR libgcj/23367,
+ PR java/20338.
+ * Update the expect/pty test to actually call expect directly, rather
+ than test for the existence of PTYs, since a working expect is what
+ we really care about, not random device files (Adam Conrad).
+ Closes: #329715.
+ * Add build dependencies on lib64z1-dev.
+ * gcc-c-decl.dpatch: Fix C global decl handling regression in 4.0.2 from
+ 4.0.1
+
+ -- Matthias Klose Thu, 29 Sep 2005 19:50:08 +0200
+
+gcc-4.0 (4.0.1-9) unstable; urgency=low
+
+ * Update to CVS 20050922, taken from the gcc-4_0-branch (4.0.2 RC3).
+ * Apply patches:
+ - Fix PR java/21418: Order of source files matters when compiling,
+ backported from mainline.
+ - Fix for PR 23043, backported form mainline.
+ - Proposed patch for #323016 (m68k only). Patch by Roman Zippel.
+ * libstdc++6: Tighten libstdc++ shlibs version to 4.0.1-9 (new symbol).
+ * Fail the build early, if the system doesn't have any pty devices
+ created in /dev. Needed for running the testsuite.
+ * Update hurd changes again (closes: #328973).
+
+ -- Matthias Klose Thu, 22 Sep 2005 07:28:18 +0200
+
+gcc-4.0 (4.0.1-8) unstable; urgency=medium
+
+ * Update to CVS 20050917, taken from the gcc-4_0-branch.
+ - Fix FTBFS for boost, introduced in 4.0.1-7 (closes: #328684).
+ * Fix PR java/23891, eclipse bootstrap.
+ * Set priority of gcc-4.0-hppa64 package to standard.
+ * Bump standards version to 3.6.2.
+ * Fix java wrapper script, mishandles command line options with arguments.
+ Patch from Olly Betts. Closes: #296456.
+ * Bump epoch of the lib32gcc1 package to the same epoch as for the the
+ libgcc1 and lib64gcc1 packages.
+ * Fix some lintian warnings.
+ * Build libffi on the Hurd (closes: #328705).
+ * For biarch builds, disable the testsuite for the non-default architecture
+ for runtime libraries, which are not built by default (libjava).
+ * Add gsfonts-x11 to Build-Depends-Indep to avoid warnings from doxygen.
+ * Install Ada .ali files read-only.
+
+ -- Matthias Klose Sat, 17 Sep 2005 10:35:23 +0200
+
+gcc-4.0 (4.0.1-7) unstable; urgency=low
+
+ * Update to CVS 20050913, taken from the gcc-4_0-branch.
+ - Fix PR c++/19004, ICE in uses_template_parms (closes: #284777).
+ - Fix PR rtl-optimization/23454, ICE in invert_exp_1 on sparc.
+ Closes: #321215.
+ - Fix PR libstdc++/23417, make bits/stl_{list,tree}.h -Weffc++ clean.
+ Closes: ##322170.
+ * Install 'altivec.h' on ppc64 (closes: #323945).
+ * Install locale data with the versioned package name (closes: #321591).
+ * Fix fastjar build without building libjava.
+ * On hppa, don't build using gcc-3.3 when ada is disabled.
+ * On m68k, don't build the stage1 compiler using -O.
+
+ * Ludovic Brenta
+ - Allow the choice whether or not to build with NLS.
+ - Fix a typo whereby libffi was always enabled on i386.
+
+ -- Matthias Klose Tue, 13 Sep 2005 23:23:11 +0200
+
+gcc-4.0 (4.0.1-6) unstable; urgency=low
+
+ * Update to CVS 20050821, taken from the gcc-4_0-branch.
+ - debian/patches/pr21562.dpatch: Removed, applied upstream.
+ - debian/patches/libjava-awt-name.dpatch: Updated.
+ - debian/patches/classpath-20050618.dpatch: Updated.
+ * Use all available CPU's for the check target, unless USE_NJOBS == no.
+ * debian/patches/biarch-include.dpatch: Include
+ /usr/local/include/-linux-gnu before including /usr/local/include.
+ * Fix biarch system include directories for the non-default architecture.
+ * Prefer gnat-4.0 over gnat-3.4 over gnat-3.3 as a build-dependency.
+
+ -- Matthias Klose Thu, 18 Aug 2005 18:36:23 +0200
+
+gcc-4.0 (4.0.1-5) unstable; urgency=low
+
+ * Update to CVS 20050816, taken from the gcc-4_0-branch.
+ - Fix PR middle-end/23369, wrong code generation for funcptr comparison
+ on hppa. Closes: #321785.
+ - Fix PR fortran/23368 ICE with NAG routines (closes: #322912).
+ * Build-depend on libcairo2-dev (they say, that's the final package name ...)
+ * libgcj: Search /usr/lib/gcj-4.0 for dlopened libraries, place a copy
+ of the .la files in the libgcj6 package into this directory.
+ Closes: #322576.
+ * Tighten the dependencies between the compiler packages to the same
+ version and release. Use some substitution variables for control file
+ generation.
+ * Remove build dependencies for gpc.
+ * Don't use '/emul/ia32-linux' on ppc64 (closes: #322890).
+ * Synchronize with Ubuntu.
+
+ -- Matthias Klose Tue, 16 Aug 2005 22:45:47 +0200
+
+gcc-4.0 (4.0.1-4ubuntu1) breezy; urgency=low
+
+ * Jeff Bailey
+
+ Enable i386 biarch using biarch glibc (not yet enabled for unstable).
+ - debian/rules.d/binary-libgcc.mk: Make i386 lib64gcc1 depend on
+ libc6-amd64
+ - debian/control.m4: Suggest libc6-amd64 rather than amd64-libs.
+ - debian/rules.conf: Build-Dep on libc6-dev-amd64 [i386]
+ Build-Dep on binutils >= 2.16.1-2ubuntu3
+ - debian/rules2: Enable biarch build in Ubuntu.
+
+ * Matthias Klose
+
+ - Add shlibs file and dependency information for the lib32gcc1 package.
+ - debian/patches/gcc-textdomain.dpatch: Update (closes: #321591).
+ - Set priority of gcc-4.0-base and libstdc++6 packages to `required'.
+ Closes: #321016.
+ - libffi-hppa.dpatch: Remove, applied upstream.
+
+ -- Matthias Klose Mon, 8 Aug 2005 19:39:02 +0200
+
+gcc-4.0 (4.0.1-4) unstable; urgency=low
+
+ * Enable the biarch compiler for powerpc (closes: #268023).
+ * Update to CVS 20050806, taken from the gcc-4_0-branch.
+ * Build depend on libcairo0.6.0-dev (closes: #321540).
+ * Fix Ada build on the hurd (closes: #321350).
+ * Update libffi for mips (Thiemo Seufer). Closes: #321100.
+ * Fix segfault on 64bit archs in the AWT Gtk peer library (Dan Frazier).
+ Closes: #320915.
+ * Add libXXgcc1 build dependencies for biarch builds.
+
+ -- Matthias Klose Sun, 7 Aug 2005 07:01:59 +0000
+
+gcc-4.0 (4.0.1-3) unstable; urgency=medium
+
+ * Update to CVS 20050725, taken from the gcc-4_0-branch.
+ - Fix ICE with -O and -mno-ieee-fp/-ffast-math (closes: #319087).
+ * Synchronize with Ubuntu.
+ * Fix applying hurd specific patches for the hurd build (closes: #318443).
+ * Do not build-depend on libmpfr-dev on architectures, where fortran
+ is not built.
+ * Apply biarch include patch on ppc64 as well (closes: #318603).
+ * Correct libstdc++-dev package description (closes: #319082).
+ * debian/rules.defs: Replace DEB_TARGET_GNU_CPU with DEB_TARGET_ARCH_CPU.
+ * gcc-4.0-hppa64: Rename hppa64-linux-gcc to hppa64-linux-gnu-gcc.
+ Closes: #319818.
+
+ -- Matthias Klose Mon, 25 Jul 2005 10:43:06 +0200
+
+gcc-4.0 (4.0.1-2ubuntu3) breezy; urgency=low
+
+ * Update to CVS 20050720, taken from the gcc-4_0-branch.
+ - Fix PR22278, volatile issues, seen when building xorg.
+ * Build against new libcairo1-dev (0.5.2).
+
+ -- Matthias Klose Wed, 20 Jul 2005 12:29:50 +0200
+
+gcc-4.0 (4.0.1-2ubuntu2) breezy; urgency=low
+
+ * Acknowledge that i386 biarch builds still need to be fixed for glibc-2.3.5.
+
+ -- Matthias Klose Tue, 19 Jul 2005 08:29:30 +0000
+
+gcc-4.0 (4.0.1-2ubuntu1) breezy; urgency=low
+
+ * Synchronize with Debian.
+ * Update to CVS 20050718, taken from the gcc-4_0-branch.
+ - Fix PR c++/22132 (closes: #318488), upcasting a const class pointer
+ to struct the class derives from generates wrong code.
+ * Build biarch runtime libraries for Fortran and ObjC.
+ * Apply proposed patch for PR22309 (crash with mt_allocator if libstdc++
+ is dlclosed). Closes: #293466.
+
+ -- Matthias Klose Mon, 18 Jul 2005 17:10:18 +0200
+
+gcc-4.0 (4.0.1-2) unstable; urgency=low
+
+ * Don't apply the patch to make -mieee the default on alpha-linux-gnu.
+ Causes the bootstrap to fail on alpha-linux-gnu.
+
+ -- Matthias Klose Tue, 12 Jul 2005 00:14:12 +0200
+
+gcc-4.0 (4.0.1-1) unstable; urgency=high
+
+ * GCC 4.0.1 final release. See /usr/share/doc/gcc-4.0/NEWS.{gcc,html}.
+ * Build fastjar on mips/mipsel, fix fastjar build without building java.
+ * Disable the comparision check on unstable/ia64. adaint.o differs,
+ currently cannot be reproduced with glibc-2.3.5 and binutils-2.16.1.
+ * libffi/hppa: Fix handling of 3 and 5-7 byte struct returns.
+ * amd64: Fix libgcc symlinks to point to /usr/lib32, instead of /lib32.
+ * On powerpc, don't build with -j >1, apparently doesn't succeeds
+ on the Debian buildd.
+ * Apply revised patch to make -mieee the default on alpha-linux,
+ and add -mieee-disable switch to turn the default off (Tyson Whitehead).
+ * Disable multiarch-includes; redo biarch-includes to include the paths
+ for the non-default biarch, when called with -m32/-m64.
+ * Move new java headers from libstdc++-dev to libgcj-dev, add replaces
+ line.
+ * Update classpath patch to work with cairo-0.5.1. Patch provided by
+ Michael Koch.
+ * Further classpath updates for gnu.xml and javax.swing.text.html.
+ Patch provided by Michael Koch.
+ * Require binutils (>= 2.16.1) as a build dependency and a dependency.
+ * On i386, require amd64-libs-dev (>= 1.2).
+ * Update debian/NEWS.{html,gcc}.
+
+ * Closing bug reports reported against older gcc versions (some of them
+ still present in Debian, but not anymore as the default compiler).
+ Usually, forwarded bug reports are linked to
+ http://gcc.gnu.org/PR
+ The upstream bug number usually can be found in the Debian reports.
+
+ * Closed reports reported against gcc-3.3 and fixed in gcc-3.4:
+ - General:
+ + PR rtl-optimization/2960: Duplicate loop conditions even with -Os
+ Closes: #94701.
+ + PR optimization/3995: i386 optimisation: joining tests.
+ Closes: #105309.
+ + PR rtl-optimization/11635: Unnecessary store onto stack, more
+ curefully expand union cast (closes: #202016).
+ + PR target/7618: vararg disallowed in virtual function. Closes: #205404.
+ + Large array problem on 64 bit platforms (closes: #209152).
+ + Mark more strings as translatable (closes: #227129).
+ + PR gcc/14711: ICE when compiling a huge source file Closes: #234711.
+ + Better code generation for if(!p) return NULL;return p;
+ Closes: #242318.
+ + PR rtl-optimization/16152: Perl ftbfs on {ia64,arm,m68k}-linux.
+ Closes: #255801.
+ + ICE (segfault) while compiling Linux 2.6.9 (closes: #277206).
+ + Link error building memtest (closes: #281445).
+ - Ada:
+ + PR ada/12450: Constraint error for valid input (closes: #210844).
+ + PR ada/13620: miscompilation of array initializer with
+ -O3 -fprofile-arcs. Closes: #226244.
+ - C:
+ + PR c/6897: Code produced with -fPIC reserves EBX, but compiles
+ bad __asm__ anyway (closes: #73065).
+ + PR c/9209: On i386, gcc-3.0 allows $ in indentifiers but not the asm.
+ Closes: #121282.
+ + PR c/11943: Accepts invalid declaration "int x[2, 3];" in C99 mode.
+ Closes: #177303.
+ + PR c/11942: restrict keyword broken in C99 mode. Closes: #187091.
+ + PR other/11370: -Wunreachable-code gives false complaints.
+ Closes: #196600.
+ + PR c/11369: Too relaxed checking with -Wstrict-prototypes.
+ Closes: #197504.
+ + PR c/11445: False positive warning with -Wunreachable-code.
+ Closes: #200140.
+ + PR c/11459: -stdc=c90 -pedantic warns about C90's non long-long
+ support when in C99 mode. Closes: #200392.
+ + PR c/456: Handling of constant expressions. Closes: #225935.
+ + ICE on invalid #define with -traditional (closes: #242916).
+ + No warning when initializing a variable with itself, new option
+ -Winit-self (closes: #293957).
+ - C++:
+ + C++ parse error (closes: #42946).
+ + PR libstdc++/9073: Replacement for __STL_ASSERTIONS (libstdc++v3
+ debug mode). Closes: #128993.
+ + Parse errors in nested constructor calls (closes: #138561).
+ + PR optimization/1823: -ftrapv aborts with pointer difference due to
+ division optimization. Closes: #169862.
+ + ICE on invalid code (closes: #176101).
+ + PR c++/10199: ICE handling method parametrized by template.
+ Closes: #185604.
+ + High memory usage building packages OpenOffice.org and MythTV.
+ Closes: #194345, #194513.
+ + Improved documentation of std::lower_bound (closes: #196380).
+ + ICE in regenerate_decl_from_template (closes: #197674).
+ + PR c++/11444: Function fails to propagate up class tree
+ (template-related). Closes: #198042.
+ + ICE when using namespaced typedef of primitive type as struct.
+ Closes: #198261.
+ + Bug using streambuf / iostream to read from a named pipe.
+ Closes: #216105.
+ + PR c++/11437: ICE in lookup_name_real (closes: #200011).
+ + Add large file support (LFS) in libstdc++ (closes: #220000).
+ + PR c++/13621: ICE compiling a statement expression returning type
+ string (closes: #224413).
+ + g++ doesn't find inherited inner class after template instantiation.
+ Closes: #227518.
+ + PR libstdc++/13928: Add whatis info in man pages generated by doxygen.
+ Closes: #229642.
+ + Missing symbol _M_setstate in libstdc++ (closes: #232709).
+ + Unable to parse declaration of inline constructor explicit
+ specialization (closes: #234709).
+ + ICE (segfault) on invalid C++ code (closes: #246031).
+ + ICE in lookup_tempate_function (closes: #262441).
+ + Undefined symbols in libstdc++, when using specials char_traits.
+ Closes: #266110.
+ + PR libstdc++/16011: Outputting numbers with ostream in the locale fr_BE
+ causes infinite recursion (closes: #270795).
+ + ICE in tree_low_cst (closes: #276291).
+ + ICE in in expand_call (closes: #283503).
+ + typeof operator is misparsed in a template function (closes: #288555).
+ + ICE in tree_low_cs (closes: #291374).
+ + Improve uninformative error messages (closes: #292961, #293076).
+ + ICE on array initialization (closes: #294560).
+ + Failure to build xine-lib with -finline-functions (closes: #306854).
+ - Java:
+ + Fix error finding files in subdirectories (closes: #195480).
+ + Implement java.text.CollationElementIterator lacks getOffset().
+ Closes: #259789.
+ - Treelang:
+ + Pointer truncation on 64bit architectures (closes: #308367).
+ - Architecture specific:
+ - alpha
+ + PR debug/10695: ICE on alpha while building agistudio.
+ Closes: #192568.
+ + ICE when building fceu (closes: #228018, #252764).
+ - amd64
+ + Miscompilation of Objective-C code (closes: #250174).
+ + g++ hangs compiling k3d on amd64 (closes: #285364).
+ - arm
+ + PR target/19008: gcc -O3 -fPIC produces wrong code via auto inlining.
+ Closes: #285238.
+ - i386
+ + PR target/4106: i386 -fPIC asm ebx clobber no error.
+ Closes: #153472.
+ + PR target/10984: x86/sse2 ICEs on vector intrinsics. Closes: #166940.
+ + Wrong code generation on at least ix86 (closes: #275655).
+ - m68k
+ + PR target/9201: ICE compiling octave-2.1 (closes: #175478).
+ + ICE in verify_initial_elim_offsets (closes: #204407, #257012).
+ + g77 generates invalid assembly code (closes: #225621).
+ + ICE in verify_local_live_at_start (closes #245584).
+ - powerpc
+ + PR optimization/12828: -floop-optimize is unstable on PowerPC (float
+ to int conversion problem). Closes: #218219.
+ + PR target/13619: ICE building altivec code in ffmpeg.
+ Closes: #226148.
+ + PR target/20046: Miscompilation of bind 9.3.0. Closes: #292958.
+ - sparc
+ + ICE (segfault) while building atlas3 on sparc32 (closes: #249108).
+ + Wrong optimization on sparc32 when building linux kernel.
+ Closes: #254626.
+
+ * Closed reports reported against gcc-3.3 or gcc-3.4 and fixed in gcc-4.0:
+ - General:
+ + PR rtl-optimization/6901: Optimizer improvement (removing unused
+ local variables). Closes: #67206.
+ + PR middle-end/179: Failure to detect use of unitialized variable
+ with -O -Wall. Closes: #117765.
+ + ICE building glibc's nptl on amd64 (closes: #260710, #307993).
+ + PR middle-end/17827: ICE in make_decl_rtl. Closes: #270854.
+ + PR middle-end/21709: ICE on compile-time complex NaN. Closes: #305344.
+ - Ada:
+ + PR ada/10889: Convention Fortran matrices mishandled in generics.
+ Closes: #192135.
+ + PR ada/13897: Implement tasking on powerpc. Closes: #225346.
+ - C:
+ + PR c/13072: Bogus warning with VLA in switch. Closes: #218803.
+ + PR c/13519: typeof(nonconst+const) is const. Closes: #208981.
+ + PR c/12867: Incorrect warning message (void format, should be void*
+ format). Closes: #217360.
+ + PR c/16066: PR 16066] i386 loop strength reduction bug.
+ Closes: #254659.
+ - C++:
+ + PR c++/13518: -Wnon-virtual-dtor doesn't always work. Closes: #212260.
+ + PR translation/16025: ICE with unsupported locale(closes: #242158).
+ + PR c++/15125: -Wformat doesn't warn for different types in fprintf.
+ Closes: #243507.
+ + PR c++/15214: Warn only if the dtor is non-private or the class has
+ friends. (closes: #246639).
+ + PR libstdc++/17218: Unknown subjects in generated libstdc++ manpages.
+ Closes: #262934.
+ + PR libstdc++/17223: Missing .so references in generated libstdc++
+ manpages. Closes: #262956.
+ + libstdc++-doc: Improve man pages (closes: #280910).
+ + PR c++/19006: ICE in tree_low_cst. Closes: #285692.
+ + g++ does not check arguments to fprintf. Closes: #281847.
+ - Java:
+ + PR java/7304: gcj ICE (closes: #152501).
+ + PR libgcj/7305: Installation of headers not directly in /usr/include.
+ Closes: #195483.
+ + PR libgcj/11941: libgcj timezone handling (closes: #203212).
+ + PR java/14709: gcj fails to wait for its child processes on exec().
+ Closes: #238432.
+ + PR libgcj/21703: gcj hangs when rapidly calling String.intern().
+ Closes: #275547.
+ + SocketChannel.get(ByteBuffer) returns 0 at EOF. Closes: #281602.
+ + PR java/19711: gcj segfaults instead of reporting the ambiguous
+ expression. Closes: #286715.
+ + Static libgcj contains repeated archive members (closes: #298263).
+ - Architecture specific:
+ - alpha
+ + Unaligned accesses with ?-operator (closes: #301983).
+ - arm
+ + Compilation error of glibc-2.3.4 on arm (closes: #298508).
+ - m68k
+ + ICE in add_insn_before (closes: #248432).
+ - mips
+ + Fix o32 ABI breakage in gcc 3.3/3.4 (closes: #270620).
+ - powerpc
+ + ICE in extract_insn (closes: #311128).
+
+ * Closing bug reports as wontfix:
+ - g++ defines _GNU_SOURCE when using the libstdc++ header files.
+ Behaviour did change since 3.0. Closes: #126703, #164872.
+
+ -- Matthias Klose Sat, 9 Jul 2005 17:10:54 +0000
+
+gcc-4.0 (4.0.0ds2-12) unstable; urgency=high
+
+ * Update to CVS 20050701, taken from the gcc-4_0-branch.
+ * Apply proposed patch for MMAP configure fix; aka PR 19877. Backport
+ from mainline.
+ * Disable Fortran on m68k. Currently FTBFS.
+ * Split multiarch-include/lib patches. Update multiarch-include patch.
+ * Fix FTBFS of the hppa64-linux cross compiler. Don't add the
+ multiarch include dirs when cross compiling.
+ * Configure --with-java-home, as used by java-gcj-compat.
+ Closes: #315646.
+ * Make libgcj-dbg packages priority extra.
+ * Set the path of classmap.db to /var/lib/gcj-@gcc_version@.
+ * On m68k, do not create the default classmap.db in the gcj postinst.
+ See #312830.
+ * On amd64, install the 32bit libraries into /emul/ia32-linux/usr/lib.
+ Restore the /usr/lib32 symlink.
+ * On amd64, don't reference lib64, but instead lib (lib64 is a symlink
+ to lib). Closes: #293050.
+ * Remove references to build directories from the .la files.
+ * Make cpp-X.Y conflict with earlier versions of gcc-X.Y, g++-X.Y, gobjc-X.Y,
+ gcj-X.Y, gfortran-X.Y, gnat-X.Y, treelang-X.Y, if a path component in
+ the gcc library path changes (i.e. version or target alias).
+ * Disable Ada for sh3 sh3eb sh4 sh4eb.
+ * For gcj-4.0, add a conflict to libgcj4-dev and libgcj5-dev.
+ Closes: #316499.
+
+ -- Matthias Klose