Debian Bug report logs - #455663
FTBFS with GCC 4.3: explicit template specialization cannot have a storage class

version graph

Package: systemtap; Maintainer for systemtap is Євгеній Мещеряков <eugen@debian.org>; Source for systemtap is src:systemtap.

Reported by: Martin Michlmayr <tbm@cyrius.com>

Date: Tue, 11 Dec 2007 03:57:06 UTC

Severity: normal

Tags: upstream

Found in version systemtap/0.0.20071201-1

Fixed in version systemtap/0.0.20071215-1

Done: Eugeniy Meshcheryakov <eugen@debian.org>

Bug is archived. No further changes may be made.

Forwarded to http://sources.redhat.com/bugzilla/show_bug.cgi?id=5017

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Eugeniy Meshcheryakov <eugen@debian.org>:
Bug#455663; Package systemtap. Full text and rfc822 format available.

Acknowledgement sent to Martin Michlmayr <tbm@cyrius.com>:
New Bug report received and forwarded. Copy sent to Eugeniy Meshcheryakov <eugen@debian.org>. Full text and rfc822 format available.

Message #5 received at submit@bugs.debian.org (full text, mbox):

From: Martin Michlmayr <tbm@cyrius.com>
To: submit@bugs.debian.org
Subject: FTBFS with GCC 4.3: explicit template specialization cannot have a
	storage class
Date: Mon, 10 Dec 2007 20:55:03 -0700
Package: systemtap
Version: 0.0.20071201-1
Usertags: ftbfs-gcc-4.3

Sorry, yet another GCC 4.3 failure.

> Automatic build of systemtap_0.0.20071201-1 on em64t by sbuild/amd64 0.53
...
> make[3]: Entering directory `/build/tbm/systemtap-0.0.20071201/build-tree/src'
> Makefile:1518: warning: overriding commands for target `check'
> Makefile:1326: warning: ignoring old commands for target `check'
> if x86_64-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.  -DBINDIR='"/usr/bin"' -DPKGDATADIR='"/usr/share/systemtap"' -DPKGLIBDIR='"/usr/lib/systemtap"'   -Wall -Wextra -Werror -Wall -g -D_GNU_SOURCE -O2 -MT stap-main.o -MD -MP -MF ".deps/stap-main.Tpo" -c -o stap-main.o `test -f 'main.cxx' || echo './'`main.cxx; \
> 	then mv -f ".deps/stap-main.Tpo" ".deps/stap-main.Po"; else rm -f ".deps/stap-main.Tpo"; exit 1; fi
> In file included from main.cxx:12:
> staptree.h:875: error: explicit template specialization cannot have a storage class
> make[3]: *** [stap-main.o] Error 1
> make[3]: Leaving directory `/build/tbm/systemtap-0.0.20071201/build-tree/src'

-- 
Martin Michlmayr
http://www.cyrius.com/




Information forwarded to debian-bugs-dist@lists.debian.org:
Bug#455663; Package systemtap. Full text and rfc822 format available.

Acknowledgement sent to Eugeniy Meshcheryakov <eugen@debian.org>:
Extra info received and forwarded to list. Full text and rfc822 format available.

Message #10 received at 455663@bugs.debian.org (full text, mbox):

From: Eugeniy Meshcheryakov <eugen@debian.org>
To: Martin Michlmayr <tbm@cyrius.com>, 455663@bugs.debian.org
Cc: control@bugs.debian.org
Subject: Re: Bug#455663: FTBFS with GCC 4.3: explicit template
	specialization cannot have a storage class
Date: Tue, 11 Dec 2007 10:33:43 +0100
[Message part 1 (text/plain, inline)]
tags 455663 + upstream
forwarded 455663 http://sources.redhat.com/bugzilla/show_bug.cgi?id=5017
thanks

Hello,

10 грудня 2007 о 20:55 -0700 Martin Michlmayr написав(-ла):
> Sorry, yet another GCC 4.3 failure.
Yes, I know. There is even patch for this bug in
debian/patches.disabled/23-gcc-4.3-fixes . But it breaks compilation
with current gcc. Any idea how to make it compile for both current gcc
and gcc-snapshot?

> 
> > Automatic build of systemtap_0.0.20071201-1 on em64t by sbuild/amd64 0.53
> ...
> > make[3]: Entering directory `/build/tbm/systemtap-0.0.20071201/build-tree/src'
> > Makefile:1518: warning: overriding commands for target `check'
> > Makefile:1326: warning: ignoring old commands for target `check'
> > if x86_64-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.  -DBINDIR='"/usr/bin"' -DPKGDATADIR='"/usr/share/systemtap"' -DPKGLIBDIR='"/usr/lib/systemtap"'   -Wall -Wextra -Werror -Wall -g -D_GNU_SOURCE -O2 -MT stap-main.o -MD -MP -MF ".deps/stap-main.Tpo" -c -o stap-main.o `test -f 'main.cxx' || echo './'`main.cxx; \
> > 	then mv -f ".deps/stap-main.Tpo" ".deps/stap-main.Po"; else rm -f ".deps/stap-main.Tpo"; exit 1; fi
> > In file included from main.cxx:12:
> > staptree.h:875: error: explicit template specialization cannot have a storage class
> > make[3]: *** [stap-main.o] Error 1
> > make[3]: Leaving directory `/build/tbm/systemtap-0.0.20071201/build-tree/src'
[signature.asc (application/pgp-signature, inline)]

