[okl4-developer] Help regarding the OKL4 port to the Qemu Emulator
Amrit Acharya
acharyaamrit at gmail.com
Tue Jul 7 20:49:11 EST 2009
Hi Nicholas,
I tried building it again for versatile but I am getting similar errors. If
its a compiler issue, can you direct me to which versions I need to use? The
toolchain I am using is the arm-unknown-linux-gnueabi downloaded from the
OKlabs wiki.
I tried installing the toolchain again,
I am now getting the following error when i pass :
tools/build.py machine=androidsim project=examples example=hello
TOOLCHAIN=gnu_arm_eabi_toolchain pistachio.TOOLCHAIN=gnu_arm_toolchain
PYFREEZE=False
...
[CXX ] build/pistachio/l4kernel/object/src/asid.o
cc1plus: error: invalid parameter `large-function-growth'
scons: *** [build/pistachio/l4kernel/object/src/asid.o] Error 1
scons: building terminated because of errors.
...
However, if i just pass :
tools/build.py machine=androidsim project=examples example=hello
PYFREEZE=False TOOLCHAIN=gnu_arm_eabi_toolchain,
I am still getting the same error which I got initially.
Amrit
On Fri, Jul 3, 2009 at 10:23 PM, Nicholas FitzRoy-Dale
<nfd at cse.unsw.edu.au>wrote:
> Hi Amrit,
>
> This is a problem with the version of the compiler you're using to build
> Pistachio. Can you compile for any other targets. For example, can you
> compile for gumstix or versatile? If you can build for either of those
> targets you should be able to build for androidsim.
>
> Nicholas
>
>
> On 03/07/2009, at 4:26 PM, Amrit Acharya wrote:
>
> Hi,
>>
>> I have been facing certain problems while trying to build for the Qemu
>> Emulator.
>>
>> I am passing :
>>
>> tools/build.py machine=androidsim project=examples example=hello
>> PYFREEZE=False
>>
>> The error I am getting is this :
>>
>> ...
>> ...
>> ...
>> > [AR] build/pistachio/lib/libplatform.a
>> > [LIB] build/pistachio/lib/libplatform.a
>> > [AR] build/pistachio/lib/libatomic_ops.a
>> > [LIB] build/pistachio/lib/libplatform.a
>> > [LINK] build/pistachio/bin/l4lernel
>>
>> >
>> /opt/crosstool/arm-unknown-linux-gnueabi/bin/../lib/gcc/arm-unknown-linux-gnueabi/4.2.4/libgcc.a(_dvmd_lnx.o):
>> > In function `__div0':
>>
>>
>> /scratch/philipo/crosstool-0.43/src/gcc-4.2.4/gcc/config/arm/lib1funcs.asm:1000:
>> undefined reference to `raise'
>>
>> >
>> /opt/crosstool/arm-unknown-linux-gnueabi/bin/../lib/gcc/arm-unknown-linux-gnueabi/4.2.4/libgcc.a(_divdi3.o):(.ARM.exidx+0x0):
>> > undefined reference to `__aeabi_unwind_cpp_pr0'
>>
>> >
>> /opt/crosstool/arm-unknown-linux-gnueabi/bin/../lib/gcc/arm-unknown-linux-gnueabi/4.2.4/libgcc.a(_udivdi3.o):(.ARM.exidx+0x0):
>> >undefined reference to `__aeabi_unwind_cpp_pr0'
>>
>> > scons: *** [build/pistachio/bin/l4kernel] Error 1
>> > scons: building terminated because of errors.
>>
>> I am using the cross-compiler specified in the OK Labs wiki. Also, I came
>> across another post in the developers forum where it was mentioned : "The
>> kernel needs to be compiled with the old non EABI toolchain, while the rest
>> of userland needs to be compiled with the EABI toolchain. To do that you
>> state :
>>
>> TOOLCHAIN=gnu_arm_eabi_toolchain pistachio.TOOLCHAIN=gnu_arm_toolchain. "
>>
>> I tried this also but I am still getting the same errors. Can I get any
>> help on fixing this?
>>
>> Regards,
>>
>> Amrit Acharya
>>
>>
>> _______________________________________________
>> Developer mailing list
>> Developer at okl4.org
>> https://lists.okl4.org/mailman/listinfo/developer
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.okl4.org/pipermail/developer/attachments/20090707/55eabcee/attachment.htm
More information about the Developer
mailing list