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

Bug#532385: marked as done (eglibc: FTBFS: build fail on Renesas SH)



Your message dated Mon, 15 Jun 2009 07:47:24 +0000
with message-id <E1MG6ua-0008Pb-Gc@ries.debian.org>
and subject line Bug#532385: fixed in eglibc 2.9-15
has caused the Debian Bug report #532385,
regarding eglibc: FTBFS: build fail on Renesas SH
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 owner@bugs.debian.org
immediately.)


-- 
532385: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=532385
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: eglibc
Version: 2.9-13
Severity: wishlist
Tags: patch
X-Debbugs-CC: debian-superh@lists.debian.org

Hi,

I am now trying to run Debian on Renesas SH CPU.

Current source code can not build package.
because the change of the linux kernel header is not reflected to eglibc.

-----
<snip>
In file included from ../sysdeps/unix/sysv/linux/sh/sys/procfs.h:31,
                 from ../nptl/../nptl_db/thread_db.h:29,
                 from ../nptl/descr.h:33,
                 from ../nptl/sysdeps/sh/tls.h:87,
                 from ../include/tls.h:6,
                 from ../sysdeps/unix/sysv/linux/sh/sysdep.h:27,
                 from ../sysdeps/unix/sysv/linux/sh/sh4/sysdep.h:4,
                 from <stdin>:1:
<snip>
-----

I made a patch to support SH.
Would you please apply it?

Best regards,
 Nobuhiro

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

Kernel: Linux 2.6.29-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=ja_JP.UTF-8, LC_CTYPE=ja_JP.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash


-- 
Nobuhiro Iwamatsu
diff -urN -Xx a/sysdeps/unix/sysv/linux/sh/sys/procfs.h b/sysdeps/unix/sysv/linux/sh/sys/procfs.h
--- a/sysdeps/unix/sysv/linux/sh/sys/procfs.h	2009-05-22 11:04:22.000000000 +0900
+++ b/sysdeps/unix/sysv/linux/sh/sys/procfs.h	2009-05-22 12:48:23.000000000 +0900
@@ -1,4 +1,4 @@
-/* Copyright (C) 1996, 1997, 1999, 2004 Free Software Foundation, Inc.
+/* Copyright (C) 1996, 1997, 1999, 2004, 2009 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
@@ -24,12 +24,9 @@
    used on Linux.  */
 
 #include <features.h>
-#include <signal.h>
 #include <sys/time.h>
 #include <sys/types.h>
-#include <sys/ucontext.h>
 #include <sys/user.h>
-#include <asm/elf.h>
 
 __BEGIN_DECLS
 
diff -urN -Xx a/sysdeps/unix/sysv/linux/sh/sys/user.h b/sysdeps/unix/sysv/linux/sh/sys/user.h
--- a/sysdeps/unix/sysv/linux/sh/sys/user.h	2009-05-22 11:04:22.000000000 +0900
+++ bsysdeps/unix/sysv/linux/sh/sys/user.h	2009-05-22 12:48:23.000000000 +0900
@@ -19,10 +19,51 @@
 #ifndef _SYS_USER_H
 #define _SYS_USER_H	1
 
-#include <features.h>
+#include <asm/ptrace.h>
 
-#include <asm/user.h>
+/* asm/ptrace.h polutes the namespace.  */
+#undef PTRACE_GETREGS
+#undef PTRACE_SETREGS
+#undef PTRACE_GETFPREGS
+#undef PTRACE_SETFPREGS
+#undef PTRACE_GETFDPIC
+#undef PTRACE_GETFDPIC_EXEC
+#undef PTRACE_GETFDPIC_INTERP
+#undef	PTRACE_GETDSPREGS
+#undef	PTRACE_SETDSPREGS
 
