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

Bug#222347: marked as done (gcc-snapshot: doesn't use 64 bit mode by default on AMD64 target, FTBFS)



Your message dated Sat, 06 Dec 2003 16:19:22 -0500
with message-id <E1ASjpi-0006V5-00@auric.debian.org>
and subject line Bug#222347: fixed in gcc-snapshot 20031206-1
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; 28 Nov 2003 03:00:29 +0000
>From tfheen@raw.no Thu Nov 27 21:00:28 2003
Return-path: <tfheen@raw.no>
Received: from vawad.samfundet.no (vawad.raw.no) [129.241.93.49] 
	by master.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1APYrs-0000nV-00; Thu, 27 Nov 2003 21:00:28 -0600
Received: from 88.80-202-212.nextgentel.com ([80.202.212.88] helo=yiwaz.raw.no)
	by vawad.raw.no with esmtp (TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA:24)
	(Exim 4.24)
	id 1APYrl-000248-2u
	for submit@bugs.debian.org; Fri, 28 Nov 2003 04:00:21 +0100
Received: by yiwaz.raw.no (Postfix, from userid 1000)
	id 1AF7895EEE; Fri, 28 Nov 2003 04:00:19 +0100 (CET)
From: Tollef Fog Heen <tfheen@debian.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: gcc-snapshot: doesn't use 64 bit mode by default on AMD64 target,
 FTBFS
X-Debbugs-CC: Tollef Fog Heen <tfheen@debian.org>
Mail-Copies-To: never
Organization: Private
Date: Fri, 28 Nov 2003 04:00:19 +0100
Message-ID: <87n0ah8af0.fsf@yiwaz.raw.no>
User-Agent: Gnus/5.1002 (Gnus v5.10.2) Emacs/21.3 (gnu/linux)
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="=-=-="
Delivered-To: submit@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 
	2.60-master.debian.org_2003_11_25-bugs.debian.org_2003_11_20 
	(1.212-2003-09-23-exp) on master.debian.org
X-Spam-Status: No, hits=-8.0 required=4.0 tests=HAS_PACKAGE,X_DEBBUGS_CC 
	autolearn=no 
	version=2.60-master.debian.org_2003_11_25-bugs.debian.org_2003_11_20
X-Spam-Level: 

--=-=-=

Package: gcc-snapshot
Severity: normal

Please apply the attached patch so that gcc-snapshot builds on amd64
in native mode.  Else it fails when trying to assemble 64bits assembly
as 32bit.  Also add the patch to patched to be applied, of course.

-- System Information:
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux yiwaz 2.6.0-test9 #6 Sun Nov 23 13:14:59 CET 2003 i686
Locale: LANG=no_NO, LC_CTYPE=no_NO


-- 
Tollef Fog Heen                                                        ,''`.
UNIX is user friendly, it's just picky about who its friends are      : :' :
                                                                      `. `' 
                                                                        `-  

--=-=-=
Content-Type: application/octet-stream
Content-Disposition: attachment; filename=amd64-specs.dpatch

#! /bin/sh -e

# DP: Use 64bits mode assembly except with -m32

dir=
if [ $# -eq 3 -a "$2" = '-d' ]; then
    pdir="-d $3"
    dir="$3/"
elif [ $# -ne 1 ]; then
    echo >&2 "`basename $0`: script expects -patch|-unpatch as argument"
    exit 1
fi
case "$1" in
    -patch)
        patch $pdir -f --no-backup-if-mismatch -p1 < $0
        #cd ${dir}gcc && autoconf
        ;;
    -unpatch)
        patch $pdir -f --no-backup-if-mismatch -R -p1 < $0
        #rm ${dir}gcc/configure
        ;;
    *)
        echo >&2 "`basename $0`: script expects -patch|-unpatch as argument"
        exit 1
esac
exit 0

