[email protected]
[Top] [All Lists]

Bug#308923: marked as forwarded (FTBFS with gcc-4.0)

Subject: Bug#308923: marked as forwarded FTBFS with gcc-4.0
From: Debian Bug Tracking System
Date: Fri, 13 May 2005 04:48:16 -0700
Your message dated Fri, 13 May 2005 13:43:13 +0200
with message-id <[email protected]>
has caused the Debian Bug report #308923,
regarding FTBFS with gcc-4.0
to be marked as having been forwarded to the upstream software
author(s) [email protected]

(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)

Received: (at 308923-forwarded) by bugs.debian.org; 13 May 2005 11:43:20 +0000
>From [email protected] Fri May 13 04:43:20 2005
Return-path: <[email protected]>
Received: from armagnac.ifi.unizh.ch (albatross.madduck.net) [] 
        by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
        id 1DWYZb-00048N-00; Fri, 13 May 2005 04:43:20 -0700
Received: from localhost (albatross.madduck.net [])
        by albatross.madduck.net (postfix) with ESMTP id 3CFAD8D243F;
        Fri, 13 May 2005 13:43:14 +0200 (CEST)
Received: from cirrus.madduck.net (84-72-18-188.dclient.hispeed.ch 
        (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
        (Client CN "cirrus.madduck.net", Issuer "madduck.net CA" (verified OK))
        by albatross.madduck.net (postfix) with ESMTP id 4ADA08D2435;
        Fri, 13 May 2005 13:43:09 +0200 (CEST)
Received: by cirrus.madduck.net (Postfix, from userid 1000)
        id 4917E2000FE; Fri, 13 May 2005 13:43:13 +0200 (CEST)
Date: Fri, 13 May 2005 13:43:13 +0200
From: martin f krafft <[email protected]>
To: [email protected]
Cc: [email protected]
Subject: Re: Bug#308923: FTBFS with gcc-4.0
Message-ID: <[email protected]>
References: <[email protected]>
Mime-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha1;
        protocol="application/pgp-signature"; boundary="BwCQnh7xodEAoBMC"
Content-Disposition: inline
In-Reply-To: <[email protected]>
Organization: Debian GNU/Linux
X-OS: Debian GNU/Linux 3.1 kernel 2.6.11-cirrus i686
X-Motto: Keep the good times rollin'
X-Subliminal-Message: debian/rules!
X-Debbugs-No-Ack: please spare me
User-Agent: Mutt/1.5.9i
X-Virus-Scanned: by albatross.madduck.net
Delivered-To: [email protected]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
        (1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-9.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER,
        X_DEBBUGS_NO_ACK autolearn=ham version=2.60-bugs.debian.org_2005_01_02
X-CrossAssassin-Score: 2

Content-Type: multipart/mixed; boundary="LQksG6bCIzRHxTLp"
Content-Disposition: inline

Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

severity 308923 minor
tags 308923 confirmed upstream patch

Carlo, gcc4.0 is not yet out the door, but you may still care at
this point already.

The attached patch makes libcwd compile with gcc 4.0.

> if i386-linux-g++ -DHAVE_CONFIG_H  -I../include -I../include   \
>     -DCWDEBUG  -O2 -pipe -fno-exceptions -g -O2 -pipe -fno-exceptions -DP=
IC -fPIC \
>     -M -MT pch.h.gch/libcwd_pch.h -MF .deps/libcwd_pch.Tpo -DPIC -fPIC ./=
pch-source.h >/dev/null; then \
>   cmp -s .deps/libcwd_pch.Tpo .deps/libcwd_pch.po || mv .deps/libcwd_pch.=
Tpo .deps/libcwd_pch.po; \
> fi
> i386-linux-g++ -DHAVE_CONFIG_H  -I../include -I../include   \
>     -DCWDEBUG  -O2 -pipe -fno-exceptions -g -O2 -pipe -fno-exceptions -DP=
IC -fPIC \
>     -c -o pch.h.gch/libcwd_pch.h ./pch-source.h
> /usr/lib/gcc/i486-linux/4.0.1/../../../../include/c++/4.0.1/ext/mt_alloca=
tor.h: In instantiation of '__gnu_cxx::__mt_alloc<char, libcwd::_private_::=
pool_instance_and_policy<-0x000000002, false> >':
> ../include/libcwd/private_allocator.h:191:   instantiated from 'libcwd::_=
private_::CharPoolAlloc<false, -0x000000002>'
> ../include/libcwd/private_allocator.h:220:   instantiated from 'libcwd::_=
private_::allocator_adaptor<char, libcwd::_private_::CharPoolAlloc<false, -=
0x000000002>, internal_pool>'
> ../include/libcwd/private_internal_vector.h:38:   instantiated from here
> /usr/lib/gcc/i486-linux/4.0.1/../../../../include/c++/4.0.1/ext/mt_alloca=
tor.h:646: error: no type named 'pool_type' in 'struct libcwd::_private_::p=
ool_instance_and_policy<-0x000000002, false>'
> make[3]: *** [pch.h.gch/libcwd_pch.h] Error 1

 .''`.     martin f. krafft <[email protected]>
: :'  :    proud Debian developer, admin, user, and author
`. `'`
  `-  Debian - when you have better things to do than fixing a system
Invalid/expired PGP subkeys? Use subkeys.pgp.net as keyserver!
military justice is to justice what military music is to music.
                                                       -- groucho marx

Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="libcwd-gcc-4.0.patch"
Content-Transfer-Encoding: quoted-printable

--- libcwd-0.99.39.orig/include/libcwd/private_allocator.h
+++ libcwd-0.99.39/include/libcwd/private_allocator.h
@@ -134,6 +134,9 @@
 template<int pool_instance, bool needs_lock>
   struct pool_instance_and_policy {
     typedef __gnu_cxx::__pool<needs_lock> __pool_type;         // Underlaying 
l type.
+#if __GNUC__ =3D=3D 4
+    typedef __pool_type pool_type; // gcc 4.0 compliance
     static static_pool_instance<__pool_type> _S_pool_instance; // The actu=
al pool instance.
     // The following is needed as interface of a 'pool_policy' class as us=
ed by __gnu_cxx::__mt_alloc.
@@ -158,6 +161,9 @@
   struct pool_instance_and_policy<pool_instance, true>
     typedef __gnu_cxx::__pool<true> __pool_type;               // Underlaying 
pool type.
+#if __GNUC__ =3D=3D 4
+    typedef __pool_type pool_type; // gcc 4.0 compliance
     static static_pool_instance<__pool_type> _S_pool_instance; // The actu=
al pool instance.
     // The following is needed as interface of a 'pool_policy' class as us=
ed by __gnu_cxx::__mt_alloc.
--- libcwd-0.99.39.orig/include/cwd_bfd.h
+++ libcwd-0.99.39/include/cwd_bfd.h
@@ -194,7 +194,7 @@
 // cwbfd::
 inline size_t symbol_size(asymbol const* s)
-  return reinterpret_cast<size_t>(s->udata.p);
+  return static_cast<size_t>(s->udata.p);
 // cwbfd::


Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature
Content-Disposition: inline

Version: GnuPG v1.4.0 (GNU/Linux)



To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

<Prev in Thread] Current Thread [Next in Thread>
  • Bug#308923: marked as forwarded (FTBFS with gcc-4.0), Debian Bug Tracking System <=