g++-3.2 does not generate proper debugging information for sub-classes with virtual members
>Submitter-Id: net >Originator:Thomas Richter >Organization: TU-Berlin >Confidential: no >Synopsis: g++-3.2 does not generate proper debugging information for >sub-classes with virtual members >Severity: serious >Priority: medium >Category: c++ >Class: sw-bug >Release: 3.2.1 20020924 (Debian prerelease) (Debian testing/unstable) >Environment: System: Linux skywise 2.4.18 #25 Sam Dez 14 12:49:23 CET 2002 i686 unknown Architecture: i686 host: i386-pc-linux-gnu build: i386-pc-linux-gnu target: i386-pc-linux-gnu configured with: /mnt/data/gcc-3.1/gcc-3.2-3.2.1ds2/src/configure -v --enable-languages=c,c++,java,f77,proto,objc,ada --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-gxx-include-dir=/usr/include/c++/3.2 --enable-shared --with-system-zlib --enable-nls --without-included-gettext --enable-java-gc=boehm --enable-objc-gc i386-linux >Description: Save the following code as "foo.cpp": /* snip */ struct Menu { class ButtonGadget { public: virtual bool HitTest(void); }; }; bool Menu::ButtonGadget::HitTest(void) { return false; } int main(int argc,char **argv) { return 0; } /* snip */ With the instructions given below, gdb (GNU gdb 5.2.1) will not be able to find the method "Menu::ButtonGadget::HitTest". This might also be a gdb problem. >How-To-Repeat: Save the above code, then compile it with $ g++-3.2 -O0 -ggdb foo.cpp The result will be an "a.out" file. Run gdb as follows: $ gdb a.out Then try to set a breakpoint at "Menu::ButtonGadget::HitTest". This command will result in: GNU gdb 5.2.1 Copyright 2002 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i686-pc-linux-gnu"... (gdb) list 6 }; 7 8 bool Menu::ButtonGadget::HitTest(void) 9 { 10return false; 11 } 12 13 int main(int argc,char **argv) 14 { 15return 0; (gdb) break Menu::ButtonGadget::HitTest the class Menu does not have any method named ButtonGadget Hint: try 'Menu::ButtonGadget::HitTest or 'Menu::ButtonGadget::HitTest (Note leading single quote.) (gdb) >Fix: No known fix available.
Bug#177433: gcc-3.2 on m68k: internal compiler error while compiling texmacs
Package: gcc Version: 3.2.2 Gcc-3.2.2 produces an internal compiler error on compiling the texmacs package, version 1.0.1-2. Window/Widget/Scrollable/scrollbar_widget.cc: In member function `virtual void scrollbar_rep::handle_set_coord1(event_ptr)': Window/Widget/Scrollable/scrollbar_widget.cc:51: Internal compiler error in instantiate_virtual_regs_1, at function.c:3980 Please submit a full bug report, with preprocessed source if appropriate. This package builds on all other architectures supported by debian. Furthermore, texmacs 1.0.1-1 compiled fine on m68k using gcc-2.95-4. A complete build log can be found at http://buildd.debian.org/fetch.php?&pkg=texmacs&ver=1.0.1-2&arch=m68k&stamp=1042589760&file=log&as=raw -Ralf. --
Results for 3.3 20030110 (prerelease) testsuite on hppa-unknown-linux-gnu
LAST_UPDATED: Sat Jan 11 00:37:26 UTC 2003 Native configuration is hppa-unknown-linux-gnu === g++ tests === Running target unix FAIL: g++.dg/compat/break/bitfield7 y_tst.o compile UNRESOLVED: g++.dg/compat/break/bitfield7 x_tst.o-y_tst.o link UNRESOLVED: g++.dg/compat/break/bitfield7 x_tst.o-y_tst.o execute FAIL: g++.dg/warn/Wunused-2.C (test for warnings, line 5) FAIL: g++.eh/terminate2.C Execution test XPASS: g++.mike/eh33.C (test for excess errors) XPASS: g++.mike/eh33.C Execution test XPASS: g++.mike/eh50.C (test for excess errors) XPASS: g++.mike/eh50.C Execution test XPASS: g++.other/init5.C Execution test === g++ Summary === # of expected passes7839 # of unexpected failures3 # of unexpected successes 5 # of expected failures 91 # of unresolved testcases 2 # of untested testcases 23 # of unsupported tests 17 /build/buildd/gcc-snapshot-20030110/build/gcc/testsuite/../g++ version 3.3 20030110 (prerelease) === g77 tests === Running target unix FAIL: g77.f-torture/execute/970625-2.f compilation, -O1 === g77 Summary === # of expected passes1636 # of unexpected failures1 # of untested testcases 1 # of unsupported tests 8 /build/buildd/gcc-snapshot-20030110/build/gcc/testsuite/../g77 version 3.3 20030110 (prerelease) === gcc tests === Running target unix FAIL: gcc.c-torture/execute/builtin-constant.c execution, -O1 FAIL: gcc.c-torture/execute/builtin-constant.c execution, -O2 FAIL: gcc.c-torture/execute/builtin-constant.c execution, -O3 -fomit-frame-pointer FAIL: gcc.c-torture/execute/builtin-constant.c execution, -O3 -g FAIL: gcc.c-torture/execute/builtin-constant.c execution, -Os FAIL: gcc.dg/duff-2.c (test for excess errors) === gcc Summary === # of expected passes20579 # of unexpected failures6 # of expected failures 62 # of unsupported tests 155 /build/buildd/gcc-snapshot-20030110/build/gcc/xgcc version 3.3 20030110 (prerelease) === objc tests === Running target unix === objc Summary === # of expected passes1153 /build/buildd/gcc-snapshot-20030110/build/gcc/xgcc version 3.3 20030110 (prerelease) === libstdc++-v3 tests === Running target unix FAIL: 22_locale/codecvt_members_char_char.cc execution test FAIL: 22_locale/codecvt_members_wchar_t_char.cc execution test FAIL: 22_locale/ctor_copy_dtor.cc execution test FAIL: 22_locale/ctype_to_char.cc execution test FAIL: 22_locale/ctype_to_wchar_t.cc execution test FAIL: 22_locale/facet.cc execution test FAIL: 26_numerics/c99_classification_macros_c.cc (test for excess errors) FAIL: 27_io/ostream_inserter_arith.cc execution test === libstdc++-v3 Summary === # of expected passes432 # of unexpected failures8 # of expected failures 27 Compiler version: 3.3 20030110 (prerelease) Platform: hppa-unknown-linux-gnu configure flags: --host=hppa-linux -v --enable-languages=c,c++,f77,objc,ada --prefix=/usr/lib/gcc-snapshot --infodir=/share/info --mandir=/share/man --enable-shared --with-system-zlib --enable-nls --enable-__cxa_atexit --without-included-gettext --enable-clocale=gnu --with-cpp-install-dir=bin BOOT_CFLAGS=-O2 Patches that Debian applied in this version: gcc-m68k-config: 2002-11-25 Andreas Schwab <[EMAIL PROTECTED]> * config.gcc (m68k-*-linux*): Don't set extra_parts and gnu_ld, should come from the generic *-*-linux* entry. gcc-m68k-update: Tue Jan 7 18:30:35 CET 2003 Jan Hubicka <[EMAIL PROTECTED]> PR target/8343 * m68k.md (umulsidi, mulsidi expanders): Use register operand. deb-protoize: build protoize/unprotoize by default objc-testsuite: Run objc tests with -lpthread. libobjc: Find header file for Boehm garbage collector.
Results for 3.3 20030110 (prerelease) testsuite on ia64-unknown-linux-gnu
LAST_UPDATED: Sat Jan 11 00:37:26 UTC 2003 Native configuration is ia64-unknown-linux-gnu === g++ tests === Running target unix FAIL: g++.dg/warn/Wunused-2.C (test for warnings, line 5) FAIL: g++.dg/tls/init-2.C (test for excess errors) XPASS: g++.other/init5.C Execution test FAIL: g++.pt/repo3.C (test for excess errors) === g++ Summary === # of expected passes7653 # of unexpected failures3 # of unexpected successes 1 # of expected failures 91 # of untested testcases 23 # of unsupported tests 16 /build/buildd/gcc-snapshot-20030110/build/gcc/testsuite/../g++ version 3.3 20030110 (prerelease) === g77 tests === Running target unix === g77 Summary === # of expected passes1638 # of unsupported tests 8 /build/buildd/gcc-snapshot-20030110/build/gcc/testsuite/../g77 version 3.3 20030110 (prerelease) === gcc tests === Running target unix XPASS: gcc.c-torture/compile/981223-1.c, -O2 XPASS: gcc.c-torture/compile/981223-1.c, -O3 -fomit-frame-pointer XPASS: gcc.c-torture/compile/981223-1.c, -O3 -g XPASS: gcc.c-torture/compile/981223-1.c, -Os FAIL: gcc.c-torture/execute/builtin-constant.c execution, -O1 FAIL: gcc.c-torture/execute/builtin-constant.c execution, -O2 FAIL: gcc.c-torture/execute/builtin-constant.c execution, -O3 -fomit-frame-pointer FAIL: gcc.c-torture/execute/builtin-constant.c execution, -O3 -g FAIL: gcc.c-torture/execute/builtin-constant.c execution, -Os FAIL: gcc.dg/duff-2.c (test for excess errors) === gcc Summary === # of expected passes20273 # of unexpected failures6 # of unexpected successes 4 # of expected failures 78 # of unsupported tests 146 /build/buildd/gcc-snapshot-20030110/build/gcc/xgcc version 3.3 20030110 (prerelease) === objc tests === Running target unix === objc Summary === # of expected passes1153 /build/buildd/gcc-snapshot-20030110/build/gcc/xgcc version 3.3 20030110 (prerelease) === libjava tests === Running target unix FAIL: PR1343 compilation from bytecode FAIL: PR1343 -O compilation from bytecode FAIL: calls run WARNING: program timed out. FAIL: cxxtest run FAIL: field run FAIL: final_method run FAIL: findclass run FAIL: invoke run FAIL: martin run FAIL: noclass run FAIL: overload run FAIL: register run FAIL: simple_int run FAIL: throwit run FAIL: virtual run WARNING: program timed out. FAIL: SyncTest execution - gij test WARNING: program timed out. FAIL: SyncTest execution - bytecode->native test WARNING: program timed out. FAIL: SyncTest execution - gij test WARNING: program timed out. FAIL: SyncTest -O execution - bytecode->native test FAIL: pr8823 compilation from bytecode FAIL: pr8823 -O compilation from bytecode === libjava Summary === # of expected passes2898 # of unexpected failures21 # of expected failures 14 # of untested testcases 29 === libstdc++-v3 tests === Running target unix FAIL: 22_locale/codecvt_members_char_char.cc execution test FAIL: 22_locale/codecvt_members_wchar_t_char.cc execution test FAIL: 22_locale/ctor_copy_dtor.cc execution test FAIL: 22_locale/ctype_to_char.cc execution test FAIL: 22_locale/ctype_to_wchar_t.cc execution test FAIL: 22_locale/facet.cc execution test FAIL: 26_numerics/c99_classification_macros_c.cc (test for excess errors) FAIL: 27_io/ostream_inserter_arith.cc execution test === libstdc++-v3 Summary === # of expected passes432 # of unexpected failures8 # of expected failures 27 Compiler version: 3.3 20030110 (prerelease) Platform: ia64-unknown-linux-gnu configure flags: --host=ia64-linux -v --enable-languages=c,c++,java,f77,objc,ada --prefix=/usr/lib/gcc-snapshot --infodir=/share/info --mandir=/share/man --enable-shared --with-system-zlib --enable-nls --enable-__cxa_atexit --without-included-gettext --enable-clocale=gnu --enable-java-gc=boehm --with-cpp-install-dir=bin --enable-objc-gc BOOT_CFLAGS=-O2 Patches that Debian applied in this version: gcc-m68k-config: 2002-11-25 Andreas Schwab <[EMAIL PROTECTED]> * config.gcc (m68k-*-linux*): Don't set extra_parts and gnu_ld, should come from the generic *-*-linux* entry. gcc-m68k-update: Tue Jan 7 18:30:35 CET 2003 Jan Hubicka <[EMAIL PROTECTED]> PR target/8343 * m68k.md (umulsidi, mulsidi expanders): Use register operand. deb-protoize: build protoize/unprotoize by default objc-testsuite: Run objc tests with -lpthread. libobjc: Find header file for Boehm garbage collector.
gcc-snapshot_20030118-1_hppa.changes REJECTED
Rejected: no source found for gcc-snapshot 20030118-1 (gcc-snapshot_20030118-1_hppa.deb). === If you don't understand why your files were rejected, or if the override file requires editing, reply to this email. Your rejected files are in incoming/REJECT/. (Some may also be in incoming/ if your .changes file was unparsable.) If only some of the files need to repaired, you may move any good files back to incoming/. Please remove any bad files from incoming/REJECT/.
gcc-snapshot_20030118-1_i386.changes ACCEPTED
Accepted: gcc-snapshot_20030118-1.diff.gz to pool/main/g/gcc-snapshot/gcc-snapshot_20030118-1.diff.gz gcc-snapshot_20030118-1.dsc to pool/main/g/gcc-snapshot/gcc-snapshot_20030118-1.dsc gcc-snapshot_20030118-1_i386.deb to pool/main/g/gcc-snapshot/gcc-snapshot_20030118-1_i386.deb gcc-snapshot_20030118.orig.tar.gz to pool/main/g/gcc-snapshot/gcc-snapshot_20030118.orig.tar.gz Announcing to debian-devel-changes@lists.debian.org Thank you for your contribution to Debian.
gcc-snapshot_20030118-1_hppa.changes ACCEPTED
Accepted: gcc-snapshot_20030118-1_hppa.deb to pool/main/g/gcc-snapshot/gcc-snapshot_20030118-1_hppa.deb Thank you for your contribution to Debian.