--- src/gcc/config/i386/x86-64.h.old	2002-11-16 14:33:38.000000000 +0100
+++ src/gcc/config/i386/x86-64.h	2003-11-26 22:54:35.000000000 +0100
@@ -49,7 +49,7 @@
 
 #undef ASM_SPEC
 #define ASM_SPEC "%{v:-V} %{Qy:} %{!Qn:-Qy} %{n} %{T} %{Ym,*} %{Yd,*} \
- %{Wa,*:%*} %{m32:--32}"
+ %{Wa,*:%*} %{m32:--32} %{!m32:--64}"
 
 /* A C statement (sans semicolon) to output to the stdio stream
    FILE the assembler definition of uninitialized global DECL named

--=-=-=--

---------------------------------------
Received: (at 222347-close) by bugs.debian.org; 6 Dec 2003 22:02:57 +0000
>From katie@auric.debian.org Sat Dec 06 16:02:57 2003
Return-path: <katie@auric.debian.org>
Received: from auric.debian.org [206.246.226.45] 
	by master.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1ASjtO-0004B3-00; Sat, 06 Dec 2003 15:23:10 -0600
Received: from katie by auric.debian.org with local (Exim 3.35 1 (Debian))
	id 1ASjpi-0006V5-00; Sat, 06 Dec 2003 16:19:22 -0500
From: Matthias Klose <doko@debian.org>
To: 222347-close@bugs.debian.org
X-Katie: $Revision: 1.43 $
Subject: Bug#222347: fixed in gcc-snapshot 20031206-1
Message-Id: <E1ASjpi-0006V5-00@auric.debian.org>
Sender: Archive Administrator <katie@auric.debian.org>
Date: Sat, 06 Dec 2003 16:19:22 -0500
Delivered-To: 222347-close@bugs.debian.org

Source: gcc-snapshot
Source-Version: 20031206-1

We believe that the bug you reported is fixed in the latest version of
gcc-snapshot, which is due to be installed in the Debian FTP archive:

gcc-snapshot_20031206-1.diff.gz
  to pool/main/g/gcc-snapshot/gcc-snapshot_20031206-1.diff.gz
gcc-snapshot_20031206-1.dsc
  to pool/main/g/gcc-snapshot/gcc-snapshot_20031206-1.dsc
gcc-snapshot_20031206-1_i386.deb
  to pool/main/g/gcc-snapshot/gcc-snapshot_20031206-1_i386.deb
gcc-snapshot_20031206.orig.tar.gz
  to pool/main/g/gcc-snapshot/gcc-snapshot_20031206.orig.tar.gz



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 222347@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-snapshot 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: Sat,  6 Dec 2003 16:46:56 +0100
Source: gcc-snapshot
Binary: gcc-snapshot
Architecture: source i386
Version: 20031206-1
Distribution: unstable
Urgency: low
Maintainer: Debian GCC maintainers <debian-gcc@lists.debian.org>
Changed-By: Matthias Klose <doko@debian.org>
Description: 
 gcc-snapshot - A SNAPSHOT of the GNU Compiler Collection
Closes: 222347
Changes: 
 gcc-snapshot (20031206-1) unstable; urgency=low
 .
   * CVS 20031206, taken from HEAD.
   * Apply patch to build on amd64 in native mode (closes: #222347).
Files: 
 131be713eb81f8445c57d14562d8e620 1493 devel extra gcc-snapshot_20031206-1.dsc
 26b54b173a2ba4c5ac0227cace60e6bb 24680323 devel extra gcc-snapshot_20031206.orig.tar.gz
 789f85ba4d2c8b8ec82a9cb975bd4d33 66596 devel extra gcc-snapshot_20031206-1.diff.gz
 698cc59d18417c8fc5591677e5654191 45093540 devel extra gcc-snapshot_20031206-1_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQE/0jC/StlRaw+TLJwRAj2gAKCkvqBl95mmRLzjIrAplDYlm2+/jwCgwzY7
V95AyRp1CmMlv4IqromWCSc=
=bPoh
-----END PGP SIGNATURE-----



Reply to: