Bug#341181: klibc-utils: all segv on ia64
On Sat, 10 Dec 2005, dann frazier wrote: snipp It still segfaults when compiled with gcc-3.3. please post an strace? -- maks -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#341181: klibc-utils: all segv on ia64
On Mon, 2005-12-12 at 14:39 +0100, maximilian attems wrote: On Sat, 10 Dec 2005, dann frazier wrote: snipp It still segfaults when compiled with gcc-3.3. please post an strace? Doesn't appear to tell us anything new: execve(/usr/sbin/chroot, [chroot, /usr/lib/klibc, /bin/false], [/* 25 vars */]) = 0 uname({sys=Linux, node=krebs, ...}) = 0 brk(0) = 0x60008000 access(/etc/ld.so.nohwcap, F_OK) = -1 ENOENT (No such file or directory) access(/etc/ld.so.preload, R_OK) = -1 ENOENT (No such file or directory) open(/etc/ld.so.cache, O_RDONLY) = 3 fstat(3, {st_mode=S_IFREG|0644, st_size=110700, ...}) = 0 mmap(NULL, 110700, PROT_READ, MAP_PRIVATE, 3, 0) = 0x20048000 close(3)= 0 access(/etc/ld.so.nohwcap, F_OK) = -1 ENOENT (No such file or directory) open(/lib/tls/libc.so.6.1, O_RDONLY) = 3 read(3, \177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0002\0\1\0\0\0\0\267..., 640) = 640 fstat(3, {st_mode=S_IFREG|0755, st_size=2571112, ...}) = 0 mmap(NULL, 2645784, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x20064000 mprotect(0x202d4000, 89880, PROT_NONE) = 0 mmap(0x202e, 32768, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x26c000) = 0x202e mmap(0x202e8000, 7960, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x202e8000 close(3)= 0 mmap(NULL, 32768, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x202ec000 munmap(0x20048000, 110700) = 0 brk(0) = 0x60008000 brk(0x6002c000) = 0x6002c000 chroot(/usr/lib/klibc)= 0 chdir(/) = 0 execve(/bin/false, [/bin/false], [/* 25 vars */]) = 0 --- SIGSEGV (Segmentation fault) @ 1400580081d1000 (1400580081d1000) --- +++ killed by SIGSEGV (core dumped) +++ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#341181: klibc-utils: all segv on ia64
On Sat, 2005-12-10 at 00:43 +0100, maximilian attems wrote: On Mon, 28 Nov 2005, dann frazier wrote: [EMAIL PROTECTED]:$ sudo chroot /usr/lib/klibc /bin/cat Segmentation fault (core dumped) [EMAIL PROTECTED]:$ sudo chroot /usr/lib/klibc /bin/false Segmentation fault (core dumped) [EMAIL PROTECTED]:$ sudo chroot /usr/lib/klibc /bin/true Segmentation fault (core dumped) I noticed this when my initramfs-tools created initramfs would segv when it called fstype - I'm guessing that's the first non-busybox binary it tries. yes fstype is the first klibc-utils bin initramfs-tools uses. strange klibc/README states: ia64: Working could you try to build klibc with gcc-3.3? beware the patch in the latest klibc unstable for sparc doing the same is not complete missing the CC=$(CC) on the DEB_MAKE_INVOKE invocation. It still segfaults when compiled with gcc-3.3. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#341181: klibc-utils: all segv on ia64
On Mon, 28 Nov 2005, dann frazier wrote: [EMAIL PROTECTED]:$ sudo chroot /usr/lib/klibc /bin/cat Segmentation fault (core dumped) [EMAIL PROTECTED]:$ sudo chroot /usr/lib/klibc /bin/false Segmentation fault (core dumped) [EMAIL PROTECTED]:$ sudo chroot /usr/lib/klibc /bin/true Segmentation fault (core dumped) I noticed this when my initramfs-tools created initramfs would segv when it called fstype - I'm guessing that's the first non-busybox binary it tries. yes fstype is the first klibc-utils bin initramfs-tools uses. strange klibc/README states: ia64: Working could you try to build klibc with gcc-3.3? beware the patch in the latest klibc unstable for sparc doing the same is not complete missing the CC=$(CC) on the DEB_MAKE_INVOKE invocation. -- maks -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#341181: klibc-utils: all segv on ia64
Package: klibc-utils Version: 1.1.1-4 Severity: important [EMAIL PROTECTED]:$ sudo chroot /usr/lib/klibc /bin/cat Segmentation fault (core dumped) [EMAIL PROTECTED]:$ sudo chroot /usr/lib/klibc /bin/false Segmentation fault (core dumped) [EMAIL PROTECTED]:$ sudo chroot /usr/lib/klibc /bin/true Segmentation fault (core dumped) I noticed this when my initramfs-tools created initramfs would segv when it called fstype - I'm guessing that's the first non-busybox binary it tries. -- System Information: Debian Release: testing/unstable APT prefers unstable APT policy: (500, 'unstable'), (500, 'stable'), (1, 'experimental') Architecture: ia64 Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.12-1-mckinley Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) Versions of packages klibc-utils depends on: ii libklibc 1.1.1-4minimal libc subset for use with i klibc-utils recommends no packages. -- no debconf information -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]