This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


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

971031 and Solaris: update


These tests are for sparc-sun-solaris2.5.1, 971031 plus the dwarf2out
patch.

I now know the reason for the large number of failures I was getting:
with --enable-shared, runtest doesn't do anything about setting
LD_LIBRARY_PATH correctly.  At one point, I still had LD_LIBRARY_PATH
pointing to a previously installed libstdc++.so with the null-termination
bug; then I had no library at all and every test that used the library
failed.  Since the standard error for execute tests is suppressed, I
didn't see the message that would tell me that this is the problem.

I suggest modifying the tests to support shared libraries better (putting
the directories with newly made libraries first on LD_LIBRARY_PATH or
equivalent); I also suggest sending the output and stderr of execute
tests to the log.  Not being a dejagnu expert I'm not sure how much of
this goes in dejagnu and how much in the tests themselves.

When I correct that issue, I get the same results with or without
--enable-shared : 

For gcc:

FAIL: gcc.c-torture/execute/loop-2f.c execution,  -O2 
FAIL: gcc.c-torture/execute/loop-2f.c execution,  -O2 -fomit-frame-pointer -finline-functions 
FAIL: gcc.c-torture/execute/loop-2f.c execution,  -O2 -fomit-frame-pointer -finline-functions -funroll-loops 
FAIL: gcc.c-torture/execute/loop-2f.c execution,  -O2 -fomit-frame-pointer -finline-functions -funroll-all-loops 

		=== gcc Summary ===

# of expected passes		4881
# of unexpected failures	4
# of expected failures		5
# of unsupported tests		6

For g++:

FAIL: g++.benjamin/warn01.C (test for excess errors)
XPASS: g++.jason/destruct3.C - (test for bogus messages, line 38)
FAIL: g++.jason/template31.C (test for excess errors)
XPASS: g++.mike/dyncast1.C  Execution test
XPASS: g++.mike/dyncast2.C  Execution test

		=== g++ Summary ===

# of expected passes		3379
# of unexpected failures	2
# of unexpected successes	3
# of expected failures		79
# of untested testcases		6

For g77:

		=== g77 Summary ===

# of expected passes		108



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