Your message dated Wed, 19 Oct 2005 07:17:09 -0700
with message-id <[EMAIL PROTECTED]>
and subject line Bug#306123: fixed in syslinux 3.11-2
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; 24 Apr 2005 12:32:53 +0000
>From [EMAIL PROTECTED] Sun Apr 24 05:32:53 2005
Return-path: <[EMAIL PROTECTED]>
Received: from c129193.adsl.hansenet.de (localhost.localdomain) 
[213.39.129.193] 
        by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
        id 1DPgI8-00085M-00; Sun, 24 Apr 2005 05:32:52 -0700
Received: from aj by localhost.localdomain with local (Exim 4.50)
        id 1DPgI5-00088f-2J; Sun, 24 Apr 2005 14:32:49 +0200
To: Debian Bug Tracking System <[EMAIL PROTECTED]>
From: Andreas Jochens <[EMAIL PROTECTED]>
Subject: syslinux: FTBFS (amd64/gcc-4.0): undefined reference to `memcpy' and 
static declaration of 'crc_32_tab' follows non-static declaration
Message-Id: <[EMAIL PROTECTED]>
Date: Sun, 24 Apr 2005 14:32:49 +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: syslinux
Version: 2.11-0.1
Severity: important
Tags: patch

Please fix 'syslinux' to support the amd64 architecture.

When trying to build 'syslinux' on amd64, I get the following error:

gcc -m32 -W -Wall -march=i386 -Os -fomit-frame-pointer -I../com32/include -c -o 
chain.o chain.c
chain.c:45: warning: conflicting types for built-in function 'isspace'
ld -m elf_i386 -Ttext 0x101000 -e _start -o chain.elf c32entry.o chain.o 
libcom32.a
chain.o(.text+0x471): In function `__start':
: undefined reference to `memcpy'
make[2]: *** [chain.elf] Error 1
make[2]: Leaving directory `/syslinux-2.11/sample'

With the attached patch 'syslinux' can be compiled on amd64.

The patch also includes a fix for the following error, which occurs when
compiling syslinux with gcc-4.0:

gcc -m32 -I../com32/include -g -W -Wall -Os -fomit-frame-pointer -march=i386 
-falign-functions=0 -falign-jumps=0 -falign-loops=0 -DVERSION='"2.11"' 
-DDATE='"(Debian, 2005-04-24)"' -S -o unzip.s unzip.c
In file included from unzip.c:103:
inflate.c: In function 'huft_build':
inflate.c:392: warning: signed and unsigned type in conditional expression
inflate.c: At top level:
inflate.c:1001: error: static declaration of 'crc_32_tab' follows non-static 
declaration
unzip.c:73: error: previous declaration of 'crc_32_tab' was here


Regards
Andreas Jochens

diff -urN ../tmp-orig/syslinux-2.11/debian/control ./debian/control
--- ../tmp-orig/syslinux-2.11/debian/control    2005-04-24 11:57:20.436176886 
+0000
+++ ./debian/control    2005-04-24 11:57:00.794967785 +0000
@@ -6,7 +6,7 @@
 Build-Depends: nasm (>= 0.98.32), mtools, netpbm, docbook-to-man, mingw32
 
 Package: syslinux
-Architecture: i386
+Architecture: amd64 i386
 Depends: ${shlibs:Depends}
 Recommends: mtools
 Description: Bootloader for Linux/i386 using MS-DOS floppies
diff -urN ../tmp-orig/syslinux-2.11/memdisk/Makefile ./memdisk/Makefile
--- ../tmp-orig/syslinux-2.11/memdisk/Makefile  2004-01-24 21:37:22.000000000 
+0000
+++ ./memdisk/Makefile  2005-04-24 11:55:47.371139174 +0000
@@ -39,7 +39,7 @@
 SSRC     = init.S16
 NASMSRC  = memdisk.asm init32.asm
 
-all: memdisk e820test
+all: memdisk
 
 # tidy, clean removes everything except the final binary
 tidy:
diff -urN ../tmp-orig/syslinux-2.11/memdisk/setup.c ./memdisk/setup.c
--- ../tmp-orig/syslinux-2.11/memdisk/setup.c   2004-04-27 06:48:59.000000000 
+0000
+++ ./memdisk/setup.c   2005-04-24 11:56:30.851747059 +0000
@@ -400,7 +400,8 @@
 
   /* Do we have a DOSEMU header? */
   memcpy(&dosemu, (char *)where+hd_geometry.offset, sizeof dosemu);
