This is the mail archive of the gcc-patches@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]
Other format: [Raw text]

Re: [PATCH] libgomp AIX testsuite requirements


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


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