This is the mail archive of the libc-hacker@sourceware.cygnus.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

New g++ failures with current egcs CVS version and glibc 2.1 snapshot



On Linux (2.1.111 kernel headers) ix86 with glibc 2.0.95 I get some
new failures in the g++ testsuite.  The problem seems to be the
introduction of __PMT:
/usr/include/string.h:38: declaration of `memcpy(void *, const void *, unsigned int)' throws different exceptions
<internal>:38: previous declaration here

I do think that the problem was introduced by recent changes in the
glibc 2.1 sources but the question is whether egcs or glibc needs to
be fixed (that's why I'm mailing to glibc and egcs lists).

Andreas

FAIL: g++.brendan/crash30.C (test for excess errors)
FAIL: g++.brendan/new3.C (test for excess errors)
FAIL: g++.eh/new1.C (test for excess errors)
FAIL: g++.eh/new2.C (test for excess errors)
FAIL: g++.eh/spec1.C (test for excess errors)
FAIL: g++.eh/spec2.C (test for excess errors)
FAIL: g++.eh/spec3.C (test for excess errors)
FAIL: g++.eh/spec4.C (test for excess errors)
FAIL: g++.jason/rfg7.C (test for excess errors)
FAIL: g++.jason/template26.C (test for excess errors)
FAIL: g++.jason/template31.C (test for excess errors)
FAIL: g++.jason/template44.C (test for excess errors)
FAIL: g++.law/arg9.C (test for excess errors)
FAIL: g++.law/arm13.C (test for excess errors)
FAIL: g++.law/code-gen5.C (test for excess errors)
FAIL: g++.law/ctors12.C (test for excess errors)
FAIL: g++.law/ctors15.C (test for excess errors)
FAIL: g++.law/ctors16.C (test for excess errors)
FAIL: g++.law/ctors2.C (test for excess errors)
FAIL: g++.law/cvt2.C (test for excess errors)
FAIL: g++.law/dtors3.C (test for excess errors)
FAIL: g++.law/operators23.C (test for excess errors)
FAIL: g++.law/scope2.C (test for excess errors)
FAIL: g++.law/virtual4.C (test for excess errors)
FAIL: g++.mike/ns15.C (test for excess errors)
FAIL: g++.mike/p710.C (test for excess errors)
FAIL: g++.ns/using4.C (test for excess errors)
FAIL: g++.ns/using6.C (test for excess errors)
FAIL: g++.pt/ttp19.C (test for excess errors)
FAIL: g++.pt/ttp40.C (test for excess errors)
FAIL: g++.robertl/eb102.C (test for excess errors)
FAIL: g++.robertl/eb104.C (test for excess errors)
FAIL: g++.robertl/eb109.C (test for excess errors)
FAIL: g++.robertl/eb114.C (test for excess errors)
FAIL: g++.robertl/eb124.C (test for excess errors)
FAIL: g++.robertl/eb126.C (test for excess errors)
FAIL: g++.robertl/eb127.C (test for excess errors)
FAIL: g++.robertl/eb129.C (test for excess errors)
FAIL: g++.robertl/eb21.C (test for excess errors)
FAIL: g++.robertl/eb28.C (test for excess errors)
FAIL: g++.robertl/eb29.C (test for excess errors)
FAIL: g++.robertl/eb36.C (test for excess errors)
FAIL: g++.robertl/eb41.C (test for excess errors)
FAIL: g++.robertl/eb59.C (test for excess errors)
FAIL: g++.robertl/eb60.C (test for excess errors)
FAIL: g++.robertl/eb62.C (test for excess errors)
FAIL: g++.robertl/eb7.C (test for excess errors)
FAIL: g++.robertl/eb91.C (test for excess errors)

		=== g++ Summary ===

# of expected passes		4141
# of unexpected failures	48
# of expected failures		118
# of untested testcases		7
/mnt/cc/egcs/build/gcc/testsuite/../xgcc version egcs-2.91.52 19980731 (gcc2 ss-980609 experimental)


One example failure:

FAIL: g++.brendan/crash30.C (test for excess errors)
In file included from /mnt/cc/egcs/egcs_1_1_branch/libstdc++/cstring:7,
                 from /mnt/cc/egcs/egcs_1_1_branch/libstdc++/std/straits.h:106,
                 from /mnt/cc/egcs/egcs_1_1_branch/libstdc++/std/bastring.h:36,
                 from /mnt/cc/egcs/egcs_1_1_branch/libstdc++/string:6,
                 from /mnt/cc/egcs/egcs_1_1_branch/gcc/testsuite/g++.old-deja/g++.brendan/crash30.C:3:
/usr/include/string.h:38: declaration of `memcpy(void *, const void *, unsigned int)' throws different exceptions
<internal>:38: previous declaration here
/usr/include/string.h:60: declaration of `memcmp(const void *, const void *, unsigned int)' throws different exceptions
<internal>:60: previous declaration here
/usr/include/string.h:68: declaration of `strcpy(char *, const char *)' throws different exceptions
<internal>:68: previous declaration here
/usr/include/string.h:81: declaration of `strcmp(const char *, const char *)' throws different exceptions
<internal>:81: previous declaration here
/usr/include/string.h:196: declaration of `strlen(const char *)' throws different exceptions
<internal>:196: previous declaration here
In file included from /mnt/cc/egcs/egcs_1_1_branch/libstdc++/stl/stl_alloc.h:57,
                 from /mnt/cc/egcs/egcs_1_1_branch/libstdc++/stl/alloc.h:21,
                 from /mnt/cc/egcs/egcs_1_1_branch/libstdc++/std/bastring.h:39,
                 from /mnt/cc/egcs/egcs_1_1_branch/libstdc++/string:6,
                 from /mnt/cc/egcs/egcs_1_1_branch/gcc/testsuite/g++.old-deja/g++.brendan/crash30.C:3:
/usr/include/stdlib.h:498: declaration of `abort()' throws different exceptions
<internal>:498: previous declaration here
/usr/include/stdlib.h:516: declaration of `exit(int)' throws different exceptions
<internal>:516: previous declaration here
/usr/include/stdlib.h:618: declaration of `abs(int)' throws different exceptions
<internal>:618: previous declaration here
/usr/include/stdlib.h:619: declaration of `labs(long int)' throws different exceptions
<internal>:619: previous declaration here


-- 
 Andreas Jaeger   aj@arthur.rhein-neckar.de    jaeger@informatik.uni-kl.de
  for pgp-key finger ajaeger@alma.student.uni-kl.de


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]