This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc 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] Fix multi-arch build with elision


On 2013.07.03 at 08:37 -0700, H.J. Lu wrote:
> On Wed, Jul 3, 2013 at 8:30 AM, Andi Kleen <andi@firstfloor.org> wrote:
> > On Wed, Jul 03, 2013 at 08:21:53AM -0700, H.J. Lu wrote:
> >> On Tue, Jul 2, 2013 at 11:21 PM, Markus Trippelsdorf
> >> <markus@trippelsdorf.de> wrote:
> >> > On 2013.07.02 at 14:57 -0700, Andi Kleen wrote:
> >> >> From: Andi Kleen <ak@linux.intel.com>
> >> >>
> >> >> This is the simplest fix I could come up with for Markus'
> >> >> no multiarch problem. Markus can you test please?
> >> >
> >> > Yes, it works fine. Thanks Andi.
> >> >
> >> > --
> >> > Markus
> >>
> >> Try this.
> >
> > I considered something similar first, but it would also need the same for
> > the glibc Versions file at least, to export __get_cpu_features
> > from the main glibc to pthread, right? Or would pthread use its own
> > version?
> >
> 
> I think init-arch.o is duplicated in libc.so and libpthread.so.

Yes. Your patch works fine and is elegant. Thanks.

-- 
Markus


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