RE: Pass config-time variable to LIBC_SLIBDIR_RTLDDIR

2019-06-03 Thread Joseph Myers
On Mon, 3 Jun 2019, Alexey Brodkin wrote: > Well I'm trying to solve a little bit different problem - to build > a universal multilib cross-toolchain which will be usable for building > binaries optimized for different ARC cores. Different I mean: > - Binary-incompatible architecture

RE: Pass config-time variable to LIBC_SLIBDIR_RTLDDIR

2019-06-03 Thread Alexey Brodkin
Hi Joseph, > -Original Message- > From: Joseph Myers > Sent: Monday, June 3, 2019 6:41 PM > To: Alexey Brodkin > Cc: Andreas Schwab ; libc-al...@sourceware.org; > linux-snps-arc@lists.infradead.org > Subject: Re: Pass config-time variable to LIBC_SLIBDIR_RTLDDI

Re: Pass config-time variable to LIBC_SLIBDIR_RTLDDIR

2019-06-03 Thread Joseph Myers
On Fri, 31 May 2019, Alexey Brodkin wrote: > Hi Andreas, > > I'm trying to implement multilib support for ARC port of Glibc > and for that we seem to need to have unique slibdir/rtlddir pair per > each machine flavor. In our case these are at least: > - ARC700 (legacy ARCompact architecture) >

Re: Pass config-time variable to LIBC_SLIBDIR_RTLDDIR

2019-06-03 Thread Andreas Schwab
On Mai 31 2019, Alexey Brodkin wrote: > I guess mentioned change is not supposed to be reverted but then > how do you think it's possible [if at all] to implement that kind of > "automatic" setup of slibdir/rtlddir? As the commit message says, you can reference makefile variables in the value.

Pass config-time variable to LIBC_SLIBDIR_RTLDDIR

2019-05-31 Thread Alexey Brodkin
Hi Andreas, I'm trying to implement multilib support for ARC port of Glibc and for that we seem to need to have unique slibdir/rtlddir pair per each machine flavor. In our case these are at least: - ARC700 (legacy ARCompact architecture) - ARC HS38 (new gen ARCv2 architecture) - ARC HS38 with