This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] libgomp AIX testsuite requirements
- From: Ian Lance Taylor <iant at google dot com>
- To: David Edelsohn <dje at watson dot ibm dot com>
- Cc: Jakub Jelinek <jakub at redhat dot com>, gcc-patches at gcc dot gnu dot org
- Date: Tue, 10 Jun 2008 10:12:42 -0700
- Subject: Re: [PATCH] libgomp AIX testsuite requirements
- References: <200806101402.m5AE2Hav009170@makai.watson.ibm.com>
David Edelsohn <dje@watson.ibm.com> writes:
> Pthreads is multilibbed on AIX, which requires some tweaking of
> the libgomp testsuite expect scripts to include the correct library paths
> on AIX. I have had these patches in my tree for a while. I am not sure
> if these would be appropriate for FSF GCC or not. I am not sure if these
> would have a bad effect on other targets -- searching non-existent
> directories.
Having non-existent directories in LD_LIBRARY_PATH does no harm,
assuming they aren't NFS-mounted or anything like that.
> # Compute what needs to be added to the existing LD_LIBRARY_PATH.
> if {$gccdir != ""} {
> - append always_ld_library_path ":${gccdir}"
> + append always_ld_library_path ":${gccdir}/pthread"
> set compiler [lindex $GCC_UNDER_TEST 0]
This looks a little dubious for non-AIX systems.
Ian