Bug#257475: marked as done (Fixes for generating cross compiler packages)
Your message dated Thu, 08 Jul 2004 03:02:16 -0400
with message-id <E1BiSvA-00062e-00@newraff.debian.org>
and subject line Bug#257475: fixed in gcc-3.3 1:3.3.4-3
has caused the attached Bug report to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere. Please contact me immediately.)
Debian bug tracking system administrator
(administrator, Debian Bugs database)
--------------------------------------
Received: (at submit) by bugs.debian.org; 3 Jul 2004 18:43:42 +0000
>From jbailey@outpost.dnsalias.org Sat Jul 03 11:43:42 2004
Return-path: <jbailey@outpost.dnsalias.org>
Received: from fep01-mail.bloor.is.net.cable.rogers.com [66.185.86.71]
by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
id 1BgpUD-0003sC-00; Sat, 03 Jul 2004 11:43:42 -0700
Received: from outpost.dnsalias.org ([65.49.89.77])
by fep01-mail.bloor.is.net.cable.rogers.com
(InterMail vM.5.01.05.12 201-253-122-126-112-20020820) with ESMTP
id <20040703184208.YHDQ403562.fep01-mail.bloor.is.net.cable.rogers.com@outpost.dnsalias.org>;
Sat, 3 Jul 2004 14:42:08 -0400
Received: from outpost.dnsalias.org (localhost [127.0.0.1])
by outpost.dnsalias.org (8.12.11/8.12.11/Debian-5) with ESMTP id i63Ih9Sp005398
(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO);
Sat, 3 Jul 2004 14:43:09 -0400
Received: (from jbailey@localhost)
by outpost.dnsalias.org (8.12.11/8.12.11/Debian-5) id i63Ih9bx005397;
Sat, 3 Jul 2004 14:43:09 -0400
Message-Id: <[🔎] 200407031843.i63Ih9bx005397@outpost.dnsalias.org>
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: Jeff Bailey <jbailey@raspberryginger.com>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: Fixes for generating cross compiler packages
X-Mailer: reportbug 2.62
Date: Sat, 03 Jul 2004 14:43:09 -0400
X-Authentication-Info: Submitted using SMTP AUTH PLAIN at fep01-mail.bloor.is.net.cable.rogers.com from [65.49.89.77] using ID <jbailey01@rogers.com> at Sat, 3 Jul 2004 14:42:08 -0400
Delivered-To: submit@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_03_25
(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE
autolearn=no version=2.60-bugs.debian.org_2004_03_25
X-Spam-Level:
Package: gcc-3.3
Version: 1:3.3.4-2
Severity: wishlist
Tags: patch
These patches do the following:
- rules2: Add a new environment variable "with_sysroot"
- control.m4: Fix libgcc1-cross naming for non-Linux arch's.
- rules.defs: Remove comments saying that cross-building is Linux
specific. It's now tested on a non-Linux arch.
- README.cross: Update documentation to include with_sysroot information
and suggest crosshurd.
--- rules2.old 2004-07-03 11:40:55.347156525 -0400
+++ rules2 2004-07-03 11:44:05.188070151 -0400
@@ -84,6 +84,10 @@
--enable-nls \
--without-included-gettext
+ifneq ($(with_sysroot),)
+ CONFARGS += --with-sysroot=$(with_sysroot)
+endif
+
ifeq ($(with_cxa_atexit),yes)
CONFARGS += --enable-__cxa_atexit
else
--- control.m4.old 2004-07-03 13:48:01.863900548 -0400
+++ control.m4 2004-07-03 13:48:24.968905236 -0400
@@ -19,7 +19,7 @@
define(`MAINTAINER', `Debian GCC maintainers <debian-gcc@lists.debian.org>')
ifdef(`TARGET', `
define(`PRI', `optional')
- define(`LS', `-'ARCH`-cross')
+ define(`LS', `-'TARGET`-cross')
', `
define(`TS')
define(`LS')
--- rules.defs.old 2004-07-03 14:21:37.448417727 -0400
+++ rules.defs 2004-07-03 14:21:52.534052234 -0400
@@ -32,13 +32,6 @@
# cross compiler support. If GCC_TARGET is set, then it's the architecture
# we build for.
-#
-# Note: This scheme assumes targets are *-linux. At some point
-# in the future I'd like to work on generalizing this to allow
-# for non-linux targets. My thought is that when specifying
-# target names in GCC_TARGET, if it doesn't contain a '-', we'll
-# assume Linux. If it *does* contain a '-', we'll *not* make
-# that assumption, and handle it properly in these rules files.
ifneq ($(DEB_HOST_ARCH),$(DEB_TARGET_ARCH))
DEB_CROSS = yes
--- README.cross.old 2004-07-03 14:22:01.284853037 -0400
+++ README.cross 2004-07-03 14:29:12.786928547 -0400
@@ -46,7 +46,29 @@
installed. This bug was fixed in (unofficial) version 1.14.5 of dpkg-cross,
currently available from http://zigzag.lvk.cs.msu.su/~nikita/debian/.
-1.2. kernel-headers package for the target architecture
+1.2. Packages for the Target architecture
+
+There are two ways of getting the packages you need for compiling to the
+target architecture. The simplest way is to use the Debian 'crosshurd'
+package to build a system in a directory. crosshurd is like debootstrap
+but cross-arch, and works on the Hurd, Linux and FreeBSD. (The name is
+historical). You will then need to fix symlinks in lib and usr/lib to be
+relative links instead of absolute ones.
+
+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
+
+If you choose this method, set the environment variable 'with_sysroot' to
+point to the ABSOLUTE PATH where the crosshurd was done.
+
+Otherwise...
+
+1.2.0 kernel-headers package for the target architecture
It is not recommended to use kernel-headers for the host architecture,
because some constants defined in asm/*.h do differ between architectures.
@@ -56,7 +78,7 @@
Unfortunately, dpkg-cross versions prior to (unofficial) 1.14.1 failed
to process linux-kernel-headers package, so please use newer versions.
-1.3. libc for the target architecture
+1.2.1 libc for the target architecture
Although it is possible to build cross-gcc without having target libc
pre-installed, it is somewhat complex, and is not supported by gcc-3.3 source
@@ -66,7 +88,7 @@
packages for the target architecture using dpkg-cross, and install the
resulting packages.
-1.4. cross-binutils for the target
+1.3. cross-binutils for the target
It is a good idea to use binutils source package to build cross-binutils.
See debian bug report #231707 for patches that make it possible.
---------------------------------------
Received: (at 257475-close) by bugs.debian.org; 8 Jul 2004 07:08:02 +0000
>From katie@ftp-master.debian.org Thu Jul 08 00:08:02 2004
Return-path: <katie@ftp-master.debian.org>
Received: from newraff.debian.org [208.185.25.31] (mail)
by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
id 1BiT0j-0002wq-00; Thu, 08 Jul 2004 00:08:01 -0700
Received: from katie by newraff.debian.org with local (Exim 3.35 1 (Debian))
id 1BiSvA-00062e-00; Thu, 08 Jul 2004 03:02:16 -0400
From: Matthias Klose <doko@debian.org>
To: 257475-close@bugs.debian.org
X-Katie: $Revision: 1.51 $
Subject: Bug#257475: fixed in gcc-3.3 1:3.3.4-3
Message-Id: <E1BiSvA-00062e-00@newraff.debian.org>
Sender: Archive Administrator <katie@ftp-master.debian.org>
Date: Thu, 08 Jul 2004 03:02:16 -0400
Delivered-To: 257475-close@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_03_25
(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER
autolearn=no version=2.60-bugs.debian.org_2004_03_25
X-Spam-Level:
X-CrossAssassin-Score: 3
Source: gcc-3.3
Source-Version: 1:3.3.4-3
We believe that the bug you reported is fixed in the latest version of
gcc-3.3, which is due to be installed in the Debian FTP archive:
cpp-3.3-doc_3.3.4-3_all.deb
to pool/main/g/gcc-3.3/cpp-3.3-doc_3.3.4-3_all.deb
cpp-3.3_3.3.4-3_i386.deb
to pool/main/g/gcc-3.3/cpp-3.3_3.3.4-3_i386.deb
fastjar_3.3.4-3_i386.deb
to pool/main/g/gcc-3.3/fastjar_3.3.4-3_i386.deb
fixincludes_3.3.4-3_i386.deb
to pool/main/g/gcc-3.3/fixincludes_3.3.4-3_i386.deb
g++-3.3_3.3.4-3_i386.deb
to pool/main/g/gcc-3.3/g++-3.3_3.3.4-3_i386.deb
g77-3.3-doc_3.3.4-3_all.deb
to pool/main/g/gcc-3.3/g77-3.3-doc_3.3.4-3_all.deb
g77-3.3_3.3.4-3_i386.deb
to pool/main/g/gcc-3.3/g77-3.3_3.3.4-3_i386.deb
gcc-3.3-base_3.3.4-3_i386.deb
to pool/main/g/gcc-3.3/gcc-3.3-base_3.3.4-3_i386.deb
gcc-3.3-doc_3.3.4-3_all.deb
to pool/main/g/gcc-3.3/gcc-3.3-doc_3.3.4-3_all.deb
gcc-3.3_3.3.4-3.diff.gz
to pool/main/g/gcc-3.3/gcc-3.3_3.3.4-3.diff.gz
gcc-3.3_3.3.4-3.dsc
to pool/main/g/gcc-3.3/gcc-3.3_3.3.4-3.dsc
gcc-3.3_3.3.4-3_i386.deb
to pool/main/g/gcc-3.3/gcc-3.3_3.3.4-3_i386.deb
gcj-3.3_3.3.4-3_i386.deb
to pool/main/g/gcc-3.3/gcj-3.3_3.3.4-3_i386.deb
gij-3.3_3.3.4-3_i386.deb
to pool/main/g/gcc-3.3/gij-3.3_3.3.4-3_i386.deb
gnat-3.3-doc_3.3.4-3_all.deb
to pool/main/g/gcc-3.3/gnat-3.3-doc_3.3.4-3_all.deb
gnat-3.3_3.3.4-3_i386.deb
to pool/main/g/gcc-3.3/gnat-3.3_3.3.4-3_i386.deb
gobjc-3.3_3.3.4-3_i386.deb
to pool/main/g/gcc-3.3/gobjc-3.3_3.3.4-3_i386.deb
gpc-2.1-3.3-doc_3.3.4.20040516-3_all.deb
to pool/main/g/gcc-3.3/gpc-2.1-3.3-doc_3.3.4.20040516-3_all.deb
gpc-2.1-3.3_3.3.4.20040516-3_i386.deb
to pool/main/g/gcc-3.3/gpc-2.1-3.3_3.3.4.20040516-3_i386.deb
libffi2-dev_3.3.4-3_i386.deb
to pool/main/g/gcc-3.3/libffi2-dev_3.3.4-3_i386.deb
libffi2_3.3.4-3_i386.deb
to pool/main/g/gcc-3.3/libffi2_3.3.4-3_i386.deb
libg2c0_3.3.4-3_i386.deb
to pool/main/g/gcc-3.3/libg2c0_3.3.4-3_i386.deb
libgcc1_3.3.4-3_i386.deb
to pool/main/g/gcc-3.3/libgcc1_3.3.4-3_i386.deb
libgcj-common_3.3.4-3_all.deb
to pool/main/g/gcc-3.3/libgcj-common_3.3.4-3_all.deb
libgcj4-dev_3.3.4-3_i386.deb
to pool/main/g/gcc-3.3/libgcj4-dev_3.3.4-3_i386.deb
libgcj4_3.3.4-3_i386.deb
to pool/main/g/gcc-3.3/libgcj4_3.3.4-3_i386.deb
libobjc1_3.3.4-3_i386.deb
to pool/main/g/gcc-3.3/libobjc1_3.3.4-3_i386.deb
libstdc++5-3.3-dbg_3.3.4-3_i386.deb
to pool/main/g/gcc-3.3/libstdc++5-3.3-dbg_3.3.4-3_i386.deb
libstdc++5-3.3-dev_3.3.4-3_i386.deb
to pool/main/g/gcc-3.3/libstdc++5-3.3-dev_3.3.4-3_i386.deb
libstdc++5-3.3-doc_3.3.4-3_all.deb
to pool/main/g/gcc-3.3/libstdc++5-3.3-doc_3.3.4-3_all.deb
libstdc++5-3.3-pic_3.3.4-3_i386.deb
to pool/main/g/gcc-3.3/libstdc++5-3.3-pic_3.3.4-3_i386.deb
libstdc++5_3.3.4-3_i386.deb
to pool/main/g/gcc-3.3/libstdc++5_3.3.4-3_i386.deb
protoize_3.3.4-3_i386.deb
to pool/main/g/gcc-3.3/protoize_3.3.4-3_i386.deb
treelang-3.3_3.3.4-3_i386.deb
to pool/main/g/gcc-3.3/treelang-3.3_3.3.4-3_i386.deb
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 257475@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Matthias Klose <doko@debian.org> (supplier of updated gcc-3.3 package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.7
Date: Wed, 7 Jul 2004 23:59:42 +0200
Source: gcc-3.3
Binary: gcc-3.3-nof gcc-3.3 libobjc1 libgcc1 lib64g2c0 libstdc++5-3.3-doc libgcj4 gpc-2.1-3.3-doc libstdc++5 cpp-3.3-doc protoize gcc-3.3-hppa64 cpp-3.3 libstdc++5-3.3-dbg g77-3.3-doc gpc-2.1-3.3 g77-3.3 libgcj4-dev gcc-3.3-doc libgnat-3.15 lib64objc1 lib64ffi2 libstdc++5-3.3-dev libffi2-dev gcj-3.3 libgcj-common gobjc-3.3 lib64stdc++5 gcc-3.3-soft-float lib64gcj4 treelang-3.3 libg2c0-dev lib64gcc1 fastjar lib64gnat3.15 fixincludes libg2c0 gij-3.3 libstdc++5-3.3-pic gcc-3.3-base g++-3.3 gnat-3.3 libffi2 gnat-3.3-doc
Architecture: source i386 all
Version: 1:3.3.4-3
Distribution: unstable
Urgency: medium
Maintainer: Debian GCC maintainers <debian-gcc@lists.debian.org>
Changed-By: Matthias Klose <doko@debian.org>
Description:
cpp-3.3 - The GNU C preprocessor
cpp-3.3-doc - Documentation for the GNU C preprocessor (cpp)
fastjar - Jar creation utility
fixincludes - Fix non-ANSI header files
g++-3.3 - The GNU C++ compiler
g77-3.3 - The GNU Fortran 77 compiler
g77-3.3-doc - Documentation for the GNU Fortran compiler (g77)
gcc-3.3 - The GNU C compiler
gcc-3.3-base - The GNU Compiler Collection (base package)
gcc-3.3-doc - Documentation for the GNU compilers (gcc, gobjc, g++)
gcj-3.3 - The GNU compiler for Java(TM)
gij-3.3 - The GNU Java bytecode interpreter
gnat-3.3 - The GNU Ada compiler
gnat-3.3-doc - Documentation for the GNU Ada compiler (gnat)
gobjc-3.3 - The GNU Objective-C compiler
gpc-2.1-3.3 - The GNU Pascal compiler
gpc-2.1-3.3-doc - Documentation for the GNU Pascal compiler (gpc)
libffi2 - Foreign Function Interface library runtime
libffi2-dev - Foreign Function Interface library (development files)
libg2c0 - Runtime library for GNU Fortran 77 applications
libgcc1 - GCC support library
libgcj-common - Java runtime library (common files)
libgcj4 - Java runtime library for use with gcj
libgcj4-dev - Java development headers and static library for use with gcj
libobjc1 - Runtime library for GNU Objective-C applications
libstdc++5 - The GNU Standard C++ Library v3
libstdc++5-3.3-dbg - The GNU Standard C++ Library v3 (debugging files)
libstdc++5-3.3-dev - The GNU Standard C++ Library v3 (development files)
libstdc++5-3.3-doc - The GNU Standard C++ Library v3 (documentation files)
libstdc++5-3.3-pic - The GNU Standard C++ Library v3 (shared library subset kit)
protoize - Create/remove ANSI prototypes from C code
treelang-3.3 - The GNU Treelang compiler
Closes: 239569 257240 257475
Changes:
gcc-3.3 (1:3.3.4-3) unstable; urgency=medium
.
* Update to gcc-3_3-branch CVS 20040707.
* Really fix build logic to build libffi on mips/mipsel.
* For alpha-linux set GNATLIBCFLAGS to "-g -O".
* Fix PR14700, ICE with global registers (closes: #239569).
* Replace /usr/lib/. with /usr/lib in .la files (closes: #257240).
* Fixes for generating cross compiler packages (Jeff Bailey).
Closes: #257475.
* Update libf2c to the version found in the 3.4.1 release.
Files:
8beced35532ae496f12bb9697e348a40 2328 devel standard gcc-3.3_3.3.4-3.dsc
d60776f622f0346b5aff8ee16ecf03c9 3474470 devel standard gcc-3.3_3.3.4-3.diff.gz
f037eddf497fabd7bf2c46595e0092cc 171202 doc optional cpp-3.3-doc_3.3.4-3_all.deb
151a4d4dc6cc57eb9ebbe763df4127a3 1168 libs optional libgcj-common_3.3.4-3_all.deb
eb12ea349bd9633cfec32947b1804a22 3187036 doc optional libstdc++5-3.3-doc_3.3.4-3_all.deb
2a7e788e57e7af816bd94fb72ff4d219 572520 doc optional g77-3.3-doc_3.3.4-3_all.deb
7e1216d892960c518f2637451c46b029 678582 doc optional gnat-3.3-doc_3.3.4-3_all.deb
20e553f372b363ccf149648230fc4f2c 1170964 doc optional gpc-2.1-3.3-doc_3.3.4.20040516-3_all.deb
74df8a6b1b75fc0d70d3540fe1099586 1228884 doc optional gcc-3.3-doc_3.3.4-3_all.deb
c967a6b12cfe4076c1c613cd6cc3544a 146388 devel required gcc-3.3-base_3.3.4-3_i386.deb
1c6a2af63a2ca0a02e1835d163e5b38d 75738 libs required libgcc1_3.3.4-3_i386.deb
0d9b07c45e753635cee8e6433065c0cb 1391192 interpreters standard cpp-3.3_3.3.4-3_i386.deb
19ef2b44f1ff47e62b56247dc00931c4 23254 devel optional protoize_3.3.4-3_i386.deb
c35bd7834095ac3b0b3978cfdac79b15 74170 devel optional fixincludes_3.3.4-3_i386.deb
d4790c849937fe12ee9f72ee1d231438 1467252 devel optional gobjc-3.3_3.3.4-3_i386.deb
35465aad9454ea41296515c02028b5d5 135240 libs optional libobjc1_3.3.4-3_i386.deb
7e100aaf0ad58013bc36d2c643674c1c 12984 devel optional gij-3.3_3.3.4-3_i386.deb
019aa25c86fefb07680f44a2aca1734b 3978008 libs optional libgcj4_3.3.4-3_i386.deb
c3d97b99fa1aa9362ca1909c51b9db83 1733736 devel optional gcj-3.3_3.3.4-3_i386.deb
8f1afbb359cfd9d0a1b9c6f10c77f863 4750810 libdevel optional libgcj4-dev_3.3.4-3_i386.deb
5706d8d38d8619c55a0fdd60f9a7dc14 112636 devel extra fastjar_3.3.4-3_i386.deb
64f32c41d764d8416c29fafea2f37463 70408 libs optional libffi2_3.3.4-3_i386.deb
fd2c14b8f27d88c69f380f9a4c7a3faf 11182 libdevel optional libffi2-dev_3.3.4-3_i386.deb
69d678ac124be513a52beb8b57dcf135 1776256 devel standard g++-3.3_3.3.4-3_i386.deb
4908bd3b352664a358a7b98fe5696864 290512 base required libstdc++5_3.3.4-3_i386.deb
7828fea083304e1d0cbe8d0c85d510bd 773872 libdevel standard libstdc++5-3.3-dev_3.3.4-3_i386.deb
3ea5c959a2f556598b0855f96257d254 325216 libdevel extra libstdc++5-3.3-pic_3.3.4-3_i386.deb
92ad8b50629c970214d98e765dd4cafe 4867028 libdevel extra libstdc++5-3.3-dbg_3.3.4-3_i386.deb
b521ec2583c7a7a5dc7a5f86713ddbf2 50558 libs optional libg2c0_3.3.4-3_i386.deb
4ffdc885a900fcd20cc5bfd48da52fad 1615024 devel optional g77-3.3_3.3.4-3_i386.deb
0964befc59560d361a28d5ec656688f3 6308316 devel optional gnat-3.3_3.3.4-3_i386.deb
7a47adcd7718230cfb01a184b7b18ec8 1318630 devel optional treelang-3.3_3.3.4-3_i386.deb
4a1ea08a6973eb116c038eaac256f822 1938062 devel optional gpc-2.1-3.3_3.3.4.20040516-3_i386.deb
9912dee9a963167eeb9e2348f4fd6d01 1561042 devel standard gcc-3.3_3.3.4-3_i386.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
iD8DBQFA7NOOStlRaw+TLJwRAiufAKC5Lo9+Y7McOinj2RSWAvAyCwXjDwCfeah/
zeXKjm7pOP4KDfy3bAIZRJQ=
=HCWQ
-----END PGP SIGNATURE-----
Reply to: