Building a cross-native toolchain to build on ARM-Android for ARM-Android
Mon Dec 15 23:31:00 GMT 2014
I also set Linux kernel version in the crosstool-ng Operating System
settings to 3.0.101 since that seems to be closest to the one the
phone is running on.
On Tue, Dec 16, 2014 at 1:20 AM, Rein Loopalu <email@example.com> wrote:
> 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 <firstname.lastname@example.org> wrote:
>> On Mon, Dec 15, 2014 at 5:59 AM, Rein Loopalu <email@example.com> 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
>> 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 http://sourceware.org/lists.html#faq
For unsubscribe information see http://sourceware.org/lists.html#faq
More information about the crossgcc