[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <28BDD8F7-F896-4A3E-AED8-593737A39877@zytor.com>
Date: Wed, 08 Oct 2014 12:54:00 -0700
From: "H. Peter Anvin" <hpa@...or.com>
To: Peter Foley <pefoley2@...oley.com>, linux-kernel@...r.kernel.org
CC: rdunlap@...radead.org, jkosina@...e.cz, luto@...capital.net,
jwboyer@...oraproject.org, linux-doc@...r.kernel.org
Subject: Re: [PATCH] Documentation: fix vdso_standalone_test_x86 on 32-bit
This still has the cross-build problems, no?
On October 8, 2014 12:49:24 PM PDT, Peter Foley <pefoley2@...oley.com> wrote:
>vdso_standalone_test_x86 needs -lgcc_s to build succesfully on 32bit.
>
>Signed-off-by: Peter Foley <pefoley2@...oley.com>
>---
> Documentation/vDSO/Makefile | 3 +++
> 1 file changed, 3 insertions(+)
>
>diff --git a/Documentation/vDSO/Makefile b/Documentation/vDSO/Makefile
>index 2b99e57..5e5ad9f 100644
>--- a/Documentation/vDSO/Makefile
>+++ b/Documentation/vDSO/Makefile
>@@ -10,3 +10,6 @@ always := $(hostprogs-y)
> HOSTCFLAGS := -I$(objtree)/usr/include -std=gnu99
>HOSTCFLAGS_vdso_standalone_test_x86.o :=
>-fno-asynchronous-unwind-tables -fno-stack-protector
> HOSTLOADLIBES_vdso_standalone_test_x86 := -nostdlib
>+ifeq($(CONFIG_X86_32),y)
>+HOSTLOADLIBES_vdso_standalone_test_x86 += -lgcc_s
>+endif
--
Sent from my mobile phone. Please pardon brevity and lack of formatting.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists