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

gcc-3.? compiler for hppa (3.1, 3.1+dwarf2, 3.2cvs20020429?)



While preparing gcc-3.1 packages I noticed many eh-related regressions
fixed in the trunk, when dwarf2 support was added. With Dave's
guidance I made a diff of the pa subdirectory from the trunk and
applied it to the branch. Although many FAILS are gone, there are some
new (diff below).

I would like to get feedback, on which alternative to base the gcc-3.1
packages:

a) 3.1 as to be released (without dwarf2 support)
b) 3.1 + dwarf2 support
c) 3.2 CVS 20020429 plus/minus patches

Constraints: Make gcc-3.1 the default compiler for all Debian
architectures in the near future, provided it builds on all of them.

a) is the default option to go with.

b) shows some regressions. packages can be found at
       http://ftp-master.debian.org/~doko/gcc-hppa/
   as long as you don't install libobjc1 and gobjc-3.1, the packages
   can be installed parallel to the current packages.
   could be an option without the regressions?

c) is Dave Anglin's preference. I didn't build packages for this
   scenario yet.

[attached comments on the regressions]
John David Anglin writes:
> FAIL: g++.brendan/new3.C: current cvs binutils has a fix for this.
> The binutils fix corrects a function overloading problem whereby
> calls in a shared library called the wrong function.
unrelated, forwarded to Chris Chimelis

> g77 fails: Haven't seen these before.  Maybe this is a glibc issue.  You
> configured with --enable-long-long.  I haven't been using this although
> I think you get long long support by default.  Suggest looking at 
> testsuite/g77.log.  This may provide more info.  You may have to build
> the failing code with "-g -O0 -static" and look at what is happening
> with gdb.

not yet done. the executable calls abort.

> FAIL: gcc.c-torture/execute/ieee/rbug.c execution,  -O3 -g:  There may
> have been some changes to real.[ch] causing this.  I see rbug fails
> under hppa64-hpux at -O3.  I haven't tried to investigate the cause
> yet.

John David Anglin writes:
> > yes, I am currently just thinking ... We'll release Debian 3.0 without
> > 3.1, and then will make 3.1 the default compiler at some point for all
> > architectures. so there is time to find broken code. OTOH, we would
> > be incompatible to the released 3.1 (but compatible to 3.2?). Probably
> > I should move the discussion to parisc-linux, but I want to know if
> > it's worth following the idea ...
> 
> 3.2 is definitely going to be better than 3.1 on parisc-linux.  It
> also has some long branch fixes that 3.1 doesn't have and I intend
> to work further on this issue because there are still some problems
> with large applications.
> 
> You could consider using the pa subdirectory from gcc 3.2 with 3.1.
> If I was to choose, I would grab a snapshot just before the DFA patch


test-summary diff between gcc-3_1-branch and gcc-3_1-branch+patch

--- test-summary-3.1.020501	Thu May  2 00:03:31 2002
+++ test-summary-3.1.020502	Sat May  4 02:15:48 2002
@@ -1,4 +1,4 @@
-LAST_UPDATED: Wed May  1 18:59:19 UTC 2002
+LAST_UPDATED: Fri May  3 19:34:07 UTC 2002
 
 Native configuration is hppa-unknown-linux-gnu
 
@@ -6,147 +6,59 @@
 
 
 Running target unix
-FAIL: g++.dg/eh/filter1.C execution test
-FAIL: g++.dg/eh/filter2.C execution test
-FAIL: g++.dg/eh/loop1.C execution test
-FAIL: g++.dg/eh/omit-frame-pointer.C execution test
-FAIL: g++.dg/eh/registers1.C execution test
-FAIL: g++.dg/eh/template1.C execution test
-FAIL: g++.dg/eh/unexpected1.C execution test
-FAIL: g++.abi/cxa_vec.C  Execution test
-FAIL: g++.brendan/eh1.C  Execution test
 FAIL: g++.brendan/new3.C  Execution test
-FAIL: g++.eh/badalloc1.C  Execution test
-FAIL: g++.eh/catch11.C  Execution test
-FAIL: g++.eh/catch12.C  Execution test
-FAIL: g++.eh/catch3.C  Execution test
-FAIL: g++.eh/catch3p.C  Execution test
-FAIL: g++.eh/catch4.C  Execution test
-FAIL: g++.eh/catch4p.C  Execution test
-FAIL: g++.eh/catch5.C  Execution test
-FAIL: g++.eh/catch5p.C  Execution test
-FAIL: g++.eh/catch6.C  Execution test
-FAIL: g++.eh/catch6p.C  Execution test
-FAIL: g++.eh/catch7.C  Execution test
-FAIL: g++.eh/catch7p.C  Execution test
-FAIL: g++.eh/catch8.C  Execution test
-FAIL: g++.eh/catch8p.C  Execution test
-FAIL: g++.eh/catch9.C  Execution test
-FAIL: g++.eh/catch9p.C  Execution test
-FAIL: g++.eh/catchptr1.C  Execution test
-FAIL: g++.eh/cleanup1.C  Execution test
-FAIL: g++.eh/cleanup2.C  Execution test
-FAIL: g++.eh/flow1.C  Execution test
-FAIL: g++.eh/fntry1.C  Execution test
-FAIL: g++.eh/ia64-1.C  Execution test
-FAIL: g++.eh/inline2.C  Execution test
-FAIL: g++.eh/new1.C  Execution test
-FAIL: g++.eh/new2.C  Execution test
-FAIL: g++.eh/pdel1.C  Execution test
-FAIL: g++.eh/pdel2.C  Execution test
-FAIL: g++.eh/ptr1.C  Execution test
-FAIL: g++.eh/ptrmem1.C  Execution test
-FAIL: g++.eh/rethrow1.C  Execution test
-FAIL: g++.eh/rethrow2.C  Execution test
-FAIL: g++.eh/rethrow3.C  Execution test
-FAIL: g++.eh/rethrow4.C  Execution test
-FAIL: g++.eh/rethrow5.C  Execution test
-FAIL: g++.eh/rethrow6.C  Execution test
-FAIL: g++.eh/spec1.C  Execution test
-FAIL: g++.eh/spec2.C  Execution test
-FAIL: g++.eh/spec3.C  Execution test
-FAIL: g++.eh/spec4.C  Execution test
-FAIL: g++.eh/terminate1.C  Execution test
-FAIL: g++.eh/terminate2.C  Execution test
-FAIL: g++.eh/tmpl1.C  Execution test
-FAIL: g++.eh/unwind1.C  Execution test
-FAIL: g++.eh/vbase1.C  Execution test
-FAIL: g++.eh/vbase2.C  Execution test
-FAIL: g++.eh/vbase4.C  Execution test
 FAIL: g++.law/profile1.C (test for excess errors)
-FAIL: g++.martin/new1.C  Execution test
-FAIL: g++.mike/dyncast1.C  Execution test
-FAIL: g++.mike/dyncast2.C  Execution test
-FAIL: g++.mike/eh10.C  Execution test
-FAIL: g++.mike/eh12.C  Execution test
-FAIL: g++.mike/eh14.C  Execution test
-FAIL: g++.mike/eh16.C  Execution test
-FAIL: g++.mike/eh17.C  Execution test
-FAIL: g++.mike/eh18.C  Execution test
-FAIL: g++.mike/eh2.C  Execution test
-FAIL: g++.mike/eh21.C  Execution test
-FAIL: g++.mike/eh23.C  Execution test
-FAIL: g++.mike/eh24.C  Execution test
-FAIL: g++.mike/eh25.C  Execution test
-FAIL: g++.mike/eh26.C  Execution test
-FAIL: g++.mike/eh27.C  Execution test
-FAIL: g++.mike/eh28.C  Execution test
-FAIL: g++.mike/eh29.C  Execution test
-FAIL: g++.mike/eh3.C  Execution test
-FAIL: g++.mike/eh31.C  Execution test
 XPASS: g++.mike/eh33.C (test for excess errors)
-FAIL: g++.mike/eh34.C  Execution test
-FAIL: g++.mike/eh35.C  Execution test
-FAIL: g++.mike/eh36.C  Execution test
-FAIL: g++.mike/eh37.C  Execution test
-FAIL: g++.mike/eh38.C  Execution test
-FAIL: g++.mike/eh39.C  Execution test
-FAIL: g++.mike/eh40.C  Execution test
-FAIL: g++.mike/eh41.C  Execution test
-FAIL: g++.mike/eh42.C  Execution test
-FAIL: g++.mike/eh44.C  Execution test
-FAIL: g++.mike/eh47.C  Execution test
-FAIL: g++.mike/eh48.C  Execution test
-FAIL: g++.mike/eh49.C  Execution test
-FAIL: g++.mike/eh5.C  Execution test
+XPASS: g++.mike/eh33.C  Execution test
 XPASS: g++.mike/eh50.C (test for excess errors)
-FAIL: g++.mike/eh51.C  Execution test
-FAIL: g++.mike/eh55.C  Execution test
-FAIL: g++.mike/eh6.C  Execution test
-FAIL: g++.mike/eh8.C  Execution test
-FAIL: g++.mike/p7912.C  Execution test
-FAIL: g++.mike/p9706.C  Execution test
-FAIL: g++.oliva/delete3.C  Execution test
-FAIL: g++.oliva/new1.C  Execution test
-FAIL: g++.other/array1.C  Execution test
-FAIL: g++.other/eh3.C  Execution test
+XPASS: g++.mike/eh50.C  Execution test
 XPASS: g++.other/init5.C  Execution test
-FAIL: g++.other/init7.C  Execution test
-FAIL: g++.other/new7.C  Execution test
-FAIL: g++.other/singleton.C  Execution test
-FAIL: g++.other/vbase2.C  Execution test
-FAIL: g++.pt/fntry1.C  Execution test
-FAIL: g++.robertl/eb31.C  Execution test
-FAIL: g++.robertl/eb50.C  Execution test
-FAIL: g++.robertl/eb66.C  Execution test
-FAIL: g++.robertl/eb88.C  Execution test
-FAIL: g++.robertl/eh990323-1.C  Execution test
-FAIL: g++.robertl/eh990323-2.C  Execution test
-FAIL: g++.robertl/eh990323-3.C  Execution test
-FAIL: g++.robertl/eh990323-4.C  Execution test
-FAIL: g++.robertl/eh990323-5.C  Execution test
-FAIL: g++.robertl/ice990323-2.C  Execution test
 
 		=== g++ Summary ===
 
-# of expected passes		7038
-# of unexpected failures	117
-# of unexpected successes	3
-# of expected failures		89
+# of expected passes		7155
+# of unexpected failures	2
+# of unexpected successes	5
+# of expected failures		87
 # of untested testcases		23
 # of unsupported tests		4
-/home/packages/gcc/3.1/gcc-3.1-3.1ds0/build/gcc/testsuite/../g++ version 3.1 20020501 (Debian prerelease)

+/home/packages/gcc/3.1/gcc-3.1-3.1ds0/build/gcc/testsuite/../g++ version 3.1 20020503 (Debian prerelease)

 
 		=== g77 tests ===
 
 
 Running target unix
+FAIL: g77.f-torture/execute/19990313-0.f execution,  -O0 
+FAIL: g77.f-torture/execute/19990313-0.f execution,  -O1 
+FAIL: g77.f-torture/execute/19990313-0.f execution,  -O2 
+FAIL: g77.f-torture/execute/19990313-0.f execution,  -O3 -fomit-frame-pointer 
+FAIL: g77.f-torture/execute/19990313-0.f execution,  -O3 -g 
+FAIL: g77.f-torture/execute/19990313-0.f execution,  -Os 
+FAIL: g77.f-torture/execute/19990313-1.f execution,  -O0 
+FAIL: g77.f-torture/execute/19990313-1.f execution,  -O1 
+FAIL: g77.f-torture/execute/19990313-1.f execution,  -O2 
+FAIL: g77.f-torture/execute/19990313-1.f execution,  -O3 -fomit-frame-pointer 
+FAIL: g77.f-torture/execute/19990313-1.f execution,  -O3 -g 
+FAIL: g77.f-torture/execute/19990313-1.f execution,  -Os 
+FAIL: g77.f-torture/execute/19990313-2.f execution,  -O0 
+FAIL: g77.f-torture/execute/19990313-2.f execution,  -O1 
+FAIL: g77.f-torture/execute/19990313-2.f execution,  -O2 
+FAIL: g77.f-torture/execute/19990313-2.f execution,  -O3 -fomit-frame-pointer 
+FAIL: g77.f-torture/execute/19990313-2.f execution,  -O3 -g 
+FAIL: g77.f-torture/execute/19990313-2.f execution,  -Os 
+FAIL: g77.f-torture/execute/19990313-3.f execution,  -O0 
+FAIL: g77.f-torture/execute/19990313-3.f execution,  -O1 
+FAIL: g77.f-torture/execute/19990313-3.f execution,  -O2 
+FAIL: g77.f-torture/execute/19990313-3.f execution,  -O3 -fomit-frame-pointer 
+FAIL: g77.f-torture/execute/19990313-3.f execution,  -O3 -g 
+FAIL: g77.f-torture/execute/19990313-3.f execution,  -Os 
 
 		=== g77 Summary ===
 
-# of expected passes		1452
+# of expected passes		1428
+# of unexpected failures	24
 # of unsupported tests		8
-/home/packages/gcc/3.1/gcc-3.1-3.1ds0/build/gcc/testsuite/../g77 version 3.1 20020501 (Debian prerelease)

+/home/packages/gcc/3.1/gcc-3.1-3.1ds0/build/gcc/testsuite/../g77 version 3.1 20020503 (Debian prerelease)

 
 		=== gcc tests ===
 
@@ -168,14 +80,6 @@
 UNRESOLVED: gcc.c-torture/execute/20020307-2.c execution,  -O3 -g 
 FAIL: gcc.c-torture/execute/20020307-2.c compilation,  -Os 
 UNRESOLVED: gcc.c-torture/execute/20020307-2.c execution,  -Os 
-FAIL: gcc.c-torture/execute/arith-rand.c execution,  -O0 
-FAIL: gcc.c-torture/execute/arith-rand.c execution,  -O1 
-FAIL: gcc.c-torture/execute/arith-rand.c execution,  -O2 
-FAIL: gcc.c-torture/execute/arith-rand.c execution,  -O3 -fomit-frame-pointer 
-FAIL: gcc.c-torture/execute/arith-rand.c execution,  -O3 -fomit-frame-pointer -funroll-loops 
-FAIL: gcc.c-torture/execute/arith-rand.c execution,  -O3 -fomit-frame-pointer -funroll-all-loops -finline-functions 
-FAIL: gcc.c-torture/execute/arith-rand.c execution,  -O3 -g 
-FAIL: gcc.c-torture/execute/arith-rand.c execution,  -Os 
 FAIL: gcc.c-torture/execute/va-arg-22.c execution,  -O0 
 FAIL: gcc.c-torture/execute/va-arg-22.c execution,  -O1 
 FAIL: gcc.c-torture/execute/va-arg-22.c execution,  -O2 
@@ -184,18 +88,20 @@
 FAIL: gcc.c-torture/execute/va-arg-22.c execution,  -O3 -fomit-frame-pointer -funroll-all-loops -finline-functions 
 FAIL: gcc.c-torture/execute/va-arg-22.c execution,  -O3 -g 
 FAIL: gcc.c-torture/execute/va-arg-22.c execution,  -Os 
