Your message dated Wed, 23 Jul 2008 23:17:05 +0000
with message-id <[EMAIL PROTECTED]>
and subject line Bug#491921: fixed in user-mode-linux 2.6.25-1um-2
has caused the Debian Bug report #491921,
regarding user-mode-linux: FTBFS on amd64 -- no more __memcpy with gcc 4.3
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 this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [EMAIL PROTECTED]
immediately.)


-- 
491921: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=491921
Debian Bug Tracking System
Contact [EMAIL PROTECTED] with problems
--- Begin Message ---
Package: user-mode-linux
Version: 2.6.25-1um-1
Severity: serious
Tags: patch
Justification: no longer builds from source

user-mode-linux fails to build on amd64 with the following error:

|   CC      arch/um/sys-x86_64/ksyms.o
| arch/um/sys-x86_64/ksyms.c:16: error: '__memcpy' undeclared here (not in a 
function)
| arch/um/sys-x86_64/ksyms.c:16: warning: type defaults to 'int' in declaration 
of '__memcpy'
| make[2]: *** [arch/um/sys-x86_64/ksyms.o] Error 1
| make[1]: *** [arch/um/sys-x86_64] Error 2

The problem is that arch/um/sys-x86_64/ksyms.c unconditionally tries
to export __memcpy even though include/asm-x86/string_64.h declares it
only for GCC 4.2 and older, newer versions presumably being smart
enough not to need it.  I'm attaching a patch that conditionalizes the
EXPORT_SYMBOL call accordingly, and have confirmed that it allows the
build to complete without errors.  (FTR, arch/um/os-Linux/user_syms.c
already exports memcpy itself, so ksyms.c need not do so in any case.)

FWIW, you can find a full log illustrating the error at
http://buildd.debian.org/fetch.cgi?pkg=user-mode-linux;ver=2.6.25-1um-1;arch=amd64;stamp=1216481207

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.25.11 (SMP w/2 CPU cores)
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/dash
Index: linux-source-2.6.25/arch/um/sys-x86_64/ksyms.c
===================================================================
--- linux-source-2.6.25.orig/arch/um/sys-x86_64/ksyms.c	2008-04-16 22:49:44.000000000 -0400
+++ linux-source-2.6.25/arch/um/sys-x86_64/ksyms.c	2008-07-22 14:10:47.000000000 -0400
@@ -13,4 +13,6 @@
 EXPORT_SYMBOL(__up_wakeup);
 
 /*XXX: we need them because they would be exported by x86_64 */
+#if (__GNUC__ == 4 && __GNUC_MINOR__ < 3) || __GNUC__ < 4
 EXPORT_SYMBOL(__memcpy);
+#endif

--- End Message ---
--- Begin Message ---
Source: user-mode-linux
Source-Version: 2.6.25-1um-2

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

user-mode-linux_2.6.25-1um-2.diff.gz
  to pool/main/u/user-mode-linux/user-mode-linux_2.6.25-1um-2.diff.gz
user-mode-linux_2.6.25-1um-2.dsc
  to pool/main/u/user-mode-linux/user-mode-linux_2.6.25-1um-2.dsc
user-mode-linux_2.6.25-1um-2_i386.deb
  to pool/main/u/user-mode-linux/user-mode-linux_2.6.25-1um-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.
Mattia Dongili <[EMAIL PROTECTED]> (supplier of updated user-mode-linux 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.8
Date: Thu, 24 Jul 2008 07:18:01 +0900
Source: user-mode-linux
Binary: user-mode-linux
Architecture: source i386
Version: 2.6.25-1um-2
Distribution: unstable
Urgency: medium
Maintainer: User Mode Linux Maintainers <[EMAIL PROTECTED]>
Changed-By: Mattia Dongili <[EMAIL PROTECTED]>
Description: 
 user-mode-linux - User-mode Linux (kernel)
Closes: 491921
Changes: 
 user-mode-linux (2.6.25-1um-2) unstable; urgency=medium
 .
   * Fix build error in amd64 (Closes: #491921)
   * slightly bump urgency to try to be in testing quicker to allow a new
     upload uml 2.6.26 when the kernel team uploads linux-source-2.6.26
Checksums-Sha1: 
 4fe9d155c59f347e3c42f0e667a25ea8e0dba7df 1272 user-mode-linux_2.6.25-1um-2.dsc
 8c3139cd3a0dc7a0e7aeb1a43f19246d440a311f 14899 
user-mode-linux_2.6.25-1um-2.diff.gz
 fbb8a84bbb6fae795a7f29486004de8f655261b6 5333280 
user-mode-linux_2.6.25-1um-2_i386.deb
Checksums-Sha256: 
 209ad579838b5a6d25ca27fd41f690fd3dae73cf229670e5fdf97d1c5bc1e716 1272 
user-mode-linux_2.6.25-1um-2.dsc
 f5731a4b569301038d0906dc818f1431a6a2457002b8455f3f9de3fb7f5b707e 14899 
user-mode-linux_2.6.25-1um-2.diff.gz
 ff23d161362525e1e63f8b6027c64b15c93b3498e3a0cd83ae943b066548604f 5333280 
user-mode-linux_2.6.25-1um-2_i386.deb
Files: 
 65b92a4175d3ca7b648a1b06c34b00a3 1272 misc extra 
user-mode-linux_2.6.25-1um-2.dsc
 f97fde982b67db7d24a8b68edaaff8ec 14899 misc extra 
user-mode-linux_2.6.25-1um-2.diff.gz
 820c0436930be84aea4fcf2cceb97666 5333280 misc extra 
user-mode-linux_2.6.25-1um-2_i386.deb

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

iEYEARECAAYFAkiHufoACgkQgpRPaOotLEE/ogCfbiBukeybNcZE0ERxWdg2EQGV
YaAAn3uDRRv6HefZ2CXKDhBzNZKFgJH6
=NIL8
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to