Tags added: upstream Request was from Eugeniy Meshcheryakov <eugen@debian.org> to control@bugs.debian.org. (Tue, 11 Dec 2007 10:00:04 GMT) Full text and rfc822 format available.

Noted your statement that Bug has been forwarded to http://sources.redhat.com/bugzilla/show_bug.cgi?id=5017. Request was from Eugeniy Meshcheryakov <eugen@debian.org> to control@bugs.debian.org. (Tue, 11 Dec 2007 10:00:05 GMT) Full text and rfc822 format available.

Information forwarded to debian-bugs-dist@lists.debian.org, Eugeniy Meshcheryakov <eugen@debian.org>:
Bug#455663; Package systemtap. Full text and rfc822 format available.

Acknowledgement sent to Martin Michlmayr <tbm@cyrius.com>:
Extra info received and forwarded to list. Copy sent to Eugeniy Meshcheryakov <eugen@debian.org>. Full text and rfc822 format available.

Message #19 received at 455663@bugs.debian.org (full text, mbox):

From: Martin Michlmayr <tbm@cyrius.com>
To: Eugeniy Meshcheryakov <eugen@debian.org>
Cc: 455663@bugs.debian.org,
	"brian m. carlson" <sandals@crustytoothpaste.ath.cx>
Subject: Re: Bug#455663: FTBFS with GCC 4.3: explicit template
	specialization cannot have a storage class
Date: Tue, 11 Dec 2007 07:03:53 -0700
* Eugeniy Meshcheryakov <eugen@debian.org> [2007-12-11 10:33]:
> > Sorry, yet another GCC 4.3 failure.
> Yes, I know. There is even patch for this bug in
> debian/patches.disabled/23-gcc-4.3-fixes . But it breaks compilation
> with current gcc. Any idea how to make it compile for both current gcc
> and gcc-snapshot?

I don't know, but I'm CCing someone who might.
-- 
Martin Michlmayr
http://www.cyrius.com/




Information forwarded to debian-bugs-dist@lists.debian.org, Eugeniy Meshcheryakov <eugen@debian.org>:
Bug#455663; Package systemtap. Full text and rfc822 format available.

Acknowledgement sent to "brian m. carlson" <sandals@crustytoothpaste.ath.cx>:
Extra info received and forwarded to list. Copy sent to Eugeniy Meshcheryakov <eugen@debian.org>. Full text and rfc822 format available.

Message #24 received at 455663@bugs.debian.org (full text, mbox):

From: "brian m. carlson" <sandals@crustytoothpaste.ath.cx>
To: Martin Michlmayr <tbm@cyrius.com>
Cc: Eugeniy Meshcheryakov <eugen@debian.org>, 455663@bugs.debian.org
Subject: Re: Bug#455663: FTBFS with GCC 4.3: explicit template
	specialization cannot have a storage class
Date: Tue, 11 Dec 2007 21:35:43 +0000
[Message part 1 (text/plain, inline)]
On Tue, Dec 11, 2007 at 07:03:53AM -0700, Martin Michlmayr wrote:
>* Eugeniy Meshcheryakov <eugen@debian.org> [2007-12-11 10:33]:
>> > Sorry, yet another GCC 4.3 failure.
>> Yes, I know. There is even patch for this bug in
>> debian/patches.disabled/23-gcc-4.3-fixes . But it breaks compilation
>> with current gcc. Any idea how to make it compile for both current gcc
>> and gcc-snapshot?
>
>I don't know, but I'm CCing someone who might.

Okay.  Either gcc-4.2 is broken, or gcc-4.3 is.  I suspect it's the 
former, since gcc-4.3 complains loudly.  Someone should file a bug.

One possible workaround (that I have only briefly tested) is to apply 
the patch, but only declare require<indexable *> in staptree.h, and 
actually move the definition of require<indexable *> to staptree.cxx.  
Then, if gcc-4.2 does instantiate it as extern, it will instantiate it 
only once, and there will not be multiple definitions.

-- 
brian m. carlson / brian with sandals: Houston, Texas, US
+1 713 440 7475 | http://crustytoothpaste.ath.cx/~bmc | My opinion only
a typesetting engine: http://crustytoothpaste.ath.cx/~bmc/code/thwack
OpenPGP: RSA v4 4096b 88AC E9B2 9196 305B A994 7552 F1BA 225C 0223 B187
[signature.asc (application/pgp-signature, inline)]

Information forwarded to debian-bugs-dist@lists.debian.org, Eugeniy Meshcheryakov <eugen@debian.org>:
Bug#455663; Package systemtap. Full text and rfc822 format available.

