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

Reply via email to