Re: [PATCH] Detect 32-bit userland on sparc64 linux kernel as sparc-unknown-linux.

2015-06-02 Thread Jan Engelhardt
On Wednesday 2015-06-03 01:36, James Y Knight wrote: >On Jun 2, 2015, at 7:03 PM, Jan Engelhardt wrote: >> If you run a x86_64 or sparc64 kernel, it means your CPU is capable >> of running instructions like MOV(QWORD) or LDX, respectively. These >> instructions can be issued **no matter whether y

Re: [PATCH] Detect 32-bit userland on sparc64 linux kernel as sparc-unknown-linux.

2015-06-02 Thread James Y Knight
On Jun 2, 2015, at 7:03 PM, Jan Engelhardt wrote: > If you run a x86_64 or sparc64 kernel, it means your CPU is capable > of running instructions like MOV(QWORD) or LDX, respectively. These > instructions can be issued **no matter whether your C compiler is in > ILP32 or LP64 mode**. Ok, I was th

Re: [PATCH] Detect 32-bit userland on sparc64 linux kernel as sparc-unknown-linux.

2015-06-02 Thread Ben Elliston
I am also unhappy about patches that introduce more dependencies on a C compiler. Please find another way. Cheers, Ben signature.asc Description: Digital signature ___ config-patches mailing list config-patches@gnu.org https://lists.gnu.org/mailman/lis

Re: [PATCH] Detect 32-bit userland on sparc64 linux kernel as sparc-unknown-linux.

2015-06-02 Thread Jan Engelhardt
On Tuesday 2015-06-02 21:56, James Y Knight wrote: >Similar to the situation on x86-64, a sparc64 linux kernel can run a >32-bit userspace, and when doing so, the triple should be the 32-bit >variant not the 64-bit variant. If you run a x86_64 or sparc64 kernel, it means your CPU is capable of

[PATCH] Detect 32-bit userland on sparc64 linux kernel as sparc-unknown-linux.

2015-06-02 Thread James Y Knight
Similar to the situation on x86-64, a sparc64 linux kernel can run a 32-bit userspace, and when doing so, the triple should be the 32-bit variant not the 64-bit variant. >From 2a1c9ec7c2f651244c9e48676eaba68dd9d0e248 Mon Sep 17 00:00:00 2001 From: James Y Knight Date: Tue, 2 Jun 2015 15:36:24