[Vm-dev] squeak-android-vm: compiling issues

Stefan Krecher stefan.krecher at googlemail.com
Tue Apr 6 13:27:15 UTC 2010


Hi,
finally found a (temporary) solution:
r3 uses GCC 4.4.0 by default (see docs/CHANGES.TXT) but comes with a
toolchain containing GCC 4.2.1. To force the usage of GCC 4.2.1 you
have to export an environment variable like this:
export NDK_TOOLCHAIN=arm-eabi-4.2.1
By using this elder version of GCC i did not encounter any SIGSEGV
regards,
Stefan

2010/4/5 Stefan Krecher <stefan.krecher at googlemail.com>:
> addendum:
> it compiles with r3 but there's still a signal 11 (SIGSEGV), causing
> the vm to stop.
> going to compare r1 with r3 to see what changed exactly
>
> 2010/4/5 Stefan Krecher <stefan.krecher at googlemail.com>:
>> Hi,
>> compiled it with  1.6 r1
>>
>> Looking at your error message and at the code in the svn, i noticed
>> that there was missing the veryfirst line in sqUnixSocket.c.
>> I corrected that and with the current code in the svn everything
>> compiled fine, even with the r3.
>> Would be nice if you could checkout the current codebase, test it and
>> send a note if it does compile.
>>
>> Thanks,
>> Stefan
>>
>> 2010/4/2 Thomas Holzmann <t.holzmann at student.tugraz.at>:
>>>
>>> Hi Stefan,
>>>
>>> Which version did you use exactly to compile it? Because I think there is a
>>> 1.5 r1 version and a 1.6 r1 version...
>>> I will try to get a Linux version of the correct one at the android-ndk
>>> google group. However, I think it would be good if you could upload the win
>>> version to the squeak-android-vm page (if there's no license problem).
>>>
>>> Regards,
>>> Thomas
>>>
>>> Stefan Krecher schrieb:
>>>>
>>>>
>>>> ------------------------------------------------------------------------
>>>>
>>>> Hi,
>>>> had problems compiling with the r3 but did no further investigation. Now i
>>>> noticed that the r1 isn't available for download anymore, so the "compiling
>>>> with r3" becomes a high priority task - i'll start working on it asap.
>>>> Until the problem is solved, i could offer to upload the r1 and make it
>>>> ailable for downloading (if the license allows that). Unfortunatly i only
>>>> have the Windows-Version of the NDK.
>>>>
>>>> Regards,
>>>> Stefan
>>>>
>>>
>>>
>>> --
>>> Thomas Holzmann
>>> Student TU Graz / Informatik
>>>
>>>
>>
>>
>>
>> --
>> Dipl.-Wirtsch.-Inf. Stefan Krecher
>> Neulander Str. 17, 27374 Visselhövede
>> Tel +49(0)4262 958848
>> mobil +49(0)172 3608616
>> http://krecher.com
>>
>
>
>
> --
> Dipl.-Wirtsch.-Inf. Stefan Krecher
> Neulander Str. 17, 27374 Visselhövede
> Tel +49(0)4262 958848
> mobil +49(0)172 3608616
> http://krecher.com
>



-- 
Dipl.-Wirtsch.-Inf. Stefan Krecher
Neulander Str. 17, 27374 Visselhövede
Tel +49(0)4262 958848
mobil +49(0)172 3608616
http://krecher.com


More information about the Vm-dev mailing list