+FAIL: gcc.c-torture/execute/ieee/rbug.c execution,  -O3 -fomit-frame-pointer 
+FAIL: gcc.c-torture/execute/ieee/rbug.c execution,  -O3 -g 
 FAIL: gcc.dg/20020312-2.c (test for excess errors)
 WARNING: gcc.dg/20020312-2.c compilation failed to produce executable
 FAIL: gcc.dg/asm-names.c (test for excess errors)
 
 		=== gcc Summary ===
 
-# of expected passes		18187
-# of unexpected failures	26
+# of expected passes		18193
+# of unexpected failures	20
 # of expected failures		70
 # of unresolved testcases	8
 # of unsupported tests		113
-/home/packages/gcc/3.1/gcc-3.1-3.1ds0/build/gcc/xgcc version 3.1 20020501 (Debian prerelease)

+/home/packages/gcc/3.1/gcc-3.1-3.1ds0/build/gcc/xgcc version 3.1 20020503 (Debian prerelease)

 
 		=== objc tests ===
 
@@ -206,41 +112,27 @@
 
 # of expected passes		1036
 # of expected failures		6
-/home/packages/gcc/3.1/gcc-3.1-3.1ds0/build/gcc/xgcc version 3.1 20020501 (Debian prerelease)

+/home/packages/gcc/3.1/gcc-3.1-3.1ds0/build/gcc/xgcc version 3.1 20020503 (Debian prerelease)

 
 		=== libstdc++-v3 tests ===
 
 
 Running target unix
-FAIL: 18_support/numeric_limits.cc execution test
-FAIL: 19_diagnostics/stdexceptions.cc execution test
 FAIL: 20_util/allocator_members.cc execution test
-FAIL: 21_strings/append.cc execution test
-FAIL: 21_strings/ctor_copy_dtor.cc execution test
-FAIL: 21_strings/element_access.cc execution test
-FAIL: 21_strings/insert.cc execution test
-FAIL: 21_strings/substr.cc execution test
 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_members_wchar_t.cc execution test
-FAIL: 23_containers/bitset_ctor.cc execution test
-FAIL: 23_containers/bitset_members.cc execution test
-FAIL: 23_containers/list_modifiers.cc execution test
-FAIL: 23_containers/vector_element_access.cc execution test
 FAIL: 26_numerics/c99_classification_macros_c.cc (test for excess errors)
-FAIL: 27_io/ios_base_storage.cc execution test
-FAIL: 27_io/ios_init.cc execution test
-FAIL: 27_io/ios_members.cc execution test
 FAIL: 27_io/ostream_inserter_arith.cc execution test
 
 		=== libstdc++-v3 Summary ===
 
-# of expected passes		354
-# of unexpected failures	21
+# of expected passes		368
+# of unexpected failures	7
 # of expected failures		25
 
-Compiler version: 3.1 20020501 (Debian prerelease) 
+Compiler version: 3.1 20020503 (Debian prerelease) 
 Platform: hppa-unknown-linux-gnu
 configure flags: --host=hppa-linux -v --enable-languages=c,c++,f77,proto,objc,ada --prefix=/usr --infodir='\${prefix}/share/info' --mandir=\${prefix}/share/man --with-gxx-include-dir=/usr/include/g++-v3-3.1 --enable-shared --with-gnu-as --with-gnu-ld --with-system-zlib --enable-long-long --enable-nls --without-included-gettext --enable-clocale=gnu --enable-threads=posix --with-cpp-install-dir=bin
 BOOT_CFLAGS=-O2 N?
I@R	é??[huæâjxr·ª¹ë-?+-±×??©è®"¶¬¹¸ÞrÚº{.nÇ+?·?®???à¨?Ö?¶X¬¶f¬µêå?Ëluæâjz+

Reply to: