This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug testsuite/25777] New: acats_run doesn't include gcc base directory in LD_LIBRARY_PATH
- From: "danglin at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 12 Jan 2006 21:26:23 -0000
- Subject: [Bug testsuite/25777] New: acats_run doesn't include gcc base directory in LD_LIBRARY_PATH
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
This causes numerous testsuite failures. See
http://gcc.gnu.org/ml/gcc-testresults/2006-01/msg00437.html
versus
http://gcc.gnu.org/ml/gcc-testresults/2006-01/msg00555.html.
In the latter run, I explicitly exported LD_LIBRARY_PATH in
my build script. The exported patch included the gcc build
directory so that the newly built version of libgcc_s.so.2
would get used in the testsuite run.
There appears to be an incompatibility between the installed
version of /lib/libgcc_s.so.2. The installed version appears
to be for gcc version 4.0.3 20051201 (prerelease) (Debian 4.0.2-5).
We have in acats_run:
ROOT=`${PWDCMD-pwd}`
BASE=`cd $ROOT/../../..; ${PWDCMD-pwd}`
PATH=$BASE:$ROOT:$PATH
ADA_INCLUDE_PATH=$BASE/ada/rts
LD_LIBRARY_PATH=$ADA_INCLUDE_PATH:$LD_LIBRARY_PATH
As can be seen, the path defined for LD_LIBRARY_PATH doesn't
include $BASE.
--
Summary: acats_run doesn't include gcc base directory in
LD_LIBRARY_PATH
Product: gcc
Version: 4.1.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: testsuite
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: danglin at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25777