This is the mail archive of the gcc-prs@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]
Other format: [Raw text]

other/5588: g++, g77 and objc testsuite problems with multiple ABIs



>Number:         5588
>Category:       other
>Synopsis:       g++, g77 and objc testsuite problems with multiple ABIs
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Feb 04 11:06:11 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     David Billinghurst
>Release:        gcc 3.1
>Organization:
>Environment:
mips-sgi-irix6.5
>Description:
This is a rehash of:
 - http://gcc.gnu.org/ml/gcc-bugs/2000-11/msg00463.html
 - http://gcc.gnu.org/ml/gcc-patches/2000-11/msg01537.html
This should be fixed for 3.1 (and maybe 3.0, too)

Since November 2000, the g++ testsuite has not run 
correctly when multiple ABIs are tested.  Similar problems
exist for the g77 and objc testsuites.

The following work:
runtest --tool g++ 
runtest --tool g++ --target_board unix
runtest --tool g++ --target_board "unix{-mabi=64}"

When I try the following, only the first option works:
runtest --tool g++ --target_board "unix{,-mabi=64}"
runtest --tool g++ --target_board "unix{-mabi=64,}"

The problem is that the testsuite is setting the that the 
environment variables LD_LIBRARYN32_PATH and 
LD_LIBRARY64_PATH at the start of the run based on the 
first ABI, and not resetting them for the second ABI.
>How-To-Repeat:
build with multilibs enabled
cd gcc/testsuite
runtest --tool g++ --target_board "unix{-mabi=64,}"

>Fix:
An updated version of 
http://gcc.gnu.org/ml/gcc-patches/2000-11/msg01537.html
>Release-Note:
>Audit-Trail:
>Unformatted:


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