Hello.
As we are looking on updating OpenInidiana Hipster compiler to GCC 4.8.3
I'd like to share some G++ test results and ask other people using GCC
4.8 to share their test results.
Tests were made as the following.
1) on installed compiler with removed fix-includes
cd $GCC_SRC_DIR/gcc/test; runtest --tool g++
2) in build environment -
cd $BUILD_DIR/gcc; gmake check-g++
To fix errors related to libiconv I've done
$ echo 'set libiconv ""' > ~/.dejagnurc
These are results for gcc compiled with gcc 4.7.4 with the following
patches (these patches and out gcc build receipt is mostly borrowed from
OmniOS):
1) patch setting gcc_cv_ld_eh_frame_hdr=yes in configure;
2) patch setting _FILE_OFFSET_BITS to 32 in libgo/runtime/proc.c;
3) patch fixing fixinc.in so that it doesn't error out (perhaps
unnecessary now?).
GCC 4.8.3 results.
Installed version (without fix-includes):
=== g++ Summary ===
# of expected passes 49135
# of expected failures 292
# of unsupported tests 726
/usr/bin/c++ version 4.8.3 (GCC)
Out-of-build dir test (with fix includes):
=== g++ Summary ===
# of expected passes 51227
# of expected failures 294
# of unsupported tests 688
/export/home/alp/srcs/oi-userland/components/gcc48/build/i86/gcc/testsuite/g++/../../xg++
version 4.8.3 (GCC)
After running testsuite I've found several core files.
Do other people see them?
Does someone have any ideas what causes these core dumps?
$ ls -1 /var/cores/
guality_check497.556865
init5.exe.676807
init5.exe.676816
nsdmi-eh1.exe.513828
raw-string-7.exe.554600
thread_local-ord.565914
$ echo '$C' | pfexec mdb /var/cores/guality_check497.556865
08046868 libc.so.1`_lwp_kill+0x15(1, 6, c, fed9a000, fed9a000, 151)
08046888 libc.so.1`raise+0x2b(6, 0, 80468a0, fed9a000, 0, 0)
080468d8 libc.so.1`abort+0x10e(8051a67, 1, 1d, 8061e60, 8051af9, 8051af9)
08046948 _ZL13guality_checkPKcxi+0x12a(8051af9, 6, 0, 0, 8051436, 43)
08046978 _Z12guality_mainiPPc+0x2e(1, 8046a44, 87f41, 151, 80469b0,
fefc2c80)
08046a08 main+0x257(80469fc, feda48a8, 8046a38, 8051063, 1, 8046a44)
08046a38 _start+0x83(1, 8046b84, 0, 8046b9e, 8046bb8, 8046bd4)
$ echo '$C' | pfexec mdb /var/cores/init5.exe.676807
08046920 libc.so.1`_lwp_kill+0x15(1, 6, f, fed9a000, fed9a000, fec40180)
08046940 libc.so.1`raise+0x2b(6, 0, 8046958, 0, 0, 0)
08046990 libc.so.1`abort+0x10e(fed9e1c0, 0, 80469c0, 80511a2, 806176c, 0)
080469a0 _ZN1AD1Ev+0x2c(806176c, 0, feda0ac0, fed9a000, fed9e1c0, fed9a000)
080469c0 __tcf_0+0x12(0, 80469f4, fefa0698, fefa0698, e, 6cf04)
08046a10 libc.so.1`__cxa_finalize+0x82(0, 10, 8050fbf, 8061768, fed9a000,
8046a1c)
08046a30 libc.so.1`_exithandle+0x37(feffb0a4, 8050fbf, 0, 0, 8046a68,
8050f52)
08046a54 libc.so.1`exit+0x12(1, 8046ba0, 0, 8046bac, 8046bc6, 8046be2)
$ echo '$C' | pfexec mdb /var/cores/init5.exe.676816
08046920 libc.so.1`_lwp_kill+0x15(1, 6, f, fed9a000, fed9a000, fec40180)
08046940 libc.so.1`raise+0x2b(6, 0, 8046958, 0, 0, 0)
08046990 libc.so.1`abort+0x10e(fed9e1c0, 0, 80469c0, 80511e2, 80617e4, 0)
080469a0 _ZN1AD1Ev+0x2c(80617e4, 0, feda0ac0, fed9a000, fed9e1c0, fed9a000)
080469c0 __tcf_0+0x12(0, 80469f4, fefa0698, fefa0698, e, 6cf04)
08046a10 libc.so.1`__cxa_finalize+0x82(0, 10, 8050fff, 80617e0, fed9a000,
8046a1c)
08046a30 libc.so.1`_exithandle+0x37(feffb0a4, 8050fff, 0, 0, 8046a68,
8050f92)
08046a54 libc.so.1`exit+0x12(1, 8046ba0, 0, 8046bac, 8046bc6, 8046be2)
$ echo '$C' | pfexec mdb /var/cores/nsdmi-eh1.exe.513828
080468c8 libc.so.1`_lwp_kill+0x15(1, 6, 45, fed9a000, fed9a000, fef41a20)
080468e8 libc.so.1`raise+0x2b(6, 0, 8046900, 80613f8, 0, 0)
08046938 libc.so.1`abort+0x10e(80613d8, 1, 2, fed9bc20, 0, 0)
08046988
libstdc++.so.6.0.19`_ZN9__gnu_cxx27__verbose_terminate_handlerEv+0x1b5(
0, 1, 0, 0, 0, fef5475c)
080469b8
libstdc++.so.6.0.19`_ZN10__cxxabiv111__terminateEPFvvE+0x17(fef26b50,
80613a8, 0, 0, fef23c79, fef5475c)
080469d8 0xfef23c92(80613d8, 0, 0, fef23eba, feffb0a4, 8046a30)
080469f8 0xfef23f26(80613f8, 8061380, 0, 100, 0, feffb0a4)
08046a18 _ZN1AC1Ev+0x3b(8046a38, 8046a30, 8046a48, 80510a0, feffb0a4,
feda4068)
08046a48 main+0x38(1, 8046a74, 8046a7c, 8046a68, 8050d72, 80510b0)
08046a68 _start+0x83(1, 8046bb0, 0, 8046bc0, 8046bda, 8046bf6)
$ echo '$C' | pfexec mdb /var/cores/raw-string-7.exe.554600
080469c8 libc.so.1`_lwp_kill+0x15(1, 6, 4, fed9a000, fed9a000, 8050fc6)
080469e8 libc.so.1`raise+0x2b(6, 0, 8046a00, 0, 0, 0)
08046a38 libc.so.1`abort+0x10e(8046a28, 8046b38, 8046a60, 8050ce3, 1,
8046a6c)
08046a48 main+0x5d(1, 8046a6c, 8046a74, 8050fa0, 0, 0)
08046a60 _start+0x83(1, 8046ba8, 0, 8046bbb, 8046bd5, 8046bf1)
$ echo '$C' | pfexec mdb /var/cores/thread_local-ord.565914
080468b8 libc.so.1`_lwp_kill+0x15(1, 6, 5, fed9a000, fed9a000, 1)
080468d8 libc.so.1`raise+0x2b(6, 0, 80468f0, feffb0a4, 0, 0)
08046928 libc.so.1`abort+0x10e(0, 0, 8046958, 80511da, 80616d4, fed1f118)
08046938 _ZN1AD1Ev+0x2b(80616d4, fed1f118, feda0ac0, 0, 0, fed9a000)
08046958 _Z41__static_initialization_and_destruction_0ii+0x4e(0, ffff,
fed9c700
, 0, fec91150, fed9a000)
08046978 _GLOBAL__sub_D_c+0x1a(8061354, fec40140, 80469a0, 805134b,
fed9a000,
fed9a000)
08046988 0x8051108(fed9a000, fed9a000, fed9e1c0, fed9a000, 80469f0,
fec9d381)
080469a0 _fini+0x1b(0, 80469d4, fefa06b0, fefa06b0, 4, 6cf04)
080469f0 libc.so.1`__cxa_finalize+0x82(0, 10, 8050f9f, 0, fed9a000, 8046a00)
08046a10 libc.so.1`_exithandle+0x37(feffb0a4, 8050f9f, 0, 0, 8046a4c,
8046a38)
08046a38 libc.so.1`exit+0x12(1, 8046b84, 0, 8046b9e, 8046bb8, 8046bd4)
GCC 4.7.4 results.
Installed version (without fix-includes):
FAIL: g++.dg/eh/gcsec1.C -std=gnu++98 (test for excess errors)
FAIL: g++.dg/eh/gcsec1.C -std=gnu++11 (test for excess errors)
(Fails are caused by attempts to pass '--gc-sections' to ld).
=== g++ Summary ===
# of expected passes 45596
# of unexpected failures 2
# of expected failures 286
# of unresolved testcases 2
# of unsupported tests 460
/usr/gcc/4.7/bin/c++ version 4.7.4 (GCC)
Out-of-build dir test (with fix includes):
FAIL: g++.dg/eh/gcsec1.C -std=gnu++98 (test for excess errors)
FAIL: g++.dg/eh/gcsec1.C -std=gnu++11 (test for excess errors)
(Fails are caused by attempts to pass '--gc-sections' to ld).
=== g++ Summary ===
# of expected passes 47474
# of unexpected failures 2
# of expected failures 288
# of unresolved testcases 2
# of unsupported tests 417
/export/home/alp/srcs/oi-userland/components/gcc47/build/i86/gcc/testsuite/g++/../../g++
version 4.7.4 (GCC)
core files (there is no thread_local* tests in 4.7.4):
$ ls -1 /var/cores/
guality_check558.615032
init5.exe.668274
init5.exe.668284
nsdmi-eh1.exe.573242
raw-string-7.exe.613028
--
Best regards,
Alexander Pyhalov,
system administrator of Computer Center of Southern Federal University
-------------------------------------------
illumos-discuss
Archives: https://www.listbox.com/member/archive/182180/=now
RSS Feed: https://www.listbox.com/member/archive/rss/182180/21175430-2e6923be
Modify Your Subscription:
https://www.listbox.com/member/?member_id=21175430&id_secret=21175430-6a77cda4
Powered by Listbox: http://www.listbox.com