From mboxrd@z Thu Jan 1 00:00:00 1970 From: prabhakar.csengg@gmail.com (Lad, Prabhakar) Date: Tue, 7 Apr 2015 17:15:01 +0100 Subject: cross-compiling kernel using a 32-bit toolchain on a 64-bit machine In-Reply-To: References: Message-ID: To: kernelnewbies@lists.kernelnewbies.org List-Id: kernelnewbies.lists.kernelnewbies.org On Mon, Apr 6, 2015 at 11:50 PM, Mandeep Sandhu wrote: > Hi All, > > I'm having trouble compiling my kernel using a 32-bit toolchain (for > ARM) on a 64-bit host (Ubuntu 14.10). The kernel version is 3.14.17. > > I understand that 32-bit binaries require "ia32-libs" (or equivalent) > for compiling on 64-bit hosts. I installed the required packages > (lib32z1 lib32ncurses5 lib32bz2-1.0 for Ubuntu 14.10), but still keep > getting errors: > > $ make CROSS_COMPILE=arm-none-linux-gnueabi- all > Makefile:616: Cannot use CONFIG_CC_STACKPROTECTOR_REGULAR: > -fstack-protector not supported by compiler > make: arm-none-linux-gnueabi-gcc: Command not found Have built this toolchain or just downloaded from coudesourcery ? Go to the source where you downloaded toolchain (on your machine not the website) traverse to bin directory and try ./arm-none-linux-gnueabi-gcc --version. Cheers, --Prabhakar Lad