This is the mail archive of the gcc-bugs@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]

Re: libio regressions, shared libs.


More discussions -> more understanding.

If I interpret the code correctly, the goal was to restore 
a working value of LD_LIBRARY_PATH after it had been used for
a test case.  For the default case of LD_LIBRARY_PATH being
unset (or null) the code works fine.  However, if a value is
needed, then it doesn't work.  Saving/restoring the old value
seems to work fine for me, although it doesn't fully meet
AG's needs, I think.

Donn

Jeffrey A Law wrote:
> 
>   In message <3777A7F9.1A42A802@interix.com>you write:
>   > I'm in the situation where I'm compiling and regressing the
>   > whole tool path using a freshly built (and thus not installed
>   > in the usual places) set of shared libraries.  To get the compiler
>   > to compile anything, LD_LIBRARY_PATH must be set to where the
>   > new shared libraries live.  (The compiler is built shared using
>   > the new shared libs.)
>   >
>   > libio regressions (at least; libstdc++ probably, and other maybe) use
>   > the dejagnu procedure unix_load to start the compiler.  (Specifically
>   > gcc/xgcc).
> This sounds like there is something seriously wrong with your setup.  This
> works just fine for other folks.
> 
> What dejagnu are you using?  What variables are set in your environment?  Are
> you building in a subdirectory of your source tree?   Are you building in
> a subdirectory of $prefix?
> 
> jeff

-- 

===================================================
Donn Terry                  mailto:donn@interix.com
Softway Systems, Inc.        http://www.interix.com
2850 McClelland Dr, Ste. 1800   Ft.Collins CO 80525
Tel: +1-970-204-9900           Fax: +1-970-204-9951
===================================================


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