Your message dated Fri, 07 Oct 2005 22:02:09 -0700
with message-id <[EMAIL PROTECTED]>
and subject line Bug#303180: fixed in mingw32-binutils 2.16.91-20050827.1-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; 5 Apr 2005 09:49:53 +0000
>From [EMAIL PROTECTED] Tue Apr 05 02:49:53 2005
Return-path: <[EMAIL PROTECTED]>
Received: from c146077.adsl.hansenet.de (localhost.localdomain) [213.39.146.77] 
        by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
        id 1DIkgy-0004qw-00; Tue, 05 Apr 2005 02:49:52 -0700
Received: from aj by localhost.localdomain with local (Exim 4.50)
        id 1DIkh2-0007ma-Gk; Tue, 05 Apr 2005 11:49:56 +0200
To: Debian Bug Tracking System <[EMAIL PROTECTED]>
From: Andreas Jochens <[EMAIL PROTECTED]>
Subject: mingw32-binutils: FTBFS (amd64/gcc-4.0): array type has incomplete 
element type
Message-Id: <[EMAIL PROTECTED]>
Date: Tue, 05 Apr 2005 11:49:56 +0200
Delivered-To: [EMAIL PROTECTED]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
        (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_2005_01_02
X-Spam-Level: 

Package: mingw32-binutils
Version: 2.15.94-20050118.1-1
Severity: normal
Tags: patch

When building 'mingw32-binutils' on amd64/unstable with gcc-4.0,
I get the following error:

make[4]: Leaving directory 
`/mingw32-binutils-2.15.94-20050118.1/build_dir/objs/gas/po'
make[4]: Entering directory 
`/mingw32-binutils-2.15.94-20050118.1/build_dir/objs/gas'
gcc -DHAVE_CONFIG_H -I. 
-I/mingw32-binutils-2.15.94-20050118.1/build_dir/src/binutils-2.15.94-20050118-1/gas
 -I. -D_GNU_SOURCE -I. 
-I/mingw32-binutils-2.15.94-20050118.1/build_dir/src/binutils-2.15.94-20050118-1/gas
 -I../bfd 
-I/mingw32-binutils-2.15.94-20050118.1/build_dir/src/binutils-2.15.94-20050118-1/gas/config
 
-I/mingw32-binutils-2.15.94-20050118.1/build_dir/src/binutils-2.15.94-20050118-1/gas/../include
 
-I/mingw32-binutils-2.15.94-20050118.1/build_dir/src/binutils-2.15.94-20050118-1/gas/..
 
-I/mingw32-binutils-2.15.94-20050118.1/build_dir/src/binutils-2.15.94-20050118-1/gas/../bfd
 
-I/mingw32-binutils-2.15.94-20050118.1/build_dir/src/binutils-2.15.94-20050118-1/gas/../intl
 -I../intl -DLOCALEDIR="\"/usr/share/locale\""   -W -Wall -Wstrict-prototypes 
-Wmissing-prototypes -g -O2  -c 
/mingw32-binutils-2.15.94-20050118.1/build_dir/src/binutils-2.15.94-20050118-1/gas/app.c
In file included from ./targ-cpu.h:1,
                 from 
/mingw32-binutils-2.15.94-20050118.1/build_dir/src/binutils-2.15.94-20050118-1/gas/config/obj-coff.h:38,
                 from ./obj-format.h:1,
                 from 
/mingw32-binutils-2.15.94-20050118.1/build_dir/src/binutils-2.15.94-20050118-1/gas/config/te-pe.h:7,
                 from ./targ-env.h:1,
                 from 
/mingw32-binutils-2.15.94-20050118.1/build_dir/src/binutils-2.15.94-20050118-1/gas/as.h:625,
                 from 
/mingw32-binutils-2.15.94-20050118.1/build_dir/src/binutils-2.15.94-20050118-1/gas/app.c:30:
/mingw32-binutils-2.15.94-20050118.1/build_dir/src/binutils-2.15.94-20050118-1/gas/config/tc-i386.h:443:
 error: array type has incomplete element type
make[4]: *** [app.o] Error 1
make[4]: Leaving directory 
`/mingw32-binutils-2.15.94-20050118.1/build_dir/objs/gas'

With the attached patch from upstream the 'mingw32-binutils' 
can be compiled on amd64 using gcc-4.0.

Regards
Andreas Jochens

diff -urN ../tmp-orig/mingw32-binutils-2.15.94-20050118.1/debian/rules 
./debian/rules
--- ../tmp-orig/mingw32-binutils-2.15.94-20050118.1/debian/rules        
2005-04-05 11:21:22.052172269 +0200
+++ ./debian/rules      2005-04-05 11:14:11.000000000 +0200
@@ -83,6 +83,7 @@
                                exit 1;                                         
\
                        fi;                                                     
\
                   done;
+       cd $(build_src)/$(binutils); patch -p1 <../../../gcc4-fix.diff
 
        touch $@
 
diff -urN ../tmp-orig/mingw32-binutils-2.15.94-20050118.1/gcc4-fix.diff 
./gcc4-fix.diff
--- ../tmp-orig/mingw32-binutils-2.15.94-20050118.1/gcc4-fix.diff       
1970-01-01 01:00:00.000000000 +0100
+++ ./gcc4-fix.diff     2005-04-05 11:20:56.426976861 +0200
@@ -0,0 +1,52 @@
+diff -urN tmp/gas/tc.h binutils-2.15.94-20050118-1/gas/tc.h
+--- tmp/gas/tc.h       2005-04-05 11:14:18.002679000 +0200
++++ binutils-2.15.94-20050118-1/gas/tc.h       2005-04-05 11:18:51.019490121 
+0200
+@@ -27,22 +27,6 @@
+ /* JF moved this here from as.h under the theory that nobody except MACHINE.c
+    and write.c care about it anyway.  */
+ 
+-struct relax_type
+-{
+-  /* Forward reach. Signed number. > 0.  */
+-  long rlx_forward;
+-  /* Backward reach. Signed number. < 0.  */
+-  long rlx_backward;
+-
+-  /* Bytes length of this address.  */
+-  unsigned char rlx_length;
+-
+-  /* Next longer relax-state.  0 means there is no 'next' relax-state.  */
+-  relax_substateT rlx_more;
+-};
+-
+-typedef struct relax_type relax_typeS;
+-
+ extern const int md_reloc_size;       /* Size of a relocation record.  */
+ 
+ char * md_atof (int, char *, int *);
+diff -urN ../tmp-orig/binutils-2.15/gas/as.h ./gas/as.h
+--- ../tmp-orig/binutils-2.15/gas/as.h 2003-11-23 03:14:21.000000000 +0100
++++ ./gas/as.h 2005-04-05 10:22:06.207874813 +0200
+@@ -397,6 +397,22 @@
+ /* Enough bits for address, but still an integer type.
+    Could be a problem, cross-assembling for 64-bit machines.  */
+ typedef addressT relax_addressT;
++
++struct relax_type
++{
++  /* Forward reach. Signed number. > 0.  */
++  long rlx_forward;
++  /* Backward reach. Signed number. < 0.  */
++  long rlx_backward;
++
++  /* Bytes length of this address.  */
++  unsigned char rlx_length;
++
++  /* Next longer relax-state.  0 means there is no 'next' relax-state.  */
++  relax_substateT rlx_more;
++};
++
++typedef struct relax_type relax_typeS;
+ 
+ /* main program "as.c" (command arguments etc) */
+ 

---------------------------------------
Received: (at 303180-close) by bugs.debian.org; 8 Oct 2005 05:08:06 +0000
>From [EMAIL PROTECTED] Fri Oct 07 22:08:06 2005
Return-path: <[EMAIL PROTECTED]>
Received: from katie by spohr.debian.org with local (Exim 3.36 1 (Debian))
        id 1EO6qX-0003PJ-00; Fri, 07 Oct 2005 22:02:09 -0700
From: Ron Lee <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
X-Katie: $Revision: 1.56 $
Subject: Bug#303180: fixed in mingw32-binutils 2.16.91-20050827.1-1
Message-Id: <[EMAIL PROTECTED]>
Sender: Archive Administrator <[EMAIL PROTECTED]>
Date: Fri, 07 Oct 2005 22:02:09 -0700
Delivered-To: [EMAIL PROTECTED]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
        (1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level: 
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
        autolearn=no version=2.60-bugs.debian.org_2005_01_02

Source: mingw32-binutils
Source-Version: 2.16.91-20050827.1-1

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

mingw32-binutils_2.16.91-20050827.1-1.diff.gz
  to pool/main/m/mingw32-binutils/mingw32-binutils_2.16.91-20050827.1-1.diff.gz
mingw32-binutils_2.16.91-20050827.1-1.dsc
  to pool/main/m/mingw32-binutils/mingw32-binutils_2.16.91-20050827.1-1.dsc
mingw32-binutils_2.16.91-20050827.1-1_i386.deb
  to pool/main/m/mingw32-binutils/mingw32-binutils_2.16.91-20050827.1-1_i386.deb
mingw32-binutils_2.16.91-20050827.1.orig.tar.gz
  to 
pool/main/m/mingw32-binutils/mingw32-binutils_2.16.91-20050827.1.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 [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Ron Lee <[EMAIL PROTECTED]> (supplier of updated mingw32-binutils 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 [EMAIL PROTECTED])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Fri,  7 Oct 2005 12:38:14 +0930
Source: mingw32-binutils
Binary: mingw32-binutils
Architecture: source i386
Version: 2.16.91-20050827.1-1
Distribution: unstable
Urgency: low
Maintainer: Ron Lee <[EMAIL PROTECTED]>
Changed-By: Ron Lee <[EMAIL PROTECTED]>
Description: 
 mingw32-binutils - Minimalist GNU win32 (cross) binutils
Closes: 303180 329072
Changes: 
 mingw32-binutils (2.16.91-20050827.1-1) unstable; urgency=low
 .
   * Fixes FTBFS on AMD64, Closes: #303180
   * Fixes apparent FTBFS on i386, Closes: #329072
Files: 
 0cca8e9687c83d2b9ae3006fd77f0105 657 devel optional 
mingw32-binutils_2.16.91-20050827.1-1.dsc
 c788b26e32bef46e9414cbdb4af8b0cf 15160698 devel optional 
mingw32-binutils_2.16.91-20050827.1.orig.tar.gz
 6f914f261122125f2779be51ef1c4675 4495 devel optional 
mingw32-binutils_2.16.91-20050827.1-1.diff.gz
 bcd198578c1c797cb34f5736fc2112df 3711374 devel optional 
mingw32-binutils_2.16.91-20050827.1-1_i386.deb

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

iD8DBQFDRe05p4BCHGgCHOQRAqmUAJ0Xzg5EyZNf85UVhvIy5ZY4nPlJdACeIjsO
zh5Q/aKhAKRE0dHl23K0VB8=
=PaQz
-----END PGP SIGNATURE-----


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to