This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
RE: Changes to g++.exp prevent testing multiple ABIs on irix
- To: gcc-patches at gcc dot gnu dot org
- Subject: RE: Changes to g++.exp prevent testing multiple ABIs on irix
- From: "Billinghurst, David (CRTS)" <David dot Billinghurst at riotinto dot com>
- Date: Fri, 17 Nov 2000 04:50:04 -0000
I've started to look into this. ld_library_path is set correctly in
g++_link_flags, and is reset to the correctly value when the abi changes.
The patch to set LD_LIBRARY<N32,64>_PATH to the same value as
LD_LIBRARY_PATH works. The problem is that LD_LIBRARY_PATH is not updated to
the new value of ld_library_path.
I have confirmed this by setting LD_LIBRARY_PATH to ld_library_path within
g++_link_flags. I doubt this is an acceptable solution.
> -----Original Message-----
> From: Mark Mitchell [SMTP:mark@codesourcery.com]
> Sent: Friday, 17 November 2000 10:42
> To: Billinghurst, David (CRTS)
> Cc: gcc-patches@gcc.gnu.org
> Subject: Re: Changes to g++.exp prevent testing multiple ABIs on irix
>
> >>>>> "Billinghurst," == Billinghurst, David (CRTS)
> <David.Billinghurst@riotinto.com> writes:
>
> I could run the testsuite on irix6.5 on both -n32 and -64 ABIs by
> setting
> the environment variables LD_LIBRARYN32_PATH and LD_LIBRARY64_PATH
> appropriately. Now I can't. See
> http://gcc.gnu.org/ml/gcc-bugs/2000-11/msg00463.html
>
> Well, that just indicates that testing is probably broken for all
> multilibs.
>
> All my patch does is set LD_LIBRARY<N32,64>_PATH to the same value as
> LD_LIBRARY_PATH, which is computed by g++_link_flags in g++.exp. You
> should fix that to figure out where the right multilibbed version of
> the V3 library, and set ld_library_path appropriately.
>
> Thanks,
>
> --
> Mark Mitchell mark@codesourcery.com
> CodeSourcery, LLC http://www.codesourcery.com