This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] Fix multi-arch build with elision
- From: "H.J. Lu" <hjl dot tools at gmail dot com>
- To: Markus Trippelsdorf <markus at trippelsdorf dot de>
- Cc: Andi Kleen <andi at firstfloor dot org>, GNU C Library <libc-alpha at sourceware dot org>, Andi Kleen <ak at linux dot jf dot intel dot com>
- Date: Wed, 3 Jul 2013 08:21:53 -0700
- Subject: Re: [PATCH] Fix multi-arch build with elision
- References: <1372802224-11817-1-git-send-email-andi at firstfloor dot org> <20130703062139 dot GA516 at x4>
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.
--
H.J.
--
diff --git a/nptl/sysdeps/unix/sysv/linux/x86/init-arch.c
b/nptl/sysdeps/unix/sysv/linux/x86/init-arch.c
new file mode 100644
index 0000000..00a94d8
--- /dev/null
+++ b/nptl/sysdeps/unix/sysv/linux/x86/init-arch.c
@@ -0,0 +1 @@
+#include <sysdeps/x86_64/multiarch/init-arch.c>
diff --git a/nptl/sysdeps/unix/sysv/linux/x86/init-arch.h
b/nptl/sysdeps/unix/sysv/linux/x86/init-arch.h
new file mode 100644
index 0000000..cd2d0be
--- /dev/null
+++ b/nptl/sysdeps/unix/sysv/linux/x86/init-arch.h
@@ -0,0 +1 @@
+#include <sysdeps/x86_64/multiarch/init-arch.h>