Acknowledgement sent to Martin Michlmayr <tbm@cyrius.com>:
Extra info received and forwarded to list. Copy sent to Eugeniy Meshcheryakov <eugen@debian.org>. Full text and rfc822 format available.

Message #29 received at 455663@bugs.debian.org (full text, mbox):

From: Martin Michlmayr <tbm@cyrius.com>
To: "brian m. carlson" <sandals@crustytoothpaste.ath.cx>
Cc: Eugeniy Meshcheryakov <eugen@debian.org>, 455663@bugs.debian.org
Subject: Re: Bug#455663: FTBFS with GCC 4.3: explicit template
	specialization cannot have a storage class
Date: Tue, 11 Dec 2007 23:44:17 -0700
* brian m. carlson <sandals@crustytoothpaste.ath.cx> [2007-12-11 21:35]:
> Okay.  Either gcc-4.2 is broken, or gcc-4.3 is.  I suspect it's the former, 
> since gcc-4.3 complains loudly.  Someone should file a bug.

Do you think you could do that?
-- 
Martin Michlmayr
http://www.cyrius.com/




Tags added: fixed-upstream Request was from bts-link-upstream@lists.alioth.debian.org to control@bugs.debian.org. (Sun, 16 Dec 2007 22:51:12 GMT) Full text and rfc822 format available.

Tags removed: fixed-upstream Request was from Eugeniy Meshcheryakov <eugen@debian.org> to control@bugs.debian.org. (Mon, 17 Dec 2007 23:45:02 GMT) Full text and rfc822 format available.

Reply sent to Eugeniy Meshcheryakov <eugen@debian.org>:
You have taken responsibility. Full text and rfc822 format available.

Notification sent to Martin Michlmayr <tbm@cyrius.com>:
Bug acknowledged by developer. Full text and rfc822 format available.

Message #38 received at 455663-close@bugs.debian.org (full text, mbox):

From: Eugeniy Meshcheryakov <eugen@debian.org>
To: 455663-close@bugs.debian.org
Subject: Bug#455663: fixed in systemtap 0.0.20071215-1
Date: Mon, 17 Dec 2007 23:47:03 +0000
Source: systemtap
Source-Version: 0.0.20071215-1

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

systemtap_0.0.20071215-1.diff.gz
  to pool/main/s/systemtap/systemtap_0.0.20071215-1.diff.gz
systemtap_0.0.20071215-1.dsc
  to pool/main/s/systemtap/systemtap_0.0.20071215-1.dsc
systemtap_0.0.20071215-1_amd64.deb
  to pool/main/s/systemtap/systemtap_0.0.20071215-1_amd64.deb
systemtap_0.0.20071215.orig.tar.gz
  to pool/main/s/systemtap/systemtap_0.0.20071215.orig.tar.gz



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 455663@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Eugeniy Meshcheryakov <eugen@debian.org> (supplier of updated systemtap 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: Mon, 17 Dec 2007 19:13:00 +0100
Source: systemtap
Binary: systemtap
Architecture: source amd64
Version: 0.0.20071215-1
Distribution: unstable
Urgency: low
Maintainer: Eugeniy Meshcheryakov <eugen@debian.org>
Changed-By: Eugeniy Meshcheryakov <eugen@debian.org>
Description: 
 systemtap  - instrumentation system for Linux 2.6
Closes: 455663
Changes: 
 systemtap (0.0.20071215-1) unstable; urgency=low
 .
   * New upstream snapshot
   * Removed patches:
     - 26-more-gcc-4.3-fixes - applied upstream
     - 23-gcc-4.3-fixes (disabled) - replaced with workaround that works for
       both gcc-4.2 and gcc-4.3
   * New patches:
     - 23-gcc-4.3-workaround - fixes FTBFS with gcc-4.3; thanks Brian M. Carlson
       for suggestion (closes: #455663)
   * Build-depend on elfutils libraries (>= 0.131-2) to use latest static
     libraries and correct shlibs file
   * Standards-Version 3.7.3 - no changes required
Files: 
 7cb053835007c293789a3cac260028b5 861 devel optional systemtap_0.0.20071215-1.dsc
 508535ac97007d8433bedb5df5956459 779255 devel optional systemtap_0.0.20071215.orig.tar.gz
 0929088354e154e74f5aac8343994452 8956 devel optional systemtap_0.0.20071215-1.diff.gz
 87e4008b7fd126f7592ec715959aa6f3 757166 devel optional systemtap_0.0.20071215-1_amd64.deb

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

iD8DBQFHZwaaKaC6+zmozOIRAmvCAJsGi2gNcLMle9y2y7MduqwHa7gdowCaAzyQ
LhWImJroG1Yt4KNv5vcC2zs=
=i3D2
-----END PGP SIGNATURE-----





Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Sat, 19 Jan 2008 07:33:00 GMT) Full text and rfc822 format available.

Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Tue Feb 9 19:33:47 2010; Machine Name: busoni.debian.org

Debian Bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.