-#undef start_thread
+typedef unsigned long elf_greg_t;
+
+#define ELF_NGREG (sizeof (struct pt_regs) / sizeof (elf_greg_t))
+typedef elf_greg_t elf_gregset_t[ELF_NGREG];
+
+struct user_fpu_struct
+  {
+    unsigned long fp_regs[16];
+    unsigned long xfp_regs[16];
+    unsigned long fpscr;
+    unsigned long fpul;
+  };
+typedef struct user_fpu_struct elf_fpregset_t;
+
+struct user
+  {
+    struct pt_regs		regs;		/* entire machine state */
+    struct user_fpu_struct	fpu;		/* Math Co-processor
+						   registers  */
+    int				u_fpvalid;	/* True if math co-processor
+						   being used */
+    size_t			u_tsize;	/* text size (pages) */
+    size_t			u_dsize;	/* data size (pages) */
+    size_t			u_ssize;	/* stack size (pages) */
+    unsigned long		start_code;	/* text starting address */
+    unsigned long		start_data;	/* data starting address */
+    unsigned long		start_stack;	/* stack starting address */
+    long int			signal;		/* signal causing core dump */
+    unsigned long		u_ar0;		/* help gdb find registers */
+    struct user_fpu_struct	*u_fpstate;	/* Math Co-processor pointer */
+    unsigned long		magic;		/* identifies a core file */
+    char			u_comm[32];	/* user command name */
+  };
 
 #endif  /* sys/user.h */

--- End Message ---
--- Begin Message ---
Source: eglibc
Source-Version: 2.9-15

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

eglibc-source_2.9-15_all.deb
  to pool/main/e/eglibc/eglibc-source_2.9-15_all.deb
eglibc_2.9-15.diff.gz
  to pool/main/e/eglibc/eglibc_2.9-15.diff.gz
eglibc_2.9-15.dsc
  to pool/main/e/eglibc/eglibc_2.9-15.dsc
glibc-doc_2.9-15_all.deb
  to pool/main/e/eglibc/glibc-doc_2.9-15_all.deb
libc6-dbg_2.9-15_amd64.deb
  to pool/main/e/eglibc/libc6-dbg_2.9-15_amd64.deb
libc6-dev-i386_2.9-15_amd64.deb
  to pool/main/e/eglibc/libc6-dev-i386_2.9-15_amd64.deb
libc6-dev_2.9-15_amd64.deb
  to pool/main/e/eglibc/libc6-dev_2.9-15_amd64.deb
libc6-i386_2.9-15_amd64.deb
  to pool/main/e/eglibc/libc6-i386_2.9-15_amd64.deb
libc6-pic_2.9-15_amd64.deb
  to pool/main/e/eglibc/libc6-pic_2.9-15_amd64.deb
libc6-prof_2.9-15_amd64.deb
  to pool/main/e/eglibc/libc6-prof_2.9-15_amd64.deb
libc6-udeb_2.9-15_amd64.udeb
  to pool/main/e/eglibc/libc6-udeb_2.9-15_amd64.udeb
libc6_2.9-15_amd64.deb
  to pool/main/e/eglibc/libc6_2.9-15_amd64.deb
libnss-dns-udeb_2.9-15_amd64.udeb
  to pool/main/e/eglibc/libnss-dns-udeb_2.9-15_amd64.udeb
libnss-files-udeb_2.9-15_amd64.udeb
  to pool/main/e/eglibc/libnss-files-udeb_2.9-15_amd64.udeb
locales-all_2.9-15_amd64.deb
  to pool/main/e/eglibc/locales-all_2.9-15_amd64.deb
locales_2.9-15_all.deb
  to pool/main/e/eglibc/locales_2.9-15_all.deb
nscd_2.9-15_amd64.deb
  to pool/main/e/eglibc/nscd_2.9-15_amd64.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 532385@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Aurelien Jarno <aurel32@debian.org> (supplier of updated eglibc 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.8
Date: Sat, 13 Jun 2009 22:25:41 +0200
Source: eglibc
Binary: glibc-doc eglibc-source locales locales-all nscd libc6 libc6-dev libc6-dbg libc6-prof libc6-pic libc6-udeb libc6.1 libc6.1-dev libc6.1-dbg libc6.1-prof libc6.1-pic libc6.1-udeb libc0.3 libc0.3-dev libc0.3-dbg libc0.3-prof libc0.3-pic libc0.3-udeb libc0.1 libc0.1-dev libc0.1-dbg libc0.1-prof libc0.1-pic libc0.1-udeb libc6-i386 libc6-dev-i386 libc6-sparc64 libc6-dev-sparc64 libc6-s390x libc6-dev-s390x libc6-amd64 libc6-dev-amd64 libc6-powerpc libc6-dev-powerpc libc6-ppc64 libc6-dev-ppc64 libc6-mipsn32 libc6-dev-mipsn32 libc6-mips64 libc6-dev-mips64 libc0.1-i386 libc0.1-dev-i386 libc6-sparcv9b libc6-i686 libc6-xen libc0.1-i686 libc6.1-alphaev67 libnss-dns-udeb libnss-files-udeb
Architecture: source all amd64
Version: 2.9-15
Distribution: unstable
Urgency: low
Maintainer: Aurelien Jarno <aurel32@debian.org>
Changed-By: Aurelien Jarno <aurel32@debian.org>
Description: 
 eglibc-source - Embedded GNU C Library: sources
 glibc-doc  - GNU C Library: Documentation
 libc0.1    - GNU C Library: Shared libraries
 libc0.1-dbg - GNU C Library: detached debugging symbols
 libc0.1-dev - GNU C Library: Development Libraries and Header Files
 libc0.1-dev-i386 - GNU C Library: 32bit development libraries for AMD64
 libc0.1-i386 - GNU C Library: 32bit shared libraries for AMD64
 libc0.1-i686 - GNU C Library: Shared libraries [i686 optimized]
 libc0.1-pic - GNU C Library: PIC archive library
 libc0.1-prof - GNU C Library: Profiling Libraries
 libc0.1-udeb - GNU C Library: Shared libraries - udeb (udeb)
 libc0.3    - GNU C Library: Shared libraries
 libc0.3-dbg - GNU C Library: detached debugging symbols
 libc0.3-dev - GNU C Library: Development Libraries and Header Files
 libc0.3-pic - GNU C Library: PIC archive library
 libc0.3-prof - GNU C Library: Profiling Libraries
 libc0.3-udeb - GNU C Library: Shared libraries - udeb (udeb)
 libc6      - GNU C Library: Shared libraries
 libc6-amd64 - GNU C Library: 64bit Shared libraries for AMD64
 libc6-dbg  - GNU C Library: detached debugging symbols
 libc6-dev  - GNU C Library: Development Libraries and Header Files
 libc6-dev-amd64 - GNU C Library: 64bit Development Libraries for AMD64
 libc6-dev-i386 - GNU C Library: 32bit development libraries for AMD64
 libc6-dev-mips64 - GNU C Library: 64bit Development Libraries for MIPS64
 libc6-dev-mipsn32 - GNU C Library: n32 Development Libraries for MIPS64
 libc6-dev-powerpc - GNU C Library: 32bit powerpc development libraries for ppc64
 libc6-dev-ppc64 - GNU C Library: 64bit Development Libraries for PowerPC64
 libc6-dev-s390x - GNU C Library: 64bit Development Libraries for IBM zSeries
 libc6-dev-sparc64 - GNU C Library: 64bit Development Libraries for UltraSPARC
 libc6-i386 - GNU C Library: 32bit shared libraries for AMD64
 libc6-i686 - GNU C Library: Shared libraries [i686 optimized]
 libc6-mips64 - GNU C Library: 64bit Shared libraries for MIPS64
 libc6-mipsn32 - GNU C Library: n32 Shared libraries for MIPS64
 libc6-pic  - GNU C Library: PIC archive library
 libc6-powerpc - GNU C Library: 32bit powerpc shared libraries for ppc64
 libc6-ppc64 - GNU C Library: 64bit Shared libraries for PowerPC64
 libc6-prof - GNU C Library: Profiling Libraries
 libc6-s390x - GNU C Library: 64bit Shared libraries for IBM zSeries
 libc6-sparc64 - GNU C Library: 64bit Shared libraries for UltraSPARC
 libc6-sparcv9b - GNU C Library: Shared libraries [v9b optimized]
 libc6-udeb - GNU C Library: Shared libraries - udeb (udeb)
 libc6-xen  - GNU C Library: Shared libraries [Xen version]
 libc6.1    - GNU C Library: Shared libraries
 libc6.1-alphaev67 - GNU C Library: Shared libraries (EV67 optimized)
 libc6.1-dbg - GNU C Library: detached debugging symbols
 libc6.1-dev - GNU C Library: Development Libraries and Header Files
 libc6.1-pic - GNU C Library: PIC archive library
 libc6.1-prof - GNU C Library: Profiling Libraries
 libc6.1-udeb - GNU C Library: Shared libraries - udeb (udeb)
 libnss-dns-udeb - GNU C Library: NSS helper for DNS - udeb (udeb)
 libnss-files-udeb - GNU C Library: NSS helper for files - udeb (udeb)
 locales    - GNU C Library: National Language (locale) data [support]
 locales-all - GNU C Library: Precompiled locale data
 nscd       - GNU C Library: Name Service Cache Daemon
Closes: 531431 532385
Changes: 
 eglibc (2.9-15) unstable; urgency=low
 .
   * kfreebsd/local-sysdeps.diff: update to revision 2597 (from glibc-bsd).
     Update expected testsuite results accordingly.
   * any/cvs-broken-dns.diff: backport more parts from upstream.
   * Update Italian debconf translation, by Luca Monducci.  Closes: #531431.
   * sh4/cvs-headers-update.diff: new patch from upstream to fix build failure
     on SH4.  Closes: #532385.
   * sysdeps/amd64.mk: fix i386_slibdir.
   * control.in/i386: remove duplicate entries.
Checksums-Sha1: 
 5518b03eb7f2103d8716fccd5c1116bf706e024d 2662 eglibc_2.9-15.dsc
 f7c78602c543c6a4d260885b76c44354ccd54852 771091 eglibc_2.9-15.diff.gz
 f4f2bddafdab38555614d48f7a220baa1eff9283 1671534 glibc-doc_2.9-15_all.deb
 a0e465ca5fdaefcccb5073dcf72d8a0fc1ac0be5 11234552 eglibc-source_2.9-15_all.deb
 287e25da6a1888690e18f184a43c6a657e5a2d8e 4662376 locales_2.9-15_all.deb
 93410cb734f01299c9ada7c8edc834bf0e64c148 4938476 libc6_2.9-15_amd64.deb
 c90f2e5aa892a563cd8d3db4e4c07fa8c3a0594e 2529220 libc6-dev_2.9-15_amd64.deb
 93245af48e145640bee2f925027d038e760a7edc 1952690 libc6-prof_2.9-15_amd64.deb
 40abb38fe5f410fb8059af4c4a241d7bb3f1c6f2 1488176 libc6-pic_2.9-15_amd64.deb
 67360651d5cf239bc55b965c9590e4fa479f851d 2956346 locales-all_2.9-15_amd64.deb
 af7fca45f5baebeff57b1bbd7e0c0ea387f8f367 3752790 libc6-i386_2.9-15_amd64.deb
 c3c811ed8f5f0604098afe77583721b270185f34 1506754 libc6-dev-i386_2.9-15_amd64.deb
 e3d4e29b9cb9ec01f069fbe9085524c9f70ac33d 186446 nscd_2.9-15_amd64.deb
 0521286d4061c791c3566a48b075e4bb303bc78c 10618842 libc6-dbg_2.9-15_amd64.deb
 4d114916aab0a6f6033028bd85f29dd395160b10 1117244 libc6-udeb_2.9-15_amd64.udeb
 c54c2ebb5939b8415fa6c2fbcf383411897cd3f1 10834 libnss-dns-udeb_2.9-15_amd64.udeb
 99603ca3da0846b8c76502e944c66ba72007b9db 18778 libnss-files-udeb_2.9-15_amd64.udeb
Checksums-Sha256: 
 c6754468f71251ab64810488b084da8f768174fb95c989eee98c3b3d70ac936a 2662 eglibc_2.9-15.dsc
 e499ea7a1c295e8c88db3c1494ffd5b4818966856a6445a54e38161adb676c66 771091 eglibc_2.9-15.diff.gz
 581b6f9698561ab80d6a53e8972fbb9f9fb1d2c33b0825c6b0122102d7fc3736 1671534 glibc-doc_2.9-15_all.deb
 32b3861e2c93d4638120391772c573d6cbe3ee93a87dbdc4233b0f8316cc20a9 11234552 eglibc-source_2.9-15_all.deb
 df33cb87389906f03e9e573767031b7f1f8e8742a4641350aeffab02445a8316 4662376 locales_2.9-15_all.deb
 a2581f5f45d74fa78398248fa2c16003cebc065af9830f4b340bb88037a79983 4938476 libc6_2.9-15_amd64.deb
 6d8e8f813c79db60f06828a3b0198b2511a3f6f63ea7f99ebdb46ce1a614beb6 2529220 libc6-dev_2.9-15_amd64.deb
 3e5e13adba018b2d20c7395d82573429c0858a6f342994bbb3fb932ef33b2445 1952690 libc6-prof_2.9-15_amd64.deb
 4327e89de1e5f94deda5ca865126c0dcff41e881f3d9ade93d3578546cfe6f52 1488176 libc6-pic_2.9-15_amd64.deb
 b559314e1ae2e4709430fa3e4cdcad2a59fe8c430f948342bb6556a6e6d7783b 2956346 locales-all_2.9-15_amd64.deb
 04960ff77759a88ef0cda27a4613740f7753971943bb42edd3f939f891d8291b 3752790 libc6-i386_2.9-15_amd64.deb
 6b424e81b37117a4ef85a842817ea1d0feae465d55bb3108c9d57db5799c1c76 1506754 libc6-dev-i386_2.9-15_amd64.deb
 61cd1242e5216332a3e18c7ab06f43fe7d2e5598eb1501fb17f49714d7238ae2 186446 nscd_2.9-15_amd64.deb
 9e34bdc251465647e15f5da392bf6b1344eb87e6e9d5c6b7407bcc2f16b4d8a8 10618842 libc6-dbg_2.9-15_amd64.deb
 e48525dc36387e259edc6dc7e8a357f983a59a8b29c4bf3592fc6d145c9a3827 1117244 libc6-udeb_2.9-15_amd64.udeb
 2c596f409a06ee718393753bf9f0ed11da2a2e7ace9280088115a2f29b0ef5a5 10834 libnss-dns-udeb_2.9-15_amd64.udeb
 d570e119d177271342180c7726fda800ea652fffe616acc7eebfa207f476cc9e 18778 libnss-files-udeb_2.9-15_amd64.udeb
Files: 
 53d9eec3a7ca72cd934b2a848aaba833 2662 libs required eglibc_2.9-15.dsc
 24f9bff3b2dab82cae174b9ba6b9c577 771091 libs required eglibc_2.9-15.diff.gz
 3f8bbeee72bac8a02663b5ee68b30b20 1671534 doc optional glibc-doc_2.9-15_all.deb
 1b4d90c7baee1ebda1d4e1095b36a7d4 11234552 devel optional eglibc-source_2.9-15_all.deb
 f027d3812666e942c4ad8644fed0fd7c 4662376 libs standard locales_2.9-15_all.deb
 aa099739c2224d1cfbe8ec9a14225515 4938476 libs required libc6_2.9-15_amd64.deb
 3114f03ec83c2e64546a04408c97a85f 2529220 libdevel optional libc6-dev_2.9-15_amd64.deb
 ddec92ff4ce5d92458d551d6d0576716 1952690 libdevel extra libc6-prof_2.9-15_amd64.deb
 4fa0cd5b32cd326f81b06e894b0303e4 1488176 libdevel optional libc6-pic_2.9-15_amd64.deb
 6d3928b3343651d06eaac4b8ccf162e1 2956346 libs extra locales-all_2.9-15_amd64.deb
 e4a6bd38aab8782267230c9f60a3b117 3752790 libs optional libc6-i386_2.9-15_amd64.deb
 633ac0fadda1a5b16e0458d590526b20 1506754 libdevel optional libc6-dev-i386_2.9-15_amd64.deb
 2f78fe5ad4a4b7fd8e9502099abc54e9 186446 admin optional nscd_2.9-15_amd64.deb
 8b61aa98a1361882dab1616f0547a431 10618842 debug extra libc6-dbg_2.9-15_amd64.deb
 7242d3e0f4b9a9f963bab6615b46f4c1 1117244 debian-installer extra libc6-udeb_2.9-15_amd64.udeb
 f9ec61a66aa003ee7227d6c9c5356c07 10834 debian-installer extra libnss-dns-udeb_2.9-15_amd64.udeb
 40f33604f859903bc09be897d4c46901 18778 debian-installer extra libnss-files-udeb_2.9-15_amd64.udeb
Package-Type: udeb

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

iD8DBQFKNfG/w3ao2vG823MRAt/OAJ4rzSZRw2CGAPXVsRRDmBnsbjpx5ACgi51v
jibf6OMALsoTAgGMoIoJ9tI=
=2y4L
-----END PGP SIGNATURE-----



--- End Message ---

Reply to: