apt-get failes on powerpc - Illigal instruction

2009-03-23 Thread Nicholas Mc Guire
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

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: 4500
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   VersionDescription
+++-==-==-
iU  apt0.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 
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 
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 
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 

apt-get fails on powerpc - Illigal instruction

2009-03-23 Thread Nicholas Mc Guire
Package: apt
Version: 0.7.20.2

Summary: apt-get failure

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++
packages).

reportbug not used as I cant install it 

csbx:~# aptitude install reportbug; reportbug

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: 4500
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   VersionDescription
+++-==-==-
iU  apt0.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 
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 libstd++6
Package `libstd++6' is not installed and no info is available.
Use dpkg --info (= dpkg-deb --info) to examine archive files,
and dpkg --contents (= dpkg-deb --contents) to list their contents.
csbx:~# dpkg --status libstdc++6
Package: libstdc++6
Status: install ok installed
Priority: required
Section: libs
Installed-Size: 1428
Maintainer: Debian GCC Maintainers 
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 
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 stac

Processed: Clone and reassign to libstdc++

2009-03-23 Thread Debian Bug Tracking System
Processing commands for cont...@bugs.debian.org:

> clone 520713 -1
Bug#520713: init script start hangs
Bug 520713 cloned as bug 520889.

> reassign -1 libstdc++6
Bug#520889: init script start hangs
Bug reassigned from package `schroot' to `libstdc++6'.

> retitle -1 std::tr1::shared_ptr is broken on alpha unless code is compiled 
> with -pthread
Bug#520889: init script start hangs
Changed Bug title to `std::tr1::shared_ptr is broken on alpha unless code is 
compiled with -pthread' from `init script start hangs'.
(By the way, that Bug is currently marked as done.)

> thanks
Stopping processing here.

Please contact me if you need assistance.

Debian bug tracking system administrator
(administrator, Debian Bugs database)


-- 
To UNSUBSCRIBE, email to debian-gcc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#519336: gnat1 segfault when unchecked converting an identifier with type mismatch

2009-03-23 Thread xavier grave
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Bug confirmed for :

Package: gnat-4.3
Architecture: powerpc
Version: 4.3.3-2

Kernel : 2.6.25-2-powerpc64

Nicolas Boulenguez a écrit :
> Package: gnat
> Version: 4.3.2-3
> Severity: minor
> 
> 
> The following program crashes gnatmake. I could not make it
> smaller. Removing the affectation (last line) or correcting the type
> mismatch in the record declaration (first line) both causes a normal
> error message.
> 
> --
> with Ada.Unchecked_Conversion;
> 
> package Essai is
>type Attributed_Chararcter is record
>   I : Integer;
>end record;
>type Video_Array is array (Integer range 0 .. 1) of Attributed_Character;
>type Video_Access is access Video_Array;
>function To_VA is new Ada.Unchecked_Conversion (Integer, Video_Access);
>Video : Video_Access := To_VA (0);
> end Essai;
> -
> 
> -- System Information:
> Debian Release: squeeze/sid
>   APT prefers testing
>   APT policy: (500, 'testing')
> Architecture: amd64 (x86_64)
> 
> Kernel: Linux 2.6.28.3 (SMP w/2 CPU cores)
> Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
> Shell: /bin/sh linked to /bin/dash
> 
> Versions of packages gnat depends on:
> ii  gnat-4.3  4.3.3-2The GNU Ada compiler
> 
> gnat recommends no packages.
> 
> gnat suggests no packages.
> 
> -- no debconf information
> 
> 
> 

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAknHsT8ACgkQVIZi0A5BZF4z/QCdGgVqqhZpSIxqHEumV0G3LlIZ
bFUAoLMVw4sSbrVYTicCUeUMZ2T/LtXl
=1XGz
-END PGP SIGNATURE-



--
To UNSUBSCRIBE, email to debian-gcc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Re: [Buildd-tools-devel] Processed: Clone and reassign to libstdc++

2009-03-23 Thread Roger Leigh
On Mon, Mar 23, 2009 at 10:36:10AM +, Debian Bug Tracking System wrote:
> Processing commands for cont...@bugs.debian.org:
> 
> > clone 520713 -1
> Bug#520713: init script start hangs
> Bug 520713 cloned as bug 520889.
> 
> > reassign -1 libstdc++6
> Bug#520889: init script start hangs
> Bug reassigned from package `schroot' to `libstdc++6'.
> 
> > retitle -1 std::tr1::shared_ptr is broken on alpha unless code is compiled 
> > with -pthread
> Bug#520889: init script start hangs
> Changed Bug title to `std::tr1::shared_ptr is broken on alpha unless code is 
> compiled with -pthread' from `init script start hangs'.

Hi Debian GCC people,

I cloned and reassigned this to you because while I worked around this
bug in schroot, I do feel that this is fundamentally an issue in
libstdc++.

It appears from the bug investigation that the std::tr1::shared_ptr
type is using a pthread mutex for locking (which is using futexes
on the kernel side).  I'm surprised about this because I thought it
would just be using atomic increment/decrement (unless this is an
alpha-specific implementation detail), but this is not in itself
a problem.

What did surprise me is that
- my program is single threaded; it does not directly use any pthread-
  related stuff, just types from the ISO C++ Standard, and its TR1
  addendum.
- I did therefore not expect there would be a requirement to compile
  with -pthread in order to get a functional program.
- On all architectures I'm aware of other than alpha, the code works
  correctly.
- On alpha it crashes with a failed libc/libstdc++ assertion during
  object construction (where I am creating a new type instance which
  is returned contained within a shared_ptr).  The stack trace showed
  it failing in my object constructor called from my clone() method
  which returns a shared_ptr (the actual ctor is private), but the
  pthread failure subsequently points the blame at shared_ptr, since
  I'm not using any pthread stuff myself.
- One of the traces attached to the bug report shows a failure
  inside a Boost header; it's possible that it's an interaction
  between the boost and libstdc++ headers, but I can't be sure of
  that.

I have Cc'd weasel, who originally found this bug on alpha.
I don't have any alpha hardware myself, so you would probably need
to ask weasel or one of the alpha porters if you need any alpha-
specific expertise.


Regards,
Roger

-- 
  .''`.  Roger Leigh
 : :' :  Debian GNU/Linux http://people.debian.org/~rleigh/
 `. `'   Printing on GNU/Linux?   http://gutenprint.sourceforge.net/
   `-GPG Public Key: 0x25BFB848   Please GPG sign your mail.


-- 
To UNSUBSCRIBE, email to debian-gcc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Results for 4.4.0 20090224 (experimental) (Debian 20090224-1) testsuite on alpha-unknown-linux-gnu

2009-03-23 Thread Matthias Klose
LAST_UPDATED: 
Native configuration is alpha-unknown-linux-gnu

=== libffi tests ===


Running target unix

=== libffi Summary ===

# of expected passes1389
# of unsupported tests  10
=== libgomp tests ===


Running target unix
WARNING: program timed out.
FAIL: libgomp.c/autopar-1.c execution test

=== libgomp Summary ===

# of expected passes2345
# of unexpected failures1
=== libjava tests ===


Running target unix

=== libjava Summary ===

# of expected passes2574
=== libmudflap tests ===


Running target unix
FAIL: libmudflap.c++/pass41-frag.cxx execution test
FAIL: libmudflap.c++/pass41-frag.cxx (-static) execution test
FAIL: libmudflap.c++/pass41-frag.cxx (-O2) execution test
FAIL: libmudflap.c++/pass41-frag.cxx (-O3) execution test

=== libmudflap Summary ===

# of expected passes1890
# of unexpected failures4
=== libstdc++ tests ===


Running target unix
XPASS: 26_numerics/headers/cmath/c99_classification_macros_c.cc (test for 
excess errors)
FAIL: ext/pb_ds/regression/trie_no_data_map_rand.cc execution test

=== libstdc++ Summary ===

# of expected passes5831
# of unexpected failures1
# of unexpected successes   1
# of expected failures  80
# of unsupported tests  333
Target: alpha-linux-gnu
gcc version 4.4.0 20090224 (experimental) (Debian 20090224-1) 

=== g++ tests ===


Running target unix

=== g++ Summary ===

# of expected passes18908
# of expected failures  140
# of unsupported tests  158
/build/buildd-gcc-snapshot_20090224-1-alpha-OPIjDF/gcc-snapshot-20090224/build/gcc/testsuite/g++/../../g++
  version 4.4.0 20090224 (experimental) (Debian 20090224-1) 

=== gcc tests ===