-  if ( !__builtin_memcmp("DOSEMU", dosemu.magic, 7) ) {
+  const char *d = dosemu.magic;
+  if ( *d++=='D' && *d++=='O' && *d++=='S' && *d++=='E' && *d++=='M' && 
*d++=='U' && !*d ) {
     /* Always a hard disk unless overruled by command-line options */
     hd_geometry.driveno = 0x80;
     hd_geometry.type = 0;
diff -urN ../tmp-orig/syslinux-2.11/sample/chain.c ./sample/chain.c
--- ../tmp-orig/syslinux-2.11/sample/chain.c    2004-05-29 22:14:17.000000000 
+0000
+++ ./sample/chain.c    2005-04-24 11:56:30.851747059 +0000
@@ -347,7 +347,8 @@
 
     /* 0x7BE is the canonical place for the first partition entry. */
     inreg.esi.w[0] = 0x7be;
-    memcpy((char *)0x7be, partinfo, sizeof(*partinfo));
+    char *d = (char*)0x7be, *s = (char*)partinfo; 
+    int n = sizeof(*partinfo); for (; n; n--) *d++ = *s++;
   }
   inreg.eax.w[0] = 0x000d;     /* Clean up and chain boot */
   inreg.edx.w[0] = 0;          /* Should be 3 for "keeppxe" */
diff -urN ../tmp-orig/syslinux-2.11/memdisk/inflate.c ./memdisk/inflate.c
--- ../tmp-orig/syslinux-2.11/memdisk/inflate.c 2004-04-27 06:48:59.000000000 
+0000
+++ ./memdisk/inflate.c 2005-04-24 11:56:30.850747252 +0000
@@ -998,7 +998,7 @@
  *
  **********************************************************************/
 
-static ulg crc_32_tab[256];
+ulg crc_32_tab[256];
 static ulg crc;                /* initialized in makecrc() so it'll reside in 
bss */
 #define CRC_VALUE (crc ^ 0xffffffffL)
 


---------------------------------------
Received: (at 306123-close) by bugs.debian.org; 19 Oct 2005 14:17:46 +0000
>From [EMAIL PROTECTED] Wed Oct 19 07:17:46 2005
Return-path: <[EMAIL PROTECTED]>
Received: from katie by spohr.debian.org with local (Exim 3.36 1 (Debian))
        id 1ESEkf-0007jV-00; Wed, 19 Oct 2005 07:17:09 -0700
From: Juan Cespedes <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
X-Katie: $Revision: 1.56 $
Subject: Bug#306123: fixed in syslinux 3.11-2
Message-Id: <[EMAIL PROTECTED]>
Sender: Archive Administrator <[EMAIL PROTECTED]>
Date: Wed, 19 Oct 2005 07:17: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
X-CrossAssassin-Score: 4

Source: syslinux
Source-Version: 3.11-2

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

syslinux_3.11-2.diff.gz
  to pool/main/s/syslinux/syslinux_3.11-2.diff.gz
syslinux_3.11-2.dsc
  to pool/main/s/syslinux/syslinux_3.11-2.dsc
syslinux_3.11-2_i386.deb
  to pool/main/s/syslinux/syslinux_3.11-2_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 [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Juan Cespedes <[EMAIL PROTECTED]> (supplier of updated syslinux 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: Wed, 19 Oct 2005 16:00:38 +0200
Source: syslinux
Binary: syslinux
Architecture: source i386
Version: 3.11-2
Distribution: unstable
Urgency: low
Maintainer: Juan Cespedes <[EMAIL PROTECTED]>
Changed-By: Juan Cespedes <[EMAIL PROTECTED]>
Description: 
 syslinux   - Bootloader for Linux/i386 using MS-DOS floppies
Closes: 249506 269424 298940 306123
Changes: 
 syslinux (3.11-2) unstable; urgency=low
 .
   * Added correct build-depends for amd64 (Andreas Jochens <[EMAIL PROTECTED]>)
                               (Closes: Bug#306123, Bug#249506, Bug#298940)
   * Acknowledged old NMU (Closes: #269424)
Files: 
 44feb599b9fc8832de5185d3264dbe90 659 utils optional syslinux_3.11-2.dsc
 47958f23efe6bd62ef2590c22661f6ac 15640 utils optional syslinux_3.11-2.diff.gz
 a8669a69c58b171282ceb5401362273f 176904 utils optional syslinux_3.11-2_i386.deb

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

iD8DBQFDVlNtepWluYh4RwMRAgoCAKCChVGs2ECxk4NAMb2z2THV2Gf0QACdGCBD
8lQalRK4fS+w+17yaAjA1qY=
=tsDf
-----END PGP SIGNATURE-----


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

Reply via email to