Building a cross-native toolchain to build on ARM-Android for ARM-Android

Rein Loopalu
Mon Dec 15 23:21:00 GMT 2014


Managed to fix that, but now it is giving me error:

FATAL: kernel too old
arm-temp-linux-gnueabi-gcc: internal compiler error: Segmentation
fault (program as)

The device kernel info is: Linux version 3.0.8 (gcc version
4.6.x-google 20120106 (prerelease) (GCC) ). I have also set for
C-library the "Minimum kernel version to support (Specific kernel
version)" to 2.6.9 in crosstool-ng options. I am using gcc 4.9.1 and
glibc 2.19 in the build.

3.0.8 > 2.6.9 so what could be the problem?

On Mon, Dec 15, 2014 at 5:52 PM, Bryan Hundven <> wrote:
> Rein,
> On Mon, Dec 15, 2014 at 5:59 AM, Rein Loopalu <> wrote:
>> Replying to my own email here to make a quick update on the status. I
>> built the cross-native toolchain with statically linked glibc to avoid
>> (at least temporarily) the need for Bionic libc. If I try to execute
>> gcc on the device I get error:
>> Cannot create temporary file in ./: Read-only file system
>> Aborted
> I'd guess that the device needs to be "rooted" so that you can get
> privileged access to change the root file-system to read/write. Not
> really related to crosstool-NG, but good luck!
>> I wonder if I can somehow configure it to create that temporary file
>> somewhere else?
>> --
>> For unsubscribe information see
> -Bryan

For unsubscribe information see

More information about the crossgcc mailing list