Running target unix
FAIL: tmpdir-gcc.dg-struct-layout-1/t024 c_compat_x_tst.o-c_compat_y_tst.o 
execute 
FAIL: tmpdir-gcc.dg-struct-layout-1/t027 c_compat_x_tst.o-c_compat_y_tst.o 
execute 

=== gcc Summary ===

# of expected passes49272
# of unexpected failures2
# of expected failures  131
# of unsupported tests  498
/build/buildd-gcc-snapshot_20090224-1-alpha-OPIjDF/gcc-snapshot-20090224/build/gcc/xgcc
  version 4.4.0 20090224 (experimental) (Debian 20090224-1) 

=== gfortran tests ===


Running target unix
FAIL: gfortran.dg/boz_9.f90  -O2  execution test
FAIL: gfortran.dg/boz_9.f90  -O3 -fomit-frame-pointer  execution test
FAIL: gfortran.dg/boz_9.f90  -O3 -fomit-frame-pointer -funroll-loops  execution 
test
FAIL: gfortran.dg/boz_9.f90  -O3 -fomit-frame-pointer -funroll-all-loops 
-finline-functions  execution test
FAIL: gfortran.dg/boz_9.f90  -O3 -g  execution test
FAIL: gfortran.dg/boz_9.f90  -Os  execution test
FAIL: gfortran.fortran-torture/execute/intrinsic_nearest.f90 execution,  -O2 
FAIL: gfortran.fortran-torture/execute/intrinsic_nearest.f90 execution,  -O2 
-fomit-frame-pointer -finline-functions 
FAIL: gfortran.fortran-torture/execute/intrinsic_nearest.f90 execution,  -O2 
-fomit-frame-pointer -finline-functions -funroll-loops 
FAIL: gfortran.fortran-torture/execute/intrinsic_nearest.f90 execution,  -O2 
-fbounds-check 
FAIL: gfortran.fortran-torture/execute/intrinsic_nearest.f90 execution,  -O3 -g 
FAIL: gfortran.fortran-torture/execute/intrinsic_nearest.f90 execution,  -Os 
FAIL: gfortran.fortran-torture/execute/intrinsic_nearest.f90 execution, -O2 
-ftree-vectorize -mmax 

=== gfortran Summary ===

# of expected passes29269
# of unexpected failures13
# of expected failures  22
# of unsupported tests  46
/build/buildd-gcc-snapshot_20090224-1-alpha-OPIjDF/gcc-snapshot-20090224/build/gcc/testsuite/gfortran/../../gfortran
  version 4.4.0 20090224 (experimental) (Debian 20090224-1) 

=== obj-c++ tests ===


Running target unix
UNRESOLVED: obj-c++.dg/lookup-2.mm compilation failed to produce executable
UNRESOLVED: obj-c++.dg/try-catch-2.mm compilation failed to produce executable
UNRESOLVED: obj-c++.dg/try-catch-9.mm compilation failed to produce executable

=== obj-c++ Summary ===

# of expected passes427
# of expected failures  21
# of unresolved testcases   3
# of unsupported tests  13
/build/buildd-gcc-snapshot_20090224-1-alpha-OPIjDF/gcc-snapshot-20090224/build/gcc/testsuite/obj-c++/../../g++
  version 4.4.0 20090224 (experimental) (Debian 20090224-1) 

=== objc tests ===


Running target unix
FAIL: objc/execute/forward-1.m execution,  -O0 -fgnu-runtime
FAIL: objc/execute/forward-1.m execution,  -O1 -fgnu-runtime
FAIL: objc/execute/forward-1.m execution,  -O2 -fgnu-runtime
FAIL: objc/execute/forward-1.m execution,  -O3 -fomit-frame-pointer 
-fgnu-runtime
FAIL: objc/exec

[bts-link] source package gcc-4.3

2009-03-23 Thread bts-link-upstream
#
# bts-link upstream status pull for source package gcc-4.3
# see http://lists.debian.org/debian-devel-announce/2006/05/msg1.html
#

user bts-link-upstr...@lists.alioth.debian.org

# remote status report for #518462
#  * http://gcc.gnu.org/PR39175
#  * remote status changed: (?) -> ASSIGNED
usertags 518462 + status-ASSIGNED

# remote status report for #520429
#  * http://gcc.gnu.org/PR39501
#  * remote status changed: (?) -> ASSIGNED
usertags 520429 + status-ASSIGNED

thanks


--
To UNSUBSCRIBE, email to debian-gcc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org