* [PATCH] parisc: Makefile: explain that 64BIT requires both 32-bit and 64-bit compilers
@ 2025-06-25 7:30 Randy Dunlap
2025-07-25 19:35 ` Helge Deller
0 siblings, 1 reply; 2+ messages in thread
From: Randy Dunlap @ 2025-06-25 7:30 UTC (permalink / raw)
To: linux-kernel
Cc: Randy Dunlap, James E.J. Bottomley, Helge Deller, linux-parisc
For building a 64-bit kernel, both 32-bit and 64-bit VDSO binaries
are built, so both 32-bit and 64-bit compilers (and tools) should be
in the PATH environment variable.
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Cc: "James E.J. Bottomley" <James.Bottomley@HansenPartnership.com>
Cc: Helge Deller <deller@gmx.de>
Cc: linux-parisc@vger.kernel.org
---
This wasn't obvious to me; I was seeing lots of Assembler errors
when only the 64-bit tools were in $PATH.
I didn't find a better place to document this.
arch/parisc/Makefile | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
--- lnx-616-rc3.orig/arch/parisc/Makefile
+++ lnx-616-rc3/arch/parisc/Makefile
@@ -39,7 +39,9 @@ endif
export LD_BFD
-# Set default 32 bits cross compilers for vdso
+# Set default 32 bits cross compilers for vdso.
+# This means that for 64BIT, both the 64-bit tools and the 32-bit tools
+# need to be in the path.
CC_ARCHES_32 = hppa hppa2.0 hppa1.1
CC_SUFFIXES = linux linux-gnu unknown-linux-gnu suse-linux
CROSS32_COMPILE := $(call cc-cross-prefix, \
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] parisc: Makefile: explain that 64BIT requires both 32-bit and 64-bit compilers
2025-06-25 7:30 [PATCH] parisc: Makefile: explain that 64BIT requires both 32-bit and 64-bit compilers Randy Dunlap
@ 2025-07-25 19:35 ` Helge Deller
0 siblings, 0 replies; 2+ messages in thread
From: Helge Deller @ 2025-07-25 19:35 UTC (permalink / raw)
To: Randy Dunlap, linux-kernel; +Cc: James E.J. Bottomley, linux-parisc
On 6/25/25 09:30, Randy Dunlap wrote:
> For building a 64-bit kernel, both 32-bit and 64-bit VDSO binaries
> are built, so both 32-bit and 64-bit compilers (and tools) should be
> in the PATH environment variable.
>
> Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
> Cc: "James E.J. Bottomley" <James.Bottomley@HansenPartnership.com>
> Cc: Helge Deller <deller@gmx.de>
> Cc: linux-parisc@vger.kernel.org
applied.
Thanks Randy!
Helge
> This wasn't obvious to me; I was seeing lots of Assembler errors
> when only the 64-bit tools were in $PATH.
> I didn't find a better place to document this.
>
> arch/parisc/Makefile | 4 +++-
> 1 file changed, 3 insertions(+), 1 deletion(-)
>
> --- lnx-616-rc3.orig/arch/parisc/Makefile
> +++ lnx-616-rc3/arch/parisc/Makefile
> @@ -39,7 +39,9 @@ endif
>
> export LD_BFD
>
> -# Set default 32 bits cross compilers for vdso
> +# Set default 32 bits cross compilers for vdso.
> +# This means that for 64BIT, both the 64-bit tools and the 32-bit tools
> +# need to be in the path.
> CC_ARCHES_32 = hppa hppa2.0 hppa1.1
> CC_SUFFIXES = linux linux-gnu unknown-linux-gnu suse-linux
> CROSS32_COMPILE := $(call cc-cross-prefix, \
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2025-07-25 19:35 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-06-25 7:30 [PATCH] parisc: Makefile: explain that 64BIT requires both 32-bit and 64-bit compilers Randy Dunlap
2025-07-25 19:35 ` Helge Deller
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).