Your message dated Sat, 25 Oct 2008 02:48:47 +0200 with message-id <18690.27887.325179.388843@gargle.gargle.HOWL> and subject line closing bugs for gcc-3.4, which won't be fixed has caused the Debian Bug report #471831, regarding g++-3.4 fails to link 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 this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact owner@bugs.debian.org immediately.) -- 471831: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=471831 Debian Bug Tracking System Contact owner@bugs.debian.org with problems
--- Begin Message ---
- To: <submit@bugs.debian.org>
- Subject: g++-3.4 fails to link
- From: Haavard Bjerke <havard.bjerke@cern.ch>
- Date: Thu, 20 Mar 2008 14:54:21 +0100
- Message-id: <47E26C8D.8020004@cern.ch>
- Reply-to: havard.bjerke@cern.ch
Package: g++-3.4 Version: 3.4.6-6 Severity: important g++-3.4 fails to link. g++-4.2 does not fail. Copied test files from http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16625#c27 The test files are: $ cat foo.h class Foo { public: virtual ~Foo() {} virtual inline int f(int x) { switch (x) { case 0: return 0; break; case 1: return 1; break;case 2: return 2; break; // cases 0 to 2 bulk out the switch statementcase 3: return 999; break; // cases 3 and 4 can be coalesced case 4: return 999; break; } return -1; } }; extern int g(int); extern int h(); $ cat lib1.cc #include "foo.h" int g(int i) { Foo f; return f.f(i); } $ cat lib2.cc #include "foo.h" int h() { Foo f; return f.f(0) + g(0); } $ cat main.cc #include "foo.h" int main() { return g(0) + h(); } Compiled them as follows. g++-3.4 -Wall -W -O0 -c lib1.cc g++-3.4 -Wall -W -O0 -c lib2.cc g++-3.4 -Wall -W -o main lib1.o lib2.o main.cc This is the error that I get:`.gnu.linkonce.t._ZN3Foo1fEi' referenced in section `.rodata' of lib2.o: defined in discarded section `.gnu.linkonce.t._ZN3Foo1fEi' of lib2.ocollect2: ld returned 1 exit status -- System Information: Debian Release: lenny/sid APT prefers stableAPT policy: (990, 'stable'), (500, 'unstable'), (500, 'testing'), (1, 'experimental')Architecture: amd64 (x86_64) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.22-3-amd64 Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Versions of packages g++-3.4 depends on: ii gcc-3.4 3.4.6-6 The GNU C compilerii gcc-3.4-base 3.4.6-6 The GNU Compiler Collection (baseii libc6 2.7-9 GNU C Library: Shared libraries ii libstdc++6 4.3.0-1 The GNU Standard C++ Library v3ii libstdc++6-dev 3.4.6-6 The GNU Standard C++ Library v3 (dg++-3.4 recommends no packages. -- no debconf information
--- End Message ---
--- Begin Message ---
- To: 471831-done@bugs.debian.org, 441104-done@bugs.debian.org, 452115-done@bugs.debian.org, 299188-done@bugs.debian.org, 420533-done@bugs.debian.org, 437537-done@bugs.debian.org, 378107-done@bugs.debian.org, 425053-done@bugs.debian.org, 323285-done@bugs.debian.org, 399100-done@bugs.debian.org
- Cc: control@bugs.debian.org
- Subject: closing bugs for gcc-3.4, which won't be fixed
- From: Matthias Klose <doko@cs.tu-berlin.de>
- Date: Sat, 25 Oct 2008 02:48:47 +0200
- Message-id: <18690.27887.325179.388843@gargle.gargle.HOWL>
tag 471831 + wontfix tag 441104 + wontfix tag 452115 + wontfix tag 299188 + wontfix tag 420533 + wontfix tag 437537 + wontfix tag 378107 + wontfix tag 425053 + wontfix tag 323285 + wontfix tag 399100 + wontfix thanks closing bugs for gcc-3.4, which won't be fixed. either the binary package is not built anymore in unstable, or we will not fix this in 3.4.
--- End Message ---