Package: apt-get Version: 0.7.20.2 Summary: apt-get failure on powerpc
Failure of apt-get on powerpc (lenny) due to SIGILL in libstdc++.so.6. bug report does not seem to have been filed yet (checked apt and libstdc++6 packages). reportbug not used as I cant install it ;) csbx:~# aptitude install reportbug; reportbug <snip> E: Method http has died unexpectedly! E: Method /usr/lib/apt/methods/http did not start correctly E: Internal error: couldn't generate list of packages to download csbx:~# apt-get install reportbug Illegal instruction system information: ------------------- csbx:~# cat /etc/debian_version 5.0 csbx:~# uname -a Linux csbx 2.6.26-actis #52 Thu Aug 7 16:31:34 CEST 2008 ppc GNU/Linux csbx:~# cat /proc/cpuinfo processor : 0 cpu : e500v2 clock : 1199.988000MHz revision : 2.0 (pvr 8021 0020) bogomips : 99.84 timebase : 49999500 platform : CSBX3545 model : CSBX3545 Vendor : ACTIS Computer Machine : CSBX3545 v0 PVR : 0x80210020 SVR : 0x80390020 PLL setting : 0x6 Memory : 512 MB csbx:~# package information: -------------------- csbx:~# which apt-get /usr/bin/apt-get csbx:~# type apt-get apt-get is hashed (/usr/bin/apt-get) csbx:~# dpkg --search /usr/bin/apt-get apt: /usr/bin/apt-get csbx:~# dpkg --list apt Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Inst/Cfg-files/Unpacked/Failed-cfg/Half-inst/trig-aWait/Trig-pend |/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad) ||/ Name Version Description +++-==============-==============-============================================ iU apt 0.7.20.2 Advanced front-end for dpkg csbx:~# dpkg --status apt Package: apt Status: install ok unpacked Priority: important Section: admin Installed-Size: 5392 Maintainer: APT Development Team <de...@lists.debian.org> Architecture: powerpc Version: 0.7.20.2 Replaces: libapt-pkg-dev (<< 0.3.7), libapt-pkg-doc (<< 0.3.7) Provides: libapt-pkg-libc6.7-6-4.6 Depends: libc6 (>= 2.7-1), libgcc1 (>= 1:4.1.1), libstdc++6 (>= 4.2.1), debian-archive-keyring Suggests: aptitude | synaptic | gnome-apt | wajig, dpkg-dev, apt-doc, bzip2, lzma, python-apt Conffiles: /etc/apt/apt.conf.d/01autoremove newconffile /etc/logrotate.d/apt newconffile /etc/cron.daily/apt newconffile Description: Advanced front-end for dpkg This is Debian's next generation front-end for the dpkg package manager. It provides the apt-get utility and APT dselect method that provides a simpler, safer way to install and upgrade packages. . APT features complete installation ordering, multiple source capability and several other unique features, see the Users Guide in apt-doc. csbx:~# csbx:~# dpkg --status libstdc++6 Package: libstdc++6 Status: install ok installed Priority: required Section: libs Installed-Size: 1428 Maintainer: Debian GCC Maintainers <debian-gcc@lists.debian.org> Architecture: powerpc Source: gcc-4.3 Version: 4.3.2-1.1 Depends: gcc-4.3-base (= 4.3.2-1.1), libc6 (>= 2.7-1), libgcc1 (>= 1:4.1.1) Conflicts: scim (<< 1.4.2-1) Description: The GNU Standard C++ Library v3 This package contains an additional runtime library for C++ programs built with the GNU compiler. . libstdc++-v3 is a complete rewrite from the previous libstdc++-v2, which was included up to g++-2.95. The first version of libstdc++-v3 appeared in g++-3.0. Failure of apt-get: ------------------- r...@csbx:/# apt-get clean Illegal instruction Cause libstdc++ csbx:~# gdb apt-get GNU gdb 6.8-debian Copyright (C) 2008 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "powerpc-linux-gnu"... (no debugging symbols found) (gdb) run Starting program: /usr/bin/apt-get (no debugging symbols found) Program received signal SIGILL, Illegal instruction. 0x0fe83da4 in __cxa_guard_release () from /usr/lib/libstdc++.so.6 (gdb) bt #0 0x0fe83da4 in __cxa_guard_release () from /usr/lib/libstdc++.so.6 #1 0x0fe02c68 in ?? () from /usr/lib/libstdc++.so.6 #2 0x0fe0386c in std::locale::locale () from /usr/lib/libstdc++.so.6 #3 0x0fdff3e4 in std::ios_base::Init::Init () from /usr/lib/libstdc++.so.6 #4 0x0ffb0e34 in ?? () from /usr/lib/libapt-pkg-libc6.7-6.so.4.6 #5 0x0ffb6198 in ?? () from /usr/lib/libapt-pkg-libc6.7-6.so.4.6 #6 0x0ff29974 in _init () from /usr/lib/libapt-pkg-libc6.7-6.so.4.6 #7 0x4800ef60 in ?? () from /lib/ld.so.1 #8 0x4800f0ec in ?? () from /lib/ld.so.1 #9 0x48016ce4 in ?? () from /lib/ld.so.1 Backtrace stopped: previous frame identical to this frame (corrupt stack?) Failure reproducable (always happens on this system - all other apps seem to be ok). Tested on a cleanly installed lenny (elbs - see below) and a etch that was run through apt-get upgrade (no problem with apt-get on etch powerpc) System build information: ------------------------- System built with elbs debian:~# elbs rootfs --arch powerpc --baud 115200 --dist lenny /tmp/lenny_powerpc .elbs-roofsrc: TARGET_ARCH=powerpc B TARGET_BAUD=115200 TARGET_CONSOLE=ttyS0 TARGET_DIST=etch TARGET_HOSTNAME=csbx TARGET_MIRROR=http://gd.tuwien.ac.at/opsys/linux/debian/ TARGET_PKGS="apt,apt-file,apt-utils,base-passwd,binutils,bsdmainutils,bsdutils,build-essential,coreutils,cpio,cpp,cpp-4.1,debianutils,dialog,dpkg,dpkg-dev,e2fslibs,e2fsprogs,file,g++,g++-4.1,gawk,gcc,gcc-4.1,gcc-4.1-base,gdb,git-core,gnupg,gpgv,groff-base,gzip,info,initscripts,iputils-ping,iputils-tracepath,klogd,less,libacl1,libapt-pkg-perl,libattr1,libblkid1,libbz2-1.0,libc6,libc6-dev,libcomerr2,libcurl3-gnutls,libdb4.2,libdigest-sha1-perl,libedit2,libexpat1,libgcc1,libgcrypt11,libidn11,libkrb53,liblocale-gettext-perl,libmagic1,libncurses5,libncurses5-dev,libncursesw5,libpam-modules,libpam0g,libreadline5,libsasl2-2,libselinux1,libsepol1,libss2,libssl0.9.8,libstdc++6,libstdc++6-4.1-dev,libtasn1-3,libtext-charwidth-perl,libtext-iconv-perl,libusb-0.1-4,libuuid1,libwrap0,locales-all,login,lynx,m4,make,man-db,mktemp,module-init-tools,moreutils,mount,ncurses-bin,net-tools,openssh-client,openssh-server,openssl,passwd,patch,perl,perl-base,perl-modules,powerpc-utils,python,python-minimal,python2.4,python2.4-minimal,rcs,sed,sysklogd,sysvinit,sysvinit-utils,vim,vim-common,vim-runtime,wget,zlib1g" -- To UNSUBSCRIBE, email to debian-gcc-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org