Re: powerpc64le multilibs and multiarch dir

2013-08-26 Thread Alan Modra
On Sun, Aug 25, 2013 at 10:40:30PM -0700, Mike Stump wrote: > On Aug 25, 2013, at 8:32 PM, Alan Modra wrote: > > We (IBM) don't intend to support running both big and little-endian > > processes on the same system in the near future. Perhaps I'm jumping > > the gun in defining the multi-os dirs l

Re: powerpc64le multilibs and multiarch dir

2013-08-25 Thread Mike Stump
On Aug 25, 2013, at 8:32 PM, Alan Modra wrote: > We (IBM) don't intend to support running both big and little-endian > processes on the same system in the near future. Perhaps I'm jumping > the gun in defining the multi-os dirs like /lible and /lib64le. I'd recommend against multilibs, unless yo

Re: powerpc64le multilibs and multiarch dir

2013-08-25 Thread Alan Modra
On Fri, Aug 23, 2013 at 09:41:28PM +, Joseph S. Myers wrote: > On Thu, 22 Aug 2013, Alan Modra wrote: > > > For multiarch, powerpc64le-linux now will use powerpc64le-linux-gnu. > > Given a typical big-endian native toolchain with os dirs /lib and > > /lib64, we'll use /lible and /lib64le if su

Re: powerpc64le multilibs and multiarch dir

2013-08-23 Thread Joseph S. Myers
On Thu, 22 Aug 2013, Alan Modra wrote: > For multiarch, powerpc64le-linux now will use powerpc64le-linux-gnu. > Given a typical big-endian native toolchain with os dirs /lib and > /lib64, we'll use /lible and /lib64le if supporting little-endian as > well. If you happen to use /lib and /lib32, th

Re: powerpc64le multilibs and multiarch dir

2013-08-23 Thread David Edelsohn
On Thu, Aug 22, 2013 at 7:15 PM, Alan Modra wrote: > Without another tmake file it really is exactly the same as before. > > old, after applying "make" string gunk > MULTILIB_OPTIONS = m64/m32 > MULTILIB_OSDIRNAMES = ../lib64 ../lib > > new > MULTILIB_OPTIONS = m64/m32 > MULTILIB_OSDIRNAMES = m64

Re: powerpc64le multilibs and multiarch dir

2013-08-22 Thread Alan Modra
On Fri, Aug 23, 2013 at 01:45:14AM +0930, Alan Modra wrote: > On Thu, Aug 22, 2013 at 10:06:48AM -0400, David Edelsohn wrote: > > What is the purpose of the change to MULTILIB_OSDIRNAMES? Why the > > addition of m64= and m32=? A secondary tmake file is not always set to > > post-process those macro

Re: powerpc64le multilibs and multiarch dir

2013-08-22 Thread Alan Modra
On Thu, Aug 22, 2013 at 10:06:48AM -0400, David Edelsohn wrote: > On Wed, Aug 21, 2013 at 11:57 PM, Alan Modra wrote: > > > Index: gcc/config/rs6000/t-linux64 > > === > > --- gcc/config/rs6000/t-linux64 (revision 201834) > > +++ gcc/

Re: powerpc64le multilibs and multiarch dir

2013-08-22 Thread David Edelsohn
On Wed, Aug 21, 2013 at 11:57 PM, Alan Modra wrote: > Index: gcc/config/rs6000/t-linux64 > === > --- gcc/config/rs6000/t-linux64 (revision 201834) > +++ gcc/config/rs6000/t-linux64 (working copy) > @@ -25,8 +25,8 @@ > # it doesn't t

powerpc64le multilibs and multiarch dir

2013-08-21 Thread Alan Modra
This patch corrects the powerpc64le-linux multiarch directory, adds opposite-endian multilibs, and chooses non-multiarch os dirs for the new multilibs. For multiarch, powerpc64le-linux now will use powerpc64le-linux-gnu. Given a typical big-endian native toolchain with os dirs /lib and /lib64, we'