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

Bug#364231: marked as done (exception catching broken on HPPA)



Your message dated Fri, 30 Jun 2006 16:02:26 -0700
with message-id <E1FwS0I-0004s7-4U@spohr.debian.org>
and subject line Bug#364231: fixed in gcc-4.0 4.0.3-4
has caused the attached Bug report 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 I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

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

--- Begin Message ---
Package: g++-4.0
Version: 4.0.3-1
Severity: grave

Hi,

Ignore the architecture below -- this report is about HPPA.
Here's a simple program that runs fine on my x86 box, but fails
on Paer (2.6.16-1-parisc64-smp #2 SMP).

smr@paer:~/gmp-4.2.dfsg/tests/cxx$ cat test-throw.cc
#include <iostream>
#include <stdexcept>


using namespace std;


class A
{
public:
  void throwMe()
  {
    if ( 1 )
      throw std::invalid_argument( "booger" );
  }
};


int main(int ac, char* av[])
{
  A a;

  {
    try
      {
        a.throwMe();
        cout << "Got here, but should not have\n";
      }
    catch (invalid_argument)
      {
        cout << "Caught the exception as expected\n";
      }
  }

  return 0;
}

smr@paer:~/gmp-4.2.dfsg/tests/cxx$ g++ -Wall test-throw.cc && ./a.out
/usr/bin/ld: warning: libgcc_s.so.4, needed by /usr/lib/gcc/hppa-linux-gnu/4.0.3/libstdc++.so, may conflict with libgcc_s.so.2
/usr/bin/ld: warning: libgcc_s.so.4, needed by /usr/lib/gcc/hppa-linux-gnu/4.0.3/libstdc++.so, may conflict with libgcc_s.so.2
terminate called after throwing an instance of 'std::invalid_argument'
terminate called recursively
Aborted

This breaks compilation of GMP, for example.

Cheers,
-Steve




-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (990, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.15-1-k7
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages g++-4.0 depends on:
ii  gcc-4.0                       4.0.3-1    The GNU C compiler
ii  gcc-4.0-base                  4.0.3-1    The GNU Compiler Collection (base 
ii  libc6                         2.3.6-7    GNU C Library: Shared libraries
ii  libstdc++6-4.0-dev            4.0.3-1    The GNU Standard C++ Library v3 (d

g++-4.0 recommends no packages.

-- no debconf information


--- End Message ---
--- Begin Message ---
Source: gcc-4.0
Source-Version: 4.0.3-4

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

cpp-4.0-doc_4.0.3-4_all.deb
  to pool/main/g/gcc-4.0/cpp-4.0-doc_4.0.3-4_all.deb
cpp-4.0_4.0.3-4_i386.deb
  to pool/main/g/gcc-4.0/cpp-4.0_4.0.3-4_i386.deb
cpp-4.0_4.0.3-4_powerpc.deb
  to pool/main/g/gcc-4.0/cpp-4.0_4.0.3-4_powerpc.deb
g++-4.0_4.0.3-4_i386.deb
  to pool/main/g/gcc-4.0/g++-4.0_4.0.3-4_i386.deb
g++-4.0_4.0.3-4_powerpc.deb
  to pool/main/g/gcc-4.0/g++-4.0_4.0.3-4_powerpc.deb
gcc-4.0-base_4.0.3-4_i386.deb
  to pool/main/g/gcc-4.0/gcc-4.0-base_4.0.3-4_i386.deb
gcc-4.0-base_4.0.3-4_powerpc.deb
  to pool/main/g/gcc-4.0/gcc-4.0-base_4.0.3-4_powerpc.deb
gcc-4.0-doc_4.0.3-4_all.deb
  to pool/main/g/gcc-4.0/gcc-4.0-doc_4.0.3-4_all.deb
gcc-4.0-locales_4.0.3-4_all.deb
  to pool/main/g/gcc-4.0/gcc-4.0-locales_4.0.3-4_all.deb
gcc-4.0_4.0.3-4.diff.gz
  to pool/main/g/gcc-4.0/gcc-4.0_4.0.3-4.diff.gz
gcc-4.0_4.0.3-4.dsc
  to pool/main/g/gcc-4.0/gcc-4.0_4.0.3-4.dsc
gcc-4.0_4.0.3-4_i386.deb
  to pool/main/g/gcc-4.0/gcc-4.0_4.0.3-4_i386.deb
gcc-4.0_4.0.3-4_powerpc.deb
  to pool/main/g/gcc-4.0/gcc-4.0_4.0.3-4_powerpc.deb
gfortran-4.0-doc_4.0.3-4_all.deb
  to pool/main/g/gcc-4.0/gfortran-4.0-doc_4.0.3-4_all.deb
gfortran-4.0_4.0.3-4_i386.deb
  to pool/main/g/gcc-4.0/gfortran-4.0_4.0.3-4_i386.deb
gfortran-4.0_4.0.3-4_powerpc.deb
  to pool/main/g/gcc-4.0/gfortran-4.0_4.0.3-4_powerpc.deb
lib64gfortran0_4.0.3-4_i386.deb
  to pool/main/g/gcc-4.0/lib64gfortran0_4.0.3-4_i386.deb
lib64gfortran0_4.0.3-4_powerpc.deb
  to pool/main/g/gcc-4.0/lib64gfortran0_4.0.3-4_powerpc.deb
lib64stdc++6-4.0-dbg_4.0.3-4_i386.deb
  to pool/main/g/gcc-4.0/lib64stdc++6-4.0-dbg_4.0.3-4_i386.deb
lib64stdc++6-4.0-dbg_4.0.3-4_powerpc.deb
  to pool/main/g/gcc-4.0/lib64stdc++6-4.0-dbg_4.0.3-4_powerpc.deb
libgfortran0-dev_4.0.3-4_i386.deb
  to pool/main/g/gcc-4.0/libgfortran0-dev_4.0.3-4_i386.deb
libgfortran0-dev_4.0.3-4_powerpc.deb
  to pool/main/g/gcc-4.0/libgfortran0-dev_4.0.3-4_powerpc.deb
libgfortran0_4.0.3-4_i386.deb
  to pool/main/g/gcc-4.0/libgfortran0_4.0.3-4_i386.deb
libgfortran0_4.0.3-4_powerpc.deb
  to pool/main/g/gcc-4.0/libgfortran0_4.0.3-4_powerpc.deb
libstdc++6-4.0-dbg_4.0.3-4_i386.deb
  to pool/main/g/gcc-4.0/libstdc++6-4.0-dbg_4.0.3-4_i386.deb
libstdc++6-4.0-dbg_4.0.3-4_powerpc.deb
  to pool/main/g/gcc-4.0/libstdc++6-4.0-dbg_4.0.3-4_powerpc.deb
libstdc++6-4.0-dev_4.0.3-4_i386.deb
  to pool/main/g/gcc-4.0/libstdc++6-4.0-dev_4.0.3-4_i386.deb
libstdc++6-4.0-dev_4.0.3-4_powerpc.deb
  to pool/main/g/gcc-4.0/libstdc++6-4.0-dev_4.0.3-4_powerpc.deb
libstdc++6-4.0-doc_4.0.3-4_all.deb
  to pool/main/g/gcc-4.0/libstdc++6-4.0-doc_4.0.3-4_all.deb
libstdc++6-4.0-pic_4.0.3-4_i386.deb
  to pool/main/g/gcc-4.0/libstdc++6-4.0-pic_4.0.3-4_i386.deb
libstdc++6-4.0-pic_4.0.3-4_powerpc.deb
  to pool/main/g/gcc-4.0/libstdc++6-4.0-pic_4.0.3-4_powerpc.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 364231@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Matthias Klose <doko@debian.org> (supplier of updated gcc-4.0 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.7
Date: Fri, 30 Jun 2006 02:09:26 +0200
Source: gcc-4.0
Binary: cpp-4.0 gcc-4.0-base gcc-4.0-soft-float gfortran-4.0 gcc-4.0 gcc-4.0-locales libgfortran0-dev libstdc++6-4.0-pic libstdc++6-4.0-dev lib32stdc++6-4.0-dbg libgcc2 cpp-4.0-doc gcc-4.0-hppa64 libstdc++6-4.0-dbg gcc-4.0-doc libstdc++6-4.0-doc lib32gfortran0 g++-4.0 gfortran-4.0-doc lib64gfortran0 lib64stdc++6-4.0-dbg libgfortran0
Architecture: all i386 powerpc source 
Version: 4.0.3-4
Distribution: unstable
Urgency: low
Maintainer: Debian GCC Maintainers <debian-gcc@lists.debian.org>
Changed-By: Matthias Klose <doko@debian.org>
Description: 
 cpp-4.0    - The GNU C preprocessor
 g++-4.0    - The GNU C++ compiler
 gcc-4.0    - The GNU C compiler
 gcc-4.0-base - The GNU Compiler Collection (base package)
 gfortran-4.0 - The GNU Fortran 95 compiler
 lib64gfortran0 - Runtime library for GNU Fortran applications (64bit)
 lib64stdc++6-4.0-dbg - The GNU Standard C++ Library v3 (debugging files)
 libgfortran0 - Runtime library for GNU Fortran applications
 libgfortran0-dev - GNU Fortran library development
 libstdc++6-4.0-dbg - The GNU Standard C++ Library v3 (debugging files)
 libstdc++6-4.0-dev - The GNU Standard C++ Library v3 (development files)
 libstdc++6-4.0-pic - The GNU Standard C++ Library v3 (shared library subset kit)
Closes: 364231 367590
Changes: 
 gcc-4.0 (4.0.3-4) unstable; urgency=low
 .
   * Do not build g++ on hppa (ABI incompatible with g++-4.1).
     Closes: #364231.
   * Do not build anymore Ada, Objc, ObjC++, Treelang compilers from the
     gcc-4.0 source.
   * Update to SVN 20060630, taken from the gcc-4_0-branch.
   * Add m32r to ada_no_cpus entry (Kazuhiro Inaoka). Closes: #367590.
Files: 
 0eba76e188499453bb8277864a3beece 108994 libs optional lib64gfortran0_4.0.3-4_i386.deb
 0f27b40b8c114cb43981b1ceffce6b96 2300762 interpreters standard cpp-4.0_4.0.3-4_powerpc.deb
 15534a6a54632220884f4cb42decc182 181678 devel required gcc-4.0-base_4.0.3-4_i386.deb
 2130222eeae0ba597a9e08b31bf13e75 2420974 devel optional gfortran-4.0_4.0.3-4_powerpc.deb
 316872325a8086208aeb88e9798115ab 183290 doc optional cpp-4.0-doc_4.0.3-4_all.deb
 37fa461a9393c2ce3504e5d2029966fc 3849192 libdevel extra libstdc++6-4.0-dbg_4.0.3-4_powerpc.deb
 43ca3d9295bc80b9e9833c070b833ce9 2231040 devel optional gfortran-4.0_4.0.3-4_i386.deb
 4422ee218362970a6bd51d4aeeed3da5 687109 devel standard gcc-4.0_4.0.3-4.diff.gz
 4c52b8635d2e78a407fd073bb0f77fad 300008 libdevel optional libgfortran0-dev_4.0.3-4_powerpc.deb
 54b404490098f4fc31e263be4c38f120 286702 libdevel optional libgfortran0-dev_4.0.3-4_i386.deb
 0060a570c9305b16dbd7ff00bf06c673 2021 devel standard gcc-4.0_4.0.3-4.dsc
 5a731c2a7faff67ac6538a36a5f27e11 115418 libs optional libgfortran0_4.0.3-4_powerpc.deb
 5fd38753e46264dec60f7a34d9672199 1018046 devel optional gcc-4.0-locales_4.0.3-4_all.deb
 69b7c7d1ec45051500985ae01339057d 4978278 libdevel extra lib64stdc++6-4.0-dbg_4.0.3-4_powerpc.deb
 7881909cf5b17e7cfad6260409be5dc5 120490 libs optional libgfortran0_4.0.3-4_i386.deb
 7c376c8077443e5f2b3c50699227da49 1493504 libdevel standard libstdc++6-4.0-dev_4.0.3-4_i386.deb
 955a5eb3bf9d5b2cac118856b695df11 3633054 libdevel extra libstdc++6-4.0-dbg_4.0.3-4_i386.deb
 99b27840ac78d4ae31bac611b5b3c3df 181676 devel required gcc-4.0-base_4.0.3-4_powerpc.deb
 a27ae0cf36c2c61f5c68c0a55344979f 4760502 libdevel extra lib64stdc++6-4.0-dbg_4.0.3-4_i386.deb
 ad194293bac1b55f6921d9fddf87fa39 6196626 doc optional libstdc++6-4.0-doc_4.0.3-4_all.deb
 b12b1dbb2ac9b060fb072e4561fa694f 548584 devel standard gcc-4.0_4.0.3-4_powerpc.deb
 b592a24f2c51759141f77a551950ee71 915518 libdevel extra libstdc++6-4.0-pic_4.0.3-4_i386.deb
 b83791d693c1f2f52ab10d9d381e171a 1581712 libdevel standard libstdc++6-4.0-dev_4.0.3-4_powerpc.deb
 c3091c03557baea8b9c17600244d38d1 2422298 devel standard g++-4.0_4.0.3-4_i386.deb
 c585d009e7b3357bf582d6e7e31a0c99 105996 doc optional gfortran-4.0-doc_4.0.3-4_all.deb
 c91410017f5f598ae51afcbfd8e6a06c 507326 devel standard gcc-4.0_4.0.3-4_i386.deb
 cde96bb68fd2c33cf432907a429e1eea 2120286 interpreters standard cpp-4.0_4.0.3-4_i386.deb
 db6e875a1a1a4d21fe5191080e9a53cf 981716 libdevel extra libstdc++6-4.0-pic_4.0.3-4_powerpc.deb
 ecb2318497d5bc6e1b80e0c828edd9eb 1578038 doc optional gcc-4.0-doc_4.0.3-4_all.deb
 edf7342e9355e23542ee7064a7766609 114274 libs optional lib64gfortran0_4.0.3-4_powerpc.deb
 f7f7ae61404af9c8814990053445d113 2616830 devel standard g++-4.0_4.0.3-4_powerpc.deb

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

iD8DBQFEpavnStlRaw+TLJwRAm/kAJ9K/3TvRBVtMlIGO5iTwg/kz75I8wCgs6Qa
LFwt9k0HR9eiA8M9uX+R+j0=
=kNR3
-----END PGP SIGNATURE-----


--- End Message ---

Reply to: